Bug 273672

Summary: Nepomuk crashes when I restart (QThread: Destroyed while thread is still running) [~QThread, Nepomuk::~Identifier, ..., Nepomuk::~Service, ~BackupSyncService]
Product: [Unmaintained] nepomuk Reporter: Greg Sinsley <GSinsley>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, eljefedelito, me, orange
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Greg Sinsley 2011-05-19 21:48:34 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

I tried to restart my computer and, Nepomunk crashed right after I hit the restart button.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Aborted
[Current thread is 1 (Thread 0xb584b710 (LWP 12405))]

Thread 3 (Thread 0xb289ab70 (LWP 12449)):
#0  0xb7838424 in __kernel_vsyscall ()
#1  0xb61620b9 in __lll_lock_wait () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb615f566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#3  0xb624c3fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#4  0xb75e7daa in QMutexPrivate::wait (this=0x8919b90, timeout=-1) at thread/qmutex_unix.cpp:84
#5  0xb75e4492 in QMutex::lock (this=0x89195e4) at thread/qmutex.cpp:167
#6  0xb75e942a in QWaitCondition::wait (this=0x89195e8, mutex=0x89195e4, time=4294967295) at thread/qwaitcondition_unix.cpp:162
#7  0xb2c95316 in Nepomuk::Identifier::run (this=0x89195d8) at ../../../../../nepomuk/services/backupsync/service/identifier.cpp:132
#8  0xb75e8da2 in QThreadPrivate::start (arg=0x89195d8) at thread/qthread_unix.cpp:320
#9  0xb615ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb623e73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb1effb70 (LWP 12450)):
#0  0xb7838424 in __kernel_vsyscall ()
#1  0xb615f48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb624c3fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb75e9467 in wait (this=0x8919fb8, mutex=0x8919fb4, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8919fb8, mutex=0x8919fb4, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb2c96adf in Nepomuk::Merger::run (this=0x8919fa8) at ../../../../../nepomuk/services/backupsync/service/merger.cpp:123
#6  0xb75e8da2 in QThreadPrivate::start (arg=0x8919fa8) at thread/qthread_unix.cpp:320
#7  0xb615ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb623e73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb584b710 (LWP 12405)):
[KCrash Handler]
#7  0xb7838424 in __kernel_vsyscall ()
#8  0xb6198e71 in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb619c34e in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb61cf577 in ?? () from /lib/i386-linux-gnu/libc.so.6
#11 0xb61d9961 in ?? () from /lib/i386-linux-gnu/libc.so.6
#12 0xb61db28b in ?? () from /lib/i386-linux-gnu/libc.so.6
#13 0xb61de41d in free () from /lib/i386-linux-gnu/libc.so.6
#14 0xb75e2bbd in qFree (ptr=0x8853bd0) at global/qmalloc.cpp:60
#15 0xb7632510 in QString::free (d=0x8853bd0) at tools/qstring.cpp:1185
#16 0xb75de5bb in ~QString (msgType=QtWarningMsg, msg=0xbfbbb654 "inux-gnu/ld-2.13.so\nbfb9c000-bfbbd000 rw-p 00000000 00:00 0          [stack]\ndead882dea3570ffc31a9898cfb69-le32d4.cache-3\nb7826000-b782e000 r--s 00000000 08:05 288521     /var/cache/fontconfig/e13b20f"..., ap=0xbfbbbcd4 "\220\233\221\b\370\274\273\277\321\244\067\266\220\233\221\b\350\225\221\b\370\274\273\277x\231\221\b\220\233\221\b\364\217\201\267\030\275\273\277y\231\221\b\220\233\221\b") at ../../include/QtCore/../../src/corelib/tools/qstring.h:883
#17 qt_message (msgType=QtWarningMsg, msg=0xbfbbb654 "inux-gnu/ld-2.13.so\nbfb9c000-bfbbd000 rw-p 00000000 00:00 0          [stack]\ndead882dea3570ffc31a9898cfb69-le32d4.cache-3\nb7826000-b782e000 r--s 00000000 08:05 288521     /var/cache/fontconfig/e13b20f"..., ap=0xbfbbbcd4 "\220\233\221\b\370\274\273\277\321\244\067\266\220\233\221\b\350\225\221\b\370\274\273\277x\231\221\b\220\233\221\b\364\217\201\267\030\275\273\277y\231\221\b\220\233\221\b") at global/qglobal.cpp:2319
#18 0xb75deb09 in qWarning (msg=0xb7744134 "QThread: Destroyed while thread is still running") at global/qglobal.cpp:2410
#19 0xb75e5e96 in QThread::~QThread (this=0x89195d8, __in_chrg=<value optimized out>) at thread/qthread.cpp:407
#20 0xb2c93d60 in Nepomuk::Identifier::~Identifier (this=0x89195d8, __in_chrg=<value optimized out>) at ../../../../../nepomuk/services/backupsync/service/identifier.cpp:57
#21 0xb2c93d92 in Nepomuk::Identifier::~Identifier (this=0x89195d8, __in_chrg=<value optimized out>) at ../../../../../nepomuk/services/backupsync/service/identifier.cpp:61
#22 0xb76f0b87 in QObjectPrivate::deleteChildren (this=0x89156f0) at kernel/qobject.cpp:1964
#23 0xb76f539f in QObject::~QObject (this=0x88f3e20, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#24 0xb6e90e98 in Nepomuk::Service::~Service (this=0x88f3e20, __in_chrg=<value optimized out>) at ../../nepomuk/core/nepomukservice.cpp:41
#25 0xb2c98eaa in ~BackupSyncService (this=0x88f3e20, __in_chrg=<value optimized out>) at ../../../../../nepomuk/services/backupsync/service/backupsyncservice.cpp:62
#26 Nepomuk::BackupSyncService::~BackupSyncService (this=0x88f3e20, __in_chrg=<value optimized out>) at ../../../../../nepomuk/services/backupsync/service/backupsyncservice.cpp:64
#27 0xb76f0b87 in QObjectPrivate::deleteChildren (this=0x890b508) at kernel/qobject.cpp:1964
#28 0xb76f539f in QObject::~QObject (this=0x8908a10, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#29 0x0804b8e2 in Nepomuk::ServiceControl::~ServiceControl (this=0x8908a10, __in_chrg=<value optimized out>) at ../../../nepomuk/servicestub/servicecontrol.cpp:39
#30 0xb76f0b87 in QObjectPrivate::deleteChildren (this=0x883e240) at kernel/qobject.cpp:1964
#31 0xb76f539f in QObject::~QObject (this=0xbfbbc198, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#32 0xb76dff02 in QCoreApplication::~QCoreApplication (this=0xbfbbc198, __in_chrg=<value optimized out>) at kernel/qcoreapplication.cpp:615
#33 0xb64f2a26 in QApplication::~QApplication (this=0xbfbbc198, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1080
#34 0xb70d3d4a in KApplication::~KApplication (this=0xbfbbc198, __in_chrg=<value optimized out>) at ../../kdeui/kernel/kapplication.cpp:894
#35 0x0804b118 in main (argc=) at ../../../nepomuk/servicestub/main.cpp:101

