Bug 574678
| Summary: | [abrt] crash in firefox-3.5.8-1.fc12 at startup if ~/.mozilla directory exists, starts otherwise | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Lausch <mick.lausch> | ||||
| Component: | firefox | Assignee: | Martin Stransky <stransky> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 12 | CC: | accura, ameya.gore, dudko, franco.sirovich, gecko-bugs-nobody, sbrenner, sorn.denis, stephen.zubko, stransky, towers, zbechir | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | abrt_hash:d8f3681b2c6ad872d22dcf650d693327a3672671 | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-03-24 14:51:23 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Michael Lausch
2010-03-18 07:59:15 UTC
Created attachment 400963 [details]
File: backtrace
How to reproduce ----- 1. Simply start firefox without parameters, even from command line. If started with -safe-mode it starts even if you disable everyting, start, quit and restart normalyy it crashes 2. 3. How to reproduce ----- 1.Opening Firefox 2. 3.
How to reproduce
-----
1. install firefox 3.5.8
2. execute 'firefox' in terminal, or click on the icon.
Comment
-----
It happens each time (except maybe first time, see below) I execute firefox executable. Sometimes I get segmentation fault immediately with a message like this:
/usr/lib/firefox-3.5.8/run-mozilla.sh: line 131: 4538 Segmentation fault (core dumped) "$prog" ${1+"$@"}
Sometimes (usualy first couple of times, or only first time afteter reinstall (I remove ~/.mozilla dir also) I get some glib and gtk warnings when execute firefox:
~]$ firefox
(firefox:3342): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkEntry'
(firefox:3342): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkWidget'
(firefox:3342): Gtk-CRITICAL **: gtk_widget_has_screen: assertion `GTK_IS_WIDGET (widget)' failed
(firefox:3342): GLib-GObject-WARNING **: invalid cast from `(null)' to `GtkEntry'
(firefox:3342): GLib-GObject-WARNING **: invalid cast from `(null)' to `GtkWidget'
(firefox:3342): Gtk-CRITICAL **: gtk_widget_has_screen: assertion `GTK_IS_WIDGET (widget)' failed
(firefox:3342): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkEntry'
(firefox:3342): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkWidget'
(firefox:3342): Gtk-CRITICAL **: gtk_widget_has_screen: assertion `GTK_IS_WIDGET (widget)' failed
(firefox:3342): GLib-GObject-WARNING **: invalid cast from `(null)' to `GtkEntry'
(firefox:3342): GLib-GObject-WARNING **: invalid cast from `(null)' to `GtkWidget'
(firefox:3342): Gtk-CRITICAL **: gtk_widget_has_screen: assertion `GTK_IS_WIDGET (widget)' failed
(firefox:3342): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkEntry'
(firefox:3342): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkWidget'
(firefox:3342): Gtk-CRITICAL **: gtk_widget_has_screen: assertion `GTK_IS_WIDGET (widget)' failed
Same happens with newer versions of firefox 3.6.1 and 3.6.2 from remi repo. I have fedora-updates-testing and rpmfusion free-updates, free-updates-testing, nonfree-updates, nonfree-updates-testing repos enabled.
Actually I was getting warnings (in that case firefox starts) only first time because, as Michael mentioned, firefox starts and shows warnings when there is no ~/.mozilla directory. With it it segfaults. Sorry for bad English : ). I am not sure if 'starts' is the right word if I want to say 'firefox shows up and works' and that's the case. Comment ----- Tried to start Firefox. How to reproduce ----- 1.Open firefox 2. 3. Comment ----- Firefox crashed on start up. If firefox is started from an account which has a .mozilla directory, but has not yet started the new browser version, the update checks start, succeed, and the browser starts. After closing the browser, and starting it again, it crashes witht the segmentation violation.
I captured a stacktrace with gdb:
Program received signal SIGSEGV, Segmentation fault.
0x00adbba6 in IA__g_type_check_instance_cast (type_instance=0xb76dfc50,
iface_type=3049678784) at gtype.c:3731
3731 is_instantiatable = node && node->is_instantiatable;
(gdb) bt
#0 0x00adbba6 in IA__g_type_check_instance_cast (type_instance=0xb76dfc50,
iface_type=3049678784) at gtype.c:3731
#1 0x00e7a058 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2 0x03543698 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#3 0x0056d1a2 in g_idle_dispatch (source=0xb4382700, callback=0x3543630,
user_data=0xb4381590) at gmain.c:4065
#4 0x0056efb8 in g_main_dispatch (context=0xb764f500) at gmain.c:1960
#5 IA__g_main_context_dispatch (context=0xb764f500) at gmain.c:2513
#6 0x005728e8 in g_main_context_iterate (context=0x4ffeb0, block=0, dispatch=
1, self=0xb7613730) at gmain.c:2591
#7 0x00572a14 in IA__g_main_context_iteration (context=0xb764f500, may_block=
0) at gmain.c:2654
#8 0x052e72d1 in nsAppShell::ProcessNextNativeEvent (this=0xb5c59880, mayWait=
0) at nsAppShell.cpp:147
#9 0x052fb536 in nsBaseAppShell::DoProcessNextNativeEvent (this=0xb5c59880,
mayWait=0) at nsBaseAppShell.cpp:151
#10 0x052fb683 in nsBaseAppShell::OnProcessNextEvent (this=0xb5c59880, thr=
0xb76888d0, mayWait=1, recursionDepth=0) at nsBaseAppShell.cpp:278
#11 0x053b09a4 in nsThread::ProcessNextEvent (this=0xb76888d0, mayWait=1,
result=0xbf982d5c) at nsThread.cpp:508
#12 0x0537f50a in NS_ProcessNextEvent_P (thread=<value optimized out>, mayWait=
1) at nsThreadUtils.cpp:247
#13 0x052fb7e8 in nsBaseAppShell::Run (this=0xb5c59880)
---Type <return> to continue, or q <return> to quit---
at nsBaseAppShell.cpp:170
#14 0x051b1433 in nsAppStartup::Run (this=0xb5c9d280) at nsAppStartup.cpp:193
#15 0x04b0b5e2 in XRE_main (argc=1, argv=0xbf987444, aAppData=0xb7621680)
at nsAppRunner.cpp:3321
#16 0x08049e7c in main (argc=1, argv=0xbf987444) at nsXULStub.cpp:482
firefox -safe-mode Registering '@mozilla.org/module-loader/python;1' (libpyloader.so) Registering '@mozilla.org/network/protocol/about;1?what=python' (pyabout.py) /usr/lib/xulrunner-1.9.1/python/xpcom/__init__.py:54: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 self.message = message (firefox:2743): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkEntry' (firefox:2743): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkWidget' (firefox:2743): Gtk-CRITICAL **: gtk_widget_has_screen: assertion `GTK_IS_WIDGET (widget)' failed (firefox:2743): GLib-GObject-WARNING **: invalid cast from `(null)' to `GtkEntry' (firefox:2743): GLib-GObject-WARNING **: invalid cast from `(null)' to `GtkWidget' (firefox:2743): Gtk-CRITICAL **: gtk_widget_has_screen: assertion `GTK_IS_WIDGET (widget)' failed Since the last upgrade to gtk2-2.18.9-1.fc12.i686 the bug seems to be resolved. firefox starts again without crashing. In my opinion the bug was not in firefox, but in gtk and firefox only triggered it. How to reproduce ----- 1. Start Firefox 2. 3. Comment ----- FF Crashes everytime I try to start it. (In reply to comment #11) > Since the last upgrade to gtk2-2.18.9-1.fc12.i686 the bug seems to be resolved. > firefox starts again without crashing. > In my opinion the bug was not in firefox, but in gtk and firefox only triggered > it. I just reported the bug and then saw your comment about gtk2-2.18.9-1, and after upgrading myself through the updates-testing repo, Firefox starts normally now. -sb okay, closing. please reopen if it still crashes with the new gtk2 package. |