Bug 312423 - Crash in RegExpCache::exactMatch
Summary: Crash in RegExpCache::exactMatch
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Nepomuk Bugs Coordination
URL:
Keywords:
: 312842 314659 316140 317349 318085 318113 318149 318158 318159 318166 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-31 08:54 UTC by volRot
Modified: 2013-04-11 00:50 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.1


Attachments
New crash information added by DrKonqi (8.41 KB, text/plain)
2013-02-07 12:08 UTC, John Koch
Details
New crash information added by DrKonqi (8.33 KB, text/plain)
2013-02-10 17:06 UTC, Olivier van der Toorn
Details
New crash information added by DrKonqi (6.62 KB, text/plain)
2013-02-10 18:38 UTC, Olivier van der Toorn
Details
New crash information added by DrKonqi (9.05 KB, text/plain)
2013-02-10 19:56 UTC, Markus Bienst
Details
New crash information added by DrKonqi (9.38 KB, text/plain)
2013-02-12 02:34 UTC, John Koch
Details
New crash information added by DrKonqi (8.06 KB, text/plain)
2013-02-13 20:32 UTC, Darrell Dwelley
Details
New crash information added by DrKonqi (8.60 KB, text/plain)
2013-02-23 10:53 UTC, John Koch
Details
New crash information added by DrKonqi (8.67 KB, text/plain)
2013-03-14 18:55 UTC, loedur
Details
New crash information added by DrKonqi (6.61 KB, text/plain)
2013-03-19 23:07 UTC, Jaywalker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description volRot 2012-12-31 08:54:45 UTC
is not a Program running only Desktop, no more info

Reproducible: Always

Steps to Reproduce:
1.start kde-desktop
2.
3.



Application: nepomukservicestub (0.1.0)
KDE Platform Version: 4.9.95
Qt Version: 4.8.3
Operating System: Linux 3.7.0-7-generic x86_64
Distribution: Ubuntu Raring Ringtail (development branch)

-- Information about the crash:
<Erklären Sie bitte ganz genau, was Sie machten, als das Programm abstürzte.>

-- Backtrace:
Application: Nepomuk-Dienst (nepomukservicestub), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1b2d2e27c0 (LWP 2424))]

