BadAccess (attempt to access private resource denied) - with symbols and backtrace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox-3.5 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: firefox-3.5
Karmic x86/64
I've started having this problem in the last few weeks, possibly with the ff3.5 introduction but
not sure.
I'm getting frequent crashes of ff which seem related to plugins where the stderr shows:
Gdk-ERROR **: The program 'firefox' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 7814407 error_code 10 request_code 2 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.)
aborting...
I've seen one that looks like it was icedtea that did it, but the one that's more common
for me is flash (32bit) +nspluginwrapper - it used to be that flash would crash, take out the
nspluginwrapper process but ff would survive, but this seems to have changed due to this
behaviour.
In particular if flash stops rendering (e.g. grey square) I kill the nspluginwrapper process,
then if I reload the webpage ff dies with the badaccess. I'm guessing something is assuming too much
about the health of the plugins windows when killing it off.
This is *much* harder to trigger when running with --sync
This backtrace is from a core - gdbing ff tends to kill my X.
Core was generated by `/usr/lib/
Program terminated with signal 5, Trace/breakpoint trap.
#0 IA__g_logv (log_domain=<value optimized out>, log_level=<value optimized out>, format=<value optimized out>, args1=0x7ffffeb
at /build/
512 /build/
in /build/
(gdb) where
#0 IA__g_logv (log_domain=<value optimized out>, log_level=<value optimized out>, format=<value optimized out>, args1=0x7ffffeb
at /build/
#1 0x00007fa1fcb76d43 in IA__g_log (log_domain=
at /build/
#2 0x00007fa1fb9f4476 in gdk_x_error (display=<value optimized out>, error=<value optimized out>)
at /build/
#3 0x00007fa1fd93d414 in _XError () from /usr/lib/
#4 0x00007fa1fd94389c in ?? () from /usr/lib/
#5 0x00007fa1fd943f40 in _XReply () from /usr/lib/
#6 0x00007fa1fd937cd3 in XSync () from /usr/lib/
#7 0x00007fa1fd937e8b in ?? () from /usr/lib/
#8 0x00007fa1fd93524f in XSelectInput () from /usr/lib/
#9 0x00007fa1fb9d1fd6 in IA__gdk_
at /build/
#10 0x00007fa1fc0e7e49 in gtk_widget_
at /build/
#11 IA__gtk_
#12 0x00007fa1ffd33e85 in SetWidgetForHie
#13 0x00007fa1ffd33ec0 in SetWidgetForHie
#14 0x00007fa1ffd33ec0 in SetWidgetForHie
#15 0x00007fa1ffd35840 in nsWindow::SetParent (this=0x7fa1d99
#16 0x00007fa1ff7e7cea in nsPluginInstanc
#17 0x00007fa1ff7ebf01 in nsObjectFrame:
#18 0x00007fa1ff7ecdec in nsObjectFrame:
#19 0x00007fa1ff7cfd80 in nsFrameList:
#20 0x00007fa1ff7c37fb in nsContainerFram
#21 0x00007fa1ff7e3f58 in nsLineBox:
#22 0x00007fa1ff7bb459 in nsBlockFrame:
#23 0x00007fa1ff7e3f58 in nsLineBox:
#24 0x00007fa1ff7bb459 in nsBlockFrame:
#25 0x00007fa1ff7e3f58 in nsLineBox:
#26 0x00007fa1ff7bb459 in nsBlockFrame:
#27 0x00007fa1ff7cfd80 in nsFrameList:
#28 0x00007fa1ff7c37fb in nsContainerFram
#29 0x00007fa1ff7cfd80 in nsFrameList:
#30 0x00007fa1ff7c37fb in nsContainerFram
#31 0x00007fa1ff7cfd80 in nsFrameList:
#32 0x00007fa1ff7c37fb in nsContainerFram
#33 0x00007fa1ff7cfd80 in nsFrameList:
#34 0x00007fa1ff7c37fb in nsContainerFram
#35 0x00007fa1ff7cfd80 in nsFrameList:
#36 0x00007fa1ff7c37fb in nsContainerFram
#37 0x00007fa1ff7e3f58 in nsLineBox:
#38 0x00007fa1ff7bb459 in nsBlockFrame:
#39 0x00007fa1ff7e3f58 in nsLineBox:
#40 0x00007fa1ff7bb459 in nsBlockFrame:
#41 0x00007fa1ff7e3f58 in nsLineBox:
#42 0x00007fa1ff7bb459 in nsBlockFrame:
#43 0x00007fa1ff7e3f58 in nsLineBox:
#44 0x00007fa1ff7bb459 in nsBlockFrame:
#45 0x00007fa1ff7e3f58 in nsLineBox:
#46 0x00007fa1ff7bb459 in nsBlockFrame:
#47 0x00007fa1ff7e3f58 in nsLineBox:
#48 0x00007fa1ff7bb459 in nsBlockFrame:
#49 0x00007fa1ff7e3f58 in nsLineBox:
#50 0x00007fa1ff7bb459 in nsBlockFrame:
#51 0x00007fa1ff7cfd80 in nsFrameList:
---Type <return> to continue, or q <return> to quit---
#52 0x00007fa1ff7c37fb in nsContainerFram
#53 0x00007fa1ff7dad5e in CanvasFrame:
#54 0x00007fa1ff7cfd80 in nsFrameList:
#55 0x00007fa1ff7c37fb in nsContainerFram
#56 0x00007fa1ff7cfd80 in nsFrameList:
#57 0x00007fa1ff7c37fb in nsContainerFram
#58 0x00007fa1ff799f76 in nsFrameManager:
#59 0x00007fa1ff7ad913 in PresShell::Destroy (this=0x7fa1d7c
#60 0x00007fa1ff792803 in DocumentViewerI
#61 0x00007fa1ff796112 in DocumentViewerI
#62 0x00007fa1ff7981cc in DocumentViewerI
#63 0x00007fa1ff7a1922 in nsPresContext:
#64 0x00007fa1ff7e91fa in nsPluginInstanc
aContent=
#65 0x00007fa1ff7ebfeb in nsObjectFrame:
#66 0x00007fa1ff7ec60e in nsObjectFrame:
at nsObjectFrame.
#67 0x00007fa1ff8f45b9 in nsObjectLoading
at nsObjectLoading
#68 0x00007fa1ff8f5fad in nsObjectLoading
#69 0x00007fa1ffa1adac in nsHTMLPluginObj
at nsDOMClassInfo.
#70 0x00007fa1ffa1efdf in nsHTMLPluginObj
id=
#71 0x00007fa1ff655bb0 in XPCWrapper:
wn=
#72 0x00007fa1ff64f6a4 in XPC_NW_NewResolve (cx=0x7fa1edc64400, obj=0x7fa1ee0442c0, id=140333505152516, flags=5, objp=0x7ffffeb1
at XPCNativeWrappe
#73 0x00007fa200c96707 in js_LookupProper
objp=<value optimized out>, propp=<value optimized out>) at jsobj.cpp:3851
#74 0x00007fa200c97017 in js_GetPropertyH
vp=
#75 0x00007fa200c80ea4 in js_Interpret (cx=0x7fa1edc64400) at jsinterp.cpp:4449
#76 0x00007fa200c8f34d in js_Invoke (cx=0x7fa1edc64400, argc=<value optimized out>, vp=0x7fa1d6de7038, flags=<value optimized out>) at jsinterp.cpp:1394
#77 0x00007fa200c8f6a4 in js_InternalInvoke (cx=0x7fa1edc64400, obj=0x7fa1ee267400, fval=1403335052
rval=
#78 0x00007fa200c57836 in JS_CallFunction
rval=<value optimized out>) at jsapi.cpp:5187
#79 0x00007fa1ff9fa83e in nsJSContext:
aHandler=
#80 0x00007fa1ffa0e7b2 in nsGlobalWindow:
#81 0x00007fa1ffa0ea42 in nsGlobalWindow:
#82 0x00007fa1ffdf65c1 in nsTimerImpl::Fire (this=0x7fa1e4d
#83 0x00007fa1ffdf668b in nsTimerEvent::Run (this=<value optimized out>) at nsTimerImpl.cpp:512
#84 0x00007fa1ffdf40cf in nsThread:
#85 0x00007fa1ffdc986f in NS_ProcessNextE
#86 0x00007fa1ffd4d6bd in nsBaseAppShell::Run (this=0x7fa1f4e
#87 0x00007fa1ffc26ac0 in nsAppStartup::Run (this=0x7fa1f0b
#88 0x00007fa1ff61d75f in XRE_main (argc=<value optimized out>, argv=<value optimized out>, aAppData=<value optimized out>) at nsAppRunner.
#89 0x000000000040265f in ?? ()
#90 0x00007fa2014ffabd in __libc_start_main () from /lib/libc.so.6
#91 0x0000000000401ed9 in ?? ()
#92 0x00007ffffeb209c8 in ?? ()
#93 0x000000000000001c in ?? ()
#94 0x0000000000000002 in ?? ()
#95 0x00007ffffeb216ab in ?? ()
#96 0x0000000000000000 in ?? ()
I'm having the same issue since upgrading to firefox-3.5. Karmic x86_64 with the same versions of firefox-3.5 and xulrunner-1.9.1 but with swfdec-mozilla (0.8.2-1ubuntu1) instead of flashplugin. As mentioned above, "firefox --sync" makes it harder to trigger the crash.