[Bug 385325] Re: [armel] thunderbird-bin crashed with SIGSEGVI

Michael Casadevall sonicmctails at gmail.com
Thu Jun 11 19:36:50 UTC 2009


Redone backtrace with optimization disabled, and --enable-debug built
into thunderbird, with a patch applied to get --enable-debug to build:

(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/mcasadevall/src/thunderbird-2.0.0.21+nobinonly/build-tree/mozilla/dist/bin/thunderbird-bin 
[Thread debugging using libthread_db enabled]
[New Thread 0x411e85e0 (LWP 31113)]
No Persistent Registry Found.
Type Manifest File: /home/mcasadevall/src/thunderbird-2.0.0.21+nobinonly/build-tree/mozilla/dist/bin/components/xpti.dat
*** Registering Apprunner components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering begins.
*** Registering mozgnome components (all right -- a generic module!)
*** Registering necko_secondary_protocols components (all right -- a generic module!)
*** Registering embedcomponents components (all right -- a generic module!)
*** Registering nsFileViewModule components (all right -- a generic module!)
*** Registering nsImportServiceModule components (all right -- a generic module!)
*** Registering nsWidgetGtk2Module components (all right -- a generic module!)
*** Registering BOOT components (all right -- a generic module!)
*** Registering JavaScript_Debugger components (all right -- a generic module!)
*** Registering nsMailCompsModule components (all right -- a generic module!)
*** Registering nsTransactionManagerModule components (all right -- a generic module!)
*** Registering nsUCvMathModule components (all right -- a generic module!)
*** Registering nsMorkModule components (all right -- a generic module!)
*** Registering nsComposerModule components (all right -- a generic module!)
*** Registering nsEditorModule components (all right -- a generic module!)
*** Registering mozMySpellModule components (all right -- a generic module!)
*** Registering nsJarModule components (all right -- a generic module!)
*** Registering nsPrefModule components (all right -- a generic module!)
*** Registering nsUniversalCharDetModule components (all right -- a generic module!)
*** Registering nsGfxPSModule components (all right -- a generic module!)
*** Registering nsWebServicesModule components (all right -- a generic module!)
*** Registering nsAuthModule components (all right -- a generic module!)
*** Registering nsRDFModule components (all right -- a generic module!)
*** Registering xpcomObsoleteModule components (all right -- a generic module!)
*** Registering nsAccessibilityModule components (all right -- a generic module!)
*** Registering Browser_Embedding_Module components (all right -- a generic module!)
*** Registering nsWalletModule components (all right -- a generic module!)
*** Registering nsImageLib2Module components (all right -- a generic module!)
*** Registering nsLayoutModule components (all right -- a generic module!)
*** Registering application components (all right -- a generic module!)
*** Registering nsGfxGTKModule components (all right -- a generic module!)
*** Registering nsToolkitCompsModule components (all right -- a generic module!)
*** Registering nsFindComponent components (all right -- a generic module!)
*** Registering PKI components (all right -- a generic module!)
*** Registering nsUConvModule components (all right -- a generic module!)
*** Registering nsWalletViewerModule components (all right -- a generic module!)
*** Registering docshell_provider components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering nsChromeModule components (all right -- a generic module!)
*** Registering nsMailModule components (all right -- a generic module!)
*** Registering nsLDAPProtocolModule components (all right -- a generic module!)
*** Registering nsSystemPrefModule components (all right -- a generic module!)
*** Registering NSS components (all right -- a generic module!)
*** Registering mozSpellCheckerModule components (all right -- a generic module!)
*** Registering nsI18nModule components (all right -- a generic module!)
*** Registering mozStorageModule components (all right -- a generic module!)
*** Registering nsParserModule components (all right -- a generic module!)
*** Registering TransformiixModule components (all right -- a generic module!)
*** Registering CommandLineModule components (all right -- a generic module!)
*** Registering nsSoftwareUpdate components (all right -- a generic module!)
*** Registering nsMsgSMIMEModule components (all right -- a generic module!)
*** Registering nsXMLExtrasModule components (all right -- a generic module!)
*** Registering nsIconDecoderModule components (all right -- a generic module!)
*** Registering appshell components (all right -- a generic module!)
*** Registering nsAutoConfigModule components (all right -- a generic module!)
*** Registering necko_core_and_primary_protocols components (all right -- a generic module!)
*** Registering RemoteServiceModule components (all right -- a generic module!)
*** Registering nsSecurityManagerModule components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering succeeded
[New Thread 0x441b9430 (LWP 31114)]
*** Registering Addressbook LDAP Attribute Map components
*** Registering smime account manager extension.
*** Registering mdn account manager extension.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x411e85e0 (LWP 31113)]
Balloc (k=16) at jsdtoa.c:409
409	        freelist[k] = rv->next;
Current language:  auto; currently c
(gdb) bt full
#0  Balloc (k=16) at jsdtoa.c:409
	x = <value optimized out>
	rv = (Bigint *) 0x1
