Closed Bug 257923 Opened 20 years ago Closed 19 years ago

crash on startup

Categories

(Core :: Internationalization, defect)

SGI
IRIX
defect
Not set
critical

Tracking

()

RESOLVED EXPIRED

People

(Reporter: Rich.Fleck, Assigned: smontagu)

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (X11; U; IRIX64 IP35; en-US; rv:1.7) Gecko/20040617
Build Identifier: http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest-trunk/mozilla-source.tar.gz

 /usr/local/mozilla/obj-mips-sgi-irix6.5-1.8/dist/bin/mozilla
moz_run_program[36]: 2587512 Bus error(coredump)

dont know if this a SGI problem so I have the dbx session results included

last good compile and run is with 
Mozilla/5.0 (X11; U; IRIX64 IP35; en-US; rv:1.7) Gecko/20040617


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




/usr/local/mozilla/obj-mips-sgi-irix6.5-1.8/dist/bin/mozilla
moz_run_program[36]: 2587512 Bus error(coredump)


Oh no!  /usr/local/mozilla/obj-mips-sgi-irix6.5-1.8/dist/bin/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] n
 Watt:bin [13] dbx /usr/local/mozilla/obj-mips-sgi-irix6.5-1.8/dist/bin/mozilla-bin
dbx version 7.3 MR 55458_Apr30_MR Apr 30 1999 13:44:41
dbx Warning: Unknown processor type 0xf, assuming this is not an R8000
Unknown processor type 0xf, assuming R4000.
Core from signal SIGBUS: Bus error
(dbx) where
>  0 __iconv_flb_flh(0x1007808c, 0x7ffb7500, 0x7ffb7504, 0x7ffb7508, 0x7ffb750c,
0x0, 0x1, 0x7ffb74f9)
["/xlv41/6.5.21m/work/irix/lib/libc/libc_n32_M4/iconv/iconv_converter.c":15386,
0xfaa81b4]
   1 _iconv(0x1007808c, 0x7ffb7500, 0x7ffb7504, 0x7ffb7508, 0x7ffb750c, 0x0,
0x0, 0x7ffb74f9)
["/xlv41/6.5.21m/work/irix/lib/libc/libc_n32_M4/strings/iconv_lib.c":1675,
0xfa6e178]
   2 nsNativeCharsetConverter::LazyInit(void)(0x1007808c, 0x7ffb74f9, 0x4,
0x7ffb7508, 0x7ffb750c, 0x0, 0x0, 0x7ffb74f9)
["/usr/local/mozilla/xpcom/io/nsNativeCharsetUtils.cpp":126, 0x526c96c]
   3 nsNativeCharsetConverter::nsNativeCharsetConverter(void)(0x1007808c,
0x7ffb7500, 0x7ffb7504, 0x7ffb7508, 0x7ffb750c, 0x0, 0x0, 0x7ffb74f9)
["/usr/local/mozilla/xpcom/io/nsNativeCharsetUtils.cpp":414, 0x526be70]
   4 ::NS_CopyNativeToUnicode(const nsACString&,nsAString&)(0x7ffb7dfc,
0x7ffb7740, 0x7ffb7504, 0x7ffb75f8, 0x7ffb750c, 0x0, 0x0, 0x7ffb74f9)
["/usr/local/mozilla/xpcom/io/nsNativeCharsetUtils.cpp":767, 0x526bad0]
   5 nsLocalFile::GetLeafName(nsAString&)(0x1007808c, 0x0, 0x10011, 0x52f99a0,
0x7ffb750c, 0x0, 0x0, 0x7ffb74f9)
["/usr/local/mozilla/xpcom/io/nsLocalFileUnix.cpp":1670, 0x526dcf0]
   6 nsNativeComponentLoader::AutoRegisterComponent(int,nsIFile*,int*)(0x0, 0x0,
0x0, 0x0, 0x52f99a0, 0x0, 0x0, 0x7ffb74f9)
["/usr/local/mozilla/xpcom/components/nsNativeComponentLoader.cpp":802, 0x5283b30]
   7 nsNativeComponentLoader::RegisterComponentsInDir(int,nsIFile*)(0x0, 0x0,
0x0, 0x7ffb7508, 0x7ffb750c, 0x0, 0x0, 0x7ffb74f9)
["/usr/local/mozilla/xpcom/components/nsNativeComponentLoader.cpp":244, 0x5284710]
   8 nsNativeComponentLoader::AutoRegisterComponents(int,nsIFile*)(0x1007808c,
0x7ffb7500, 0x7ffb7504, 0x7ffb7508, 0x7ffb750c, 0x0, 0x0, 0x7ffb74f9)
["/usr/local/mozilla/xpcom/components/nsNativeComponentLoader.cpp":184, 0x5283124]
   9 nsComponentManagerImpl::AutoRegisterImpl(int,nsIFile*,int)(0x1006a1d8, 0x0,
0x0, 0x7ffb7508, 0x7ffb750c, 0x0, 0x0, 0x7ffb74f9)
["/usr/local/mozilla/xpcom/components/nsComponentManager.cpp":3156, 0x527f9b8]
   10 nsComponentManagerImpl::AutoRegister(nsIFile*)(0x1006a1d8, 0x0,
0x7ffb7504, 0x7ffb7508, 0x7ffb750c, 0x0, 0x0, 0x7ffb74f9)
["/usr/local/mozilla/xpcom/components/nsComponentManager.cpp":3374, 0x527a8b8]
   11 ::NS_InitXPCOM2(0x0, 0x0, 0x0, 0x1006a1d8, 0x10064454, 0x0, 0x0,
0x7ffb74f9) ["/usr/local/mozilla/xpcom/build/nsXPComInit.cpp":594, 0x52216a8]
   12 ::NS_InitXPCOM2(0x1007808c, 0x7ffb7500, 0x7ffb7504, 0x7ffb7508,
0x7ffb750c, 0x0, 0x0, 0x7ffb74f9)
["/usr/local/mozilla/xpcom/glue/standalone/nsXPCOMGlue.cpp":178, 0x10027a4c]
   13 ::GRE_Startup(0x7ffb7d40, 0x7ffb7500, 0x7ffb7504, 0x7ffb7508, 0x7ffb750c,
0x0, 0x0, 0x7ffb74f9)
["/usr/local/mozilla/xpcom/glue/standalone/nsXPCOMGlue.cpp":482, 0x10028614]
   14 ::main(0x1, 0x7ffb7df4, 0x7ffb7504, 0x7ffb7508, 0x7ffb750c, 0x0, 0x0,
0x7ffb74f9) ["/usr/local/mozilla/xpfe/bootstrap/nsAppRunner.cpp":1723, 0x10011760]
   15 __start()
