Closed Bug 262991 Opened 20 years ago Closed 19 years ago

[trunk, Linux] "firefox -register" results in SIGSEGV

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: t.matsuu, Assigned: bugzilla)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041004
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041004

firefox -register
command does not work on Fedora Core 2.

This ocuurs only trunk build and aviary build works fine.

2004092106_trunk works fine and 2004092208_trunk doesn't work.

Reproducible: Always
Steps to Reproduce:
1. run a command "firefox -register"
2. Hmm...
Attached file Error Log
works fine with 2004101600_trunk.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Reopened.

This bug occurs at the latest trunk.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Attached file backtrace
backtrace using firefox 2004122107_trunk on Fedora Core 2.


If more information is needed, please tell me (with instruction how to prepare
that).
Comment on attachment 169331 [details]
backtrace

Script started on Wed Dec 22 08:49:32 2004
^G[foo@bar tmp]$ export LANG=C^M
^G[foo@bar tmp]$ /usr/lib/firefox-1.0/firefox -register^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: file gtype.c: line 2319
(g_type_add_interface_static): assertion `G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: file gobject.c: line 819
(g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): Gtk-CRITICAL **: file gtkobject.c: line 734 (gtk_object_ref):
assertion `GTK_IS_OBJECT (object)' failed^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): Gtk-CRITICAL **: file gtkobject.c: line 459 (gtk_object_sink):
assertion `GTK_IS_OBJECT (object)' failed^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: file gtype.c: line 2319
(g_type_add_interface_static): assertion `G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed^M
^M
(process:28181): Gtk-CRITICAL **: file gtkwidget.c: line 4380
(gtk_widget_ensure_style): assertion `GTK_IS_WIDGET (widget)' failed^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: file gtype.c: line 2319
(g_type_add_interface_static): assertion `G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed^M
^M
(process:28181): Gtk-CRITICAL **: file gtkwidget.c: line 4423
(gtk_widget_get_style): assertion `GTK_IS_WIDGET (widget)' failed^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: file gtype.c: line 2319
(g_type_add_interface_static): assertion `G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
assertion failed, use g_type_init() prior to this function^M
^M
(process:28181): Gtk-CRITICAL **: file gtkrc.c: line 1761
(gtk_rc_get_style_by_paths): assertion `GTK_IS_SETTINGS (settings)' failed^M
/usr/lib/firefox-1.0/run-mozilla.sh: line 423: 28181 Segmentation fault     
(core dumped) "$prog" ${1+"$@"}^M
^G[foo@bar tmp]$ gdb /usr/lib/firefox-1.0/firefox-bin core.28181^M
GNU gdb Red Hat Linux (6.0post-0.20040223.19rh)^M
Copyright 2004 Free Software Foundation, Inc.^M
GDB is free software, covered by the GNU General Public License, and you are^M
welcome to change it and/or distribute copies of it under certain conditions.^M
Type "show copying" to see the conditions.^M
There is absolutely no warranty for GDB.  Type "show warranty" for details.^M
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".^M
^M
Core was generated by `/usr/lib/firefox-1.0/firefox-bin -register'.^M
Program terminated with signal 11, Segmentation fault.^M
Reading symbols from /usr/lib/firefox-1.0/libmozjs.so...Reading symbols from
/usr/lib/debug//usr/lib/firefox-1.0/libmozjs.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/libmozjs.so^M
Reading symbols from /usr/lib/firefox-1.0/libxpcom.so...Reading symbols from
/usr/lib/debug//usr/lib/firefox-1.0/libxpcom.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/libxpcom.so^M
Reading symbols from /usr/lib/firefox-1.0/libxpcom_core.so...Reading symbols
from /usr/lib/debug//usr/lib/firefox-1.0/libxpcom_core.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/libxpcom_core.so^M
Reading symbols from /usr/lib/firefox-1.0/libplds4.so...Reading symbols from
/usr/lib/debug//usr/lib/firefox-1.0/libplds4.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/libplds4.so^M
Reading symbols from /usr/lib/firefox-1.0/libplc4.so...Reading symbols from
/usr/lib/debug//usr/lib/firefox-1.0/libplc4.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/libplc4.so^M
Reading symbols from /usr/lib/firefox-1.0/libnspr4.so...Reading symbols from
/usr/lib/debug//usr/lib/firefox-1.0/libnspr4.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/libnspr4.so^M
Reading symbols from /lib/tls/libpthread.so.0...done.^M
Loaded symbols for /lib/tls/libpthread.so.0^M
Reading symbols from /lib/libdl.so.2...done.^M
Loaded symbols for /lib/libdl.so.2^M
Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...done.^M
Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0^M
Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...done.^M
Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0^M
Reading symbols from /usr/lib/libatk-1.0.so.0...done.^M
Loaded symbols for /usr/lib/libatk-1.0.so.0^M
Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...done.^M
Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0^M
Reading symbols from /usr/lib/libpangoxft-1.0.so.0...done.^M
Loaded symbols for /usr/lib/libpangoxft-1.0.so.0^M
Reading symbols from /usr/lib/libpangox-1.0.so.0...done.^M
Loaded symbols for /usr/lib/libpangox-1.0.so.0^M
Reading symbols from /usr/lib/libpango-1.0.so.0...done.^M
Loaded symbols for /usr/lib/libpango-1.0.so.0^M
Reading symbols from /usr/lib/libgobject-2.0.so.0...done.^M
Loaded symbols for /usr/lib/libgobject-2.0.so.0^M
Reading symbols from /usr/lib/libgmodule-2.0.so.0...done.^M
Loaded symbols for /usr/lib/libgmodule-2.0.so.0^M
Reading symbols from /usr/lib/libglib-2.0.so.0...done.^M
Loaded symbols for /usr/lib/libglib-2.0.so.0^M
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.^M
Loaded symbols for /usr/X11R6/lib/libX11.so.6^M
Reading symbols from /lib/tls/libm.so.6...done.^M
Loaded symbols for /lib/tls/libm.so.6^M
Reading symbols from /usr/lib/libstdc++.so.5...done.^M
Loaded symbols for /usr/lib/libstdc++.so.5^M
Reading symbols from /lib/libgcc_s.so.1...done.^M
Loaded symbols for /lib/libgcc_s.so.1^M
Reading symbols from /lib/tls/libc.so.6...done.^M
Loaded symbols for /lib/tls/libc.so.6^M
Reading symbols from /lib/ld-linux.so.2...done.^M
Loaded symbols for /lib/ld-linux.so.2^M
Reading symbols from /usr/X11R6/lib/libXrandr.so.2...done.^M
Loaded symbols for /usr/X11R6/lib/libXrandr.so.2^M
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.^M
Loaded symbols for /usr/X11R6/lib/libXi.so.6^M
Reading symbols from /usr/X11R6/lib/libXinerama.so.1...done.^M
Loaded symbols for /usr/X11R6/lib/libXinerama.so.1^M
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.^M
Loaded symbols for /usr/X11R6/lib/libXext.so.6^M
Reading symbols from /usr/X11R6/lib/libXft.so.2...done.^M
Loaded symbols for /usr/X11R6/lib/libXft.so.2^M
Reading symbols from /usr/lib/libfreetype.so.6...done.^M
Loaded symbols for /usr/lib/libfreetype.so.6^M
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.^M
Loaded symbols for /usr/X11R6/lib/libXrender.so.1^M
Reading symbols from /usr/lib/libfontconfig.so.1...done.^M
Loaded symbols for /usr/lib/libfontconfig.so.1^M
Reading symbols from /usr/lib/libpangoft2-1.0.so.0...done.^M
Loaded symbols for /usr/lib/libpangoft2-1.0.so.0^M
Reading symbols from /usr/lib/libexpat.so.0...done.^M
Loaded symbols for /usr/lib/libexpat.so.0^M
Reading symbols from /usr/lib/libz.so.1...done.^M
Loaded symbols for /usr/lib/libz.so.1^M
Reading symbols from /usr/lib/firefox-1.0/components/libchrome.so...Reading
symbols from
/usr/lib/debug//usr/lib/firefox-1.0/components/libchrome.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/components/libchrome.so^M
Reading symbols from /usr/lib/firefox-1.0/components/librdf.so...Reading
symbols from
/usr/lib/debug//usr/lib/firefox-1.0/components/librdf.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/components/librdf.so^M
Reading symbols from /usr/lib/firefox-1.0/components/libpref.so...Reading
symbols from
/usr/lib/debug//usr/lib/firefox-1.0/components/libpref.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/components/libpref.so^M
Reading symbols from /usr/lib/firefox-1.0/libmozz.so...Reading symbols from
/usr/lib/debug//usr/lib/firefox-1.0/libmozz.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/libmozz.so^M
Reading symbols from /usr/lib/firefox-1.0/components/libnecko.so...Reading
symbols from
/usr/lib/debug//usr/lib/firefox-1.0/components/libnecko.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/components/libnecko.so^M
Reading symbols from /usr/lib/firefox-1.0/libgkgfx.so...Reading symbols from
/usr/lib/debug//usr/lib/firefox-1.0/libgkgfx.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/libgkgfx.so^M
Reading symbols from /usr/lib/firefox-1.0/libgtkxtbin.so...Reading symbols from
/usr/lib/debug//usr/lib/firefox-1.0/libgtkxtbin.so.debug...done.^M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/libgtkxtbin.so^M
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.^M
Loaded symbols for /usr/X11R6/lib/libXt.so.6^M
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.^M
Loaded symbols for /usr/X11R6/lib/libSM.so.6^M
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.^M
Loaded symbols for /usr/X11R6/lib/libICE.so.6^M
Reading symbols from
/usr/lib/firefox-1.0/components/libwidget_gtk2.so...Reading symbols from
/usr/lib/debug//usr/lib/firefox-1.0/components/libwidget_gtk2.so.debug...done.^
M
done.^M
Loaded symbols for /usr/lib/firefox-1.0/components/libwidget_gtk2.so^M
#0  nsLookAndFeel::InitColors () at nsLookAndFeel.cpp:482^M
482	    sInfoBackground =
GDK_COLOR_TO_NS_RGB(style->bg[GTK_STATE_NORMAL]);^M
(gdb) bt^M
#0  nsLookAndFeel::InitColors () at nsLookAndFeel.cpp:482^M
#1  0x006e6c9f in nsLookAndFeel (this=0x8f703d0) at nsLookAndFeel.cpp:69^M
#2  0x006e577c in nsLookAndFeelConstructor (aOuter=0x0, aIID=@0x210e48, ^M
    aResult=0xfef3ac04) at nsWidgetFactory.cpp:71^M
