Firefox crashes on tiling windows managers
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: contact, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15
Steps to reproduce:
- Run a tiling wm (dwm, i3, bspwm)
- Launch Firefox
- Crashes within a few seconds
I doubt this is an issue that happens for other people as it'd likely have many reports, it should also be noted going back to v80 it still has the same behaviour. And again this doesn't occur on floating wm's, such as XFCE.
This also isn't because of my profile, clearing it, making a new one, and running with safe mode doesn't fix anything, crashes no matter what.
Actual results:
Firefox crashes
Expected results:
Firefox shouldn't crash
Comment 2•4 years ago
|
||
I confirm the same problem with xmonad.
Here is an output to the command line
(firefox:4103132): Gdk-ERROR **: 16:27:24.655: The program 'firefox' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 680 error_code 3 request_code 20 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
ExceptionHandler::GenerateDump cloned child 4103490
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
Randomly Firefox started to function again, I have absolutely no clue on what fixed it as of right now. Possibly a dependency issue? No clue.
I've absolutely no clue why but it stopped working again...
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Can you run firefox with GDK_SYNCHRONIZE=1 env variable set like:
GDK_SYNCHRONIZE=1 firefox
and post any crashes from about:crashes?
Thanks.
(In reply to Martin Stránský [:stransky] from comment #5)
Can you run firefox with GDK_SYNCHRONIZE=1 env variable set like:
GDK_SYNCHRONIZE=1 firefox
and post any crashes from about:crashes?
Thanks.
(firefoxdeveloperedition:2508621): Gdk-ERROR **: 12:29:26.256: The program 'firefoxdeveloperedition' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 1219 error_code 3 request_code 20 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
ExceptionHandler::GenerateDump cloned child 2512250
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Trace/breakpoint trap (core dumped)
Comment 7•4 years ago
|
||
Thanks but this does not carry any useful info. Do you have anything at about:crashes page?
(In reply to Martin Stránský [:stransky] from comment #7)
Thanks but this does not carry any useful info. Do you have anything at about:crashes page?
On an unrelated reason I switched my distro to Artix from Arch, and it fixed it, but all my files in my home directory is the same. So it's some system files that probably caused this issue (Im guessing? Maybe drivers who knows...)
Either way here's the crash log:
https://crash-stats.mozilla.org/report/index/cfaa2480-3396-4a01-bca4-759dd0201120#tab-details
I installed Artix on a new drive for now, so I can still go back debugging it if necessary.
Comment 9•4 years ago
|
||
So this is a crash at XGetWindowProperty(). I wonder what can cause that. Karl, have you seen similar crashes?
Comment 10•4 years ago
|
||
I can't find a tag for 84.0b0 but it looks like this is during a call to WorkspaceManagementDisabled()
.
Bug 1682402 would provide better messaging, but "error_code 3" is BadWindow
.
@contact, can you find for us the output of xprop -root _NET_SUPPORTING_WM_CHECK
and then use that for xprop -id <window id> _NET_WM_NAME
, please?
Updated•4 years ago
|
Comment 11•4 years ago
|
||
(In reply to Karl Tomlinson (:karlt) from comment #10)
@contact, can you find for us the output of
xprop -root _NET_SUPPORTING_WM_CHECK
and then use that forxprop -id <window id> _NET_WM_NAME
, please?
Reporter | ||
Comment 12•4 years ago
|
||
(In reply to Karl Tomlinson (:karlt) from comment #10)
I can't find a tag for 84.0b0 but it looks like this is during a call to
WorkspaceManagementDisabled()
.Bug 1682402 would provide better messaging, but "error_code 3" is
BadWindow
.@contact, can you find for us the output of
xprop -root _NET_SUPPORTING_WM_CHECK
and then use that forxprop -id <window id> _NET_WM_NAME
, please?
Doesn't seem like anything is found for some reason...
__NET_WM_NAME: no such atom on any window.
Comment 13•4 years ago
|
||
I haven't been able to reproduce with bspwm and XDG_CURRENT_DESKTOP unset, where I saw this:
% xprop -root _NET_SUPPORTING_WM_CHECK
_NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x200000
% xprop -id 0x200000 _NET_WM_NAME
_NET_WM_NAME(UTF8_STRING) = "bspwm"
% xprop -id 0x200000 _NET_SUPPORTING_WM_CHECK
_NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x200000
That last command should be unaffected by missing _NET_WM_NAME.
What does xprop -id <window id> _NET_SUPPORTING_WM_CHECK
print on your system?
Comment 14•4 years ago
|
||
This will be the same flaw as bug 1673767.
Description
•