Closed
Bug 25959
Opened 25 years ago
Closed 25 years ago
Mozilla (M13) build crashes at statup (transcient).
Categories
(SeaMonkey :: General, defect, P3)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
M14
People
(Reporter: rich.burridge, Assigned: gagan)
Details
(Keywords: crash, Whiteboard: [PDT+])
[richb - 1/31/00] I downloaded the Mozilla (M13) source compressed tarball and built it (preceded by Glib, Gtk, and IDL libraries) with the Gnu compilers. I've then been successful in running the browser every time upto now, except once. That time it crashed with the following stack trace. stard[54] MOZILLA .//run-mozilla.sh ./mozilla-bin MOZILLA_FIVE_HOME=/export/space/blackwood/gnu/mozilla-M13/dist/bin LD_LIBRARY_PATH=/export/space/blackwood/gnu/mozilla-M13/dist/bin:/usr/openwin/lib:/usr/motif/lib:/export/space/blackwood/gnu/mozilla-M13/dist/lib:/export/space/blackwood/udk/output/lib/solaris-sparc:/usr/dist/pkgs/socks,v1.0/lib SHLIB_PATH=/export/space/blackwood/gnu/mozilla-M13/dist/bin LIBPATH=/export/space/blackwood/gnu/mozilla-M13/dist/bin MOZ_PROGRAM=./mozilla-bin MOZ_TOOLKIT= moz_debug=0 moz_debugger= nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) nsUnixToolkitService: Using 'gtk' for the Widget Toolkit. nsUnixToolkitService: Using 'gtk' for the Gfx Toolkit. NS_SetupRegistry() MOZ_TOOLKIT=gtk, WIDGET_DLL=libwidget_gtk.so, GFX_DLL=libgfx_gtk.so initialized appshell ProfileName : richb ProfileDir : /export/space/richb/.mozilla/richb GFX: dpi=96 t2p=0.0666667 p2t=15 depth=24 Gdk-WARNING **: shmat failed! Gdk-WARNING **: shmat failed! WEBSHELL+ = 1 Opening file cookperm.txt failed Initialized app shell component {4a85a5d0-cddd-11d2-b7f6-00805f05ffa5}, rv=0x00000000 Initialized app shell component {18c2f989-b09f-11d2-bcde-00805f0e1353}, rv=0x00000000 WEBSHELL+ = 2 Note: styleverifytree is disabled Note: frameverifytree is disabled Note: verifyreflow is disabled failed to get the xpfe.dragdrop.enable pref, assuming it is off nsXULKeyListenerImpl::Init() nsCollationUnix::Initialize mLocale = C nsCollationUnix::Initialize mCharset = ISO-8859-1 Obtained name of Personal Toolbar from bookmarks string bundle. Start reading in bookmarks.html Finished reading in bookmarks.html (51953 microseconds) WEBSHELL+ = 3 WEBSHELL+ = 4 title string = [Mozilla] title string = [Mozilla - Mozilla] Setting content window browser.startup.page = 1 startpage = http://www.mozilla.org/projects/seamonkey/release-notes/m13.html got a request Bus Error - core dumped stard[55] CHECKCORE GNU gdb 4.18 Copyright 1998 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.5.1"... Core was generated by `./mozilla-bin'. Program terminated with signal 9, Killed. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libraptorgfx.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libmozjs.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libxpcom.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libjsj.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libplds3.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libplc3.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libnspr3.so...done. Reading symbols from /usr/lib/libpthread.so.1...done. Reading symbols from /usr/lib/libw.so.1... warning: Lowest section in /usr/lib/libw.so.1 is .hash at 0x74 done. Reading symbols from /usr/lib/librt.so.1...done. Reading symbols from /usr/lib/libintl.so.1... warning: Lowest section in /usr/lib/libintl.so.1 is .hash at 0x74 done. Reading symbols from /usr/lib/libelf.so.1...done. Reading symbols from /usr/lib/libnsl.so.1...done. Reading symbols from /usr/lib/libsocket.so.1...done. Reading symbols from /usr/lib/libresolv.so.2...done. Reading symbols from /usr/lib/libdl.so.1...done. Reading symbols from /usr/lib/libm.so.1...done. Reading symbols from /usr/lib/libc.so.1...done. Reading symbols from /usr/lib/libthread.so.1...done. Reading symbols from /usr/lib/libaio.so.1...done. Reading symbols from /usr/lib/libmp.so.2...done. Reading symbols from /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libxpinstall.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libjsdom.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libjsloader.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libtoolkit_service.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libnsappshell.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libchardet.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libuconv.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libnecko.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libnecko_res.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libnecko_file.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components---Type <return> to continue, or q <return> to quit---c /libunicharutil.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libucvlatin.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libmimetype.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libwidget_gtk.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libgtksuperwin.so...done. Reading symbols from /pkg/X11/lib/libgtk-1.2.so.0...done. Reading symbols from /pkg/X11/lib/libgdk-1.2.so.0...done. Reading symbols from /pkg/X11/lib/libgmodule-1.2.so.0...done. Reading symbols from /pkg/X11/lib/libglib-1.2.so.0...done. Reading symbols from /usr/openwin/lib/libXext.so.0...done. Reading symbols from /usr/openwin/lib/libX11.so.4...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libpref.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libxpconnect.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/librdf.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libprofile.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libnecko_about.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libgfx_gtk.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libraptorwebwidget.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libdocshell.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libraptorplugin.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libnslocale.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libhistory.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libmork.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/liburiloader.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libcookie.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libmailnews.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/libmsgbaseutil.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libchrome.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libraptorhtml.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libraptorhtmlpars.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libcaps.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libwallet.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/liboji.so...done. ---Type <return> to continue, or q <return> to quit---c Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libraptorview.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libtimer_gtk.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libnsgif.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libbookmarks.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libstrres.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libsearch.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libxpiflash.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/liblwbrk.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libmozbrwsr.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libnecko_http.so...done. Reading symbols from /export/space/blackwood/gnu/mozilla-M13/dist/bin/components/libnecko_cache.so...done. #0 0xff01260c in _MD_ATOMIC_DECREMENT (val=0xafafafc7) at pratom.c:181 181 rv = --(*val); (gdb) where #0 0xff01260c in _MD_ATOMIC_DECREMENT (val=0xafafafc7) at pratom.c:181 #1 0xff012870 in PR_AtomicDecrement (val=0xafafafc7) at pratom.c:291 #2 0xff02bf80 in PR_DestroyCondVar (cvar=0xafafafaf) at ptsynch.c:314 #3 0xff02c6f0 in PR_DestroyMonitor (mon=0x52fb78) at ptsynch.c:445 #4 0xff150608 in nsAutoMonitor::DestroyMonitor (mon=0x52fb78) at nsAutoLock.cpp:249 #5 0xfdf3c150 in nsFileTransport::~nsFileTransport (this=0x52faf0, __in_chrg=3) at nsFileTransport.cpp:351 #6 0xfdf3c61c in nsFileTransport::Release (this=0x52faf0) at nsFileTransport.cpp:381 #7 0xff191200 in nsCOMPtr<nsIPipeObserver>::~nsCOMPtr (this=0xffbedef8, __in_chrg=2) at ../../dist/include/nsCOMPtr.h:433 #8 0xff1343d4 in nsPipe::nsPipeInputStream::ReadSegments (this=0x52fbf8, writer=0xff134648 <nsWriteToRawBuffer(void *, char const *, unsigned int, unsigned int, unsigned int *)>, closure=0x53f8e0, count=1024, readCount=0xffbee014) at nsPipe2.cpp:434 #9 0xff13471c in nsPipe::nsPipeInputStream::Read (this=0x52fbf8, toBuf=0x53f8e0 "<!-- extracted from ./related-panel.xul -->\n\n<!ENTITY related.row.label \"Related Links\">\n<!ENTITY sitemap.row.label \"Sitemap\">\n<!ENTITY lastsearch.row.label \"Last Search Results\">\n", bufLen=1024, readCount=0xffbee014) at nsPipe2.cpp:488 #10 0xff0f66b8 in ByteBufferImpl::Fill (this=0x51df60, aErrorCode=0xffbee108, aStream=0x52fbf8, aKeep=0) at nsByteBuffer.cpp:131 #11 0xff137998 in ConverterInputStream::Fill (this=0x4c9f30, aErrorCode=0xffbee108) at nsUnicharInputStream.cpp:269 #12 0xff137784 in ConverterInputStream::Read (this=0x4c9f30, aBuf=0x5404f0, aOffset=0, aCount=1024, aReadCount=0xffbee188) at nsUnicharInputStream.cpp:242 #13 0xfcfc9f88 in nsExpatTokenizer::LoadStream (in=0x52fbf8, uniBuf=@0xffbee348, retLen=@0xffbee34c) at nsExpatTokenizer.cpp:630 #14 0xfcfca260 in nsExpatTokenizer::HandleExternalEntityRef (parser=0x445560, openEntityNames=0x0, base=0x52efb8 "", systemId=0x52f00e "", publicId=0x0) at nsExpatTokenizer.cpp:680 #15 0xfd007e50 in doProlog (parser=0x445560, enc=0xfd06b0b0, s=0x51f27e "", end=0x51ff68 "", tok=17, next=0x51f280 "", nextPtr=0xffbee724) at xmlparse.c:2267 #16 0xfd007898 in prologProcessor (parser=0x445560, s=0x51eaf8 "", end=0x51ff68 "", nextPtr=0xffbee724) at xmlparse.c:2144 #17 0xfd007818 in prologInitProcessor (parser=0x445560, s=0x51eaf8 "", end=0x51ff68 "", nextPtr=0xffbee724) at xmlparse.c:2133 #18 0xfd003190 in XML_Parse (parser=0x445560, s=0x51eaf8 "", len=5232, isFinal=0) at xmlparse.c:867 #19 0xfcfc89f0 in nsExpatTokenizer::ParseXMLBuffer (this=0x520b08, aBuffer=0x51eaf8 "", aLength=5232, aIsFinal=0) at nsExpatTokenizer.cpp:312 #20 0xfcfc8b70 in nsExpatTokenizer::ConsumeToken (this=0x520b08, aScanner=@0x4aee40, aFlushTokens=@0xffbee89c) at nsExpatTokenizer.cpp:355 #21 0xfcfe6584 in nsParser::Tokenize (this=0x286658, aIsFinalChunk=0) at nsParser.cpp:1478 #22 0xfcfe505c in nsParser::ResumeParse (this=0x286658, aDefaultDTD=0x0, aIsFinalChunk=0) at nsParser.cpp:989 #23 0xfcfe6214 in nsParser::OnDataAvailable (this=0x286658, channel=0x550ca0, aContext=0x0, pIStream=0x285ed8, sourceOffset=0, aLength=2616) at nsParser.cpp:1372 #24 0xfd3a7764 in nsDocumentOpenInfo::OnDataAvailable (this=0x551168, aChannel=0x550ca0, aCtxt=0x0, inStr=0x285ed8, sourceOffset=0, count=2616) at nsURILoader.cpp:192 #25 0xfdfbc02c in nsResChannel::OnDataAvailable (this=0x550ca0, transportChannel=0x551380, context=0x0, aIStream=0x285ed8, aSourceOffset=0, aLength=2616) at nsResChannel.cpp:618 ---Type <return> to continue, or q <return> to quit--- c #26 0xfdee1218 in nsFileChannel::OnDataAvailable (this=0x551380, transportChannel=0x285998, context=0x0, aIStream=0x285ed8, aSourceOffset=0, aLength=2616) at nsFileChannel.cpp:513 #27 0xfdf30e5c in nsOnDataAvailableEvent::HandleEvent (this=0x4c86b8) at nsAsyncStreamListener.cpp:369 #28 0xfdf2fc74 in nsStreamListenerEvent::HandlePLEvent (aEvent=0x55c7e8) at nsAsyncStreamListener.cpp:93 #29 0xff1e315c in PL_HandleEvent (self=0x55c7e8) at plevent.c:526 #30 0xff1e2fdc in PL_ProcessPendingEvents (self=0x6f378) at plevent.c:487 #31 0xff15163c in nsEventQueueImpl::ProcessPendingEvents (this=0x8fb30) at nsEventQueue.cpp:228 #32 0xfdd47600 in event_processor_callback (data=0x8fb30, source=6, condition=GDK_INPUT_READ) at nsAppShell.cpp:141 #33 0xfdd470b4 in our_gdk_io_invoke (source=0x1b47c0, condition=G_IO_IN, data=0x339d8) at nsAppShell.cpp:54 #34 0xfdcc5a00 in g_io_unix_dispatch (source_data=0x2065c8, current_time=0xffbef070, user_data=0x339d8) at giounix.c:135 #35 0xfdcc76d4 in g_main_dispatch (current_time=0xffbef070) at gmain.c:656 #36 0xfdcc7f60 in g_main_iterate (block=-36778852, dispatch=1) at gmain.c:874 #37 0xfdcc8174 in g_main_run (loop=0x188cb0) at gmain.c:932 #38 0xfdbc95c4 in gtk_main () at gtkmain.c:476 #39 0xfdd47e90 in nsAppShell::Run (this=0xb46b0) at nsAppShell.cpp:304 #40 0xfe02fdb8 in nsAppShellService::Run (this=0x90fc0) at nsAppShellService.cpp:465 #41 0x1996c in main1 (argc=1, argv=0xffbef47c) at nsAppRunner.cpp:598 #42 0x19fbc in main (argc=1, argv=0xffbef47c) at nsAppRunner.cpp:691 Current language: auto; currently c (gdb)
Comment 1•25 years ago
|
||
Passing on to gagan/tever/Networking (it's in the destructor for nsFileTransport, although the ultimate crash is in NSPR).
Assignee: nobody → gagan
QA Contact: nobody → tever
Comment 3•25 years ago
|
||
NSPR fills in the pattern 0xafafafaf before it frees a PRMonitor. So that PRMonitor was destroyed twice (see stack frame #2), which probably means the nsFileTransport object was destroyed twice. One way to verify this is to make the following change to nsFileTransport::~nsFileTransport() in mozilla/netwerk/base/src/nsFileTransport.cpp. Change these two lines: if (mMonitor) nsAutoMonitor::DestroyMonitor(mMonitor); to: if (mMonitor) { nsAutoMonitor::DestroyMonitor(mMonitor); #ifdef DEBUG mMonitor = 0xdeadbeef; #endif }
Assignee: wtc → gagan
Comment 5•25 years ago
|
||
Looks like someone forgot to addref somewhere since the file transport is getting released in the middle of ReadSegments. Back to you Gagan.
Assignee: warren → gagan
Updated•25 years ago
|
Severity: normal → critical
Putting on PDT+ radar for beta1. If happens with Linux.
Whiteboard: [PDT+]
Comment 8•25 years ago
|
||
First, no one has reported this in a long time with builds since M13. Second, the tinderbox bloat logs show that there's no longer a refcount imbalance in nsFileTransport. Marking WFM.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Comment 9•25 years ago
|
||
verified worksforme - checked mcafee's solaris. Not seeing this either.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•