#3  0x005c0d25 in nsGenericFactory::CreateInstance (this=0x0, aOuter=0x0, ^M
    aIID=@0x210e48, aResult=0xfef3ac04) at nsGenericFactory.cpp:82^M
#4  0x005f1eb5 in nsComponentManagerImpl::CreateInstance (this=0x80040154, ^M
    aClass=@0x210eb0, aDelegate=0x0, aIID=@0x210e48, aResult=0xfef3ac04)^M
    at nsComponentManager.cpp:1883^M
#5  0x005f2154 in nsComponentManagerImpl::GetService (this=0x8f35678, ^M
    aClass=@0x210eb0, aIID=@0x210e48, result=0xfef3ac94) at nsCOMPtr.h:1453^M
#6  0x005c0607 in CallGetService (aCID=@0x210eb0, aIID=@0x210e48, ^M
    aResult=0xfef3ac94) at nsComponentManagerUtils.cpp:81^M
#7  0x005c087b in nsGetServiceByCID::operator() (this=0x0, aIID=@0xffffffff, ^M
    aInstancePtr=0xfef3ac94) at nsComponentManagerUtils.cpp:254^M
#8  0x005c0484 in nsCOMPtr_base::assign_from_gs_cid (this=0xfef3ad00, gs=^M
      {mCID = @0x210eb0}, iid=@0x0) at nsCOMPtr.cpp:114^M
