Bug 282789 - Nepomuk Stub crashes when incomplete file is being indexed
Summary: Nepomuk Stub crashes when incomplete file is being indexed
Status: RESOLVED DUPLICATE of bug 279347
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:
Depends on:
Blocks:
 
Reported: 2011-09-26 09:59 UTC by Toby Fox
Modified: 2011-09-26 10:41 UTC (History)
2 users (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 Toby Fox 2011-09-26 09:59:01 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
This may be similar or the same to various other crashes, but I haven't seen this particular info posted:
- What I was doing when the application crashed:
I was downloading a movie. I am not certain, but I believe Strigi was indexing the partially downloaded file. nepomukservicestub has also crashed on me when I was creating a large tar.gz archive - I get a crash when, presumably, the partially built archive is indexed. It doesn't happen every time, but it happens frequently in these kinds of scenarios.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb5a64fd780 (LWP 11881))]

Thread 3 (Thread 0x7fb596aa2700 (LWP 11882)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fb5a3b6d80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fb5a3b6b8d8 in __libc_free (mem=0x7fb5a3e7e1c0) at malloc.c:3736
#3  0x00007fb5a5fbbf99 in ~QByteArray (this=0x25f22e0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:383
#4  ~QFSFileEnginePrivate (this=0x25f22e0, __in_chrg=<value optimized out>) at io/qfsfileengine_p.h:70
#5  QFSFileEnginePrivate::~QFSFileEnginePrivate (this=0x25f22e0, __in_chrg=<value optimized out>) at io/qfsfileengine_p.h:70
#6  0x00007fb5a5f6d101 in cleanup (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#7  ~QScopedPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#8  QAbstractFileEngine::~QAbstractFileEngine (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qabstractfileengine.cpp:357
#9  0x00007fb5a5fbb5ab in QFSFileEngine::~QFSFileEngine (this=0x2603b20, __in_chrg=<value optimized out>) at io/qfsfileengine.cpp:259
#10 0x00007fb5a5fbb639 in QFSFileEngine::~QFSFileEngine (this=0x2603b20, __in_chrg=<value optimized out>) at io/qfsfileengine.cpp:278
#11 0x00007fb5a5f80c9a in cleanup (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#12 ~QScopedPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#13 ~QFileInfoPrivate (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qfileinfo_p.h:65
#14 ~QSharedDataPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:90
#15 QFileInfo::~QFileInfo (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qfileinfo.cpp:303
#16 0x00007fb5972eca11 in Nepomuk::IndexScheduler::doIndexing (this=0x2510fc0) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:345
#17 0x00007fb5972ecccc in Nepomuk::IndexScheduler::qt_metacall (this=0x2510fc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x25dec70) at ./indexscheduler.moc:128
#18 0x00007fb5a5ffb49a in QObject::event (this=0x2510fc0, e=<value optimized out>) at kernel/qobject.cpp:1226
#19 0x00007fb5a43429f4 in QApplicationPrivate::notify_helper (this=0x23a7510, receiver=0x2510fc0, e=0x2599ed0) at kernel/qapplication.cpp:4462
#20 0x00007fb5a43473ba in QApplication::notify (this=<value optimized out>, receiver=0x2510fc0, e=0x2599ed0) at kernel/qapplication.cpp:4341
#21 0x00007fb5a531d796 in KApplication::notify (this=0x7fffd29853e0, receiver=0x2510fc0, event=0x2599ed0) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007fb5a5fe749c in QCoreApplication::notifyInternal (this=0x7fffd29853e0, receiver=0x2510fc0, event=0x2599ed0) at kernel/qcoreapplication.cpp:731
#23 0x00007fb5a5feac25 in sendEvent (receiver=0x0, event_type=0, data=0x2545130) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2545130) at kernel/qcoreapplication.cpp:1372
#25 0x00007fb5a6012253 in sendPostedEvents (s=0x254a680) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=0x254a680) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007fb5a2dfbbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fb5a2dfc3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fb5a2dfc639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fb5a60123ef in QEventDispatcherGlib::processEvents (this=0x2549bb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007fb5a5fe6882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007fb5a5fe6abc in QEventLoop::exec (this=0x7fb596aa1e00, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007fb5a5efd924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#34 0x00007fb5a5f00175 in QThreadPrivate::start (arg=0x251fb30) at thread/qthread_unix.cpp:320
#35 0x00007fb5a38d7d8c in start_thread (arg=0x7fb596aa2700) at pthread_create.c:304
#36 0x00007fb5a3bd504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#37 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb595a65700 (LWP 11885)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fb5a3b6d80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fb5a3b6b8d8 in __libc_free (mem=0x7fb5a3e7e1c0) at malloc.c:3736
#3  0x00007fb5a60128bb in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x254e610, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:399
#4  0x00007fb5a60128f9 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x254e610, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#5  0x00007fb5a5eff4d4 in QThreadPrivate::finish (arg=0x7fb5a631af60) at thread/qthread_unix.cpp:356
#6  0x00007fb5a5f0017d in ~__pthread_cleanup_class (arg=0x7fb5a631af60) at /usr/include/pthread.h:545
#7  QThreadPrivate::start (arg=0x7fb5a631af60) at thread/qthread_unix.cpp:279
#8  0x00007fb5a38d7d8c in start_thread (arg=0x7fb595a65700) at pthread_create.c:304
#9  0x00007fb5a3bd504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb5a64fd780 (LWP 11881)):
[KCrash Handler]
#6  _int_malloc (av=0x7fb5a3e7e1c0, bytes=40) at malloc.c:4304
#7  0x00007fb5a3b6b31e in __libc_malloc (bytes=40) at malloc.c:3660
#8  0x00007fb5a5f01fab in QByteArray::QByteArray (this=0x7fffd2983c60, str=<value optimized out>) at tools/qbytearray.cpp:1278
#9  0x00007fb5a5ef6a57 in qgetenv (varName=<value optimized out>) at global/qglobal.cpp:2545
#10 0x00007fb5a5902c57 in KCatalogPrivate::setupGettextEnv (this=0x258fc50) at ../../kdecore/localization/kcatalog.cpp:179
#11 0x00007fb5a5903755 in KCatalog::translateStrict (this=0x258b1e0, msgctxt=0x25eafa8 "@info:status", msgid=0x2625a88 "Strigi is currently indexing files in folder %1 (%2)") at ../../kdecore/localization/kcatalog.cpp:262
#12 0x00007fb5a591cd2c in KLocalePrivate::translateRawFrom (this=<value optimized out>, catname=0x607478 "", msgctxt=0x25eafa8 "@info:status", msgid=0x2625a88 "Strigi is currently indexing files in folder %1 (%2)", msgid_plural=0x0, n=0, language=0x7fffd29841a0, translation=0x7fffd29841b0) at ../../kdecore/localization/klocale_kde.cpp:957
#13 0x00007fb5a590f9f0 in KLocale::translateRawFrom (this=<value optimized out>, catname=<value optimized out>, ctxt=<value optimized out>, msg=<value optimized out>, lang=<value optimized out>, trans=<value optimized out>) at ../../kdecore/localization/klocale.cpp:171
#14 0x00007fb5a5927521 in KLocalizedStringPrivate::toString (this=0x2625d40, locale=0x24ea270, catalogName=<value optimized out>) at ../../kdecore/localization/klocalizedstring.cpp:248
#15 0x00007fb5a5927d64 in KLocalizedString::toString (this=0x7fffd29842f0) at ../../kdecore/localization/klocalizedstring.cpp:194
#16 0x00007fb5972e8cdb in i18nc<QString, QString> (this=0x2509970, simple=false) at /usr/include/klocalizedstring.h:826
#17 Nepomuk::StrigiService::userStatusString (this=0x2509970, simple=false) at ../../../../nepomuk/services/strigi/strigiservice.cpp:170
#18 0x00007fb5972e8d2b in Nepomuk::StrigiService::userStatusString (this=<value optimized out>) at ../../../../nepomuk/services/strigi/strigiservice.cpp:142
#19 0x00007fb5972f37e1 in StrigiAdaptor::userStatusString (this=<value optimized out>) at strigiadaptor.cpp:99
#20 0x00007fb5972f38db in StrigiAdaptor::qt_metacall (this=0x2561080, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fffd29845e0) at strigiadaptor.moc:143
#21 0x00007fb5a5c359fa in QDBusConnectionPrivate::deliverCall (this=0x2457fe0, object=0x2561080, msg=..., metaTypes=..., slotIdx=18) at qdbusintegrator.cpp:942
#22 0x00007fb5a5c36bb5 in QDBusConnectionPrivate::activateCall (this=0x2457fe0, object=0x2561080, flags=337, msg=...) at qdbusintegrator.cpp:852
#23 0x00007fb5a5c3733a in QDBusConnectionPrivate::activateObject (this=0x2457fe0, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1410
#24 0x00007fb5a5c37578 in QDBusActivateObjectEvent::placeMetaCall (this=0x2623440) at qdbusintegrator.cpp:1524
#25 0x00007fb5a5ffb49a in QObject::event (this=0x2509970, e=<value optimized out>) at kernel/qobject.cpp:1226
#26 0x00007fb5a43429f4 in QApplicationPrivate::notify_helper (this=0x23a7510, receiver=0x2509970, e=0x2623440) at kernel/qapplication.cpp:4462
#27 0x00007fb5a43473ba in QApplication::notify (this=<value optimized out>, receiver=0x2509970, e=0x2623440) at kernel/qapplication.cpp:4341
#28 0x00007fb5a531d796 in KApplication::notify (this=0x7fffd29853e0, receiver=0x2509970, event=0x2623440) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007fb5a5fe749c in QCoreApplication::notifyInternal (this=0x7fffd29853e0, receiver=0x2509970, event=0x2623440) at kernel/qcoreapplication.cpp:731
#30 0x00007fb5a5feac25 in sendEvent (receiver=0x0, event_type=0, data=0x23628a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x23628a0) at kernel/qcoreapplication.cpp:1372
#32 0x00007fb5a6012253 in sendPostedEvents (s=0x23a9d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x23a9d60) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007fb5a2dfbbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fb5a2dfc3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fb5a2dfc639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fb5a60123ef in QEventDispatcherGlib::processEvents (this=0x23624a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007fb5a43ec4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fb5a5fe6882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fb5a5fe6abc in QEventLoop::exec (this=0x7fffd29851f0, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007fb5a5feaecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#42 0x0000000000403e0e in main (argc=2, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:167

This bug may be a duplicate of or related to bug 278371, bug 280818.

Possible duplicates by query: bug 280818, bug 278371, bug 276849, bug 275770, bug 273477.

Reported using DrKonqi
Comment 1 Sebastian Trueg 2011-09-26 10:41:07 UTC

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