Thread 3 (Thread 0x7f1b23e8b700 (LWP 2425)):
#0  0x00007fff959ff847 in clock_gettime ()
#1  0x00007f1b3216b32d in clock_gettime () from /lib/x86_64-linux-gnu/librt.so.1
#2  0x00007f1b34e6a9c4 in do_gettime (frac=0x7f1b23e8ab18, sec=0x7f1b23e8ab10) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f1b34f4041d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f1b1c002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f1b34f40763 in QTimerInfoList::timerWait (this=0x7f1b1c002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f1b34f3f2cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f1b23e8ac04) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f1b34f3f375 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f1b31eb75f8 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f1b31eb7c8b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f1b31eb7e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f1b34f3fc16 in QEventDispatcherGlib::processEvents (this=0x7f1b1c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f1b34f102bf in QEventLoop::processEvents (this=this@entry=0x7f1b23e8adc0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f1b34f10548 in QEventLoop::exec (this=0x7f1b23e8adc0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f1b34e11b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f1b34e14aec in QThreadPrivate::start (arg=0x152f290) at thread/qthread_unix.cpp:338
#16 0x00007f1b32792f9f in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#17 0x00007f1b32a9f0cd in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f1b2368a700 (LWP 2427)):
#0  0x00007fff959ff847 in clock_gettime ()
#1  0x00007f1b3216b32d in clock_gettime () from /lib/x86_64-linux-gnu/librt.so.1
#2  0x00007f1b34e6a9c4 in do_gettime (frac=0x7f1b23689ae8, sec=0x7f1b23689ae0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f1b34f4041d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f1b14002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f1b34f40763 in QTimerInfoList::timerWait (this=0x7f1b14002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f1b34f3f2cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f1b23689bd4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f1b34f3f375 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f1b31eb75f8 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f1b31eb7c8b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f1b31eb7e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f1b34f3fc16 in QEventDispatcherGlib::processEvents (this=0x7f1b140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f1b34f102bf in QEventLoop::processEvents (this=this@entry=0x7f1b23689d90, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f1b34f10548 in QEventLoop::exec (this=0x7f1b23689d90, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f1b34e11b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f1b34ef09af in QInotifyFileSystemWatcherEngine::run (this=0x1547b30) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f1b34e14aec in QThreadPrivate::start (arg=0x1547b30) at thread/qthread_unix.cpp:338
#17 0x00007f1b32792f9f in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#18 0x00007f1b32a9f0cd in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f1b2d2e27c0 (LWP 2424)):
[KCrash Handler]
#5  ref (this=0x21) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#6  QString::operator= (this=0x14cde20, other=...) at tools/qstring.cpp:1410
#7  0x00007f1b34e50ded in prepareEngineForMatch (priv=0x14cde00, str=...) at tools/qregexp.cpp:3733
#8  0x00007f1b34e51024 in QRegExp::exactMatch (this=0x14ea438, str=...) at tools/qregexp.cpp:4082
#9  0x00007f1b23e9072f in RegExpCache::exactMatch (this=<optimized out>, s=...) at ../../common/regexpcache.cpp:40
#10 0x00007f1b240a4b93 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed (this=this@entry=0x1469b90, fileName=...) at ../../../services/fileindexer/fileindexerconfig.cpp:218
#11 0x00007f1b240a5463 in Nepomuk2::FileIndexerConfig::shouldFolderBeWatched (this=0x1469b90, path=...) at ../../../services/fileindexer/fileindexerconfig.cpp:176
#12 0x00007f1b2409f8d0 in (anonymous namespace)::IgnoringKInotify::filterWatch (this=<optimized out>, path=..., modes=..., flags=...) at ../../../services/filewatch/nepomukfilewatch.cpp:97
#13 0x00007f1b240acfc7 in addWatch (path=..., this=0x1532230) at ../../../services/filewatch/kinotify.cpp:116
#14 KInotify::addWatch (this=0x1532170, path=..., mode=..., flags=...) at ../../../services/filewatch/kinotify.cpp:250
#15 0x00007f1b2409ffbf in watchFolder (path=..., this=0x1464e80) at ../../../services/filewatch/nepomukfilewatch.cpp:205
#16 Nepomuk2::FileWatch::watchFolder (this=0x1464e80, path=...) at ../../../services/filewatch/nepomukfilewatch.cpp:198
#17 0x00007f1b240a0c90 in Nepomuk2::FileWatch::slotDeviceMounted (this=this@entry=0x1464e80, entry=entry@entry=0x15b15b8) at ../../../services/filewatch/nepomukfilewatch.cpp:405
#18 0x00007f1b240a1b02 in Nepomuk2::FileWatch::addWatchesForMountedRemovableMedia (this=this@entry=0x1464e80) at ../../../services/filewatch/nepomukfilewatch.cpp:362
#19 0x00007f1b240a1d90 in Nepomuk2::FileWatch::FileWatch (this=0x1464e80, parent=<optimized out>) at ../../../services/filewatch/nepomukfilewatch.cpp:182
#20 0x00007f1b240a27c7 in KPluginFactory::createInstance<Nepomuk2::FileWatch, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KDE/../kpluginfactory.h:477
#21 0x00007f1b34861895 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5
#22 0x0000000000404ca3 in create<Nepomuk2::Service> (args=..., keyword=..., parent=0x1443720, parentWidget=0x0, this=0x13eb150) at /usr/include/kpluginfactory.h:531
#23 createInstance<Nepomuk2::Service> (error=0x7fff959175e0, args=..., parent=0x1443720, parentWidget=0x0, this=0x1404e00) at /usr/include/KDE/../kservice.h:559
#24 createInstance<Nepomuk2::Service> (error=0x7fff959175e0, args=..., parent=0x1443720, this=0x1404e00) at /usr/include/KDE/../kservice.h:536
#25 Nepomuk2::ServiceControl::start (this=0x1443720) at ../../servicestub/servicecontrol.cpp:92
#26 0x00000000004052ad in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./servicecontrol.moc:62
#27 Nepomuk2::ServiceControl::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./servicecontrol.moc:55
#28 0x00007f1b34f2643e in QObject::event (this=0x1443720, e=<optimized out>) at kernel/qobject.cpp:1195
#29 0x00007f1b33238e9c in QApplicationPrivate::notify_helper (this=this@entry=0x127a1b0, receiver=receiver@entry=0x1443720, e=e@entry=0x1403a10) at kernel/qapplication.cpp:4562
#30 0x00007f1b3323d30a in QApplication::notify (this=0x7fff95918230, receiver=0x1443720, e=0x1403a10) at kernel/qapplication.cpp:4423
#31 0x00007f1b34240836 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0x00007f1b34f1156e in QCoreApplication::notifyInternal (this=0x7fff95918230, receiver=receiver@entry=0x1443720, event=event@entry=0x1403a10) at kernel/qcoreapplication.cpp:915
#33 0x00007f1b34f153f1 in sendEvent (event=0x1403a10, receiver=0x1443720) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x12542c0) at kernel/qcoreapplication.cpp:1539
#35 0x00007f1b34f3fa63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=0x127cfd0) at kernel/qeventdispatcher_glib.cpp:279
#37 0x00007f1b31eb7a95 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f1b31eb7dc8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f1b31eb7e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f1b34f3fbf6 in QEventDispatcherGlib::processEvents (this=0x1255780, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#41 0x00007f1b332ddc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f1b34f102bf in QEventLoop::processEvents (this=this@entry=0x7fff95918010, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f1b34f10548 in QEventLoop::exec (this=0x7fff95918010, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f1b34f15708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#45 0x0000000000403e00 in main (argc=<optimized out>, argv=0x7fff95918478) at ../../servicestub/main.cpp:177

