Bug 190165 - dolphin crashes after deleting a file and then closing the window too quickly
Summary: dolphin crashes after deleting a file and then closing the window too quickly
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 187167 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-20 13:17 UTC by Ron
Modified: 2009-04-28 16:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ron 2009-04-20 13:17:02 UTC
Version:           1.2.1 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

Anytime I close the dolphin window too quickly after deleting some files from that window it causes dolphin to crash.  I've received a number of different crash reports.  I've included 3 of them below.

*******CRASH 1*******

[Thread debugging using libthread_db enabled]
[New Thread 0x7f7c6143d6f0 (LWP 8180)]
[New Thread 0x4172c950 (LWP 8199)]
0x00007f7c5d0974b2 in select () from /lib/libc.so.6
[Current thread is 0 (LWP 8180)]

Thread 2 (Thread 0x4172c950 (LWP 8199)):
#0  0x00007f7c5d0606e1 in nanosleep () from /lib/libc.so.6
#1  0x00007f7c5d060507 in sleep () from /lib/libc.so.6
#2  0x00007f7c5f5f83cf in KCrash::startDrKonqi (argv=0x4172af48, argc=15) at /build/buildd/kde4libs-4.2.2/kdeui/util/kcrash.cpp:412
#3  0x00007f7c5f5f8cda in KCrash::defaultCrashHandler (sig=11) at /build/buildd/kde4libs-4.2.2/kdeui/util/kcrash.cpp:337
#4  <signal handler called>
#5  0x00007f7c5db3b341 in QMutex::lock () from /usr/lib/libQtCore.so.4
#6  0x00007f7c5fc46e75 in ?? () from /usr/lib/libQtNetwork.so.4
#7  0x00007f7c5fc53b33 in QAbstractSocket::setSocketDescriptor () from /usr/lib/libQtNetwork.so.4
#8  0x00007f7c5fc5fbef in ?? () from /usr/lib/libQtNetwork.so.4
#9  0x00007f7c5fc604d0 in QLocalSocket::connectToServer () from /usr/lib/libQtNetwork.so.4
#10 0x00007f7c5acad8fa in Soprano::Client::LocalSocketClientConnection::newConnection (this=0xcba9b0) at /build/buildd/soprano-2.2.2+dfsg.1/server/localsocketclient.cpp:69
#11 0x00007f7c5acaea62 in Soprano::Client::ClientConnection::socket (this=0xcba9b0) at /build/buildd/soprano-2.2.2+dfsg.1/server/clientconnection.cpp:77
#12 0x00007f7c5acaebb2 in Soprano::Client::ClientConnection::iteratorClose (this=0x8, id=15222712) at /build/buildd/soprano-2.2.2+dfsg.1/server/clientconnection.cpp:638
#13 0x00007f7c5acb19d2 in Soprano::Client::ClientModel::closeIterator (this=0xcd46c0, id=1421848367) at /build/buildd/soprano-2.2.2+dfsg.1/server/clientmodel.cpp:220
#14 0x00007f7c5acb24ea in Soprano::Client::ClientStatementIteratorBackend::close (this=0x10c2df0) at /build/buildd/soprano-2.2.2+dfsg.1/server/clientstatementiteratorbackend.cpp:73
#15 0x00007f7c60154452 in Soprano::Iterator<Soprano::Statement>::next (this=0x120e080) at /build/buildd/soprano-2.2.2+dfsg.1/soprano/iterator.h:245
#16 0x00007f7c601ab1d7 in Soprano::Util::MutexStatementIteratorBackend::next (this=0x120e060) at /build/buildd/soprano-2.2.2+dfsg.1/soprano/util/mutexstatementiteratorbackend.cpp:44
#17 0x00007f7c60419460 in Soprano::Iterator<Soprano::Statement>::next (this=0x4172bc00) at /usr/include/soprano/iterator.h:242
#18 0x00007f7c60413b41 in Nepomuk::ResourceData::load (this=0x120e570) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resourcedata.cpp:379
#19 0x00007f7c604141f8 in Nepomuk::ResourceData::property (this=0x120e570, uri=@0x4172bf30) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resourcedata.cpp:246
#20 0x00007f7c6042cf02 in Nepomuk::Resource::property (this=<value optimized out>, uri=@0x3) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resource.cpp:238
#21 0x00007f7c6042dfbb in Nepomuk::Resource::rating (this=0x4172c010) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resource.cpp:710
#22 0x0000000000443021 in MetaDataWidget::Private::LoadFilesThread::run (this=0xf177d0) at /build/buildd/kdebase-4.2.2/apps/dolphin/src/metadatawidget.cpp:144
#23 0x00007f7c5db40362 in ?? () from /usr/lib/libQtCore.so.4
#24 0x00007f7c5aa883ea in start_thread () from /lib/libpthread.so.0
#25 0x00007f7c5d09ecbd in clone () from /lib/libc.so.6
#26 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7c6143d6f0 (LWP 8180)):
#0  0x00007f7c5d0974b2 in select () from /lib/libc.so.6
#1  0x00007f7c5fc5cbc4 in ?? () from /usr/lib/libQtNetwork.so.4
#2  0x00007f7c5fc48886 in ?? () from /usr/lib/libQtNetwork.so.4
#3  0x00007f7c5fc5711b in QAbstractSocket::waitForReadyRead () from /usr/lib/libQtNetwork.so.4
#4  0x00007f7c5acaebed in Soprano::Client::ClientConnection::iteratorClose (this=0xcba9b0, id=1421848367) at /build/buildd/soprano-2.2.2+dfsg.1/server/clientconnection.cpp:643
#5  0x00007f7c5acb14aa in ~ClientModel (this=0xcd46c0) at /build/buildd/soprano-2.2.2+dfsg.1/server/clientmodel.cpp:46
#6  0x00007f7c6041c39a in ~QGlobalStaticDeleter (this=0x7f7c6065acb8) at /build/buildd/kde4libs-4.2.2/nepomuk/core/nepomukmainmodel.cpp:77
#7  0x00007f7c5cfee6ad in exit () from /lib/libc.so.6
#8  0x00007f7c5cfd646d in __libc_start_main () from /lib/libc.so.6
#9  0x0000000000421529 in _start ()
#0  0x00007f7c5d0974b2 in select () from /lib/libc.so.6

