Closed Bug 79566 Opened 23 years ago Closed 23 years ago

mozilla core dump in xpcom/base/nsWeakReference.cpp with MIPSpro

Categories

(SeaMonkey :: Build Config, defect)

SGI
IRIX
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: jayvdb, Assigned: cls)

References

Details

I have seen this bug for about a week now.  Since having a gcc build on IRIX, I 
have used the same source and only a binary from MIPSpro core dumps (long live 
gcc).

% ./mozilla
./run-mozilla.sh ./mozilla-bin
MOZILLA_FIVE_HOME=.
  LD_LIBRARY_PATH=.:./plugins
     LIBRARY_PATH=.:./components
       SHLIB_PATH=.
          LIBPATH=.
       ADDON_PATH=.
      MOZ_PROGRAM=./mozilla-bin
      MOZ_TOOLKIT=
        moz_debug=0
     moz_debugger=
Type Manifest 
File: /projects/sise/mozilla/devel/workpits/moz/latest_feature/workarea/dist/bin
/components/xpti.dat
nsNativeComponentLoader: autoregistering begins.
*** Registering content components
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
Initialized app shell component {18c2f989-b09f-11d2-bcde-00805f0e1353}, 
rv=0x00000000
Error creating app shell component {7cb5b7a0-07d7-11d3-bde2-000064657374}, 
rv=0x80004002
GFX: dpi=101 t2p=0.0714286 p2t=14 depth=24
WEBSHELL+ = 1
nsPluginHostImpl ctor
********** Got plugins 
path: /projects/sise/mozilla/devel/workpits/moz/latest_feature/workarea/dist/bin
/./plugins
IsPluginFile
(/projects/sise/mozilla/devel/workpits/moz/latest_feature/workarea/modules/plugi
n/default/unix/libnullplugin.so)
LoadPlugin
() /projects/sise/mozilla/devel/workpits/moz/latest_feature/workarea/modules/plu
gin/default/unix/libnullplugin.so returned 10257f80
GetMIMEDescription() returned "*:.*:All types"
Registering plugin 0 for: "*","All types",".*"
WEBSHELL+ = 2
WARNING: CSSLoaderImpl::LoadAgentSheet: Load of 
URL 'file:///users/johnv/.mozilla/default/1b02cndw.slt/chrome/userChrome.css' 
failed.  Error code: 18, 
file /projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/content/ht
ml/style/src/nsCSSLoader
WARNING: CSSLoaderImpl::LoadAgentSheet: Load of 
URL 'file:///users/johnv/.mozilla/default/1b02cndw.slt/chrome/userContent.css' 
failed.  Error code: 18, 
file /projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/content/ht
ml/style/src/nsCSSLoade
moz_run_program[36]: 12875647 Illegal instruction(coredump)

% dbx mozilla-bin core
dbx version 7.3.1 68542_Oct26 MR Oct 26 2000 17:50:34
PC value from core file (0x425b018) is not part of the program.
Assuming return register value (0x4192ee4) usable to locate PC.
Core from signal SIGILL: Illegal instruction
(dbx) where
>  0 nsGetWeakReference::operator()(const nsID&,void**) const(this = 
0x7fff1678, <no name> = 0x5ffe7818, aResult = 0x7fff1670) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpcom/base/ns
WeakReference.cpp":60, 0x4192ee4]
   1 ::NS_GetWeakReference(nsISupports*,unsigned int*)(aInstancePtr = 
0x10301298, aErrorPtr = (nil)) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpcom/base/ns
WeakReference.cpp":78, 0x4192514]
   2 nsObserverList::AddObserver(nsIObserver*)(this = 0x10189b08, anObserver = 
0x10301294) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpcom/ds/nsOb
serverList.cpp":206, 0x40946dc]
   3 nsObserverService::AddObserver(nsIObserver*,const unsigned short*)(this = 
0x1014d0c0, anObserver = 0x10301294, aTopic = 0x7fff17f8) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpcom/ds/nsOb
serverService.cpp":158, 0x4096ea0]
   4 ::NS_NewXBLService(nsIXBLService**)(aResult = 0x7fff18c0) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/content/xbl/s