#1  0x40052fd8 in mult (a=0x32c028, b=0x32c028) at jsdtoa.c:655
	c = (Bigint *) 0x15b738
	k = 1
	wc = 38044
	y = 19022
	xc = <value optimized out>
	xc0 = (uint32 *) 0x2e20
	xce = <value optimized out>
	x = (const uint32 *) 0x33e974
	xa = (const uint32 *) 0x32c03c
	xae = (const uint32 *) 0x4a4e
	xb = (const uint32 *) 0x32c028
	xbe = <value optimized out>
	carry = <value optimized out>
	z = <value optimized out>
#2  0x40053a4c in pow5mult (b=0x15b738, k=1185) at jsdtoa.c:800
	b1 = (Bigint *) 0x15b738
	p5 = (Bigint *) 0x32c028
	p51 = (Bigint *) 0x40113e20
	i = <value optimized out>
	p05 = {5, 25, 125}
#3  0x400545c0 in js_dtoa (d=2147500034, 
    mode=<value optimized out>, biasUp=<value optimized out>, 
    ndigits=0, decpt=0xbef2086c, sign=0x0, rve=0xbef20864, 
    buf=0xbef208ae "\004 at h�\006", bufsize=3203532900)
    at jsdtoa.c:2493
	bbits = 3013940
	b2 = 4
	b5 = 0
	be = 1092519392
	dig = <value optimized out>
	i = <value optimized out>
	ieps = <value optimized out>
	ilim = 1105199112
	ilim1 = -1
	j = <value optimized out>
	j1 = <value optimized out>
	k = 621764783
	k_check = 1
	leftright = 1
	m2 = 0
	m5 = 0
	s2 = 621765855
	s5 = 621764783
	spec_case = <value optimized out>
	try_quick = <value optimized out>
	L = <value optimized out>
	denorm = 0
	x = <value optimized out>
	b = (Bigint *) 0x2e43f8
	b1 = <value optimized out>
	delta = <value optimized out>
	mlo = <value optimized out>
	mhi = <value optimized out>
	S = (Bigint *) 0x2dfd10
	d2 = 1.0430373231079063e-307
	ds = <value optimized out>
	eps = <value optimized out>
	s = <value optimized out>
#4  0x4005692c in JS_dtostr (buffer=0xbef208ac "�\021\004 at h�\006", 
    bufferSize=26, mode=DTOSTR_STANDARD, precision=0, d=2147500034)
    at jsdtoa.c:2771
	decPt = <value optimized out>
	sign = <value optimized out>
	nDigits = <value optimized out>
	numBegin = 0xbef208ae "\004 at h�\006"
	numEnd = <value optimized out>
	dtoaRet = <value optimized out>
#5  0x4008eba8 in js_NumberToString (cx=0x6b768, d=2147500034)
    at jsnum.c:724
	buf = "�\021\004 at h�\006\000\000\000\000\000\000\000\000\000�\t���\b��\000\020"
	numStr = <value optimized out>
#6  0x400c8d58 in js_ValueToString (cx=0x6b768, v=2921842)
    at jsstr.c:2689
	obj = <value optimized out>
	str = <value optimized out>
#7  0x40066548 in js_ReportUncaughtException (cx=0x6b768)
    at jsexn.c:1290
	exn = 440208
	exnObject = (JSObject *) 0x0
	vp = {0, 0, 0, 0, 0}
	tvr = {down = 0x0, count = 0, u = {value = 440208, 
    object = 0x6b790, string = 0x6b790, xml = 0x6b790, 
    qname = 0x6b790, nspace = 0x6b790, marker = 0x6b790, 
    sprop = 0x6b790, weakRoots = 0x6b790, script = 0x6b790, 
    array = 0x6b790}}
	reportp = (JSErrorReport *) 0x0
	report = {filename = 0x0, lineno = 0, linebuf = 0x0, 
  tokenptr = 0x0, uclinebuf = 0x0, uctokenptr = 0x0, flags = 0, 
  errorNumber = 0, ucmessage = 0x0, messageArgs = 0x0}
	str = <value optimized out>
	bytes = <value optimized out>
	ok = <value optimized out>