["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177, 0x1000d088]
(dbx)
This is crashing in the libc iconv stuff... Over to intl to check whether we're
passing bogus data or whether this is a bug in reporter's libc.
Assignee: general → smontagu
Component: Browser-General → Internationalization
QA Contact: general → amyy
Keywords: crash
I don't see anything in particular that may trigger the crash in the stack trace
in comment #0. I'm wondering who's got access to IRIX(64). 
changed compilation flags so more debug info was available.

Program now crashes in a new spot.

attached is new stack trace.

I'm unsure if I should report this as a new bug.

dbx version 7.3 MR 55458_Apr30_MR Apr 30 1999 13:44:41
dbx Warning: Unknown processor type 0xf, assuming this is not an R8000
Unknown processor type 0xf, assuming R4000.
PC value from core file (0x60059e30) is not part of the program.
Assuming return register value (0x5ff87f7c) usable to locate PC.
Core from signal SIGSEGV: Segmentation violation
(dbx) where
>  0 js_DefineNativeProperty(cx = 0x10186110, obj = 0x100acb68, id = 269145240,
value = 269142912, getter = 0x60059e30, setter = 0x60059e30, attrs = 0, flags =
0, shortid = 0, propp = (nil)) ["/usr/local/mozilla/js/src/jsobj.c":2261,
0x5ff87f7c]
   1 js_DefineProperty(cx = 0x10186110, obj = 0x100acb68, id = 269145240, value
= 269142912, getter = (nil), setter = (nil), attrs = 0, propp = (nil))
["/usr/local/mozilla/js/src/jsobj.c":2171, 0x5ff879b8]
   2 js_DefineFunction(cx = 0x10186110, obj = 0x100acb68, atom = 0x100ad498,
native = 0x5f9ba3a0, nargs = 0, attrs = 0)
["/usr/local/mozilla/js/src/jsfun.c":1951, 0x5ff4ff10]
   3 JS_DefineFunction(cx = 0x10186110, obj = 0x100acb68, name = 0x5fc87c90 =
"toString", call = 0x5f9ba3a0, nargs = 0, attrs = 0)
["/usr/local/mozilla/js/src/jsapi.c":3110, 0x5ff100e4]
   4 JS_DefineFunctions(cx = 0x10186110, obj = 0x100acb68, fs = 0x5fe770a8)
["/usr/local/mozilla/js/src/jsapi.c":3091, 0x5ff0ffdc]
   5 JS_InitClass(cx = 0x10186110, obj = 0x100aca20, parent_proto = (nil), clasp
= 0x5fe77018, constructor = (nil), nargs = 0, ps = (nil), fs = 0x5fe770a8,
static_ps = (nil), static_fs = (nil)) ["/usr/local/mozilla/js/src/jsapi.c":1965,
0x5ff0a25c]
   6 nsDOMClassInfo::InitDOMJSClass(JSContext*,JSObject*)(cx = 0x10186110, obj =
0x100aca20) ["/usr/local/mozilla/dom/src/base/nsDOMClassInfo.cpp":4138, 0x5f9c144c]
   7 nsJSContext::InitClasses(void)(this = 0x10185ca0)
["/usr/local/mozilla/dom/src/base/nsJSEnvironment.cpp":1817, 0x5f92771c]
   8 nsJSContext::InitContext(nsIScriptGlobalObject*)(this = 0x10185ca0,
aGlobalObject = 0x10184af8)
["/usr/local/mozilla/dom/src/base/nsJSEnvironment.cpp":1523, 0x5f926fac]
   9 ::NS_CreateScriptContext(nsIScriptGlobalObject*,nsIScriptContext**)(aGlobal
= 0x10184af8, aContext = 0x10184350)
["/usr/local/mozilla/dom/src/base/nsJSEnvironment.cpp":2142, 0x5f921670]
   10
nsDOMScriptObjectFactory::NewScriptContext(nsIScriptGlobalObject*,nsIScriptContext**)(this
= 0x1016c508, aGlobal = 0x10184af8, aContext = 0x10184350)
["/usr/local/mozilla/dom/src/base/nsDOMScriptObjectFactory.cpp":103, 0x5fa08880]
   11 nsDocShell::EnsureScriptEnvironment(void)(this = 0x10184258)
["/usr/local/mozilla/docshell/base/nsDocShell.cpp":6829, 0x614216c]
   12 nsWebShell::GetInterface(const nsID&,void**)(this = 0x10184258, aIID =
0x1006d858, aInstancePtr = 0x7ffb6e70)
["/usr/local/mozilla/docshell/base/nsWebShell.cpp":299, 0x615dd90]
   13 nsGetInterface::operator()(const nsID&,void**) const(this = 0x7ffb6ee8,
aIID = 0x1006d858, aInstancePtr = 0x7ffb6e70)
["/usr/local/mozilla/obj-mips-sgi-irix6.5-1.8/xpcom/glue/standalone/nsIInterfaceRequestorUtils.cpp":53,
0x10048fe8]
   14 nsCOMPtr_base::assign_from_helper(const nsCOMPtr_helper&,const nsID&)(this
= 0x7ffb6ef8, helper = 0x7ffb6ee8, iid = 0x1006d858)
["/usr/local/mozilla/obj-mips-sgi-irix6.5-1.8/xpcom/glue/standalone/nsCOMPtr.cpp":114,
0x10048c2c]
   15 nsCOMPtr<nsIDOMWindow>::nsCOMPtr<nsIDOMWindow>(const
nsCOMPtr_helper&)(this = 0x7ffb6ef8, helper = 0x7ffb6ee8)
["/usr/local/mozilla/obj-mips-sgi-irix6.5-1.8/dist/include/xpcom/nsCOMPtr.h":588,
0x5e90c974]
   16 nsAppShellService::RegisterTopLevelWindow(nsIXULWindow*)(this =
0x1015e340, aWindow = 0x10164e40)
["/usr/local/mozilla/xpfe/appshell/src/nsAppShellService.cpp":970, 0x5e902d98]
   17
nsAppShellService::CreateTopLevelWindow(nsIXULWindow*,nsIURI*,int,int,unsigned
int,int,int,nsIXULWindow**)(this = 0x1015e340, aParent = (nil), aUrl = (nil),
aShowWindow = 0, aLoadDefaultPage = 0, aChromeMask = 4160750598, aInitialWidth =
-1, aInitialHeight = -1, aResult = 0x7ffb6fc0)
["/usr/local/mozilla/xpfe/appshell/src/nsAppShellService.cpp":723, 0x5e901ecc]
   18 nsWindowCreator::CreateChromeWindow2(nsIWebBrowserChrome*,unsigned
int,unsigned int,nsIURI*,int*,nsIWebBrowserChrome**)(this = 0x10153310, aParent
= (nil), aChromeFlags = 4160750598, aContextFlags = 0, aURI = 0x101656e8,
aCancel = 0x7ffb72bc, _retval = 0x7ffb7290)
["/usr/local/mozilla/xpfe/bootstrap/nsWindowCreator.cpp":134, 0x1001fa44]
   19 nsWindowWatcher::OpenWindowJS(nsIDOMWindow*,const char*,const char*,const
char*,int,unsigned int,long*,nsIDOMWindow**)(this = 0x10158168, aParent = (nil),
aUrl = 0x10165510 =
"chrome://communicator/content/profile/profileSelection.xul\?manage=true", aName
= 0x5de9000 = "_blank", aFeatures = 0x5de9308 =
"centerscreen,chrome,modal,titlebar", aDialog = 1, argc = 1, argv = 0x10164fd0,
_retval = 0x7ffb7648)
["/usr/local/mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp":618
More (n if no)?y
, 0x5652130]
   20 nsWindowWatcher::OpenWindow(nsIDOMWindow*,const char*,const char*,const
char*,nsISupports*,nsIDOMWindow**)(this = 0x10158168, aParent = (nil), aUrl =
0x10165510 =
"chrome://communicator/content/profile/profileSelection.xul\?manage=true", aName
= 0x5de9000 = "_blank", aFeatures = 0x5de9308 =
"centerscreen,chrome,modal,titlebar", aArguments = 0x10165560, _retval =
0x7ffb7648)
["/usr/local/mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp":457,
0x5650210]
   21 nsProfile::LoadDefaultProfileDir(nsCString&,int)(this = 0x1015eaa8,
profileURLStr = 0x7ffb77a8, canInteract = 1)
["/usr/local/mozilla/profile/src/nsProfile.cpp":535, 0x5db1724]
   22 nsProfile::StartupWithArgs(nsICmdLineService*,int)(this = 0x1015eaa8,
cmdLineArgs = 0x100c7a48, canInteract = 1)
["/usr/local/mozilla/profile/src/nsProfile.cpp":354, 0x5da96f4]
   23 nsAppShellService::DoProfileStartup(nsICmdLineService*,int)(this =
0x1015e340, aCmdLineService = 0x100c7a48, canInteract = 1)
["/usr/local/mozilla/xpfe/appshell/src/nsAppShellService.cpp":273, 0x5e900bf8]
   24 ::InitializeProfileService(nsICmdLineService*)(cmdLineArgs = 0x100c7a48)
["/usr/local/mozilla/xpfe/bootstrap/nsAppRunner.cpp":948, 0x1001170c]
   25 ::main1(int,char**,nsISupports*)(argc = 1, argv = 0x7ffb7de4, nativeApp =
0x100cf420) ["/usr/local/mozilla/xpfe/bootstrap/nsAppRunner.cpp":1225, 0x10013344]
   26 ::main(argc = 1, argv = 0x7ffb7de4)
["/usr/local/mozilla/xpfe/bootstrap/nsAppRunner.cpp":1799, 0x10014eac]
   27 __start()
["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177, 0x1000d4b8]
(dbx) 
more clues 
changed config options and was able to compile and run.
Mozilla/5.0 (X11; U; IRIX64 IP35; en-US; rv:1.8a4) Gecko/20040909

setenv CC cc
setenv CXX CC
setenv LD /usr/bin/ld
modified configure so -LANG:std was set see bug 258055
../configure  --disable-optimize --enable-debug --enable-nspr-autoconf
--enable-crypto --enable-ldap --enable-ldap-experimental --enable-xsl
--enable-mathml --with-extensions=irc,transformiix,xml-rpc,xmlextras,xmlterm
--disable-gle --disable-dtd-debug --disable-tests --disable-gtktest
--disable-libIDLtest --disable-glibtest

changed configure options to 
../configure  --enable-optimize --disable-debug --enable-nspr-autoconf
--enable-crypto --enable-ldap --enable-ldap-experimental --enable-xsl
--enable-mathml --with-extensions=irc,transformiix,xml-rpc,xmlextras,xmlterm
--disable-gle --disable-dtd-debug --disable-tests --disable-gtktest
--disable-libIDLtest --disable-glibtest

program crashes as originally reported.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.