Possible duplicates by query: bug 292600.
Comment 1 Vishesh Handa 2013-01-08 05:55:52 UTC
*** Bug 312842 has been marked as a duplicate of this bug. ***
Comment 2 John Koch 2013-02-07 12:08:57 UTC
Created attachment 76971 [details]
New crash information added by DrKonqi

nepomukservicestub (0.1.0) on KDE Platform 4.10.00 using Qt 4.8.2

- What I was doing when the application crashed: nepomuk service stub crashes on startup. if I close the crash report window it reappears with a new PID value. However the virtuoso-t process is running and using a significant amount of CPU (never less than 20%). This all started after the upgrade to KDE 4.10.

-- Backtrace (Reduced):
#7  QString::operator= (this=0xdf4ba0, other=...) at tools/qstring.cpp:1410
#8  0x00007f74142d274d in prepareEngineForMatch (priv=0xdf4b80, str=...) at tools/qregexp.cpp:3733
#9  0x00007f74142d2984 in QRegExp::exactMatch (this=0xecc5e8, str=...) at tools/qregexp.cpp:4080
#10 0x00007f740371461f in RegExpCache::exactMatch (this=<optimized out>, s=...) at ../../common/regexpcache.cpp:40
#11 0x00007f740392a2d3 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed (this=0xdf41e0, fileName=...) at ../../../services/fileindexer/fileindexerconfig.cpp:219
Comment 3 Jekyll Wu 2013-02-08 19:25:45 UTC
*** Bug 314659 has been marked as a duplicate of this bug. ***
Comment 4 volRot 2013-02-09 08:06:32 UTC
No crash at KE SC 4.1.0 found

greeting
Comment 5 Olivier van der Toorn 2013-02-10 17:06:54 UTC
Created attachment 77096 [details]
New crash information added by DrKonqi

nepomukservicestub (0.1.0) on KDE Platform 4.10.00 using Qt 4.8.4

- What I was doing when the application crashed:
Booted a fresh install of Kubuntu 13.04, Installed from the 20130210 image.
After logging in the Crash Reporting Assistant popped up stating Nepomuk had crashed.

-- Backtrace (Reduced):
#6  QString::operator= (this=0x234b900, other=...) at tools/qstring.cpp:1410
#7  0x00007fc4b0666e9d in prepareEngineForMatch (priv=0x234b8e0, str=...) at tools/qregexp.cpp:3733
#8  0x00007fc4b06670d4 in QRegExp::exactMatch (this=0x23681b8, str=...) at tools/qregexp.cpp:4082
#9  0x00007fc49f89272f in RegExpCache::exactMatch (this=<optimized out>, s=...) at ../../common/regexpcache.cpp:40
#10 0x00007fc49faa7c13 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed (this=this@entry=0x2344200, fileName=...) at ../../../services/fileindexer/fileindexerconfig.cpp:219
Comment 6 Olivier van der Toorn 2013-02-10 18:38:21 UTC
Created attachment 77097 [details]
New crash information added by DrKonqi

nepomukservicestub (0.1.0) on KDE Platform 4.10.00 using Qt 4.8.4

- What I was doing when the application crashed:
Fresh installation of Kubuntu 13.04.
After logging in DrKonqi pops-up stating Nepomuk had crashed, happens everytime unless Nepomuk is disabled.

-- Backtrace (Reduced):
#6  QString::operator= (this=0xd9efd0, other=...) at tools/qstring.cpp:1410
#7  0x00007fd546a52e9d in prepareEngineForMatch (priv=0xd9efb0, str=...) at tools/qregexp.cpp:3733
#8  0x00007fd546a530d4 in QRegExp::exactMatch (this=0xdba8c8, str=...) at tools/qregexp.cpp:4082
#9  0x00007fd535c7e72f in RegExpCache::exactMatch (this=<optimized out>, s=...) at ../../common/regexpcache.cpp:40
#10 0x00007fd535e93c13 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed (this=this@entry=0xd96c00, fileName=...) at ../../../services/fileindexer/fileindexerconfig.cpp:219
Comment 7 Markus Bienst 2013-02-10 19:56:39 UTC
Created attachment 77105 [details]
New crash information added by DrKonqi