#8  0x400326a8 in JS_CallFunctionValue (cx=0x6b768, 
    obj=<value optimized out>, fval=<value optimized out>, 
    argc=<value optimized out>, argv=0x6b768, rval=0x42c8d910)
    at jsapi.c:4390
	ok = 0
#9  0x42c8d910 in nsXPCWrappedJSClass::CallQueryInterfaceOnJSObject
    (this=<value optimized out>, ccx=<value optimized out>, 
    jsobj=0x2c9510, aIID=@0x42cac1f8) at xpcwrappedjsclass.cpp:278
	args = {2921816}
	retval = <value optimized out>
	retObj = <value optimized out>
	fun = 1120461140
	_val_247 = {mVal = 2921760, mValPtr = 0xbef209b4}
	cx = (JSContext *) 0x6b768
	id = <value optimized out>
	funid = <value optimized out>
	_automarker_247 = {<AutoMarkingPtr> = {
    _vptr.AutoMarkingPtr = 0x42cd98e0, mNext = 0x0, 
    mTLS = 0x6b408}, mPtr = 0xbef209b4}
	scriptEval = {mJSContext = 0x6b768, mState = 0x0, 
  mOldErrorReporter = 0x42ca7070 <mozJSLoaderErrorReporter(JSContext*, char const*, JSErrorReport*)>, mEvaluated = 1, 
  mContextHasThread = 211336}
#10 0x42c8d988 in nsXPCWrappedJSClass::GetRootJSObject (
    this=0x165750, ccx=@0xbef20aa8, aJSObj=0x2c9510)
    at xpcwrappedjsclass.cpp:674
No locals.
#11 0x42c89940 in nsXPCWrappedJS::GetNewOrUsed (ccx=@0xbef20aa8, 
    aJSObj=0x2c9510, aIID=@0x42cb4030, 
    aOuter=<value optimized out>, wrapperResult=0xbef20a68)
    at xpcwrappedjs.cpp:242
	root = <value optimized out>
	wrapper = <value optimized out>
	rt = (XPCJSRuntime *) 0x129068
	map = (JSObject2WrappedJSMap *) 0x129238
	rootJSObj = (JSObject *) 0x42cb3f4c
	clazz = (class nsXPCWrappedJSClass *) 0x2c9510
#12 0x42c75a9c in XPCConvert::JSObject2NativeInterface (
    ccx=@0xbef20aa8, dest=0xbef20b98, src=0x2c9510, iid=0x42cb4030, 
    aOuter=0x0, pErr=0xbef20b24) at xpcconvert.cpp:1253
	cx = (JSContext *) 0x6b768
	iface = <value optimized out>
	wrapper = <value optimized out>
	rv = <value optimized out>
#13 0x42c5c2c8 in nsXPConnect::WrapJS (this=<value optimized out>, 
    aJSContext=0x6b768, aJSObj=0x2c9510, aIID=@0x42cb4030, 
    result=0xbef20b98) at nsXPConnect.cpp:647
	ccx = {<nsIXPCNativeCallContext> = {<nsISupports> = {
      _vptr.nsISupports = 0x42cd9c98}, <No data fields>}, 
  mRefCnt = {mValue = 0}, _mOwningThread = {mThread = 0x33988}, 
  mState = XPCCallContext::HAVE_CONTEXT, mXPC = 0x129030, 
  mThreadData = 0x6b408, mXPCContext = 0x12ceb0, 
  mJSContext = 0x6b768, mContextPopRequired = 1, 
  mDestroyJSContextInDestructor = 0, 
  mCallerLanguage = XPCContext::LANG_NATIVE, 
  mPrevCallerLanguage = XPCContext::LANG_UNKNOWN, 
  mPrevCallContext = 0x0, mOperandJSObject = 0xbef20b34, 
  mCurrentJSObject = 0x14c, mFlattenedJSObject = 0x40092984, 
  mWrapper = 0x40111000, mTearOff = 0x2c9510, 
  mScriptableInfo = 0x6b768, mSet = 0x1, mInterface = 0xbef20b34, 
  mMember = 0x40093be0, mName = 2921808, 
  mStaticMemberIsLocal = 440168, mArgc = 438640, mArgv = 0x2c9510, 
  mRetVal = 0x2c9510, mExceptionWasThrown = -1091433572, 
  mReturnValueWasSet = 440168, mMethodIndex = 1, mCallee = 0x0}
	rv = <value optimized out>
#14 0x42ca5de8 in mozJSComponentLoader::ModuleForLocation (
    this=0x6b170, 
    registryLocation=0x2da048 "rel:nsMailDefaultHandler.js", 
    component=<value optimized out>, status=0xbef20d0c)
    at mozJSComponentLoader.cpp:1007
	rv = 0
	cm_holder = {mRawPtr = 0x2e4458}
	argv = {2921800, 2921812}
	retval = 2921744
	module = <value optimized out>
	he = <value optimized out>
	cx = {mContext = 0x6b768, mContextThread = 211336}
	cm_jsobj = (JSObject *) 0xbef20bac
	aers = {mContext = 0x6b768, mOldReporter = 0}
	jsModuleObj = (JSObject *) 0xbef20bbc
	hash = <value optimized out>
	hep = <value optimized out>
	xpc = {mRawPtr = 0x129030}
	NSGetModule_val = 0
	global = (JSObject *) 0x2c9548
#15 0x42ca6348 in mozJSComponentLoader::AttemptRegistration (
    this=0x6b170, component=0x2dc360, 
    deferred=<value optimized out>) at mozJSComponentLoader.cpp:761
	registryLocation = {<nsCString> = {<nsCSubstring> = {<nsACString_internal> = {mVTable = 0x40229d80, 
        mData = 0x2da048 "rel:nsMailDefaultHandler.js", 
        mLength = 27, 
        mFlags = 9}, <No data fields>}, <No data fields>}, <No data fields>}
	rv = 0
	module = (class nsIModule *) 0xbef20db8
	observerService = {mRawPtr = 0x0}
	obsoleteManager = {mRawPtr = 0x63870}
	mgr = {mRawPtr = 0x17}
	fileName = {<nsAutoString> = {<nsFixedString> = {<nsString> = {<nsSubstring> = {<nsAString_internal> = {mVTable = 0x2dc3e8, 
            mData = 0x2dc3c8, mLength = 3203533924, 
            mFlags = 2999272}, <No data fields>}, <No data fields>}, mFixedCapacity = 182, mFixedBuf = 0x401ce30c}, mStorage = {5, 0, 
      183, 0, 3160, 48882, 20652, 16413, 3160, 48882, 42940, 16412, 
      29627, 10, 3424, 16413, 40320, 16418, 55516, 16413, 0, 0, 
      58428, 16412, 3384, 48882, 0, 0, 23, 0, 23, 0, 50016, 45, 0, 
      0, 3520, 48882, 59668, 16412, 24, 0, 0, 0, 188, 16409, 0, 0, 
      0, 0, 3384, 48882, 50252, 45, 3384, 48882, 50016, 45, 3408, 
      48882, 23, 0, 60200, 16412}}, <No data fields>}
#16 0x42ca67e8 in mozJSComponentLoader::AutoRegisterComponent (
    this=0x6b170, when=<value optimized out>, component=0x2dc360, 
    registered=0xbef20db8) at mozJSComponentLoader.cpp:688
	rv = <value optimized out>
	jsExtension = ".js"
	leafName = {<nsFixedCString> = {<nsCString> = {<nsCSubstring> = {<nsACString_internal> = {mVTable = 0x40229d80, 
          mData = 0xbef20d50 "nsMailDefaultHandler.js", 
          mLength = 23, 
          mFlags = 65553}, <No data fields>}, <No data fields>}, 
    mFixedCapacity = 63, 
    mFixedBuf = 0xbef20d50 "nsMailDefaultHandler.js"}, 
  mStorage = "nsMailDefaultHandler.js\000\030[1J\000\000\000\000A51J\000\000\000\000A51J\000\000\000\000��h\000\000\000\000\000�\r��\004\006\031@"}
	isFile = -1091433012
#17 0x42ca3268 in mozJSComponentLoader::RegisterComponentsInDir (
    this=0x6b170, when=0, dir=<value optimized out>)
    at mozJSComponentLoader.cpp:596
	registered = 0
	rv = <value optimized out>
	isDir = -1091433016
	dirIterator = {mRawPtr = 0x6b210}
	dirEntry = (class nsIFile *) 0x0
	more = 0
#18 0x40197eb4 in nsComponentManagerImpl::AutoRegisterNonNativeComponents (this=0x63850, spec=<value optimized out>)
    at nsComponentManager.cpp:3262
	i = 2
	rv = <value optimized out>
	directory = {mRawPtr = 0x6d560}
#19 0x401993bc in nsComponentManagerImpl::AutoRegisterImpl (
    this=0x63850, when=<value optimized out>, 
    inDirSpec=<value optimized out>, 
    fileIsCompDir=<value optimized out>)
    at nsComponentManager.cpp:3232
	dir = {mRawPtr = 0x6d560}
	rv = 2
	iim = {mRawPtr = 0x6d8c8}
	loaderEnum = {mRawPtr = 0x6db88}
	hasMore = -1091432776