rc/nsXBLService.cpp":1421, 0x5fb02ff8]
   5 nsContentFactory::CreateInstance(nsISupports*,const nsID&,void**)(this = 
0x102dcfd0, aOuter = (nil), aIID = 0x5fddadf0, aResult = 0x7fff1a0c) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/content/build
/nsContentFactory.cpp":484, 
   6 nsComponentManagerImpl::CreateInstance(const nsID&,nsISupports*,const 
nsID&,void**)(this = 0x10041d30, aClass = 0x7fff1a70, aDelegate = (nil), aIID = 
0x5fddadf0, aResult = 0x7fff1a0c) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla
   7 nsComponentManager::CreateInstance(const nsID&,nsISupports*,const 
nsID&,void**)(aClass = 0x7fff1a70, aDelegate = (nil), aIID = 0x5fddadf0, 
aResult = 0x7fff1a0c) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpcom/compone
nts/nsRep
   8 nsServiceManagerImpl::GetService(const nsID&,const 
nsID&,nsISupports**,nsIShutdownListener*)(this = 0x100412e8, aClass = 
0x7fff1a70, aIID = 0x5fddadf0, result = 0x7fff1b80, shutdownListener = (nil)) 
["/projects/sise/mozilla/devel/workpits/moz/latest_
   9 nsServiceManagerImpl::GetService(const char*,const 
nsID&,nsISupports**,nsIShutdownListener*)(this = 0x100412e8, aContractID = 
0x5f270238 = "@mozilla.org/xbl;1", aIID = 0x5fddadf0, result = 0x7fff1b80, 
shutdownListener = (nil)) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpcom/compone
nts/nsServiceManager.cpp":491, 0x4145d0c]
   10 nsServiceManager::GetService(const char*,const 
nsID&,nsISupports**,nsIShutdownListener*)(aContractID = 0x5f270238 
= "@mozilla.org/xbl;1", aIID = 0x5fddadf0, result = 0x7fff1b80, 
shutdownListener = (nil)) ["/projects/sise/mozilla/devel/workpits/moz/l
   11 nsGetServiceByContractID::operator()(const nsID&,void**) const(this = 
0x7fff1c30, aIID = 0x5fddadf0, aInstancePtr = 0x7fff1b80) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpcom/compone
nts/nsServiceManager.cpp":64, 0x4142738]
   12 nsCOMPtr_base::assign_from_helper(const nsCOMPtr_helper&,const nsID&)
(this = 0x7fff1c44, helper = 0x7fff1c30, iid = 0x5fddadf0) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpcom/base/ns
COMPtr.cpp":65, 0x407257c]
   13 nsCOMPtr<nsIXBLService>::nsCOMPtr<nsIXBLService>(const nsCOMPtr_helper&)
(this = 0x7fff1c44, helper = 0x7fff1c30) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/workarea/dist/include
/nsCOMPtr.h":552, 0x5f0ab1f4]
   14 GlobalWindowImpl::SetNewDocument(nsIDOMDocument*)(this = 0x10137da8, 
aDocument = 0x102c80ac) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/dom/src/base/
nsGlobalWindow.cpp":312, 0x5f088114]
   15 DocumentViewerImpl::Init(nsIWidget*,nsIDeviceContext*,const nsRect&)(this 
= 0x102c8258, aParentWidget = 0x1018be90, aDeviceContext = 0x102fca78, aBounds 
= 0x7fff2060) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/content/base/
sr
   16 nsDocShell::SetupNewViewer(nsIContentViewer*)(this = 0x10166db8, 
aNewViewer = 0x102c8258) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/docshell/base
/nsDocShell.cpp":3238, 0x5e1ed288]
   17 nsWebShell::SetupNewViewer(nsIContentViewer*)(this = 0x10166db8, aViewer 
= 0x102c8258) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/docshell/base
/nsWebShell.cpp":351, 0x5e2104a4]
   18 nsDocShell::Embed(nsIContentViewer*,const char*,nsISupports*)(this = 
0x10166db8, aContentViewer = 0x102c8258, aCommand = 0x5e265870 = "", aExtraInfo 
= (nil)) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/docshell/base
/nsDocShell
   19 nsWebShell::Embed(nsIContentViewer*,const char*,nsISupports*)(this = 
0x10166db8, aContentViewer = 0x102c8258, aCommand = 0x5e265870 = "", aExtraInfo 
= (nil)) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/docshell/base
/nsWebShell
   20 nsDocShell::CreateContentViewer(const 
char*,nsIRequest*,nsIStreamListener**)(this = 0x10166db8, aContentType = 
0x7fff2470 = "text/html", request = 0x101676d0, aContentHandler = 0x7fff23ec) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/m
   21 nsDSURIContentListener::DoContent(const char*,int,const 
char*,nsIRequest*,nsIStreamListener**,int*)(this = 0x10164130, aContentType = 
0x7fff2470 = "text/html", aCommand = 0, aWindowTarget = 0x427bb0c = "", request 
= 0x101676d0, aContentHandler = 0x7
More (n if no)?
   22 nsDocumentOpenInfo::DispatchContent(nsIRequest*,nsISupports*)(this = 
0x10167738, request = 0x101676d0, aCtxt = (nil)) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/uriloader/bas
e/nsURILoader.cpp":369, 0x5e32c4c8]
   23 nsDocumentOpenInfo::OnStartRequest(nsIRequest*,nsISupports*)(this = 
0x10167738, request = 0x101676d0, aCtxt = (nil)) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/uriloader/bas
e/nsURILoader.cpp":240, 0x5e32d08c]
   24 nsStreamIOChannel::OnStartRequest(nsIRequest*,nsISupports*)(this = 
0x101676d0, request = 0x1016777c, context = (nil)) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/netwerk/base/
src/nsInputStreamChannel.cpp":452, 0x5e6cd508]
   25 nsOnStartRequestEvent::HandleEvent(void)(this = 0x101518f0) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/netwerk/base/
src/nsRequestObserverProxy.cpp":108, 0x5e69b8dc]
   26 nsARequestObserverEvent::HandlePLEvent(PLEvent*)(plev = 0x101518f0) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/netwerk/base/
src/nsRequestObserverProxy.cpp":63, 0x5e69a400]
   27 PL_HandleEvent(self = 0x101518f0) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpcom/threads
/plevent.c":588, 0x4152360]
   28 PL_ProcessEventsBeforeID(aSelf = 0x100f5bc8, aID = 123) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpcom/threads
/plevent.c":1254, 0x4152f18]
   29 ::processQueue(void*,void*)(aElement = 0x100f5bc8, aData = 0x7b) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/widget/src/gt
k/nsAppShell.cpp":475, 0x5ea95f7c]
   30 nsVoidArray::EnumerateForwards(int (*)(void*,void*),void*)(this = 
0x1018cee8, aFunc = 0x5ea95f40, aData = 0x7b) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpcom/ds/nsVo
idArray.cpp":313, 0x40b63c8]
   31 nsAppShell::ProcessBeforeID(unsigned long)(aID = 123) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/widget/src/gt
k/nsAppShell.cpp":483, 0x5ea979e8]
   32 ::handle_gdk_event(_GdkEvent*,void*)(event = 0x102a6cb0, data = (nil)) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/widget/src/gt
k/nsGtkEventHandler.cpp":987, 0x5eabbd64]
   33 gdk_event_dispatch(0x10301298, 0x7fff1628, 0x0, 0x0, 0x10301290, 0x0, 
0x0, 0x1) ["/xlv1/freeware/1999.Aug/gtk+/1.2.3/gtk+-
1.2.3.diffbuild/gdk/gdkevents.c":2098, 0x6dbae0]
   34 g_main_dispatch(0x10301298, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1) 
["/xlv1/freeware/1999.Aug/glib/1.2.3/glib-1.2.3.diffbuild/gmain.c":652, 
0x8935a3c]
   35 g_main_iterate(0x10301298, 0x1, 0x0, 0x0, 0x10301290, 0x0, 0x0, 0x1) 
["/xlv1/freeware/1999.Aug/glib/1.2.3/glib-1.2.3.diffbuild/gmain.c":870, 
0x8935e9c]
   36 g_main_run(0x10281ca8, 0x7fff1628, 0x0, 0x0, 0x10301290, 0x0, 0x0, 0x1) 
["/xlv1/freeware/1999.Aug/glib/1.2.3/glib-1.2.3.diffbuild/gmain.c":928, 
0x8936404]
   37 gtk_main(0x10301298, 0x7fff1628, 0x0, 0x0, 0x10301290, 0x0, 0x0, 0x1) 
["/xlv1/freeware/1999.Aug/gtk+/1.2.3/gtk+-1.2.3.diffbuild/gtk/gtkmain.c":475, 
0x5df3cc]
   38 nsAppShell::Run(void)(this = 0x10183318) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/widget/src/gt
k/nsAppShell.cpp":360, 0x5ea97004]
   39 nsAppShellService::Run(void)(this = 0x10174cb0) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpfe/appshell
/src/nsAppShellService.cpp":407, 0x5ebd7798]
   40 ::main1(int,char**,nsISupports*)(argc = 1, argv = 0x7fff2e34, nativeApp = 
(nil)) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpfe/bootstra
p/nsAppRunner.cpp":1010, 0x1000d9f0]
   41 ::main(argc = 1, argv = 0x7fff2e34) 
["/projects/sise/mozilla/devel/workpits/moz/latest_feature/mozilla/xpfe/bootstra
p/nsAppRunner.cpp":1311, 0x1000ead0]
   42 __start() ["/xlv55/kudzu-
apr12/work/irix/lib/libc/libc_n32_M3/csu/crt1text.s":177, 0x10007028]
(dbx)
Blocks: 73732
updating component
Assignee: asa → cls
Component: Browser-General → Build Config
QA Contact: doronr → granrose
I have pulled the latest source, rebuilt from scratch with only --disable-
debug , and I once again have a working binary.  I am currently adding options 
to see if it was a specific option that caused this problem.  I had this 
problem using MIPSpro 7.3.1.2m and 
configure --disable-debug --enable-pref-metrics --enable-detect-webshell-leaks -
-with-extensions=all
... and a build with all those configure options is now working.  The only file 
with changes in the time frame this bug arrived would be:

http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/xpcom/base/nsCOMPtr.h

I guess this can be closed until I see it again?
Resolving invalid based upon reporter's comments.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
verified invalid.  reporter can reopen if it happens again.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.