Fwd: [Bug 784193] Thunderbird leaks threads

Orion Poplawski <[email protected]>
Newsgroups gmane.comp.mozilla.devel.calendar
Message-ID <[email protected]>
Any thoughts?


-------- Original Message --------
Subject: [Bug 784193] Thunderbird leaks threads
Date: Thu, 31 Jan 2013 10:10:04 +0000
From: [email protected]
To: [email protected]

Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=784193

Tom Hughes <[email protected]> changed:

            What    |Removed                     |Added
----------------------------------------------------------------------------
                  CC|                            |[email protected]
           Component|thunderbird                 |thunderbird-lightning
            Assignee|[email protected]         |[email protected]

--- Comment #7 from Tom Hughes <[email protected]> ---
After further investigation I have discovered that disabling the lightning
extension stops the thread leak, so it seems that lightning is actually
responsible and I am going to transfer this bug to the thunderbird-lightning
component.

I have also done some comparisons of the collected stack traces, and it seems
that all the leaked threads look like this:

#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003916e23ab0 in PR_WaitCondVar (cvar=0x7f5d1d1b03c0,
timeout=4294967295) at ../../../mozilla/nsprpub/pr/src/pthreads/ptsynch.c:385
#2  0x0000003916e23db5 in PR_Wait (mon=0x7f5d24431c80, timeout=<optimized out>)
at ../../../mozilla/nsprpub/pr/src/pthreads/ptsynch.c:582
#3  0x00007f5d36155b9d in Wait (interval=4294967295, this=0x7f5d244fa390) at
../../dist/include/mozilla/ReentrantMonitor.h:89
#4  Wait (interval=4294967295, this=<synthetic pointer>) at
../../dist/include/mozilla/ReentrantMonitor.h:192
#5  nsEventQueue::GetEvent (this=0x7f5d244fa390, mayWait=true,
result=0x7f5d1d0fedf8) at
/usr/src/debug/thunderbird-17.0.2/comm-release/mozilla/xpcom/threads/nsEventQueue.cpp:51
#6  0x00007f5d36156878 in nsThread::ProcessNextEvent (this=0x7f5d244fa340,
mayWait=true, result=0x7f5d1d0fee3f) at
/usr/src/debug/thunderbird-17.0.2/comm-release/mozilla/xpcom/threads/nsThread.cpp:605
#7  0x00007f5d3612c82b in NS_ProcessNextEvent_P (thread=<optimized out>,
mayWait=true) at
/usr/src/debug/thunderbird-17.0.2/comm-release/objdir/mozilla/xpcom/build/nsThreadUtils.cpp:220
#8  0x00007f5d36157080 in nsThread::ThreadFunc (arg=Python Exception <class
'gdb.error'> Attempt to dereference a generic pointer.: 0x7f5d244fa340) at
/usr/src/debug/thunderbird-17.0.2/comm-release/mozilla/xpcom/threads/nsThread.cpp:257
#9  0x0000003916e28e23 in _pt_root (arg=Python Exception <class 'gdb.error'>
Attempt to dereference a generic pointer.: 0x7f5d24867570) at
../../../mozilla/nsprpub/pr/src/pthreads/ptthread.c:156
#10 0x0000003909207d15 in start_thread (arg=Python Exception <class
'gdb.error'> Attempt to dereference a generic pointer.: 0x7f5d1d0ff700) at
pthread_create.c:308
#11 0x0000003908af246d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Unfortunately that looks pretty generic to me and hence probably doesn't give
much clue as to the cause of the leak.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.