Closed Bug 909082 Opened 11 years ago Closed 10 years ago

GTK3 build crashes in nsPluginInstanceOwner::CreateWidget

Categories

(Core :: Widget: Gtk, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla32

People

(Reporter: hidenosuke, Assigned: stransky)

References

Details

GTK3 build crashes after main windows appear.

Debug build log are here:
For application/x-shockwave-flash found plugin libflashplayer.so
WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/hideo/develop/mozilla-central/xpcom/base/nsTraceRefcntImpl.cpp, line 141
WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/hideo/develop/mozilla-central/xpcom/base/nsTraceRefcntImpl.cpp, line 141
WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/hideo/develop/mozilla-central/xpcom/base/nsTraceRefcntImpl.cpp, line 141
WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/hideo/develop/mozilla-central/xpcom/base/nsTraceRefcntImpl.cpp, line 141
WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/hideo/develop/mozilla-central/xpcom/base/nsTraceRefcntImpl.cpp, line 141
WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/hideo/develop/mozilla-central/xpcom/base/nsTraceRefcntImpl.cpp, line 141
WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/hideo/develop/mozilla-central/xpcom/base/nsTraceRefcntImpl.cpp, line 141
WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/hideo/develop/mozilla-central/xpcom/base/nsTraceRefcntImpl.cpp, line 141

(plugin-container:25947): Gdk-WARNING **: The GDK_NATIVE_WINDOWS environment variable is not supported in GTK3.
See the documentation for gdk_window_ensure_native() on how to get native windows.
LoadPlugin() /usr/lib/flashplayer-mozilla/libflashplayer.so returned 7fffe40fafa0
JavaScript error: , line 0: Permission denied to access property 'toString'

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff0ecdaa1 in nsPluginInstanceOwner::CreateWidget (this=0x7fffaf648280)
    at /home/hideo/develop/mozilla-central/dom/plugins/base/nsPluginInstanceOwner.cpp:3133
3133	    ws_info->display = DefaultXDisplay();

And stack traces:
(gdb) bt
#0  0x00007ffff0ecdaa1 in nsPluginInstanceOwner::CreateWidget (
    this=0x7fffaf648280)
    at /home/hideo/develop/mozilla-central/dom/plugins/base/nsPluginInstanceOwner.cpp:3133
#1  0x00007ffff0eb7bf8 in nsPluginHost::InstantiatePluginInstance (
    this=0x7fffd31bcf70, 
    aMimeType=0x7fffaf30b7f8 "application/x-shockwave-flash", aURL=
    0x7fffaf119900, aContent=0x7fffb29f8d90, aOwner=0x7fffffffc1e0)
    at /home/hideo/develop/mozilla-central/dom/plugins/base/nsPluginHost.cpp:860
#2  0x00007fffeffaf0c5 in nsObjectLoadingContent::InstantiatePluginInstance (
    this=0x7fffb29f8d90, aIsLoading=true)
    at /home/hideo/develop/mozilla-central/content/base/src/nsObjectLoadingContent.cpp:808
#3  0x00007fffeffb42f4 in nsObjectLoadingContent::LoadObject (
    this=0x7fffb29f8d90, aNotify=true, aForceLoad=false, aLoadingChannel=
    0x7fffaf3cf858)
    at /home/hideo/develop/mozilla-central/content/base/src/nsObjectLoadingContent.cpp:2197
#4  0x00007fffeffafb8f in nsObjectLoadingContent::OnStartRequest (
    this=0x7fffb29f8d90, aRequest=0x7fffaf3cf858, aContext=0x0)
    at /home/hideo/develop/mozilla-central/content/base/src/nsObjectLoadingContent.cpp:964
#5  0x00007fffeffbacf6 in ObjectInterfaceRequestorShim::OnStartRequest (
    this=0x7fffaf30b790, aRequest=0x7fffaf3cf858, aContext=0x0)
    at /home/hideo/develop/mozilla-central/content/base/src/nsObjectLoadingContent.cpp:1135
#6  0x00007fffef7a7f21 in mozilla::net::nsHttpChannel::CallOnStartRequest (
    this=0x7fffaf3cf800)
    at /home/hideo/develop/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:1005
#7  0x00007fffef7a9e1b in mozilla::net::nsHttpChannel::ContinueProcessNormal (
    this=0x7fffaf3cf800, rv=NS_OK)
    at /home/hideo/develop/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:1600
#8  0x00007fffef7a9b3e in mozilla::net::nsHttpChannel::ProcessNormal (
    this=0x7fffaf3cf800)
    at /home/hideo/develop/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:1535
