Bug 266644

Summary: nepomuk stub service crshes when opening dolphin via ktorrent
Product: [Unmaintained] nepomuk Reporter: Paulo Dias <paulo.miguel.dias>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: me
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paulo Dias 2011-02-19 07:24:37 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.38-020638rc5-generic x86_64
Distribution: Ubuntu 10.10

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

nepomuk stub service crshes when opening dolphin via ktorrent

The crash can be reproduced some of the time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Aborted
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7f3bdf64b760 (LWP 4081))]

Thread 3 (Thread 0x7f3bce7d7700 (LWP 4995)):
[KCrash Handler]
#6  0x00007f3bdcbd1ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f3bdcbd56b0 in abort () at abort.c:92
#8  0x00007f3bdcc0b43b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f3bdcc154b6 in malloc_printerr (action=3, str=0x7f3bdcce5e60 "invalid fastbin entry (free)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f3bdcc1bc83 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007f3bdf09cdfc in QString::free (d=0x7f3bc800ba50) at tools/qstring.cpp:1151
#12 0x00007f3bdf103610 in QUrlPrivate::canonicalHost (this=0x7f3bce7d52c0) at io/qurl.cpp:3415
#13 0x00007f3bdf104fb4 in QUrlPrivate::normalized (this=<value optimized out>) at io/qurl.cpp:3980
#14 0x00007f3bdf1064cd in QUrl::operator== (this=0x7f3bce7d5520, url=...) at io/qurl.cpp:5922
#15 0x00007f3bddf83825 in Nepomuk::Types::PropertyPrivate::addProperty (this=0x7f3bc8008e60, property=<value optimized out>, value=...) at ../../nepomuk/types/property.cpp:62
#16 0x00007f3bddf7ae9e in Nepomuk::Types::EntityPrivate::load (this=<value optimized out>) at ../../nepomuk/types/entity.cpp:108
#17 0x00007f3bddf79a61 in Nepomuk::Types::EntityPrivate::init (this=0x7f3bc8008e60) at ../../nepomuk/types/entity.cpp:51
#18 0x00007f3bddf82627 in Nepomuk::Types::Property::maxCardinality (this=0x239c5a8) at ../../nepomuk/types/property.cpp:384
#19 0x00007f3bd5aa7a2b in uniqueVarName (this=0x239c590, qbd=0x7f3bce7d6310) at ../../../nepomuk/query/querybuilderdata_p.h:120
#20 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x239c590, qbd=0x7f3bce7d6310) at ../../../nepomuk/query/comparisonterm.cpp:357
#21 0x00007f3bd5aa826d in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x239c590, resourceVarName=..., qbd=0x7f3bce7d6310) at ../../../nepomuk/query/comparisonterm.cpp:142
#22 0x00007f3bd5aa579d in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<value optimized out>, resourceVarName=..., qbd=0x7f3bce7d6310) at ../../../nepomuk/query/andterm.cpp:34
#23 0x00007f3bd5ab2f05 in Nepomuk::Query::Query::toSparqlQuery (this=0x7f3bc80014c8, sparqlFlags=<value optimized out>) at ../../../nepomuk/query/query.cpp:479
#24 0x00007f3bce7e07fb in Nepomuk::Query::Folder::sparqlQuery (this=<value optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:122
#25 0x00007f3bce7e4006 in Nepomuk::Query::SearchRunnable::run (this=0x7f3bc800dbb0) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:80
#26 0x00007f3bdf04cd02 in QThreadPoolThread::run (this=0x239bf30) at concurrent/qthreadpool.cpp:106
#27 0x00007f3bdf05727e in QThreadPrivate::start (arg=0x239bf30) at thread/qthread_unix.cpp:266
#28 0x00007f3bdc988971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#29 0x00007f3bdcc8492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#30 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3bcdfd6700 (LWP 4996)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f3bdcc1d1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f3bdcc1bc78 in __libc_free (mem=0x7f3bc8000020) at malloc.c:3736
#3  0x00007f3bdf15be96 in QObjectPrivate::cleanConnectionLists (this=0x245ae10) at kernel/qobject.cpp:383
#4  0x00007f3bdf160861 in QMetaObjectPrivate::connect (sender=0x2455c18, signal_index=4, receiver=0x23c3c58, method_index=4, type=<value optimized out>, types=<value optimized out>) at kernel/qobject.cpp:2919
#5  0x00007f3bdf160eea in QObject::connect (sender=0x2455c18, signal=<value optimized out>, receiver=0x23c3c58, method=<value optimized out>, type=3355500208) at kernel/qobject.cpp:2590
#6  0x00007f3bdf0eb521 in setupDevice (this=0x2522bc0, device=0x2455c18) at io/qtextstream.cpp:333
#7  QTextStream::QTextStream (this=0x2522bc0, device=0x2455c18) at io/qtextstream.cpp:1028
#8  0x00007f3bde983a15 in KDebugPrivate::stream(QtMsgType, unsigned int, char const*, int, char const*) () from /usr/lib/libkdecore.so.5
#9  0x00007f3bde97f537 in kDebugStream (level=QtDebugMsg, area=300104, file=0x7f3bce7e5cce "pomuk/services/queryservice/searchrunnable.cpp", line=80, funcinfo=<value optimized out>) at ../../kdecore/io/kdebug.cpp:775
#10 0x00007f3bce7e4039 in operator() (this=0x7f3bc8008600) at /usr/include/KDE/../kdebug.h:260
#11 Nepomuk::Query::SearchRunnable::run (this=0x7f3bc8008600) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:80
#12 0x00007f3bdf04cd02 in QThreadPoolThread::run (this=0x7f3bc80085a0) at concurrent/qthreadpool.cpp:106
#13 0x00007f3bdf05727e in QThreadPrivate::start (arg=0x7f3bc80085a0) at thread/qthread_unix.cpp:266
#14 0x00007f3bdc988971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#15 0x00007f3bdcc8492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3bdf64b760 (LWP 4081)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f3bdcc1d1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f3bdcc1bc78 in __libc_free (mem=0x7f3bc8000020) at malloc.c:3736
#3  0x00007f3bddf87dbd in ~EntityManager (this=0x7f3bde1db7b8, __in_chrg=<value optimized out>) at ../../nepomuk/types/entitymanager.h:44
#4  QGlobalStaticDeleter<Nepomuk::Types::EntityManager>::~QGlobalStaticDeleter (this=0x7f3bde1db7b8, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qglobal.h:1814
#5  0x00007f3bdcbd74f2 in __run_exit_handlers (status=1) at exit.c:78
#6  exit (status=1) at exit.c:100
#7  0x00007f3bdd456678 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:745
#8  0x00007f3bde43b348 in KApplication::xioErrhandler (this=0x7fffc28b87c0, dpy=0x22dfa90) at ../../kdeui/kernel/kapplication.cpp:417
#9  0x00007f3bda91c86e in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007f3bda924415 in ?? () from /usr/lib/libX11.so.6
#11 0x00007f3bda924d07 in _XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007f3bda90d47f in XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007f3bdd491c0c in x11EventSourceCheck (s=0x22de260) at kernel/qguieventdispatcher_glib.cpp:87
#14 0x00007f3bdbeb966a in g_main_context_check () from /lib/libglib-2.0.so.0
#15 0x00007f3bdbeba023 in ?? () from /lib/libglib-2.0.so.0
#16 0x00007f3bdbeba45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x00007f3bdf177193 in QEventDispatcherGlib::processEvents (this=0x22c2f90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#18 0x00007f3bdd491a4e in QGuiEventDispatcherGlib::processEvents (this=0x7f3bc8000020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#19 0x00007f3bdf149a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007f3bdf149dec in QEventLoop::exec (this=0x7fffc28b85f0, flags=) at kernel/qeventloop.cpp:201
#21 0x00007f3bdf14debb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#22 0x0000000000403b5d in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:165

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

Possible duplicates by query: bug 266037, bug 265618, bug 265308, bug 265017, bug 264887.

Reported using DrKonqi
Comment 1 Vishesh Handa 2011-07-31 13:22:00 UTC

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