******CRASH 2*******

Application: Dolphin (dolphin), signal SIGSEGV
0x00007fdec205d4b2 in select () from /lib/libc.so.6
[Current thread is 0 (LWP 18008)]

Thread 2 (Thread 0x413fb950 (LWP 18013)):
[KCrash Handler]
#5  0x00007fdec2ba0460 in QUrl::QUrl () from /usr/lib/libQtCore.so.4
#6  0x00007fdec540ef25 in Nepomuk::Vocabulary::PIMO::Thing () at /build/buildd/kde4libs-4.2.2/nepomuk/core/pimo.cpp:50
#7  0x00007fdec53d9dab in Nepomuk::ResourceData::load (this=0xdab6d0) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resourcedata.cpp:396
#8  0x00007fdec53da1f8 in Nepomuk::ResourceData::property (this=0xdab6d0, uri=@0x413faf30) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resourcedata.cpp:246
#9  0x00007fdec53f2f02 in Nepomuk::Resource::property (this=<value optimized out>, uri=@0x0) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resource.cpp:238
#10 0x00007fdec53f3fbb in Nepomuk::Resource::rating (this=0x413fb010) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resource.cpp:710
#11 0x000000000044336d in MetaDataWidget::Private::LoadFilesThread::run (this=0xcaf210) at /build/buildd/kdebase-4.2.2/apps/dolphin/src/metadatawidget.cpp:140
#12 0x00007fdec2b06362 in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007fdebfa4e3ea in start_thread () from /lib/libpthread.so.0
#14 0x00007fdec2064cbd in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdec64046f0 (LWP 18008)):
#0  0x00007fdec205d4b2 in select () from /lib/libc.so.6
#1  0x00007fdec4c22bc4 in ?? () from /usr/lib/libQtNetwork.so.4
#2  0x00007fdec4c0e886 in ?? () from /usr/lib/libQtNetwork.so.4
#3  0x00007fdec4c1d11b in QAbstractSocket::waitForReadyRead () from /usr/lib/libQtNetwork.so.4
#4  0x00007fdebfc74bed in Soprano::Client::ClientConnection::iteratorClose (this=0xa4f710, id=2040212511) at /build/buildd/soprano-2.2.2+dfsg.1/server/clientconnection.cpp:643
#5  0x00007fdebfc774aa in ~ClientModel (this=0xa69420) at /build/buildd/soprano-2.2.2+dfsg.1/server/clientmodel.cpp:46
#6  0x00007fdec53e239a in ~QGlobalStaticDeleter (this=0x7fdec5620cb8) at /build/buildd/kde4libs-4.2.2/nepomuk/core/nepomukmainmodel.cpp:77
#7  0x00007fdec1fb46ad in exit () from /lib/libc.so.6
#8  0x00007fdec1f9c46d in __libc_start_main () from /lib/libc.so.6
#9  0x0000000000421529 in _start ()

