Closed Bug 170882 Opened 23 years ago Closed 23 years ago

crash when trying to execute mozilla binary

Categories

(SeaMonkey :: General, defect)

Sun
Solaris
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: triddle_1999, Assigned: asa)

Details

User-Agent: Opera/5.0 (SunOS 5.8 sun4u; U) [en] Build Identifier: http://ftp.mozilla.org/pub/mozilla/releases/mozilla1.0.1/src/mozilla-source-1.0.1.tar.bz2 The browser crashes with in one second of executing it's binary. The following are a couple lines from the head: bash-2.05$ /opt/mozilla-1.0.1/bin/mozilla File descriptors set to 512 ###!!! ASSERTION: NS_InitXPCOM failed: 'NS_SUCCEEDED(rv)', file nsAppRunner.cpp, line 1819 ###!!! Break: at file nsAppRunner.cpp, line 1819 ###!!! ASSERTION: Setting main thread twice?: 'Error', file nsThread.cpp, line 402 Reproducible: Always Steps to Reproduce: 1.execute binary Actual Results: The following output is given to the terminal where I launched the binary. I told it to fire up the debugger and issued a 'where' command. bash-2.05$ /opt/mozilla-1.0.1/bin/mozilla File descriptors set to 512 ###!!! ASSERTION: NS_InitXPCOM failed: 'NS_SUCCEEDED(rv)', file nsAppRunner.cpp, line 1819 ###!!! Break: at file nsAppRunner.cpp, line 1819 ###!!! ASSERTION: Setting main thread twice?: 'Error', file nsThread.cpp, line 402 ###!!! Break: at file nsThread.cpp, line 402 ###!!! ASSERTION: Setting main thread twice?: 'Error', file nsThread.cpp, line 402 ###!!! Break: at file nsThread.cpp, line 402 ###!!! ASSERTION: Setting main thread twice?: 'Error', file nsThread.cpp, line 402 ###!!! Break: at file nsThread.cpp, line 402 ###!!! ASSERTION: Setting main thread twice?: 'Error', file nsThread.cpp, line 402 ###!!! Break: at file nsThread.cpp, line 402 ###!!! ASSERTION: Setting main thread twice?: 'Error', file nsThread.cpp, line 402 ###!!! Break: at file nsThread.cpp, line 402 ###!!! ASSERTION: Setting main thread twice?: 'Error', file nsThread.cpp, line 402 ###!!! Break: at file nsThread.cpp, line 402 ###!!! ASSERTION: Setting main thread twice?: 'Error', file nsThread.cpp, line 402 ###!!! Break: at file nsThread.cpp, line 402 ###!!! ASSERTION: Setting main thread twice?: 'Error', file nsThread.cpp, line 402 ###!!! Break: at file nsThread.cpp, line 402 ###!!! ASSERTION: Setting main thread twice?: 'Error', file nsThread.cpp, line 402 ###!!! Break: at file nsThread.cpp, line 402 Segmentation Fault - core dumped Oh no! /opt/mozilla-1.0.1/lib/mozilla-1.0.1/mozilla-bin just dumped a core file. Do you want to debug this ? You need a lot of memory for this, so watch out ? [y/n] y /usr/local/bin/gdb /opt/mozilla-1.0.1/lib/mozilla-1.0.1/mozilla-bin core GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.8"... Core was generated by `/opt/mozilla-1.0.1/lib/mozilla-1.0.1/mozilla-bin'. Reading symbols from /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libgkgfx.so...done. Loaded symbols for /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libgkgfx.so Reading symbols from /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libjsj.so...done. Loaded symbols for /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libjsj.so Reading symbols from /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libmozjs.so...done. Loaded symbols for /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libmozjs.so Reading symbols from /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libxpcom.so...done. Loaded symbols for /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libxpcom.so Reading symbols from /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libplds4.so...done. Loaded symbols for /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libplds4.so Reading symbols from /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libplc4.so...done. Loaded symbols for /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libplc4.so Reading symbols from /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libnspr4.so...done. Loaded symbols for /opt/mozilla-1.0.1/lib/mozilla-1.0.1/libnspr4.so Reading symbols from /usr/lib/libdl.so.1...done. Loaded symbols for /usr/lib/libdl.so.1 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /usr/local/lib/libgtk-1.2.so.0...done. Loaded symbols for /usr/local/lib/libgtk-1.2.so.0 Reading symbols from /usr/local/lib/libgdk-1.2.so.0...done. Loaded symbols for /usr/local/lib/libgdk-1.2.so.0 Reading symbols from /usr/local/lib/libgmodule-1.2.so.0...done. Loaded symbols for /usr/local/lib/libgmodule-1.2.so.0 Reading symbols from /usr/local/lib/libglib-1.2.so.0...done. Loaded symbols for /usr/local/lib/libglib-1.2.so.0 Reading symbols from /usr/openwin/lib/libXext.so.0...done. Loaded symbols for /usr/openwin/lib/libXext.so.0 Reading symbols from /usr/openwin/lib/libX11.so.4...done. Loaded symbols for /usr/openwin/lib/libX11.so.4 ---Type <return> to continue, or q <return> to quit--- Reading symbols from /usr/lib/libsocket.so.1...done. Loaded symbols for /usr/lib/libsocket.so.1 Reading symbols from /usr/lib/libnsl.so.1...done. Loaded symbols for /usr/lib/libnsl.so.1 Reading symbols from /usr/lib/libm.so.1...done. Loaded symbols for /usr/lib/libm.so.1 Reading symbols from /usr/local/lib/libstdc++.so.2.10.0...done. Loaded symbols for /usr/local/lib/libstdc++.so.2.10.0 Reading symbols from /usr/lib/libpthread.so.1...done. Loaded symbols for /usr/lib/libpthread.so.1 Reading symbols from /usr/lib/libc.so.1...done. Loaded symbols for /usr/lib/libc.so.1 Reading symbols from /usr/lib/libthread.so.1...done. Loaded symbols for /usr/lib/libthread.so.1 Reading symbols from /usr/lib/libaio.so.1...done. Loaded symbols for /usr/lib/libaio.so.1 Reading symbols from /usr/openwin/lib/libdga.so.1...done. Loaded symbols for /usr/openwin/lib/libdga.so.1 Reading symbols from /usr/lib/libmp.so.2...done. Loaded symbols for /usr/lib/libmp.so.2 Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done. Loaded symbols for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 #0 nsComponentManagerImpl::FreeServices (this=0x0) at nsComponentManager.cpp:1848 1848 if (mContractIDs.ops) { (gdb) where #0 nsComponentManagerImpl::FreeServices (this=0x0) at nsComponentManager.cpp:1848 #1 0xfef11f8c in NS_ShutdownXPCOM (servMgr=0x0) at nsXPComInit.cpp:567 #2 0x26994 in main (argc=1, argv=0xffbeefdc) at nsAppRunner.cpp:1844 (gdb) I verified that I have the required patch numbers. The information about the relevent patches follows: Patch: 109147-15 Obsoletes: 110791-01 Requires: Incompatibles: Packages: Patch: 108434-06 Obsoletes: Requires: 109147-07 Incompatibles: Packages: Patch: 108435-04 Obsoletes: Requires: 108434-04 Incompatibles: Packages: I built this build myself using gcc 2.95.3
I am running a 64 bit version of solaris 8 but my GCC does not build 64 bit executables. Just the same I ran across the release notes entry for 64 bit solaris and verified that I have the required patches listed there too. Everything seems to check out.
What options did you use when compiling mozilla?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Ack, I accidentally confirmed this bug. I _cannot_ confirm this bug.
I ran configure with only --prefix=/opt/mozilla-1.0.1 No other options were given to the configure script.
I checked out a copy of mozilla from CVS last night and built it today. The resulting binary compiled from the CVS tree does actualy execute but runs very slowly. If you are still interested in tracking this bug down in the 1.0.1 release I am willing to help by providing any information I can.
Resolving as WFM since reporter no longer crash (comment 5). The performance issues should probably be handled in a new bug if one does not already exist.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.