[Bug 286366] Re: segfault in GCGraphBuilder::AddNode

Brian J. Murrell brian at interlinx.bc.ca
Tue Oct 28 10:41:58 UTC 2008


Here's another.  Boy it's going to be fun times if Intrepid is released
with this bug still in it given how often it hits me.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7cb36c0 (LWP 18297)]
GCGraphBuilder::AddNode (this=0xbfa86fec, s=0xf8a3140, aParticipant=0xb7bc10c4)
    at nsCycleCollector.cpp:1287
1287	nsCycleCollector.cpp: No such file or directory.
	in nsCycleCollector.cpp
Current language:  auto; currently c++
(gdb) thread apply all bt

Thread 132 (Thread 0xae0feb90 (LWP 2026)):
#0  0xb7f8f430 in __kernel_vsyscall ()
#1  0xb7f463a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7be8f9e in pt_TimedWait (cv=0x95ffdcc, ml=0x95ffd68, timeout=60000) at ptsynch.c:280
#3  0xb7be9dc0 in PR_WaitCondVar (cvar=0x95ffdc8, timeout=60000) at ptsynch.c:407
#4  0xb71c3d4a in nsHostResolver::GetHostToLookup (this=0x95ffd08, result=0xae0fe378)
    at nsHostResolver.cpp:595
#5  0xb71c4412 in nsHostResolver::ThreadFunc (arg=0x95ffd08) at nsHostResolver.cpp:690
#6  0xb7bf01e1 in _pt_root (arg=0xa2fc9988) at ptthread.c:221
#7  0xb7f4250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb7d967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 58 (Thread 0xb0cbdb90 (LWP 18540)):
#0  0xb7f8f430 in __kernel_vsyscall ()
#1  0xb7f46075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xaced96cf in ?? () from /usr/lib/flashplugin-nonfree/libflashplayer.so
#3  0xad00b29f in ?? () from /usr/lib/flashplugin-nonfree/libflashplayer.so
#4  0xaced9b8d in ?? () from /usr/lib/flashplugin-nonfree/libflashplayer.so
#5  0xb7f4250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb7d967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 57 (Thread 0xb04bcb90 (LWP 18539)):
#0  0xb7f8f430 in __kernel_vsyscall ()
#1  0xb7f46075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xaced96cf in ?? () from /usr/lib/flashplugin-nonfree/libflashplayer.so
#3  0xad00b29f in ?? () from /usr/lib/flashplugin-nonfree/libflashplayer.so
#4  0xaced9b8d in ?? () from /usr/lib/flashplugin-nonfree/libflashplayer.so
#5  0xb7f4250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb7d967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xb14beb90 (LWP 18357)):
#0  0xb7f8f430 in __kernel_vsyscall ()
#1  0xb7f46075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7be9e39 in PR_WaitCondVar (cvar=0xa728fd0, timeout=4294967295) at ptsynch.c:405
#3  0xb7be9eb7 in PR_Wait (mon=0xa72e910, timeout=4294967295) at ptsynch.c:584
#4  0xb790e791 in nsEventQueue::GetEvent (this=0xa728f48, mayWait=1, result=0xb14be304)
    at ../../dist/include/xpcom/nsAutoLock.h:340
#5  0xb790f540 in nsThread::ProcessNextEvent (this=0xa728f28, mayWait=1, result=0xb14be344)
    at nsThread.h:112
#6  0xb78dff88 in NS_ProcessNextEvent_P (thread=0x80, mayWait=1) at nsThreadUtils.cpp:227
#7  0xb790fcd3 in nsThread::ThreadFunc (arg=0xa728f28) at nsThread.cpp:253
#8  0xb7bf01e1 in _pt_root (arg=0xa7290d8) at ptthread.c:221
#9  0xb7f4250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb7d967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb59efb90 (LWP 18321)):
#0  0xb7f8f430 in __kernel_vsyscall ()
#1  0xb7d8bf77 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7bebd8c in _pr_poll_with_poll (pds=0x95fcad8, npds=1, timeout=4294967295) at ptio.c:3895
#3  0xb71baa7b in nsSocketTransportService::Poll (this=0x95fc5f8, wait=1, interval=0xb59ef1e8)
    at nsSocketTransportService2.cpp:349