#9  0x00204072 in nsChromeRegistry::Init (this=0x8f68790)^M
    at nsISupportsUtils.h:202^M
#10 0x00202c46 in nsChromeRegistryConstructor (aOuter=0x0, aIID=@0x8054548, ^M
    aResult=0xfef3ae04) at nsChromeFactory.cpp:50^M
#11 0x005c0d25 in nsGenericFactory::CreateInstance (this=0x0, aOuter=0x0, ^M
    aIID=@0x8054548, aResult=0xfef3ae04) at nsGenericFactory.cpp:82^M
---Type <return> to continue, or q <return> to quit---^M
#12 0x005f1f69 in nsComponentManagerImpl::CreateInstanceByContractID (^M
    this=0x8f35678, aContractID=0xffffffff <Address 0xffffffff out of bounds>,
^M
    aDelegate=0x0, aIID=@0x8054548, aResult=0xfef3ae04)^M
    at nsComponentManager.cpp:1965^M
#13 0x005f280b in nsComponentManagerImpl::GetServiceByContractID (^M
    this=0x8f35678, ^M
    aContractID=0x80541df "@mozilla.org/chrome/chrome-registry;1", ^M
    aIID=@0x8054548, result=0xfef3ae74) at nsCOMPtr.h:1453^M
#14 0x005c063f in CallGetService (^M
    aContractID=0x80541df "@mozilla.org/chrome/chrome-registry;1", ^M
    aIID=@0x8054548, aResult=0xfef3ae74) at nsComponentManagerUtils.cpp:90^M
#15 0x005c08e7 in nsGetServiceByContractID::operator() (this=0x0, ^M
    aIID=@0xffffffff, aInstancePtr=0xfef3ae74)^M
    at nsComponentManagerUtils.cpp:276^M
#16 0x005c0512 in nsCOMPtr_base::assign_from_gs_contractid (this=0xfef3b464, ^M
    gs={mContractID = 0x80541df "@mozilla.org/chrome/chrome-registry;1"}, ^M
    iid=@0x0) at nsCOMPtr.cpp:132^M
#17 0x0804e782 in xre_main (argc=-17582988, argv=0xfef3b464, ^M
    aAppData=0x8055020) at nsISupportsUtils.h:202^M
#18 0x0804b1ed in main (argc=2, argv=0xfef3b574) at nsBrowserApp.cpp:60^M
#19 0x00883ad4 in __libc_start_main () from /lib/tls/libc.so.6^M
#20 0x0804b13d in _start ()^M
(gdb) quit^M
^G[foo@bar tmp]$ exit^M

Script done on Wed Dec 22 08:51:07 2004
Same error log and backtrace are available from 2005010507_trunk on Fedora Core 3.
This bug does not occur in Seamonkey, so this is firefox-specific.
Severity: normal → critical
Version: unspecified → Trunk
Summary: [trunk] "firefox -register" doesn't work → [trunk, Linux] "firefox -register" results in SIGSEGV
Flags: blocking-aviary1.1?
There's a whole rewrite of command line handling on trunk now.  Please test a
current nightly build and renominate if the problem still exists.
Flags: blocking-aviary1.1?
(In reply to comment #8)
> There's a whole rewrite of command line handling on trunk now.  Please test a
> current nightly build and renominate if the problem still exists.

2005012016_trunk (built on my Fedora Core 3) also results in segmentation fault.
And 2005-01-20-07-trunk from ftp site also results in segmentation fault on my
Fedora Core 3 and Red Hat Linux 9.
2005022820_trunk works fine.
-> WFM
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: