Bug 279682

Summary: Nepomuk crashes on picture import
Product: [Unmaintained] nepomuk Reporter: Benedikt Bauer <mail>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: caulier.gilles, me, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Benedikt Bauer 2011-08-08 19:26:16 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.5 (4.6.5) "release 4"
Qt Version: 4.7.3
Operating System: Linux 3.0.0-39-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I had just started to import images from my cam via the digiKam importing tool. This seemed to have crashed nepomuk.

-- Backtrace:
Application: Nepomuk-Dienst (nepomukservicestub), signal: Aborted
[Current thread is 1 (Thread 0x7f263e521760 (LWP 3131))]

Thread 3 (Thread 0x7f262da7d700 (LWP 3144)):
#0  0x00007f263dc8d38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f263df1977b in wait (this=<value optimized out>, mutex=0x7fe9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7fe9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f262e188269 in Nepomuk::IndexFeeder::run (this=0x7fe980) at /usr/src/debug/kdebase-runtime-4.6.5/nepomuk/services/strigi/nepomukindexfeeder.cpp:188
#4  0x00007f263df19095 in QThreadPrivate::start (arg=0x7fe980) at thread/qthread_unix.cpp:320
#5  0x00007f263dc88a3f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f263ba1d67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f26247af700 (LWP 3148)):
#0  0x00007f263ba2a8fe in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f263b9c3f2e in _L_lock_9927 () from /lib64/libc.so.6
#2  0x00007f263b9c22d1 in free () from /lib64/libc.so.6
#3  0x00007f263b9de67d in tzset_internal () from /lib64/libc.so.6
#4  0x00007f263b9de8e0 in tzset () from /lib64/libc.so.6
#5  0x00007f263df280f4 in utcToLocal (this=<value optimized out>, outDate=..., outTime=...) at tools/qdatetime.cpp:4031
#6  QDateTimePrivate::getLocal (this=<value optimized out>, outDate=..., outTime=...) at tools/qdatetime.cpp:4147
#7  0x00007f263df2e945 in QDateTime::setTime_t (this=<value optimized out>, secsSince1Jan1970UTC=1312825404) at tools/qdatetime.cpp:2444
#8  0x00007f263dfdd55c in QFSFileEngine::fileTime (this=<value optimized out>, time=QAbstractFileEngine::ModificationTime) at io/qfsfileengine_unix.cpp:1292
#9  0x00007f263df99d85 in QFileInfoPrivate::getFileTime (this=0x7f261c001210, request=QAbstractFileEngine::ModificationTime) at io/qfileinfo.cpp:146
#10 0x00007f263df9b557 in QFileInfo::lastModified (this=<value optimized out>) at io/qfileinfo.cpp:1126
#11 0x00007f262e18a4f3 in Nepomuk::Indexer::indexFile (this=<value optimized out>, info=...) at /usr/src/debug/kdebase-runtime-4.6.5/nepomuk/services/strigi/nepomukindexer.cpp:124
#12 0x00007f262e17eefc in Nepomuk::IndexScheduler::analyzeDir (this=0x726970, dir_=<value optimized out>, flags=...) at /usr/src/debug/kdebase-runtime-4.6.5/nepomuk/services/strigi/indexscheduler.cpp:450
#13 0x00007f262e17f25a in Nepomuk::IndexScheduler::run (this=0x726970) at /usr/src/debug/kdebase-runtime-4.6.5/nepomuk/services/strigi/indexscheduler.cpp:338
#14 0x00007f263df19095 in QThreadPrivate::start (arg=0x726970) at thread/qthread_unix.cpp:320
#15 0x00007f263dc88a3f in start_thread () from /lib64/libpthread.so.0
#16 0x00007f263ba1d67d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f263e521760 (LWP 3131)):
[KCrash Handler]
#6  0x00007f263b97cab5 in raise () from /lib64/libc.so.6
#7  0x00007f263b97dfb6 in abort () from /lib64/libc.so.6
#8  0x00007f263b9b7dd3 in __libc_message () from /lib64/libc.so.6
#9  0x00007f263b9bd3b6 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f263b9bfb32 in _int_malloc () from /lib64/libc.so.6
#11 0x00007f263b9c1d99 in malloc () from /lib64/libc.so.6
#12 0x00007f263df1b2cd in QByteArray::resize (this=0x7ffff696f510, size=54) at tools/qbytearray.cpp:1386
#13 0x00007f263e035f1f in QUtf8::convertFromUnicode (uc=0x10a425a, len=18, state=0x0) at codecs/qutfcodec.cpp:79
#14 0x00007f263e036141 in QUtf8Codec::convertFromUnicode (this=<value optimized out>, uc=<value optimized out>, len=<value optimized out>, state=<value optimized out>) at codecs/qutfcodec.cpp:522
#15 0x00007f263e032497 in QTextCodec::fromUnicode (this=<value optimized out>, str=<value optimized out>) at codecs/qtextcodec.cpp:1379
#16 0x00007f263df5d221 in QString::toLocal8Bit (this=0x10a03e0) at tools/qstring.cpp:3676
#17 0x00007f263df95a59 in locale_encode (f=<value optimized out>) at io/qfile.cpp:71
#18 0x00007f263df95e5a in QFile::encodeName (fileName=<value optimized out>) at io/qfile.cpp:482
#19 0x00007f263dfdab0d in QFSFileEnginePrivate::nativeInitFileName (this=0x10a03c0) at io/qfsfileengine_unix.cpp:203
#20 0x00007f263dfd458d in QFSFileEngine::QFSFileEngine (this=0x106ebc0, file=...) at io/qfsfileengine.cpp:238
#21 0x00007f263df875ad in QAbstractFileEngine::create (fileName=...) at io/qabstractfileengine.cpp:203
#22 0x00007f263df8f321 in initFileEngine (this=0x7ffff696f750, path=<value optimized out>) at io/qdir.cpp:335
#23 setPath (this=0x7ffff696f750, path=<value optimized out>) at io/qdir.cpp:178
#24 QDirPrivate (this=0x7ffff696f750, path=<value optimized out>) at io/qdir.cpp:102
#25 QDir::QDir (this=0x7ffff696f750, path=<value optimized out>) at io/qdir.cpp:519
#26 0x00007f262e180cb0 in Nepomuk::StrigiServiceConfig::shouldFolderBeIndexed (this=0x897480, path=...) at /usr/src/debug/kdebase-runtime-4.6.5/nepomuk/services/strigi/strigiserviceconfig.cpp:158
#27 0x00007f262e179848 in Nepomuk::StrigiService::updateFolder (this=0x723610, path=..., recursive=false, forced=false) at /usr/src/debug/kdebase-runtime-4.6.5/nepomuk/services/strigi/strigiservice.cpp:231
#28 0x00007f262e18b9ad in StrigiAdaptor::qt_metacall (this=0x8caef0, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7ffff696fa20) at /usr/src/debug/kdebase-runtime-4.6.5/build/nepomuk/services/strigi/strigiadaptor.moc:157
#29 0x00007f263da2c568 in QDBusConnectionPrivate::deliverCall (this=0x6a9bb0, object=0x8caef0, msg=..., metaTypes=..., slotIdx=19) at qdbusintegrator.cpp:941
#30 0x00007f263da2d785 in QDBusConnectionPrivate::activateCall (this=0x6a9bb0, object=0x8caef0, flags=337, msg=...) at qdbusintegrator.cpp:851
#31 0x00007f263da2df1e in QDBusConnectionPrivate::activateObject (this=0x6a9bb0, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1409
#32 0x00007f263da2e158 in QDBusActivateObjectEvent::placeMetaCall (this=0x10a3d80) at qdbusintegrator.cpp:1523
#33 0x00007f263e01637a in QObject::event (this=0x723610, e=<value optimized out>) at kernel/qobject.cpp:1217
#34 0x00007f263c18a144 in QApplicationPrivate::notify_helper (this=0x62a480, receiver=0x723610, e=0x10a3d80) at kernel/qapplication.cpp:4462
#35 0x00007f263c1926fa in QApplication::notify (this=<value optimized out>, receiver=0x723610, e=0x10a3d80) at kernel/qapplication.cpp:4341
#36 0x00007f263d0b5346 in KApplication::notify (this=0x7ffff69708f0, receiver=0x723610, event=0x10a3d80) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#37 0x00007f263e00247c in QCoreApplication::notifyInternal (this=0x7ffff69708f0, receiver=0x723610, event=0x10a3d80) at kernel/qcoreapplication.cpp:731
#38 0x00007f263e005c75 in sendEvent (receiver=0x0, event_type=0, data=0x609590) at kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x609590) at kernel/qcoreapplication.cpp:1372
#40 0x00007f263e02d093 in sendPostedEvents (s=0x62ddc0) at kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x62ddc0) at kernel/qeventdispatcher_glib.cpp:277
#42 0x00007f263ae73bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#43 0x00007f263ae743b0 in ?? () from /lib64/libglib-2.0.so.0
#44 0x00007f263ae74650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#45 0x00007f263e02d22f in QEventDispatcherGlib::processEvents (this=0x60ec20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#46 0x00007f263c22fbae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f263e0018d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f263e001ae5 in QEventLoop::exec (this=0x7ffff69706c0, flags=...) at kernel/qeventloop.cpp:201
#49 0x00007f263e005f2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#50 0x0000000000403f82 in main (argc=2, argv=0x7ffff6970d48) at /usr/src/debug/kdebase-runtime-4.6.5/nepomuk/servicestub/main.cpp:167

Possible duplicates by query: bug 274169, bug 228333.

Reported using DrKonqi
Comment 1 Sebastian Trueg 2011-10-11 19:15:31 UTC
Closing this as a duplicate of bug 275880 since I am fairly certain that it can
be the only source of the problem. Hopefully the patch I posted there does also
solve this crash.

*** This bug has been marked as a duplicate of bug 275880 ***