*******CRASH 3*******

Application: Dolphin (dolphin), signal SIGSEGV
0x00007f576092d4b2 in select () from /lib/libc.so.6
[Current thread is 0 (LWP 5713)]

Thread 2 (Thread 0x4145b950 (LWP 5714)):
[KCrash Handler]
#5  0x00007f5761470460 in QUrl::QUrl () from /usr/lib/libQtCore.so.4
#6  0x00007f5763cdef05 in Nepomuk::Vocabulary::PIMO::groundingOccurrence () at /build/buildd/kde4libs-4.2.2/nepomuk/core/pimo.cpp:55
#7  0x00007f5763ca9fa6 in Nepomuk::ResourceData::load (this=0x13aec90) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resourcedata.cpp:404
#8  0x00007f5763caa1f8 in Nepomuk::ResourceData::property (this=0x13aec90, uri=@0x4145af30) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resourcedata.cpp:246
#9  0x00007f5763cc2f02 in Nepomuk::Resource::property (this=<value optimized out>, uri=@0x7) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resource.cpp:238
#10 0x00007f5763cc3fbb in Nepomuk::Resource::rating (this=0x4145b010) at /build/buildd/kde4libs-4.2.2/nepomuk/core/resource.cpp:710
#11 0x0000000000443021 in MetaDataWidget::Private::LoadFilesThread::run (this=0x117f160) at /build/buildd/kdebase-4.2.2/apps/dolphin/src/metadatawidget.cpp:144
#12 0x00007f57613d6362 in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007f575e31e3ea in start_thread () from /lib/libpthread.so.0
#14 0x00007f5760934cbd in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5764cd36f0 (LWP 5713)):
#0  0x00007f576092d4b2 in select () from /lib/libc.so.6
#1  0x00007f57634f2bc4 in ?? () from /usr/lib/libQtNetwork.so.4
#2  0x00007f57634de886 in ?? () from /usr/lib/libQtNetwork.so.4
#3  0x00007f57634ed11b in QAbstractSocket::waitForReadyRead () from /usr/lib/libQtNetwork.so.4
#4  0x00007f575e544bed in Soprano::Client::ClientConnection::iteratorClose (this=0x1136820, id=1990527311) at /build/buildd/soprano-2.2.2+dfsg.1/server/clientconnection.cpp:643
#5  0x00007f575e5474aa in ~ClientModel (this=0x1150850) at /build/buildd/soprano-2.2.2+dfsg.1/server/clientmodel.cpp:46
#6  0x00007f5763cb239a in ~QGlobalStaticDeleter (this=0x7f5763ef0cb8) at /build/buildd/kde4libs-4.2.2/nepomuk/core/nepomukmainmodel.cpp:77
#7  0x00007f57608846ad in exit () from /lib/libc.so.6
#8  0x00007f576086c46d in __libc_start_main () from /lib/libc.so.6
#9  0x0000000000421529 in _start ()
Comment 1 Dario Andres 2009-04-26 16:18:35 UTC
@Ron: for the new time, try to not mix different crash traces in the same report as it may difficult the developers work to try to identify the crash cause. (the politic is "one report per crash") Thanks!!

The first crash could be related to bug 187167
The second and third ones seems to be unique.

Thanks for reporting
Comment 2 Sebastian Trueg 2009-04-28 12:10:21 UTC
SVN commit 960318 by trueg:

Gracefully end the metadata loading thread. This should fix
BUG: 190165


 M  +12 -0     metadatawidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=960318
Comment 3 Dario Andres 2009-04-28 14:05:56 UTC
@Sebastian: does this also fixes bug 187167 ? Thanks
Comment 4 Sebastian Trueg 2009-04-28 16:20:34 UTC
*** Bug 187167 has been marked as a duplicate of this bug. ***