#4  0xb71baf70 in nsSocketTransportService::DoPollIteration (this=0x95fc5f8, wait=1)
    at nsSocketTransportService2.cpp:644
#5  0xb71bb21a in nsSocketTransportService::OnProcessNextEvent (this=0x95fc5f8, thread=0x95f9a08, 
    mayWait=1, depth=1) at nsSocketTransportService2.cpp:523
#6  0xb790f50e in nsThread::ProcessNextEvent (this=0x95f9a08, mayWait=1, result=0xb59ef294)
    at nsThread.cpp:497
#7  0xb78dff88 in NS_ProcessNextEvent_P (thread=0x1, mayWait=1) at nsThreadUtils.cpp:227
#8  0xb71bac93 in nsSocketTransportService::Run (this=0x95fc5f8)
    at nsSocketTransportService2.cpp:565
#9  0xb790f56c in nsThread::ProcessNextEvent (this=0x95f9a08, mayWait=1, result=0xb59ef344)
    at nsThread.cpp:510
#10 0xb78dff88 in NS_ProcessNextEvent_P (thread=0x1, mayWait=1) at nsThreadUtils.cpp:227
#11 0xb790fcd3 in nsThread::ThreadFunc (arg=0x95f9a08) at nsThread.cpp:253
#12 0xb7bf01e1 in _pt_root (arg=0x95fcdc0) at ptthread.c:221
#13 0xb7f4250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb7d967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb51eeb90 (LWP 18322)):
#0  0xb7f8f430 in __kernel_vsyscall ()
#1  0xb7f463a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7be8f9e in pt_TimedWait (cv=0x955d4d4, ml=0x956dd48, timeout=4921) at ptsynch.c:280
#3  0xb7be9dc0 in PR_WaitCondVar (cvar=0x955d4d0, timeout=4921) at ptsynch.c:407
#4  0xb79124bc in TimerThread::Run (this=0x956dc90) at TimerThread.cpp:345
#5  0xb790f56c in nsThread::ProcessNextEvent (this=0x9638888, mayWait=1, result=0xb51ee344)
    at nsThread.cpp:510
#6  0xb78dff88 in NS_ProcessNextEvent_P (thread=0x80, mayWait=1) at nsThreadUtils.cpp:227
#7  0xb790fcd3 in nsThread::ThreadFunc (arg=0x9638888) at nsThread.cpp:253
#8  0xb7bf01e1 in _pt_root (arg=0x9638a90) at ptthread.c:221
#9  0xb7f4250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb7d967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb47feb90 (LWP 18326)):
#0  0xb7f8f430 in __kernel_vsyscall ()
#1  0xb7f46075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7be9e39 in PR_WaitCondVar (cvar=0x9b41b90, timeout=4294967295) at ptsynch.c:405
#3  0xb7718266 in nsSSLThread::Run (this=0x9b07828) at nsSSLThread.cpp:964
#4  0xb7717b9a in nsPSMBackgroundThread::nsThreadRunner (arg=0x9b07828)
    at nsPSMBackgroundThread.cpp:44
#5  0xb7bf01e1 in _pt_root (arg=0x9b41bd0) at ptthread.c:221
#6  0xb7f4250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb7d967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb3791b90 (LWP 18327)):
#0  0xb7f8f430 in __kernel_vsyscall ()
#1  0xb7f46075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7be9e39 in PR_WaitCondVar (cvar=0x9b41d60, timeout=4294967295) at ptsynch.c:405
#3  0xb77192fe in nsCertVerificationThread::Run (this=0x9b41cb0)
    at nsCertVerificationThread.cpp:138
#4  0xb7717b9a in nsPSMBackgroundThread::nsThreadRunner (arg=0x9b41cb0)
    at nsPSMBackgroundThread.cpp:44
#5  0xb7bf01e1 in _pt_root (arg=0x9b41da0) at ptthread.c:221
#6  0xb7f4250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb7d967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7cb36c0 (LWP 18297)):
#0  GCGraphBuilder::AddNode (this=0xbfa86fec, s=0xf8a3140, aParticipant=0xb7bc10c4)
    at nsCycleCollector.cpp:1287