nepomukservicestub (0.1.0) on KDE Platform 4.10.00 using Qt 4.8.2

- What I was doing when the application crashed:
after login to kde 4.10 nepomuk crashes reproducable. the segfault disappears if nepomuk is turned off. nepomuk crashes again if reenabled.

-- Backtrace (Reduced):
#7  QString::operator= (this=0x2092aa0, other=...) at tools/qstring.cpp:1410
#8  0x00007f23c946b74d in prepareEngineForMatch (priv=0x2092a80, str=...) at tools/qregexp.cpp:3733
#9  0x00007f23c946b984 in QRegExp::exactMatch (this=0x20f8038, str=...) at tools/qregexp.cpp:4080
#10 0x00007f23b845c61f in RegExpCache::exactMatch (this=<optimized out>, s=...) at ../../common/regexpcache.cpp:40
#11 0x00007f23b86722d3 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed (this=0x20932a0, fileName=...) at ../../../services/fileindexer/fileindexerconfig.cpp:219
Comment 8 John Koch 2013-02-12 02:34:04 UTC
Created attachment 77179 [details]
New crash information added by DrKonqi

nepomukservicestub (0.1.0) on KDE Platform 4.10.00 using Qt 4.8.2

- What I was doing when the application crashed: just installed nepomuk upgrade.

# apt-fast mirror list: Mon Feb 11 21:22:05 EST 2013
http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/pool/main/n/nepomuk-core/nepomuk-core-data_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_all.deb
 checksum=md5=e167a4cdd0cfe2c69b1cbb859c67a726
 out=nepomuk-core-data_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_all.deb
http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/pool/main/n/nepomuk-core/nepomuk-core-dbg_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb
 checksum=md5=c3112ba5621de6aace1b129278b24d0f
 out=nepomuk-core-dbg_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb
http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/pool/main/n/nepomuk-core/nepomuk-core_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb
 checksum=md5=19510456ad07aab4a042a34c3eb79311
 out=nepomuk-core_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb
http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/pool/main/n/nepomuk-core/libnepomukcore4abi1_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb
 checksum=md5=cba50e0e150a9e0204f02bde36717b05
 out=libnepomukcore4abi1_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb

restarted service and it crashed. if I restart the process it always crashes.

-- Backtrace (Reduced):
#7  QString::operator= (this=0x2294a20, other=...) at tools/qstring.cpp:1410
#8  0x00007f9c8c5ce74d in prepareEngineForMatch (priv=0x2294a00, str=...) at tools/qregexp.cpp:3733
#9  0x00007f9c8c5ce984 in QRegExp::exactMatch (this=0x2308af8, str=...) at tools/qregexp.cpp:4080
#10 0x00007f9c7ba0961f in RegExpCache::exactMatch (this=<optimized out>, s=...) at ../../common/regexpcache.cpp:40
#11 0x00007f9c7bc1f2d3 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed (this=0x228d0f0, fileName=...) at ../../../services/fileindexer/fileindexerconfig.cpp:219
Comment 9 John Koch 2013-02-12 02:38:49 UTC
For some reason the crash report would not send so I attach it here

Application: nepomukservicestub (0.1.0)

KDE Platform Version: 4.10.00

Qt Version: 4.8.2

Operating System: Linux 3.2.0-37-generic x86_64

Distribution: Ubuntu 12.04.2 LTS


-- Information about the crash:

- What I was doing when the application crashed: just installed nepomuk 
upgrade.


# apt-fast mirror list: Mon Feb 11 21:22:05 EST 2013

http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/pool/main/n/nepomuk-core/nepomuk-core-data_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_all.deb

checksum=md5=e167a4cdd0cfe2c69b1cbb859c67a726

out=nepomuk-core-data_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_all.deb

http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/pool/main/n/nepomuk-core/nepomuk-core-dbg_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb

checksum=md5=c3112ba5621de6aace1b129278b24d0f

out=nepomuk-core-dbg_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb

http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/pool/main/n/nepomuk-core/nepomuk-core_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb

checksum=md5=19510456ad07aab4a042a34c3eb79311

out=nepomuk-core_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb

http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/pool/main/n/nepomuk-core/libnepomukcore4abi1_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb

checksum=md5=cba50e0e150a9e0204f02bde36717b05

out=libnepomukcore4abi1_4.10.0-0ubuntu2~ubuntu12.04.2~ppa1_amd64.deb


restarted service and it crashed. if I restart the process it always 
crashes.


