--Boundary-00=_sBdiN99gmmbG4NW Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Wednesday 23 March 2011, Cyrille Berger Skott wrote: > Hi, > > Since March 20, on http://my.cdash.org/index.php?project=Calligra , I get > plenty of random test failure, they seem to lock at exit time, for > instance: > > http://my.cdash.org/testDetails.php?test=5447865&build=170134 > http://my.cdash.org/testDetails.php?test=5440894&build=169866 > > Before anyone ask, it is a clean build :) (fully clean, I have clean ccache > as well) And, I have a strong suspicion that the culprit is: > http://quickgit.kde.org/?p=calligra.git&a=commit&h=21b3d21808ae4d24f611acd9 > a8f0dd1adbbfc66d I did a bit more investigation. It is very difficult to get the deadlock if the machine is not under load. In attachement I have put the backtraces for the deadlock. -- Cyrille Berger Skott --Boundary-00=_sBdiN99gmmbG4NW Content-Type: text/plain; charset="UTF-8"; name="exitdeadlock.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="exitdeadlock.txt" (gdb) info threads 3 Thread 0x7f6b6f906700 (LWP 15287) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 2 Thread 0x7f6b6f105700 (LWP 15288) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 * 1 Thread 0x7f6b816b17a0 (LWP 15270) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 (gdb) thread 1 [Switching to thread 1 (Thread 0x7f6b816b17a0 (LWP 15270))]#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 162 in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S (gdb) bt #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f6b7bee672b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6b7bee5814 in QThread::wait(unsigned long) () from /usr/lib/libQtCore.so.4 #3 0x00007f6b80a310f1 in ~KisTileDataStore (this=0x25be32c, __in_chrg=) at /home/cyrille/src/calligra/krita/image/tiles3/kis_tile_data_store.cc:81 #4 0x00007f6b80a31817 in destroy () at /home/cyrille/src/calligra/krita/image/tiles3/kis_tile_data_store.cc:100 #5 0x00007f6b7ac56262 in __run_exit_handlers (status=0) at exit.c:78 #6 *__GI_exit (status=0) at exit.c:100 #7 0x00007f6b7ac3bc54 in __libc_start_main (main=, argc=, ubp_av=, init=, fini=, rtld_fini=, stack_end=0x7fff939bd5e8) at libc-start.c:258 #8 0x0000000000402e29 in _start () (gdb) thread 2 [Switching to thread 2 (Thread 0x7f6b6f105700 (LWP 15288))]#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 162 in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S (gdb) bt #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f6b7bee672b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6b7bee2511 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4 #3 0x00007f6b80a6382a in KisTileDataSwapper::run (this=0x25be138) at /home/cyrille/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90 #4 0x00007f6b7bee5775 in ?? () from /usr/lib/libQtCore.so.4 #5 0x00007f6b7bc559ca in start_thread (arg=) at pthread_create.c:300 #6 0x00007f6b7ad0370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () (gdb) thread 3 [Switching to thread 3 (Thread 0x7f6b6f906700 (LWP 15287))]#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 162 in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S (gdb) bt #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f6b7bee672b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6b7bee2680 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4 #3 0x00007f6b80a3221e in KisTileDataPooler::waitForWork (this=0x25be100) at /home/cyrille/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:160 #4 0x00007f6b80a32718 in KisTileDataPooler::run (this=0x25be100) at /home/cyrille/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:182 #5 0x00007f6b7bee5775 in ?? () from /usr/lib/libQtCore.so.4 #6 0x00007f6b7bc559ca in start_thread (arg=) at pthread_create.c:300 #7 0x00007f6b7ad0370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x0000000000000000 in ?? () --Boundary-00=_sBdiN99gmmbG4NW Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --Boundary-00=_sBdiN99gmmbG4NW--