#1  0xb791a4c5 in GCGraphBuilder::NoteXPCOMChild (this=0xbfa86fec, child=0xf8a3140)
    at nsCycleCollector.cpp:1237
#2  0xb7409092 in nsGenericElement::cycleCollection::Traverse (this=0xb7bc10f4, p=0xf869008, 
    cb=@0xbfa86fec) at nsGenericElement.cpp:3531
#3  0xb7919c84 in GCGraphBuilder::Traverse (this=0xbfa86fec, aPtrInfo=0xafca891c)
    at nsCycleCollector.cpp:1319
#4  0xb7919ce7 in nsCycleCollector::MarkRoots (this=0x9583748, builder=@0xbfa86fec)
    at nsCycleCollector.cpp:1513
#5  0xb791a795 in nsCycleCollector::BeginCollection (this=0x9583748) at nsCycleCollector.cpp:2368
#6  0xb791a7d8 in nsCycleCollector_beginCollection () at nsCycleCollector.cpp:2910
#7  0xb71696cc in XPCCycleCollectGCCallback (cx=0x9a5bdf8, status=JSGC_MARK_END)
    at nsXPConnect.cpp:440
#8  0xb7c51d7a in js_GC (cx=0x9a5bdf8, gckind=GC_NORMAL) at jsgc.c:3239
#9  0xb7c2e63a in JS_GC (cx=0x9a5bdf8) at jsapi.c:2469
#10 0xb7168950 in nsXPConnect::Collect (this=0x957b650) at nsXPConnect.cpp:529
#11 0xb791a8fa in nsCycleCollector::Collect (this=0x9583748, aTryCollections=1)
    at nsCycleCollector.cpp:2250
#12 0xb791aa39 in nsCycleCollector_collect () at nsCycleCollector.cpp:2898
#13 0xb7515f42 in nsJSContext::CC () at nsJSEnvironment.cpp:3346
#14 0xb7516012 in nsJSContext::MaybeCC (aHigherProbability=1) at nsJSEnvironment.cpp:3397
#15 0xb75163c5 in nsUserActivityObserver::Observe (this=0x9a12730, aSubject=0x0, 
    aTopic=0xb7a81bcc "user-interaction-inactive", aData=0x0) at nsJSEnvironment.cpp:291
#16 0xb78e99a0 in nsObserverList::NotifyObservers (this=0x9b8b2c8, aSubject=0x0, 
    aTopic=0xb7a81bcc "user-interaction-inactive", someData=0x0) at nsObserverList.cpp:128
#17 0xb78e9c6e in nsObserverService::NotifyObservers (this=0x9598208, aSubject=0x0, 
    aTopic=0xb7a81bcc "user-interaction-inactive", someData=0x0) at nsObserverService.cpp:181
#18 0xb743f7e6 in nsUITimerCallback::Notify (this=0x9b07ce0, aTimer=0x9affb98)
    at nsEventStateManager.cpp:210
#19 0xb7911a42 in nsTimerImpl::Fire (this=0x9affb98) at nsTimerImpl.cpp:403
#20 0xb7911ab7 in nsTimerEvent::Run (this=0x1933c8a8) at nsTimerImpl.cpp:490
#21 0xb790f56c in nsThread::ProcessNextEvent (this=0x956d980, mayWait=1, result=0xbfa8b324)
    at nsThread.cpp:510
#22 0xb78dff88 in NS_ProcessNextEvent_P (thread=0x19bf8000, mayWait=1) at nsThreadUtils.cpp:227
#23 0xb78632c4 in nsBaseAppShell::Run (this=0x99335c8) at nsBaseAppShell.cpp:170
#24 0xb76f8ab8 in nsAppStartup::Run (this=0x997f710) at nsAppStartup.cpp:181
#25 0xb715d508 in XRE_main (argc=2, argv=0xbfa8ea84, aAppData=0x94e8830) at nsAppRunner.cpp:3194
#26 0x080491ab in ?? ()
#27 0xb7ccb685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#28 0x08048d11 in ?? ()

-- 
segfault in GCGraphBuilder::AddNode
https://bugs.launchpad.net/bugs/286366
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list