The crash can be reproduced every time.


-- Backtrace:

Application: Nepomuk Service Stub (nepomukservicestub), signal: 
Segmentation fault

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

[Current thread is 1 (Thread 0x7f9c8cbc7780 (LWP 2727))]


Thread 3 (Thread 0x7f9c7ba04700 (LWP 2734)):

#0 0x00007f9c8a1a4303 in __GI___poll (fds=<optimized out>, 
nfds=<optimized out>, timeout=<optimized out>) at 
../sysdeps/unix/sysv/linux/poll.c:87

#1 0x00007f9c895cf036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

#2 0x00007f9c895cf164 in g_main_context_iteration () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0

#3 0x00007f9c8c6bf906 in QEventDispatcherGlib::processEvents 
(this=0x7f9c740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426

#4 0x00007f9c8c68ee42 in QEventLoop::processEvents (this=<optimized 
out>, flags=...) at kernel/qeventloop.cpp:149

#5 0x00007f9c8c68f097 in QEventLoop::exec (this=0x7f9c7ba03e00, 
flags=...) at kernel/qeventloop.cpp:204

#6 0x00007f9c8c58e057 in QThread::exec (this=<optimized out>) at 
thread/qthread.cpp:501

#7 0x00007f9c8c59107b in QThreadPrivate::start (arg=0x234f650) at 
thread/qthread_unix.cpp:307

#8 0x00007f9c89ea6e9a in start_thread (arg=0x7f9c7ba04700) at 
pthread_create.c:308

#9 0x00007f9c8a1afcbd in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

#10 0x0000000000000000 in ?? ()


Thread 2 (Thread 0x7f9c7b203700 (LWP 2736)):

#0 0x00007f9c8a1a28bd in read () at ../sysdeps/unix/syscall-template.S:82

#1 0x00007f9c896098cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

#2 0x00007f9c895ceba4 in g_main_context_check () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0

#3 0x00007f9c895cefd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

#4 0x00007f9c895cf164 in g_main_context_iteration () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0

#5 0x00007f9c8c6bf906 in QEventDispatcherGlib::processEvents 
(this=0x7f9c6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426

#6 0x00007f9c8c68ee42 in QEventLoop::processEvents (this=<optimized 
out>, flags=...) at kernel/qeventloop.cpp:149

#7 0x00007f9c8c68f097 in QEventLoop::exec (this=0x7f9c7b202dd0, 
flags=...) at kernel/qeventloop.cpp:204

#8 0x00007f9c8c58e057 in QThread::exec (this=<optimized out>) at 
thread/qthread.cpp:501

#9 0x00007f9c8c66eb4f in QInotifyFileSystemWatcherEngine::run 
(this=0x2361fe0) at io/qfilesystemwatcher_inotify.cpp:248

#10 0x00007f9c8c59107b in QThreadPrivate::start (arg=0x2361fe0) at 
thread/qthread_unix.cpp:307

#11 0x00007f9c89ea6e9a in start_thread (arg=0x7f9c7b203700) at 
pthread_create.c:308

#12 0x00007f9c8a1afcbd in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

#13 0x0000000000000000 in ?? ()


Thread 1 (Thread 0x7f9c8cbc7780 (LWP 2727)):

[KCrash Handler]

#6 ref (this=0x1) at 
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121

#7 QString::operator= (this=0x2294a20, other=...) at tools/qstring.cpp:1410

#8 0x00007f9c8c5ce74d in prepareEngineForMatch (priv=0x2294a00, str=...) 
at tools/qregexp.cpp:3733

#9 0x00007f9c8c5ce984 in QRegExp::exactMatch (this=0x2308af8, str=...) 
at tools/qregexp.cpp:4080

#10 0x00007f9c7ba0961f in RegExpCache::exactMatch (this=<optimized out>, 
s=...) at ../../common/regexpcache.cpp:40

#11 0x00007f9c7bc1f2d3 in 
Nepomuk2::FileIndexerConfig::shouldFileBeIndexed (this=0x228d0f0, 
fileName=...) at ../../../services/fileindexer/fileindexerconfig.cpp:219

#12 0x00007f9c7bc1fbe1 in 
Nepomuk2::FileIndexerConfig::shouldFolderBeWatched (this=0x228d0f0, 
path=...) at ../../../services/fileindexer/fileindexerconfig.cpp:177

#13 0x00007f9c7bc191c4 in (anonymous 
namespace)::IgnoringKInotify::filterWatch (this=<optimized out>, 
path=..., modes=..., flags=...) at 
../../../services/filewatch/nepomukfilewatch.cpp:88

#14 0x00007f9c7bc28abb in addWatch (path=..., this=0x2352750) at 
../../../services/filewatch/kinotify.cpp:119

#15 KInotify::addWatch (this=0x2352690, path=..., mode=..., flags=...) 
at ../../../services/filewatch/kinotify.cpp:259

#16 0x00007f9c7bc199b2 in Nepomuk2::FileWatch::watchFolder 
(this=0x228b060, path=...) at 
../../../services/filewatch/nepomukfilewatch.cpp:196

#17 0x00007f9c7bc1ad33 in Nepomuk2::FileWatch::slotDeviceMounted 
(this=0x228b060, entry=0x23ac1d8) at 
../../../services/filewatch/nepomukfilewatch.cpp:430

#18 0x00007f9c7bc1bf92 in 
Nepomuk2::FileWatch::addWatchesForMountedRemovableMedia (this=0x228b060) 
at ../../../services/filewatch/nepomukfilewatch.cpp:345

#19 0x00007f9c7bc1c23f in Nepomuk2::FileWatch::FileWatch 
(this=0x228b060, parent=<optimized out>) at 
../../../services/filewatch/nepomukfilewatch.cpp:173

#20 0x00007f9c7bc1c9e7 in 
KPluginFactory::createInstance<Nepomuk2::FileWatch, QObject> 
(parentWidget=<optimized out>, parent=<optimized out>, args=...) at 
/usr/include/KDE/../kpluginfactory.h:477

#21 0x00007f9c8bfdf251 in KPluginFactory::create (this=0x22e89b0, 
iface=0x7f9c8b519700 "Nepomuk2::Service", parentWidget=0x0, 
parent=0x2263420, args=..., keyword=...) at 
../../kdecore/util/kpluginfactory.cpp:203

#22 0x0000000000404d6e in create<Nepomuk2::Service> (parent=0x2263420, 
this=0x22e89b0, args=..., keyword=..., parentWidget=0x0) at 
/usr/include/kpluginfactory.h:531

#23 createInstance<Nepomuk2::Service> (error=0x7fff4f368570, args=..., 
parent=0x2263420, parentWidget=0x0, this=0x2260960) at 
/usr/include/KDE/../kservice.h:559

#24 createInstance<Nepomuk2::Service> (error=0x7fff4f368570, args=..., 
parent=0x2263420, this=0x2260960) at /usr/include/KDE/../kservice.h:536

#25 Nepomuk2::ServiceControl::start (this=0x2263420) at 
../../servicestub/servicecontrol.cpp:92

#26 0x00000000004053a5 in qt_static_metacall (_a=<optimized out>, 
_id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at 
./servicecontrol.moc:62

#27 Nepomuk2::ServiceControl::qt_static_metacall (_o=<optimized out>, 
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at 
./servicecontrol.moc:55

#28 0x00007f9c8c6a9926 in QObject::event (this=0x2263420, e=<optimized 
out>) at kernel/qobject.cpp:1195

#29 0x00007f9c8a9467b4 in notify_helper (e=0x223cca0, 
receiver=0x2263420, this=0x20ee2c0) at kernel/qapplication.cpp:4556

#30 QApplicationPrivate::notify_helper (this=0x20ee2c0, 
receiver=0x2263420, e=0x223cca0) at kernel/qapplication.cpp:4528

#31 0x00007f9c8a94b583 in QApplication::notify (this=0x7fff4f369190, 
receiver=0x2263420, e=0x223cca0) at kernel/qapplication.cpp:4417

#32 0x00007f9c8b98bb76 in KApplication::notify (this=0x7fff4f369190, 
receiver=0x2263420, event=0x223cca0) at 
../../kdeui/kernel/kapplication.cpp:311

#33 0x00007f9c8c69030c in QCoreApplication::notifyInternal 
(this=0x7fff4f369190, receiver=0x2263420, event=0x223cca0) at 
kernel/qcoreapplication.cpp:915

#34 0x00007f9c8c6940ea in sendEvent (event=0x223cca0, 
receiver=0x2263420) at 
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231

#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
event_type=0, data=0x20ba2f0) at kernel/qcoreapplication.cpp:1539

#36 0x00007f9c8c6bf473 in sendPostedEvents () at 
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236

#37 postEventSourceDispatch (s=<optimized out>) at 
kernel/qeventdispatcher_glib.cpp:279

#38 0x00007f9c895ced53 in g_main_context_dispatch () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0

#39 0x00007f9c895cf0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

#40 0x00007f9c895cf164 in g_main_context_iteration () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0

#41 0x00007f9c8c6bf89f in QEventDispatcherGlib::processEvents 
(this=0x20bbc20, flags=...) at kernel/qeventdispatcher_glib.cpp:424

