Closed
Bug 1465874
Opened 7 years ago
Closed 7 years ago
[ubuntu 18.04 LTS] segfault at gdk_window_get_user_data
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: dnanar, Unassigned, NeedInfo)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Steps to reproduce:
I recently tried to install firefox on my ubuntu since getting sick of chrome memory consumption, but default package/tar.bz2 downloaded from website doesn't start
When starting from command line I get:
$ firefox
ExceptionHandler::GenerateDump cloned child 4271
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
$
Actual results:
So I ran firefox w/ gdb using the -g option and got:
$ firefox -g
[...]
(gdb) run
Starting program: /usr/lib/firefox/firefox
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe4b62700 (LWP 3662)]
[Thread 0x7fffe4b62700 (LWP 3662) exited]
[New Thread 0x7fffe4b62700 (LWP 3664)]
[New Thread 0x7fffe08ff700 (LWP 3665)]
[New Thread 0x7fffe00fe700 (LWP 3666)]
[New Thread 0x7fffdf8fd700 (LWP 3667)]
[New Thread 0x7fffdeeff700 (LWP 3668)]
[New Thread 0x7fffde6fe700 (LWP 3669)]
[New Thread 0x7fffde4fd700 (LWP 3670)]
[New Thread 0x7fffde2fc700 (LWP 3671)]
[New Thread 0x7fffde0fb700 (LWP 3672)]
[New Thread 0x7fffddefa700 (LWP 3673)]
[New Thread 0x7fffddcf9700 (LWP 3674)]
[New Thread 0x7fffddaf8700 (LWP 3675)]
[New Thread 0x7fffdd8f7700 (LWP 3676)]
[New Thread 0x7fffdd0ff700 (LWP 3677)]
[New Thread 0x7fffdcefe700 (LWP 3678)]
[New Thread 0x7fffdccfd700 (LWP 3679)]
[New Thread 0x7fffdc4fc700 (LWP 3680)]
[New Thread 0x7fffdb88a700 (LWP 3681)]
[New Thread 0x7fffdb089700 (LWP 3682)]
[New Thread 0x7fffda1ff700 (LWP 3683)]
[New Thread 0x7ffff7fea700 (LWP 3685)]
[New Thread 0x7fffd97ff700 (LWP 3686)]
[New Thread 0x7fffd8ffe700 (LWP 3687)]
[Thread 0x7fffda1ff700 (LWP 3683) exited]
[New Thread 0x7fffda1ff700 (LWP 3688)]
[Thread 0x7fffd8ffe700 (LWP 3687) exited]
[New Thread 0x7fffd8ffe700 (LWP 3689)]
[New Thread 0x7fffd75ff700 (LWP 3690)]
[Thread 0x7fffda1ff700 (LWP 3688) exited]
[New Thread 0x7fffd73fe700 (LWP 3691)]
[New Thread 0x7fffda1ff700 (LWP 3692)]
[New Thread 0x7fffd597c700 (LWP 3693)]
[Thread 0x7fffd597c700 (LWP 3693) exited]
[New Thread 0x7fffd597c700 (LWP 3694)]
[Thread 0x7fffd597c700 (LWP 3694) exited]
[New Thread 0x7fffd597c700 (LWP 3695)]
[New Thread 0x7fffd2f3a700 (LWP 3696)]
[New Thread 0x7fffd2739700 (LWP 3697)]
[New Thread 0x7fffd1f38700 (LWP 3698)]
[New Thread 0x7fffdf0b6700 (LWP 3699)]
[New Thread 0x7fffd1737700 (LWP 3700)]
Thread 1 "firefox" received signal SIGSEGV, Segmentation fault.
0x00007ffff4338300 in gdk_window_get_user_data () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
(gdb) where
#0 0x00007ffff4338300 in gdk_window_get_user_data () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#1 0x00007fffd0d3094e in () at /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-hangul.so
#2 0x00007fffd0d30836 in () at /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-hangul.so
#3 0x00007ffff47f42a4 in gtk_im_context_get_preedit_string () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#4 0x00007ffff47f42a4 in gtk_im_context_get_preedit_string () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#5 0x00007ffff478ea25 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#6 0x00007ffff478fb37 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#7 0x00007ffff47901fa in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#8 0x00007ffff1c68149 in g_cclosure_marshal_VOID__OBJECTv () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff1c651a6 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff1c806df in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff1c80e0f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff4960e3e in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#13 0x00007ffff496401b in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#14 0x00007ffff4972dda in gtk_widget_set_parent () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#15 0x00007ffff47be4b7 in gtk_fixed_put () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x00007ffff1c68149 in g_cclosure_marshal_VOID__OBJECTv () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff1c651a6 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff1c806df in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff1c80e0f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff474ec05 in gtk_container_add () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#21 0x00007fffe830f01a in nsLookAndFeel::EnsureInit() (this=this@entry=0x7ffff6a55e00) at /build/firefox-lojCEZ/firefox-60.0.1+build2/widget/gtk/nsLookAndFeel.cpp:937
#22 0x00007fffe831f944 in nsLookAndFeel::EnsureInit() (this=0x7ffff6a55e00) at /build/firefox-lojCEZ/firefox-60.0.1+build2/widget/gtk/nsLookAndFeel.cpp:806
#23 0x00007fffe831f944 in nsLookAndFeel::GetIntImpl(mozilla::LookAndFeel::IntID, int&) (this=0x7ffff6a55e00, aID=<optimized out>, aResult=@0x7fffffffbf10: 0) at /build/firefox-lojCEZ/firefox-60.0.1+build2/widget/gtk/nsLookAndFeel.cpp:656
#24 0x00007fffe82f67e9 in nsWindow::Create(nsIWidget*, void*, mozilla::gfx::IntRectTyped<mozilla::LayoutDevicePixel> const&, nsWidgetInitData*) (this=0x7fffda497000, aParent=<optimized out>, aNativeParent=<optimized out>, aRect=..., aInitData=0x7fffffffc1e0) at /build/firefox-lojCEZ/firefox-60.0.1+build2/widget/gtk/nsWindow.cpp:3741
#25 0x00007fffe909564e in nsIWidget::Create(nsIWidget*, void*, mozilla::gfx::IntRectTyped<mozilla::DesktopPixel> const&, nsWidgetInitData*) (aInitData=0x7fffffffc1e0, aRect=..., aNativeParent=0x0, aParent=0x0, this=0x7fffda497000) at /build/firefox-lojCEZ/firefox-60.0.1+build2/obj-x86_64-linux-gnu/dist/include/nsIWidget.h:457
#26 0x00007fffe909564e in nsWebShellWindow::Initialize(nsIXULWindow*, nsIXULWindow*, nsIURI*, int, int, bool, nsITabParent*, mozIDOMWindowProxy*, nsWidgetInitData&) (this=this@entry=0x7fffda7a4820, aParent=<optimized out>, aOpener=aOpener@entry=0x0, aUrl=aUrl@entry=0x7fffd662c200, aInitialWidth=aInitialWidth@entry=100, aInitialHeight=aInitialHeight@entry=100, aIsHiddenWindow=true, aOpeningTab=0x0, aOpenerWindow=0x0, widgetInitData=...)
at /build/firefox-lojCEZ/firefox-60.0.1+build2/xpfe/appshell/nsWebShellWindow.cpp:181
#27 0x00007fffe909601f in nsAppShellService::JustCreateTopWindow(nsIXULWindow*, nsIURI*, unsigned int, int, int, bool, nsITabParent*, mozIDOMWindowProxy*, nsWebShellWindow**) (this=this@entry=0x7fffda6e8ac0, aParent=aParent@entry=0x0, aUrl=0x7fffd662c200, aChromeMask=4094, aInitialWidth=aInitialWidth@entry=100, aInitialHeight=aInitialHeight@entry=100, aIsHiddenWindow=true, aOpeningTab=0x0, aOpenerWindow=0x0, aResult=0x7fffffffc278)
at /build/firefox-lojCEZ/firefox-60.0.1+build2/xpfe/appshell/nsAppShellService.cpp:739
#28 0x00007fffe909653c in nsAppShellService::CreateHiddenWindowHelper(bool) (this=0x7fffda6e8ac0, aIsPrivate=<optimized out>) at /build/firefox-lojCEZ/firefox-60.0.1+build2/xpfe/appshell/nsAppShellService.cpp:140
#29 0x00007fffe92b6fb7 in nsAppStartup::CreateHiddenWindow() (this=<optimized out>) at /build/firefox-lojCEZ/firefox-60.0.1+build2/toolkit/components/startup/nsAppStartup.cpp:254
#30 0x00007fffe9365e8b in XREMain::XRE_mainRun() (this=this@entry=0x7fffffffc510) at /build/firefox-lojCEZ/firefox-60.0.1+build2/toolkit/xre/nsAppRunner.cpp:4726
#31 0x00007fffe9366cf2 in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) (this=this@entry=0x7fffffffc510, argc=argc@entry=1, argv=argv@entry=0x7fffffffd848, aConfig=...) at /build/firefox-lojCEZ/firefox-60.0.1+build2/toolkit/xre/nsAppRunner.cpp:4970
#32 0x00007fffe9366fb2 in XRE_main(int, char**, mozilla::BootstrapConfig const&) (argc=1, argv=0x7fffffffd848, aConfig=...) at /build/firefox-lojCEZ/firefox-60.0.1+build2/toolkit/xre/nsAppRunner.cpp:5062
#33 0x0000555555559d0c in do_main(int, char**, char**) (argc=1, argv=0x7fffffffd848, envp=<optimized out>) at /build/firefox-lojCEZ/firefox-60.0.1+build2/browser/app/nsBrowserApp.cpp:231
#34 0x0000555555559479 in main(int, char**, char**) (argc=1, argv=0x7fffffffd848, envp=0x7fffffffd858) at /build/firefox-lojCEZ/firefox-60.0.1+build2/browser/app/nsBrowserApp.cpp:304
Expected results:
Firefox should have started? No new window appears.
I quickly tried to look for similar issues on bugzilla but nothing came up.
The firefox package used on ubuntu is "60.0.1+build2-0ubuntu0.18.04.1". The same issue arise when using the .tar.bz2 from the website. And libgtk-3-dev version is "3.22.30-1ubuntu1"
| Reporter | ||
Comment 1•7 years ago
|
||
and libgtk-3.0 (which provides libgdk-3.so.0) version is 3.22.30-1ubuntu1
Comment 2•7 years ago
|
||
Thanks for the report Nanar. I'm wildly assuming that the firefox version you are trying to start above is the Firefox canonical version, in which case an apt-get update would probably be helpful.
Ubuntu in general comes with a canonical version, the firefox - g lists that you are trying to open that version. On my test machine Ubuntu 18.04, I have had no problem with the canonical version or the official release.
Could you please download the official version from here (http://ftp.mozilla.org/pub/firefox/releases/60.0.2/linux-x86_64/en-US/) or use the one that you have downloaded before, but try to open it by using full path? e.g: $./Documents/firefox/firefox
Flags: needinfo?(dnanar)
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Comment 3•7 years ago
|
||
Resolving as incomplete for the time being.
Nanar, please reopen the bug with the requested additional information (comment 2) if the issue is still reproducible.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•