This bug may be a duplicate of or related to bug 235312.

Possible duplicates by query: bug 273504, bug 272825, bug 268090, bug 267614, bug 264078.

Reported using DrKonqi
Comment 1 Dario Andres 2011-08-07 14:18:42 UTC
[Comment from a bug triager]
From bug 279044 (KDE SC 4.6.5):
- What I was doing when the application crashed:
I was rebooting and the crash handler popped up.  I had Kontact, Firefox,
Konversation, and Kopete running, and Amarok, Klipper, and a few others in the
tray.
Comment 2 Dario Andres 2011-08-07 14:18:51 UTC
*** Bug 279044 has been marked as a duplicate of this bug. ***
Comment 3 Vishesh Handa 2011-10-11 11:31:30 UTC
The Identification code is no longer a part of the backup service => Fixed.
Comment 4 Orange 2012-05-10 21:42:43 UTC
Created attachment 71010 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2

- What I was doing when the application crashed:

rebooting the computer. Had numerous applications open, including dolphin and firefox and gwenview and konsole and SMPlayer and many terminal windows.

-- Backtrace (Reduced):
#7  _int_free (av=<value optimized out>, p=0xb4302eb8) at malloc.c:4892
#8  0x05ca469d in __libc_free (mem=0xb4302ec0) at malloc.c:3738
#9  0x0021fbbd in qFree (ptr=0xb4302ec0) at global/qmalloc.cpp:60
#10 0x0026f510 in QString::free (d=0xb4302ec0) at tools/qstring.cpp:1185
#11 0x002d63d4 in ~QString (domain=..., op=NormalizeAce) at ../../include/QtCore/../../src/corelib/tools/qstring.h:883