#42 0x00007f9c8a9eecde in QGuiEventDispatcherGlib::processEvents 
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204

#43 0x00007f9c8c68ee42 in QEventLoop::processEvents (this=<optimized 
out>, flags=...) at kernel/qeventloop.cpp:149

#44 0x00007f9c8c68f097 in QEventLoop::exec (this=0x7fff4f369000, 
flags=...) at kernel/qeventloop.cpp:204

#45 0x00007f9c8c6943e7 in QCoreApplication::exec () at 
kernel/qcoreapplication.cpp:1187

#46 0x0000000000403de0 in main (argc=2, argv=0x7fff4f369658) at 
../../servicestub/main.cpp:180


Possible duplicates by query: bug 314659, bug 312842, bug 312423.


Report to https://bugs.kde.org/


On 02/10/2013 02:56 PM, Markus Bienst wrote:
> https://bugs.kde.org/show_bug.cgi?id=312423
>
> --- Comment #7 from Markus Bienst <mbienst@web.de> ---
> Created attachment 77105 [details]
>    --> https://bugs.kde.org/attachment.cgi?id=77105&action=edit
> New crash information added by DrKonqi
>
> nepomukservicestub (0.1.0) on KDE Platform 4.10.00 using Qt 4.8.2
>
> - What I was doing when the application crashed:
> after login to kde 4.10 nepomuk crashes reproducable. the segfault disappears
> if nepomuk is turned off. nepomuk crashes again if reenabled.
>
> -- Backtrace (Reduced):
> #7  QString::operator= (this=0x2092aa0, other=...) at tools/qstring.cpp:1410
> #8  0x00007f23c946b74d in prepareEngineForMatch (priv=0x2092a80, str=...) at
> tools/qregexp.cpp:3733
> #9  0x00007f23c946b984 in QRegExp::exactMatch (this=0x20f8038, str=...) at
> tools/qregexp.cpp:4080
> #10 0x00007f23b845c61f in RegExpCache::exactMatch (this=<optimized out>, s=...)
> at ../../common/regexpcache.cpp:40
> #11 0x00007f23b86722d3 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed
> (this=0x20932a0, fileName=...) at
> ../../../services/fileindexer/fileindexerconfig.cpp:219
>
Comment 10 Darrell Dwelley 2013-02-13 20:32:31 UTC
Created attachment 77268 [details]
New crash information added by DrKonqi

nepomukservicestub (0.1.0) on KDE Platform 4.10.00 using Qt 4.8.3

- What I was doing when the application crashed:

Initial log in - Desktop was just loading up and services starting.

Reproduceable by cold start or reboot

-- Backtrace (Reduced):
#7  QString::operator= (this=0x8fb5904, other=...) at tools/qstring.cpp:1410
#8  0xb748e1f6 in prepareEngineForMatch (priv=0x8fb58f0, str=...) at tools/qregexp.cpp:3733
#9  0xb748e446 in QRegExp::exactMatch (this=0x8fd0e44, str=...) at tools/qregexp.cpp:4082
#10 0xb250f6ca in RegExpCache::exactMatch (this=0x8fb2ac4, s=...) at ../../common/regexpcache.cpp:40
#11 0xb253e213 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed (this=this@entry=0x8fb2ab0, fileName=...) at ../../../services/fileindexer/fileindexerconfig.cpp:219
Comment 11 Simeon Bird 2013-02-16 20:26:44 UTC
Git commit a3b9c773f2af81d6313757c8158d912c60cc7d64 by Simeon Bird.
Committed on 16/02/2013 at 19:59.
Pushed by sbird into branch 'KDE/4.10'.

Filewatch: do not try to watch empty paths.

In slotDeviceMounted, we find the mountPath to watch using
entry->MountPath. However, if the removable device could not be viewed as
a Solid::DeviceType::StorageAccess, mountPath returns QString().

We would then try to watch an empty folder.
In shouldFolderBeWatched we would try to split the empty string,
resulting in an empty list, and take the last component of this list,
leading to an invalid pointer and a crash.

The fix is two-fold:
First, check for empty mountPath in slotDeviceMounted and do not try to
watch it.
Second, check that the split path is not empty in shouldFolderBeWatched
before taking the last component.
FIXED-IN: 4.10.1
REVIEW: 108985

M  +2    -1    services/fileindexer/fileindexerconfig.cpp
M  +9    -4    services/filewatch/nepomukfilewatch.cpp

http://commits.kde.org/nepomuk-core/a3b9c773f2af81d6313757c8158d912c60cc7d64
Comment 12 John Koch 2013-02-23 10:53:20 UTC
Created attachment 77524 [details]
New crash information added by DrKonqi