#20 0x4019951c in nsComponentManagerImpl::AutoRegister (
    this=0x63850, aSpec=0x0) at nsComponentManager.cpp:3404
	directory = <value optimized out>
#21 0x4014a7e4 in NS_InitXPCOM3_P (result=<value optimized out>, 
    binDirectory=<value optimized out>, 
    appFileLocationProvider=0xbef2125c, 
    staticComponents=<value optimized out>, componentCount=1)
    at nsXPComInit.cpp:635
	dirList = {mRawPtr = 0x0}
	compregFile = {mRawPtr = 0xbef20f70}
	rv = 2152857618
	compMgr = <value optimized out>
	registrar = {mRawPtr = 0x63858}
	iim = <value optimized out>
	memory = {mRawPtr = 0x4022a910}
#22 0x0000d0a4 in ScopedXPCOMStartup::Initialize (this=0xbef20ffc)
    at nsAppRunner.cpp:807
	rv = <value optimized out>
#23 0x0000d8b4 in ImportProfiles (aPService=0x63988, 
    aNative=0x61650) at nsAppRunner.cpp:1719
	xpcom = {mServiceManager = 0x63854}
#24 0x0000eba0 in SelectProfile (aResult=0xbef21368, 
    aNative=0x61650, aStartOffline=<value optimized out>)
    at nsAppRunner.cpp:1884
	rv = 0
	count = 299
	useDefault = <value optimized out>
	ar = <value optimized out>
	arg = 0x0
	profileSvc = {mRawPtr = 0x63988}
#25 0x0000f974 in XRE_main (argc=<value optimized out>, 
    argv=<value optimized out>, aAppData=<value optimized out>)
    at nsAppRunner.cpp:2528
	ar = <value optimized out>
	glib2 = (PRLibrary *) 0xbef21380
	profLD = {mRawPtr = 0x4000970c}
	rv = 0
	dirProvider = {<nsIDirectoryServiceProvider2> = {<nsIDirectoryServiceProvider> = {<nsISupports> = {
        _vptr.nsISupports = 0x31be0}, <No data fields>}, <No data fields>}, <nsIProfileStartup> = {<nsISupports> = {
      _vptr.nsISupports = 0x31c04}, <No data fields>}, mAppDir = {
    mRawPtr = 0x34bf0}, mXULAppDir = {mRawPtr = 0x0}, 
  mProfileDir = {mRawPtr = 0x0}, mProfileLocalDir = {
    mRawPtr = 0x0}, mProfileNotified = 0}
	nativeApp = {mRawPtr = 0x61650}
	startOffline = 0
	upgraded = <value optimized out>
	versionOK = <value optimized out>
	appInitiatedRestart = <value optimized out>
	i = <value optimized out>
	canRun = -1091431564
	xremotearg = <value optimized out>
	profileLock = {mRawPtr = 0x0}
	profD = {mRawPtr = 0x400255dc}
	version = {<nsFixedCString> = {<nsCString> = {<nsCSubstring> = {<nsACString_internal> = {mVTable = 0x4001ae78, 
          mData = 0x6 <Address 0x6 out of bounds>, 
          mLength = 3203535352, 
          mFlags = 3203535588}, <No data fields>}, <No data fields>}, mFixedCapacity = 7977666, mFixedBuf = 0x4028fcc0 ""}, 
  mStorage = "\000\000\000\000\000\000\000\000\001\000\000\000Y\000\000\000�s\036AP�\001@ҳ%@�\017)@�\212%@\001\000\000\0000\022��`�\001@�\022��\000\000\000\000\r\000\000\000\000�*@"}
	needsRestart = <value optimized out>
	gtkModules = <value optimized out>
	registryFile = {mRawPtr = 0x626a0}
	osABI = {<nsCString> = {<nsCSubstring> = {<nsACString_internal> = {mVTable = 0xbef21384, mData = 0xbef21378 "\001", 
        mLength = 311133519, 
        mFlags = 1089642996}, <No data fields>}, <No data fields>}, <No data fields>}
#26 0x40e2906c in __libc_start_main () from /lib/vfp/libc.so.6
No symbol table info available.
#27 0x0000af2c in _start ()
No locals.
(gdb)

-- 
[armel] thunderbird-bin crashed with SIGSEGVI
https://bugs.launchpad.net/bugs/385325
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to thunderbird in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list