Bug 291567

Summary: Search switch from filename to content
Product: [Unmaintained] nepomuk Reporter: Jens Mander <jemand>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: me, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jens Mander 2012-01-15 10:15:32 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
When switching from search for filesnames to searching for contents nepomuk servicestub crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Nepomuk-Dienst (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 0x7f21299fa780 (LWP 3929))]

Thread 5 (Thread 0x7f21194a1700 (LWP 8104)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f2126ffe9df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f2126ffcd71 in __GI___libc_free (mem=0x7f212731a1c0) at malloc.c:3736
#3  0x00007f2119d4cb00 in free (alignment=8, x=0xeb2710) at /usr/include/qt4/QtCore/qvector.h:96
#4  free (x=0xeb2710, this=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:440
#5  QVector<Nepomuk::Query::QueryBuilderData::GroupTermPropertyCache>::realloc (this=0x7f21194a05c0, asize=<optimized out>, aalloc=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:525
#6  0x00007f2119d4d603 in QVector<Nepomuk::Query::QueryBuilderData::GroupTermPropertyCache>::append (this=0x7f21194a05c0, t=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:549
#7  0x00007f2119d4dbed in push (t=..., this=0x7f21194a05c0) at /usr/include/qt4/QtCore/qstack.h:59
#8  pushGroupTerm (group=0xeb2820, this=0x7f21194a0590) at ../../../nepomuk/query/querybuilderdata_p.h:209
#9  Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<optimized out>, resourceVarName=..., parentTerm=<optimized out>, qbd=<optimized out>) at ../../../nepomuk/query/andterm.cpp:34
#10 0x00007f2119d58521 in Nepomuk::Query::OptionalTermPrivate::toSparqlGraphPattern (this=<optimized out>, resourceVarName=<optimized out>, parentTerm=<optimized out>, qbd=<optimized out>) at ../../../nepomuk/query/optionalterm.cpp:31
#11 0x00007f2119d4dc9d in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=0xd9ac10, resourceVarName=..., parentTerm=<optimized out>, qbd=0x7f21194a0590) at ../../../nepomuk/query/andterm.cpp:36
#12 0x00007f2119d5af08 in Nepomuk::Query::Query::toSparqlQuery (this=0x7f21194a0d60, sparqlFlags=...) at ../../../nepomuk/query/query.cpp:474
#13 0x00007f2119fba645 in Nepomuk::Query::CountQueryRunnable::run (this=0xe7f890) at ../../../../nepomuk/services/queryservice/countqueryrunnable.cpp:74
#14 0x00007f21293f7795 in QThreadPoolThread::run (this=0xdcb830) at concurrent/qthreadpool.cpp:106
#15 0x00007f2129402d05 in QThreadPrivate::start (arg=0xdcb830) at thread/qthread_unix.cpp:331
#16 0x00007f2126d6aefc in start_thread (arg=0x7f21194a1700) at pthread_create.c:304
#17 0x00007f212706189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2118ca0700 (LWP 8105)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f2126ffe9df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f2126ffcd71 in __GI___libc_free (mem=0x7f212731a1c0) at malloc.c:3736
#3  0x00007f21256a80db in QAbstractSocket::disconnectFromHostImplementation (this=0xe9cb60) at socket/qabstractsocket.cpp:2413
#4  0x00007f21256a881c in QAbstractSocket::qt_metacall (this=0xe9cb60, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7f2118c9f360) at .moc/release-shared/moc_qabstractsocket.cpp:114
#5  0x00007f21294f14ae in QMetaMethod::invoke (this=0x7f2118c9f540, object=0xe9cb60, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1597
#6  0x00007f21294f3690 in QMetaObject::invokeMethod (obj=0xe9cb60, member=<optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#7  0x00007f21256a2094 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7f21256e1a70 "disconnectFromHostImplementation", obj=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:410
#8  QAbstractSocket::disconnectFromHost (this=<optimized out>) at socket/qabstractsocket.cpp:2377
#9  0x00007f21256a21c7 in QAbstractSocket::close (this=0xe9cb60) at socket/qabstractsocket.cpp:2355
#10 0x00007f21256a8037 in QAbstractSocket::waitForReadyRead (this=0xe9cb60, msecs=600000) at socket/qabstractsocket.cpp:1879
#11 0x00007f21239e62c8 in ?? () from /usr/lib/libsopranoclient.so.1
#12 0x00007f21239e7a03 in ?? () from /usr/lib/libsopranoclient.so.1
#13 0x00007f21283591a2 in Nepomuk::MainModel::executeQuery (this=0xdb94e0, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../nepomuk/core/nepomukmainmodel.cpp:212
#14 0x00007f2123c81bd7 in Soprano::FilterModel::executeQuery(QString const&, Soprano::Query::QueryLanguage, QString const&) const () from /usr/lib/libsoprano.so.4
#15 0x00007f2119fb9b03 in Nepomuk::Query::SearchRunnable::run (this=0xe84290) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:89
#16 0x00007f21293f7795 in QThreadPoolThread::run (this=0xea8ee0) at concurrent/qthreadpool.cpp:106
#17 0x00007f2129402d05 in QThreadPrivate::start (arg=0xea8ee0) at thread/qthread_unix.cpp:331
#18 0x00007f2126d6aefc in start_thread (arg=0x7f2118ca0700) at pthread_create.c:304
#19 0x00007f212706189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f211849f700 (LWP 8110)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f2126ffe9df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f2126ffcd71 in __GI___libc_free (mem=0x7f212731a1c0) at malloc.c:3736
#3  0x00007f21262844e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2129514c37 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0xd25d60, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00007f2129514e49 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0xd25d60, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007f2129401e34 in QThreadPrivate::finish (arg=0xe83bc0) at thread/qthread_unix.cpp:367
#7  0x00007f2129402d0d in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#8  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:824
#9  QThreadPrivate::start (arg=0xe83bc0) at thread/qthread_unix.cpp:290
#10 0x00007f2126d6aefc in start_thread (arg=0x7f211849f700) at pthread_create.c:304
#11 0x00007f212706189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2117c9e700 (LWP 8111)):
[KCrash Handler]
#6  0x00007f2126fb63a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f2126fb9b0b in __GI_abort () at abort.c:92
#8  0x00007f2126fee113 in __libc_message (do_abort=2, fmt=0x7f21270df0d8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f2126ff8a96 in malloc_printerr (action=3, str=0x7f21270df458 "malloc(): memory corruption (fast)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f2126ffaccc in _int_malloc (av=0x7f212731a1c0, bytes=52) at malloc.c:4308
#11 0x00007f2126ffc77d in __GI___libc_malloc (bytes=52) at malloc.c:3660
#12 0x00007f2129449819 in QString::realloc (this=0x7f2117c9cf20, alloc=10) at tools/qstring.cpp:1297
#13 0x00007f21294a6041 in reserve (asize=<optimized out>, this=0x7f2117c9cf20) at ../../include/QtCore/../../src/corelib/tools/qstring.h:884
#14 qt_ACE_do (domain=..., op=ToAceOnly) at io/qurl.cpp:3253
#15 0x00007f21294a7882 in QUrl::toAce (domain=<optimized out>) at io/qurl.cpp:5884
#16 0x00007f21294a7dee in QUrlPrivate::toEncoded (this=0xe94b80, options=...) at io/qurl.cpp:3948
#17 0x00007f21294a7fad in QUrl::toEncoded (this=<optimized out>, options=<optimized out>) at io/qurl.cpp:5692
#18 0x00007f2123c62c20 in Soprano::Node::resourceToN3(QUrl const&) () from /usr/lib/libsoprano.so.4
#19 0x00007f2119d5622c in Nepomuk::Query::LiteralTermPrivate::toSparqlGraphPattern (this=<optimized out>, resourceVarName=..., parentTerm=<optimized out>, qbd=<optimized out>) at ../../../nepomuk/query/literalterm.cpp:79
#20 0x00007f2119d4dc9d in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=0xe2b270, resourceVarName=..., parentTerm=<optimized out>, qbd=0x7f2117c9d4a0) at ../../../nepomuk/query/andterm.cpp:36
#21 0x00007f2119d5af08 in Nepomuk::Query::Query::toSparqlQuery (this=0xeaed78, sparqlFlags=...) at ../../../nepomuk/query/query.cpp:474
#22 0x00007f2119fb669b in Nepomuk::Query::Folder::sparqlQuery (this=<optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:129
#23 0x00007f2119fb9a9b in Nepomuk::Query::SearchRunnable::run (this=0xdc50b0) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:81
#24 0x00007f21293f7795 in QThreadPoolThread::run (this=0xe831b0) at concurrent/qthreadpool.cpp:106
#25 0x00007f2129402d05 in QThreadPrivate::start (arg=0xe831b0) at thread/qthread_unix.cpp:331
#26 0x00007f2126d6aefc in start_thread (arg=0x7f2117c9e700) at pthread_create.c:304
#27 0x00007f212706189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f21299fa780 (LWP 3929)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f2126ffea15 in _L_lock_10656 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f2126ffcecd in __GI___libc_realloc (oldmem=0x7f212731a1c0, bytes=352) at malloc.c:3813
#3  0x00007f212594aec0 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#4  0x00007f212594af6e in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#5  0x00007f212594b0ca in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#6  0x00007f2125936254 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#7  0x00007f212593e130 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#8  0x00007f2125945dd7 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#9  0x00007f2125945f01 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#10 0x00007f21259468f4 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#11 0x00007f212594700c in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#12 0x00007f2125945b92 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#13 0x00007f2125930acc in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#14 0x00007f2125947cfa in dbus_watch_handle () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#15 0x00007f2129124550 in q_dbus_watch_handle (flags=1, watch=<optimized out>) at qdbus_symbols_p.h:183
#16 QDBusConnectionPrivate::socketRead (this=0xcbf330, fd=<optimized out>) at qdbusintegrator.cpp:1143
#17 0x00007f21291630a3 in QDBusConnectionPrivate::qt_metacall (this=0xcbf330, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc1870270) at .moc/release-shared/moc_qdbusconnection_p.cpp:99
#18 0x00007f21294fceba in QMetaObject::activate (sender=0xc8e870, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc1870270) at kernel/qobject.cpp:3278
#19 0x00007f212954651e in QSocketNotifier::activated (this=<optimized out>, _t1=7) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#20 0x00007f2129504b6b in QSocketNotifier::event (this=0xc8e870, e=0x7fffc1870750) at kernel/qsocketnotifier.cpp:317
#21 0x00007f2127822474 in notify_helper (e=0x7fffc1870750, receiver=0xc8e870, this=0xc28ea0) at kernel/qapplication.cpp:4486
#22 QApplicationPrivate::notify_helper (this=0xc28ea0, receiver=0xc8e870, e=0x7fffc1870750) at kernel/qapplication.cpp:4458
#23 0x00007f21278272e1 in QApplication::notify (this=0x7fffc1870b20, receiver=0xc8e870, e=0x7fffc1870750) at kernel/qapplication.cpp:4365
#24 0x00007f2128803466 in KApplication::notify (this=0x7fffc1870b20, receiver=0xc8e870, event=0x7fffc1870750) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f21294e9afc in QCoreApplication::notifyInternal (this=0x7fffc1870b20, receiver=0xc8e870, event=0x7fffc1870750) at kernel/qcoreapplication.cpp:787
#26 0x00007f21295145b7 in sendEvent (event=0x7fffc1870750, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 socketNotifierSourceDispatch (source=0xc22f70) at kernel/qeventdispatcher_glib.cpp:110
#28 0x00007f2126288a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f2126289258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f2126289429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f2129514ed6 in QEventDispatcherGlib::processEvents (this=0xc05ce0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#32 0x00007f21278ca10e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f21294e8cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f21294e8ef7 in QEventLoop::exec (this=0x7fffc1870990, flags=...) at kernel/qeventloop.cpp:201
#35 0x00007f21294ed789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#36 0x00000000004039b0 in main (argc=2, argv=0x7fffc1870fc8) at ../../../nepomuk/servicestub/main.cpp:170

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

Possible duplicates by query: bug 291451, bug 291396, bug 290847, bug 290830, bug 290682.

Reported using DrKonqi
Comment 1 Sebastian Trueg 2012-01-30 15:41:46 UTC

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