nepomukservicestub (0.1.0) on KDE Platform 4.10.00 using Qt 4.8.2

- What I was doing when the application crashed: I did decided to see if the app had been fixed. It has crash everytime it was started for at least a month or more. So I enabled indexing and within seconds the crash report opened.

-- Backtrace (Reduced):
#7  QString::operator= (this=0x279aae0, other=...) at tools/qstring.cpp:1410
#8  0x00007fb048c0676d in prepareEngineForMatch (priv=0x279aac0, str=...) at tools/qregexp.cpp:3733
#9  0x00007fb048c069a4 in QRegExp::exactMatch (this=0x2820518, str=...) at tools/qregexp.cpp:4080
#10 0x00007fb03804a61f in RegExpCache::exactMatch (this=<optimized out>, s=...) at ../../common/regexpcache.cpp:40
#11 0x00007fb0382602d3 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed (this=0x2793200, fileName=...) at ../../../services/fileindexer/fileindexerconfig.cpp:219
Comment 13 Jekyll Wu 2013-03-05 01:01:53 UTC
*** Bug 316140 has been marked as a duplicate of this bug. ***
Comment 14 loedur 2013-03-14 18:55:51 UTC
Created attachment 78077 [details]
New crash information added by DrKonqi

nepomukservicestub (0.1.0) on KDE Platform 4.10.00 "release 1" using Qt 4.8.4

- What I was doing when the application crashed:
I only start my system (opensuse 12.3) and login into graphical environment (KDE Platform Version 4.10.00 "release 1")

-- Backtrace (Reduced):
#7  QString::operator= (this=0x17b2100, other=...) at tools/qstring.cpp:1410
#8  0x00007fccd58d430d in prepareEngineForMatch (priv=0x17b20e0, str=...) at tools/qregexp.cpp:3733
#9  0x00007fccd58d4544 in QRegExp::exactMatch (this=0x17d0c18, str=...) at tools/qregexp.cpp:4082
#10 0x00007fccc66efb8f in RegExpCache::exactMatch (this=<optimized out>, s=...) at /usr/src/debug/nepomuk-core-4.10.0/common/regexpcache.cpp:40
#11 0x00007fccc692a6a3 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed (this=this@entry=0x17a0d10, fileName=...) at /usr/src/debug/nepomuk-core-4.10.0/services/fileindexer/fileindexerconfig.cpp:219
Comment 15 Jaywalker 2013-03-19 23:07:17 UTC
Created attachment 78221 [details]
New crash information added by DrKonqi

nepomukservicestub (0.1.0) on KDE Platform 4.10.00 using Qt 4.8.4

- What I was doing when the application crashed:
first run after installation of new PC. I just logged onto the desktop - nothing else - now I cannot even get rid of the crash notification. I can click all night on the Close button but it gets a bit repetitive. Is that another bug?

-- Backtrace (Reduced):
#5  0x00007fc21a4254f7 in QString::operator=(QString const&) () from /lib64/libQtCore.so.4
#6  0x00007fc21a417a4d in prepareEngineForMatch(QRegExpPrivate*, QString const&) () from /lib64/libQtCore.so.4
#7  0x00007fc21a417c84 in QRegExp::exactMatch(QString const&) const () from /lib64/libQtCore.so.4
#8  0x00007fc2083d4a5f in RegExpCache::exactMatch(QString const&) const () from /lib64/libnepomukcommon.so
#9  0x00007fc2085eedc3 in Nepomuk2::FileIndexerConfig::shouldFileBeIndexed(QString const&) const () from /usr/lib64/kde4/nepomukfilewatch.so
Comment 16 Jekyll Wu 2013-03-26 02:18:13 UTC
*** Bug 317349 has been marked as a duplicate of this bug. ***
Comment 17 Vishesh Handa 2013-04-09 12:23:36 UTC
*** Bug 318085 has been marked as a duplicate of this bug. ***
Comment 18 Jekyll Wu 2013-04-10 17:44:15 UTC
*** Bug 318149 has been marked as a duplicate of this bug. ***
Comment 19 Jekyll Wu 2013-04-10 17:44:59 UTC
*** Bug 318113 has been marked as a duplicate of this bug. ***
Comment 20 Jekyll Wu 2013-04-11 00:06:05 UTC
*** Bug 318166 has been marked as a duplicate of this bug. ***
Comment 21 Jekyll Wu 2013-04-11 00:06:47 UTC
*** Bug 318159 has been marked as a duplicate of this bug. ***
Comment 22 Jekyll Wu 2013-04-11 00:50:24 UTC
*** Bug 318158 has been marked as a duplicate of this bug. ***