Closed
Bug 527382
Opened 16 years ago
Closed 16 years ago
gnome2-globalmenu crashes Firefox during startup
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: pj.pereira, Unassigned)
Details
(Keywords: crash)
User-Agent: Opera/9.80 (X11; Linux x86_64; U; en-GB) Presto/2.2.15 Version/10.01
Build Identifier: Firefox 3.5.xx
Firefox 3.5.xx never start even with clean profiles. The errors are:
ayanami ~ # firefox
Registering '@mozilla.org/module-loader/python;1' (libpyloader.so)
Registering '@mozilla.org/network/protocol/about;1?what=python' (pyabout.py)
/usr/lib64/xulrunner-1.9.1/python/xpcom/__init__.py:54: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
Registering '@mozilla.org/module-loader/python;1' (libpyloader.so)
Registering '@mozilla.org/network/protocol/about;1?what=python' (pyabout.py)
/usr/lib64/xulrunner-1.9.1/python/xpcom/__init__.py:54: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
ayanami ~ #
Reproducible: Always
Steps to Reproduce:
1.Start Firefox
2.Crash every time
3.
Actual Results:
ayanami ~ # firefox
Registering '@mozilla.org/module-loader/python;1' (libpyloader.so)
Registering '@mozilla.org/network/protocol/about;1?what=python' (pyabout.py)
/usr/lib64/xulrunner-1.9.1/python/xpcom/__init__.py:54: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
Registering '@mozilla.org/module-loader/python;1' (libpyloader.so)
Registering '@mozilla.org/network/protocol/about;1?what=python' (pyabout.py)
/usr/lib64/xulrunner-1.9.1/python/xpcom/__init__.py:54: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
ayanami ~ #
https://developer.mozilla.org/En/Debugging_Mozilla_on_Linux_FAQ
i hope you aren't running gecko as root...
anyway, afaik the python loader is not a default component.
you should build --disable-strip with one of:
--enable-debugger-info-modules
--enable-debug
personally, i'd go w/ --disable-python or whatever that module is
please provide your build config flags.
You got me, but I don't run it as root usually, I did it just to get a clean profile quickly.
When I disable python it just crashes. I am using Gentoo and my config flags are:
alsa, sqlite, gnome and dbus for firefox and alsa, python (sometimes ;) ), sqlite and dbus.
Comment 3•16 years ago
|
||
Pretty please do not run Firefox as root, not even to "get a clean profile quickly", and *especially* not to get around a suspected permissions problem. Root can write anywhere, including to the application directory and to your user's homedir (creating files there your user cannot write to) so running it this way can *cause* problems with running it as your regular user.
You will have to get a stacktrace out somehow. https://developer.mozilla.org/En/How_to_get_a_stacktrace_for_a_bug_report has some instructions on how to do that (including a gentoo-specific link near the bottom). You may have to rebuild xulrunner with FEATURES=splitdebug to get a useful backtrace (assuming the crash is actually in gecko and not in some dependent library). If you're going to rebuild xulrunner you might as well set USE=-python for it too, although I doubt pyxpcom is actually related to the crash.
hi, sorry for my late answer. i am very ashamed of that root thing, please forget it, i will remember it forever :(
about the bug, i think i managed to get some more info with gdb. first i emerged firefox without any flag enabled. the result was a crash and gdb returned this:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f2e9ba62700 (LWP 26463)]
0x00007f2e962500a9 in g_object_ref () from /usr/lib/libgobject-2.0.so.0
(gdb) continue
Continuing.
Program exited with code 01.
hope it helps.
more details
[New Thread 0x7fb8249e5950 (LWP 20424)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fb8445d3700 (LWP 20393)]
0x00007fb83ed500a9 in g_object_ref () from /usr/lib/libgobject-2.0.so.0
(gdb) bt
#0 0x00007fb83ed500a9 in g_object_ref () from /usr/lib/libgobject-2.0.so.0
#1 0x00007fb83299effe in ?? ()
from /usr/lib64/gtk-2.0/modules/libglobalmenu-gnome.so
#2 0x00007fb83ed62d61 in ?? () from /usr/lib/libgobject-2.0.so.0
#3 0x00007fb83ed64807 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#4 0x00007fb83ed64af5 in g_signal_emit_by_name ()
from /usr/lib/libgobject-2.0.so.0
#5 0x00007fb8329a294b in ?? ()
from /usr/lib64/gtk-2.0/modules/libglobalmenu-gnome.so
#6 0x00007fb83e894e51 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#7 0x00007fb83e8983e8 in ?? () from /usr/lib/libglib-2.0.so.0
#8 0x00007fb83e89859c in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#9 0x00007fb841c10c51 in ?? () from /usr/lib64/xulrunner-1.9.1/libxul.so
#10 0x00007fb841c10d9f in ?? () from /usr/lib64/xulrunner-1.9.1/libxul.so
#11 0x00007fb841cb6929 in ?? () from /usr/lib64/xulrunner-1.9.1/libxul.so
#12 0x00007fb841c8c95e in ?? () from /usr/lib64/xulrunner-1.9.1/libxul.so
#13 0x00007fb841c10ebd in ?? () from /usr/lib64/xulrunner-1.9.1/libxul.so
#14 0x00007fb841ae9705 in ?? () from /usr/lib64/xulrunner-1.9.1/libxul.so
#15 0x00007fb841514803 in XRE_main ()
from /usr/lib64/xulrunner-1.9.1/libxul.so
---Type <return> to continue, or q <return> to quit---
#16 0x0000000000402795 in ?? ()
#17 0x00007fb8434fb5e4 in __libc_start_main () from /lib/libc.so.6
#18 0x0000000000402169 in ?? ()
#19 0x00007fffefe28448 in ?? ()
#20 0x0000000000000000 in ?? ()
(gdb) continue
Continuing.
Program exited with code 01.
(gdb)
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Keywords: crash
Resolution: --- → INVALID
Summary: Firefox crashes at startup → gnome2-globalmenu crashes Firefox during startup
You need to log in
before you can comment on or make changes to this bug.
Description
•