Closed Bug 510867 Opened 15 years ago Closed 14 years ago

Random Crash during XRenderFreePicture (X11 BadDrawable error)

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 522635

People

(Reporter: wizard, Unassigned)

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2

Firefox has been randomly dieing for some time.  Usually occurs only after opening a large number of tabs.  Usually requires that I actually do something (ie, changing tabs, scrolling, clicking a link) after opening many tabs, but in this particular instance I had walked away from my computer and came back to find Firefox had died.  It had still been loading tabs when I left it.
It is reproducible, eventually, but requires patience, a lot of tabs, and a little luck.

Error output when run from command line:
The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 45586029 error_code 9 request_code 53 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 --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Locking assertion failure.  Backtrace:
#0 /usr/lib32/libxcb-xlib.so.0 [0xf61927c7]
#1 /usr/lib32/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xf619296e]
#2 /usr/lib32/libX11.so.6 [0xf69db619]
#3 /usr/lib32/libXrender.so.1(XRenderFreePicture+0x41) [0xf6482f41]
#4 ./libxul.so [0xf7c6e2d2]
#5 ./libxul.so [0xf7c54e67]
#6 ./libxul.so [0xf7c54eef]
#7 ./libxul.so(_ZN11gfxASurface7ReleaseEv+0x46) [0xf7bf420a]
#8 ./libxul.so [0xf7b06db7]
#9 ./libxul.so [0xf7b06e0a]
#10 ./libxul.so [0xf7b8f101]
#11 ./libxul.so [0xf7beafcb]
#12 ./libxul.so [0xf7beaea5]
#13 ./libxul.so [0xf7b8f448]
#14 ./libxul.so [0xf74af721]
#15 ./libxul.so [0xf74af2b4]
#16 ./libxul.so [0xf7b8f101]
#17 ./libxul.so [0xf74b6849]
#18 ./libxul.so [0xf74b5461]
#19 ./libxul.so [0xf74b4796]

Additional, probably unrelated, but restarting the session rarely gets everything right, as if the session snapshot it reopens is several hours old.


Reproducible: Sometimes

Steps to Reproduce:
1. Open up a lot (100+) of tabs and windows
2. Close those tabs
3. Open some more tabs
4. Repeat until crash occurs.
Actual Results:  
All windows close.  No crash report is given other than the above output.

Expected Results:  
Handle the X Window errors more gracefully.
This is still an issue in 3.5.5.  I've once again received the following crash:
The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 14644801 error_code 9 request_code 53 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 --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Locking assertion failure.  Backtrace:
#0 /usr/lib32/libxcb-xlib.so.0 [0xf620c7c7]
#1 /usr/lib32/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xf620c96e]
#2 /usr/lib32/libX11.so.6 [0xf6a29619]
#3 /usr/lib32/libXrender.so.1(XRenderFreePicture+0x41) [0xf64fbf41]
#4 ./libxul.so [0xf7cc5d02]
#5 ./libxul.so [0xf7cac897]
#6 ./libxul.so [0xf7cac91f]
#7 ./libxul.so(_ZN11gfxASurface7ReleaseEv+0x46) [0xf7c4bad6]
#8 ./libxul.so [0xf7b5e10b]
#9 ./libxul.so [0xf7b5e15e]
#10 ./libxul.so [0xf7be6679]
#11 ./libxul.so [0xf7c4288b]
#12 ./libxul.so [0xf7c42765]
#13 ./libxul.so [0xf7be69c0]
#14 ./libxul.so [0xf74fe165]
#15 ./libxul.so [0xf74fdcf8]
#16 ./libxul.so [0xf7be6679]
#17 ./libxul.so [0xf750528d]
#18 ./libxul.so [0xf7503ea5]
#19 ./libxul.so [0xf75031da]
Keywords: crash
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Summary: Random Crash (X11 BadDrawable error) → Random Crash during XRenderFreePicture (X11 BadDrawable error)
You need to log in before you can comment on or make changes to this bug.