thunderbird segfault on startup in js_NewObject

Bug #318211 reported by bacchus
4
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: thunderbird

Release: Ubuntu 8.10
Package version: 2.0.0.19+nobinonly-0ubuntu0.8.10.1
What i expected to happen: starting thunderbird should bring up the application...
What happened instead: thunderbird segfaults on startup in js_NewObject.

Hi there,

installing the thunderbird debug symbols from http://ddebs.ubuntu.com (as described in https://wiki.ubuntu.com/MozillaTeam/Bugs?action=show&redirect=DebuggingFirefox for the Firefox), i produced the following backtrace:

This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /usr/lib/thunderbird/thunderbird-bin
[Thread debugging using libthread_db enabled]
[New Thread 0xb71b0700 (LWP 17385)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb71b0700 (LWP 17385)]
0xb7f697d9 in js_NewObject (cx=0x87253f0, clasp=0xb5ba3d61, proto=0x0,
parent=0x0)
    at jsobj.c:2500
2500 jsobj.c: No such file or directory.
        in jsobj.c
Current language: auto; currently c
(gdb) bt
#0 0xb7f697d9 in js_NewObject (cx=0x87253f0, clasp=0xb5ba3d61, proto=0x0,
    parent=0x0) at jsobj.c:2500
#1 0xb7f18616 in JS_NewObject (cx=0x87253f0, clasp=0x8725814, proto=0x0,
parent=0x0)
    at jsapi.c:2419
#2 0xb5b7f1f3 in XPCJSContextStack::GetSafeJSContext (this=0x867f890,
    aSafeJSContext=0xbfad91dc) at xpcthreadcontext.cpp:180
#3 0xb5b7ed84 in nsXPCThreadJSContextStackImpl::GetSafeJSContext
(this=0x8723c28,
    aSafeJSContext=0xbfad91dc) at xpcthreadcontext.cpp:356
#4 0xb685f2a0 in nsScriptSecurityManager::GetSafeJSContext (this=0x8723a30)
    at nsScriptSecurityManager.cpp:238
#5 0xb6863f64 in nsScriptSecurityManager::Init (this=0x8723a30)
    at nsScriptSecurityManager.cpp:3101
#6 0xb6864155 in nsScriptSecurityManager::GetScriptSecurityManager ()
    at nsScriptSecurityManager.cpp:3183
#7 0xb68689a5 in Construct_nsIScriptSecurityManager (aOuter=0x0,
aIID=@0xb5b9cc34,
    aResult=0xbfad9314) at nsSecurityManagerFactory.cpp:357
#8 0xb7e86b1e in nsGenericFactory::CreateInstance (this=0x8723a18,
aOuter=0x0,
    aIID=@0xb5b9cc34, aResult=0xbfad9314) at nsGenericFactory.cpp:79
#9 0xb7ec8e4d in nsComponentManagerImpl::CreateInstanceByContractID (
    this=0x867d5a0, aContractID=0xb5b9f0a8
"@mozilla.org/scriptsecuritymanager;1",
    aDelegate=0x0, aIID=@0xb5b9cc34, aResult=0xbfad9314)
    at nsComponentManager.cpp:1981
#10 0xb7eca95c in nsComponentManagerImpl::GetServiceByContractID
(this=0x867d5a0,
    aContractID=0xb5b9f0a8 "@mozilla.org/scriptsecuritymanager;1",
aIID=@0xb5b9cc34,
    result=0xbfad938c) at nsComponentManager.cpp:2408
#11 0xb7e840c0 in CallGetService (
    aContractID=0xb5b9f0a8 "@mozilla.org/scriptsecuritymanager;1",
aIID=@0xb5b9cc34,
    aResult=0xbfad938c) at nsComponentManagerUtils.cpp:94
#12 0xb7e8415b in nsGetServiceByContractID::operator() (this=<value
optimized out>,
    aIID=@0x8725814, aInstancePtr=0xb5ba3d61) at
nsComponentManagerUtils.cpp:278
#13 0xb7e83d39 in nsCOMPtr_base::assign_from_gs_contractid
(this=0xbfad93f4, gs=
---Type <return> to continue, or q <return> to quit---

This bad behaviour seemed to start after a security update via the ubuntu repositories (on 2009-01-06). I also tried with a blank profile (i deleted the old one) and w/o extensions ('thunderbird -safe-mode'). I found another bug report in
js_NewObject which seems a bit similar:

http://www.nabble.com/Segmentation-fault-in-jsobj.c-under-high-load.-td19100309.html

Also I started a thread in the german ubuntu forum:

http://forum.ubuntuusers.de/topic/thunderbird-startet-nach-aktualisierung-nicht/

If you need any additional information please contact me.

Thanks for helping,
yours,
Sebastian.

Revision history for this message
Monkey (monkey-libre) wrote :

Do You still have this problem? Thank You for making Ubuntu better.

Changed in thunderbird (Ubuntu):
status: New → Incomplete
Revision history for this message
bacchus (sebastian-hanss) wrote :

I'm now using a newer version of Thunderbird (2.0.0.23) and have no problems anymore.

Thank _you_ making Ubuntu better! ;-)

cheers,
Sebastian

Revision history for this message
Monkey (monkey-libre) wrote :

Thank You for your answer! I´ve changed the status to invalid.

Changed in thunderbird (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.