[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 239032] New: deadlock on shutdown
From:       Milian Wolff <mail () milianw ! de>
Date:       2010-05-27 16:41:14
Message-ID: bug-239032-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=239032

           Summary: deadlock on shutdown
           Product: kdevelop
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: mail@milianw.de


Version:           unspecified
OS:                Linux

since some time there occur deadlocks on shutdown

afaik this is not really new, it was also reported on IRC a few days ago.

Reproducible: Sometimes




(gdb) thread apply all bt

Thread 8 (Thread 0x7f265c427910 (LWP 21158)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f266c111692 in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x2020d40, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2020d40,
time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2668c9a037 in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x2020d20)
    at /home/milian/projects/kde4/kdevplatform/language/duchain/duchain.cpp:286
#4  0x00007f266c110775 in QThreadPrivate::start (arg=0x2020d20) at
thread/qthread_unix.cpp:248
#5  0x00007f266be81a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007f266a54f80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f26560e5910 (LWP 21159)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f266c11172b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x1cd91b0, time=18446744073709551615)
    at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1cd91b0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f266dc71096 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f266dc7374b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x00007f266dc71bff in ?? () from /usr/lib/libthreadweaver.so.4
#14 0x00007f266dc72058 in ThreadWeaver::Thread::run() () from
/usr/lib/libthreadweaver.so.4
#15 0x00007f266c110775 in QThreadPrivate::start (arg=0x28bf470) at
thread/qthread_unix.cpp:248
#16 0x00007f266be81a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#17 0x00007f266a54f80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f26550e3910 (LWP 21161)):
#0  0x00007f266a548412 in select () from /lib/libc.so.6
#1  0x00007f266c1e1db3 in QProcessManager::run (this=0x7f266c518f20) at
io/qprocess_unix.cpp:245
#2  0x00007f266c110775 in QThreadPrivate::start (arg=0x7f266c518f20) at
thread/qthread_unix.cpp:248
#3  0x00007f266be81a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#4  0x00007f266a54f80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
---Type <return> to continue, or q <return> to quit---
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f26548e2910 (LWP 21167)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f266c11172b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x1cd91b0, time=18446744073709551615)
    at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1cd91b0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f266dc71096 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f266dc7374b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00007f266dc71bff in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x00007f266dc72058 in ThreadWeaver::Thread::run() () from
/usr/lib/libthreadweaver.so.4
#10 0x00007f266c110775 in QThreadPrivate::start (arg=0x2009140) at
thread/qthread_unix.cpp:248
#11 0x00007f266be81a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#12 0x00007f266a54f80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently c".

Thread 4 (Thread 0x7f264f7fe910 (LWP 21185)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f266c11172b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x1cd91b0, time=18446744073709551615)
    at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1cd91b0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f266dc71096 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f266dc7374b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x00007f266dc73764 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x00007f266dc71bff in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x00007f266dc72058 in ThreadWeaver::Thread::run() () from
/usr/lib/libthreadweaver.so.4
#14 0x00007f266c110775 in QThreadPrivate::start (arg=0x2b95710) at
thread/qthread_unix.cpp:248
#15 0x00007f266be81a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#16 0x00007f266a54f80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
Current language:  auto
---Type <return> to continue, or q <return> to quit---
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7f264e7fc910 (LWP 21427)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2669918396 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f2669bf6220) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f26699183d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x7f2669c042ec)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f266be81a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#4  0x00007f266a54f80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f26457fa910 (LWP 21533)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f266c11172b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x1cd91b0, time=18446744073709551615)
    at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1cd91b0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f266dc71096 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f266dc7374b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f266dc71bff in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f266dc72058 in ThreadWeaver::Thread::run() () from
/usr/lib/libthreadweaver.so.4
#7  0x00007f266c110775 in QThreadPrivate::start (arg=0x5bb7170) at
thread/qthread_unix.cpp:248
#8  0x00007f266be81a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#9  0x00007f266a54f80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f266f87d750 (LWP 21157)):
#0  __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f266be862cb in _L_lock_20 () from /lib/libpthread.so.0
#2  0x00007f266be86079 in __pthread_cond_destroy (cond=0x7f264812ded8) at
pthread_cond_destroy.c:33
#3  0x00007f266c10febd in ~QMutexPrivate (this=0x7f264812de90, __in_chrg=<value
optimized out>) at thread/qmutex_unix.cpp:74
#4  0x00007f266c10ba51 in ~QMutex (this=<value optimized out>, __in_chrg=<value
optimized out>) at thread/qmutex.cpp:132
#5  0x00007f266a4a8c12 in __run_exit_handlers (status=0) at exit.c:78
#6  *__GI_exit (status=0) at exit.c:100
#7  0x00007f266a48eac4 in __libc_start_main (main=<value optimized out>,
argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized
out>, 
    fini=<value optimized out>, rtld_fini=<value optimized out>,
stack_end=0x7fffb5e3f008) at libc-start.c:252
#8  0x00000000004044e9 in _start () at ../sysdeps/x86_64/elf/start.S:113
(gdb)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic