Version: (using KDE 4.2.0) OS: Linux Installed from: Ubuntu Packages There are a number of bugs being reported on Ubuntu's Launchpad with a couple of lines in nepomuk crashing with Soprano::Redland::RedlandModel::executeQuery in the backtrace. Originally filed under the KDE4.2 RC1, it is still present in KDE4.2 final release (will include backtrace from that dup bug). The parent bug on LP is currently https://bugs.launchpad.net/bugs/317271 A bug filed for the stable release (marked as dup) is at https://bugs.launchpad.net/bugs/323296 Crashes are occurring primarily at: /build/buildd/kdebase-runtime-4.2.0/nepomuk/servicestub/main.cpp:149 and some with references to (at various lines): /build/buildd/kdebase-runtime-4.1.96/nepomuk/services/storage/repository.cpp The Backtrace below is from https://bugs.launchpad.net/bugs/323296 which is the stable release of KDE4.2 rather than the RC. . Thread 2 (process 27352): #0 0x00007fcefa4a032c in writev () from /lib/libc.so.6 #1 0x00007fcef532537c in _dbus_write_two (fd=11, buffer1=<value optimized out>, start1=<value optimized out>, len1=164, buffer2=0xccaf68, start2=0, len2=20) at dbus-sysdeps-unix.c:425 vectors = {{iov_base = 0xc3ce20, iov_len = 144}, { iov_base = 0xc20760, iov_len = 20}} data2 = 0xc20760 "\017" bytes_written = 11865936 #2 0x00007fcef531d0c2 in do_writing (transport=0xb50f50) at dbus-transport-socket.c:596 bytes_written = <value optimized out> message = (DBusMessage *) 0xccaf20 body = (const DBusString *) 0xccaf68 body_len = 20 total_bytes_to_write = 164 header = (const DBusString *) 0xccaf28 header_len = 144 total = 0 #3 0x00007fcef531d337 in socket_do_iteration (transport=0xb50f50, flags=1, timeout_milliseconds=-1) at dbus-transport-socket.c:996 poll_fd = {fd = 11, events = 0, revents = 0} poll_res = <value optimized out> poll_timeout = <value optimized out> #4 0x00007fcef531b5e4 in _dbus_transport_do_iteration (transport=0xb50f50, flags=1, timeout_milliseconds=-1) at dbus-transport.c:956 No locals. #5 0x00007fcef53081ae in _dbus_connection_do_iteration_unlocked ( connection=0xb51540, flags=1, timeout_milliseconds=-1) at dbus-connection.c:1150 No locals. #6 0x00007fcef530828a in _dbus_connection_send_preallocated_unlocked_no_update (connection=0xb51540, preallocated=0xc3c170, message=0xccaf20, client_serial=0x0) at dbus-connection.c:1971 serial = 12829040 #7 0x00007fcef5308349 in _dbus_connection_send_unlocked_no_update ( connection=0xb51540, message=0xccaf20, client_serial=0x0) at dbus-connection.c:3060 preallocated = (DBusPreallocatedSend *) 0x7fff05518cf0 #8 0x00007fcef5309391 in dbus_connection_send_with_reply ( connection=0xb51540, message=0xccaf20, pending_return=0x7fff05518ee0, timeout_milliseconds=<value optimized out>) at dbus-connection.c:3225 pending = (DBusPendingCall *) 0xbd7ee0 serial = <value optimized out> status = <value optimized out> __FUNCTION__ = "dbus_connection_send_with_reply" #9 0x00007fcef53094f1 in dbus_connection_send_with_reply_and_block ( connection=0xb51540, message=0xccaf20, timeout_milliseconds=-1, error=0x7fff05519050) at dbus-connection.c:3303 reply = <value optimized out> pending = <value optimized out> __FUNCTION__ = "dbus_connection_send_with_reply_and_block" #10 0x00007fcefc1211fb in ?? () from /usr/lib/libQtDBus.so.4 #11 0x00007fcefc12243f in ?? () from /usr/lib/libQtDBus.so.4 #12 0x00007fcefc12ced6 in ?? () from /usr/lib/libQtDBus.so.4 #13 0x00007fcefc12def6 in ?? () from /usr/lib/libQtDBus.so.4 #14 0x00007fcefc12e057 in QDBusInterface::QDBusInterface () from /usr/lib/libQtDBus.so.4 #15 0x00007fcefb8ff99b in KNotificationManager (this=0xc48d00) at /build/buildd/kde4libs-4.2.0/kdeui/util/knotificationmanager.cpp:61 No locals. #16 0x00007fcefb9000a2 in KNotificationManager::self () at /build/buildd/kde4libs-4.2.0/kdeui/util/knotificationmanager.cpp:44 _k_static_s_self_destroyed = false _k_static_s_self = {_q_value = 0x0} #17 0x00007fcefb8fbd2b in KNotification::sendEvent (this=0xb93a20) at /build/buildd/kde4libs-4.2.0/kdeui/util/knotification.cpp:332 appname = {static null = {<No data fields>}, static shared_null = { ref = {_q_value = 4742}, alloc = 0, size = 0, data = 0x7fcefd2f82da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 53}, alloc = 0, size = 0, data = 0x7fcefd2f82fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = { 0}}, d = 0xabd280, static codecForCStrings = 0x0} #18 0x00007fcefb8fcfd0 in KNotification::qt_metacall (this=0xb93a20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff05519970) at /build/buildd/kde4libs-4.2.0/obj-x86_64-linux-gnu/kdeui/knotification.moc:102 No locals. #19 0x00007fcefd025154 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #20 0x00007fcefd02b3bf in ?? () from /usr/lib/libQtCore.so.4 #21 0x00007fcefd01fa63 in QObject::event () from /usr/lib/libQtCore.so.4 #22 0x00007fcefc532bfd in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #23 0x00007fcefc53a9ba in QApplication::notify () from /usr/lib/libQtGui.so.4 #24 0x00007fcefd010d81 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #25 0x00007fcefd03cac6 in ?? () from /usr/lib/libQtCore.so.4 #26 0x00007fcefd03922d in ?? () from /usr/lib/libQtCore.so.4 #27 0x00007fcef9b1130b in IA__g_main_context_dispatch (context=0xa99210) at /build/buildd/glib2.0-2.19.5/glib/gmain.c:1814 No locals. #28 0x00007fcef9b14acd in g_main_context_iterate (context=0xa99210, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.19.5/glib/gmain.c:2448 max_priority = 0 timeout = 0 some_ready = 1 nfds = 4 allocated_nfds = <value optimized out> fds = (GPollFD *) 0xb2fcb0 __PRETTY_FUNCTION__ = "g_main_context_iterate" #29 0x00007fcef9b14c8b in IA__g_main_context_iteration (context=0xa99210, may_block=1) at /build/buildd/glib2.0-2.19.5/glib/gmain.c:2511 retval = <value optimized out> #30 0x00007fcefd03918f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #31 0x00007fcefc5c4adf in ?? () from /usr/lib/libQtGui.so.4 #32 0x00007fcefd00f6a2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #33 0x00007fcefd00f82d in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #34 0x00007fcefd011cdd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #35 0x0000000000403851 in main (argc=2, argv=0x7fff0551a818) at /build/buildd/kdebase-runtime-4.2.0/nepomuk/servicestub/main.cpp:149 aboutData = {d = 0xa87620} options = {d = 0xa875b0} app = <incomplete type> args = <value optimized out> s = <incomplete type> serviceName = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 4742}, alloc = 0, size = 0, data = 0x7fcefd2f82da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 53}, alloc = 0, size = 0, data = 0x7fcefd2f82fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xaea870, static codecForCStrings = 0x0} compData = {_vptr.KComponentData = 0x7fcefc0ec050, d = 0xaea8c0} services = {{p = {static shared_null = {ref = {_q_value = 709}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xb32110}, d = 0xb32110}} service = {d = 0xb31030} dependencies = {<QList<QString>> = {{p = {static shared_null = { ref = {_q_value = 709}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x606400}, d = 0x606400}}, <No data fields>} . Thread 1 (process 27503): #0 librdf_hash_get_one (hash=0x0, key=0x7fceeae45b60) at rdf_hash.c:640 value = <value optimized out> cursor = <value optimized out> status = <value optimized out> #1 0x00007fcef3b58a10 in librdf_new_uri (world=0xc20930, uri_string=0x7fcef36e9ed8 "http://www.w3.org/1999/02/22-rdf-syntax-ns#") at rdf_uri.c:135 new_uri = <value optimized out> length = 43 key = {world = 0x7fce00000005, data = 0x7fcef36e9ed8, size = 43, next = 0xbf6800} value = {world = 0x39, data = 0x5f3d8fb80, size = 140526823841792, next = 0x7fcefd30867a} old_value = <value optimized out> #2 0x00007fcef36bf30e in raptor_namespaces_init (nstack=0xbd7cf0, uri_handler=0x7fcef3d8fb80, uri_context=0xfefefefeff22726d, error_handler=0x23736e, error_data=0xfefefefefefefeff, defaults=0) at raptor_namespace.c:133 failures = <value optimized out> #3 0x00007fcef36bf46a in raptor_new_namespaces (uri_handler=0x7fcef3d8fb80, uri_context=0xc20930, error_handler=0x7fcef391f2f0 <rasqal_query_simple_error>, error_data=0xbd7900, defaults=0) at raptor_namespace.c:191 nstack = <value optimized out> #4 0x00007fcef3921e8c in rasqal_new_query (world=0xbf4be0, name=0xbf6e40 "sparql", uri=<value optimized out>) at rasqal_query.c:103 factory = (rasqal_query_engine_factory *) 0xbf6800 query = (rasqal_query *) 0xbd7900 uri_handler = (const raptor_uri_handler *) 0x7fcef3d8fb80 uri_context = (void *) 0xc20930 #5 0x00007fcef3b6fb66 in librdf_query_rasqal_init (query=0xc2c080, name=<value optimized out>, uri=<value optimized out>, query_string=0x23736e <Address 0x23736e out of bounds>, base_uri=0xfefefefefefefeff) at rdf_query_rasqal.c:113 context = (librdf_query_rasqal_context *) 0xc27d00 #6 0x00007fcef3b6d882 in librdf_new_query_from_factory (world=0xbd3e40, factory=0xbf6d30, name=0xc480d8 "sparql", uri=0x0, query_string=0xc27f98 "select distinct ?r where { ?r ?p ?o . }", base_uri=0x0) at rdf_query.c:371 query = <value optimized out> __func__ = "librdf_new_query_from_factory" #7 0x00007fcef3d9e653 in Soprano::Redland::RedlandModel::executeQuery ( this=0xbf73f0, query=<value optimized out>, language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=<value optimized out>) at ../../../backends/redland/redlandmodel.cpp:228 q = <value optimized out> res = <value optimized out> result = <value optimized out> #8 0x00007fcefb18bc6d in Soprano::FilterModel::executeQuery (this=0xc07440, query=@0x7fceeae46020, language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=@0x7fceeae46010) at ../../soprano/filtermodel.cpp:164 it = {<Soprano::Iterator<Soprano::BindingSet>> = {<Soprano::Error::ErrorCache> = {_vptr.ErrorCache = 0x7fceeae45ea0, d = 0x1}, d = { d = 0x7fceeae46020}}, <No data fields>} #9 0x00007fcef42e553b in Soprano::Index::IndexFilterModel::rebuildIndex ( this=0xc07440) at ../../index/indexfiltermodel.cpp:240 it = {<Soprano::Iterator<Soprano::BindingSet>> = {<Soprano::Error::ErrorCache> = {_vptr.ErrorCache = 0x0, d = 0x0}, d = {d = 0x5}}, <No data fields>} #10 0x00007fcefcf28392 in ?? () from /usr/lib/libQtCore.so.4 #11 0x00007fcef98c23ba in start_thread () from /lib/libpthread.so.0 #12 0x00007fcefa4a80ad in clone () from /lib/libc.so.6 #13 0x0000000000000000 in ?? ()
This bug is receiving lots of duplicates downstream on Launchpad, can we please have a look at this bug and perhaps increase the priority? Thanks all.
Cannot reproduce this with KDE 4.2, Sorprano 2.2.1, and redland 1.0.7 on Kubuntu. (Hint to Kubuntu maintainers: please update Soprano to 2.2.1). BTW: It is highly recommended to use the sesame2 backend instead of the redland one. Redland has very bad query performance and misses many important features. Thus, Nepomuk in KDE will not work reliable with the redland backend.
Thank you, Sebastian. Kubuntu devs have upgraded to Soprano 2.2.1 and redland 1.0.8 I'll close this bug with DOWNSTREAM.
Unforunately, soprano 2.2.1 didn't fix this. Also, sesame will probably never be included by default at Kubuntu since it's non-free (can't be built from source) and we'd have no space for java on the default CD anyway.
sesame2 is nonfree? since when? sesame2 can't be built from source? While it may be a royal pita is to do so, it certainly is possible.
I really hate to bother you guys, but this bug is getting tons of duplicates downstream of Launchpad. It seems to be a pretty serious problem, would it be possible to get this bug triaged here? Thanks in advance.
There's link for blocker bug of KDE 4.3.1 stabilization in Gentoo. (using redland-1.0.8, rasqal-0.9.16, soprano-2.3.0) https://bugs.gentoo.org/show_bug.cgi?id=275326
what about this bug ? As sesame backend will be deprecated in the advantage or virtuoso, do we keep this bugreport open ?
closing as the redland and the sesame backend are deprecated