#9  0x00007fffef7a933a in mozilla::net::nsHttpChannel::ProcessResponse (
    this=0x7fffaf3cf800)
    at /home/hideo/develop/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:1365
#10 0x00007fffef7b83a4 in mozilla::net::nsHttpChannel::OnStartRequest (
    this=0x7fffaf3cf800, request=0x7fffb7eefbc0, ctxt=0x0)
    at /home/hideo/develop/mozilla-central/netwerk/protocol/http/nsHttpChannel.c
pp:5038
#11 0x00007fffef6720fe in nsInputStreamPump::OnStateStart (this=0x7fffb7eefbc0)
    at /home/hideo/develop/mozilla-central/netwerk/base/src/nsInputStreamPump.cpp:463
#12 0x00007fffef671db2 in nsInputStreamPump::OnInputStreamReady (
    this=0x7fffb7eefbc0, stream=0x7fffb157c318)
    at /home/hideo/develop/mozilla-central/netwerk/base/src/nsInputStreamPump.cpp:388
#13 0x00007ffff1aed2e9 in nsInputStreamReadyEvent::Run (this=0x7fffb15f9280)
    at /home/hideo/develop/mozilla-central/xpcom/io/nsStreamUtils.cpp:82
#14 0x00007ffff1b11d79 in nsThread::ProcessNextEvent (this=0x7ffff6c55bb0, 
    mayWait=false, result=0x7fffffffc9af)
    at /home/hideo/develop/mozilla-central/xpcom/threads/nsThread.cpp:622
#15 0x00007ffff1a96f69 in NS_ProcessNextEvent (thread=0x7ffff6c55bb0, 
    mayWait=false)
    at /home/hideo/develop/mozilla-central/fx-opt/xpcom/build/nsThreadUtils.cpp:238
#16 0x00007ffff11651e3 in mozilla::ipc::MessagePump::Run (this=0x7fffe4dd9100, 
    aDelegate=0x7ffff6c47560)
    at /home/hideo/develop/mozilla-central/ipc/glue/MessagePump.cpp:81
#17 0x00007ffff1bb6645 in MessageLoop::RunInternal (this=0x7ffff6c47560)
    at /home/hideo/develop/mozilla-central/ipc/chromium/src/base/message_loop.cc:220
#18 0x00007ffff1bb65d6 in MessageLoop::RunHandler (this=0x7ffff6c47560)
    at /home/hideo/develop/mozilla-central/ipc/chromium/src/base/message_loop.cc:213
#19 0x00007ffff1bb6567 in MessageLoop::Run (this=0x7ffff6c47560)
    at /home/hideo/develop/mozilla-central/ipc/chromium/src/base/message_loop.cc:187
#20 0x00007ffff102d5fc in nsBaseAppShell::Run (this=0x7fffdf1dbba0)
    at /home/hideo/develop/mozilla-central/widget/xpwidgets/nsBaseAppShell.cpp:161
#21 0x00007ffff0ced1d6 in nsAppStartup::Run (this=0x7fffe06b6650)
    at /home/hideo/develop/mozilla-central/toolkit/components/startup/nsAppStartup.cpp:269
#22 0x00007fffef4c36d5 in XREMain::XRE_mainRun (this=0x7fffffffce70)
    at /home/hideo/develop/mozilla-central/toolkit/xre/nsAppRunner.cpp:3863
#23 0x00007fffef4c39be in XREMain::XRE_main (this=0x7fffffffce70, argc=1, 
    argv=0x7fffffffe338, aAppData=0x7fffffffd020)
    at /home/hideo/develop/mozilla-central/toolkit/xre/nsAppRunner.cpp:3931
#24 0x00007fffef4c3bf1 in XRE_main (argc=1, argv=0x7fffffffe338, 
    aAppData=0x7fffffffd020, aFlags=0)
    at /home/hideo/develop/mozilla-central/toolkit/xre/nsAppRunner.cpp:4133
#25 0x000000000040449c in do_main (argc=1, argv=0x7fffffffe338, xreDirectory=
    0x7ffff6c2c900)
    at /home/hideo/develop/mozilla-central/browser/app/nsBrowserApp.cpp:275
#26 0x0000000000404890 in main (argc=1, argv=0x7fffffffe338)
    at /home/hideo/develop/mozilla-central/browser/app/nsBrowserApp.cpp:635
Plug-ins won't yet work with GTK3 build.
Depends on: 624422
Should be fixed now.
Assignee: nobody → stransky
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.