Bug 270894 - nepomukservicestub crash when opening Dolphin (XIOError) [malloc, QUrl::*, Nepomuk::Types::PropertyPrivate::addProperty, Nepomuk::Types::EntityPrivate::load ]
Summary: nepomukservicestub crash when opening Dolphin (XIOError) [malloc, QUrl::*, Ne...
Status: RESOLVED DUPLICATE of bug 273244
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:
: 268450 272165 273673 279450 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-13 22:39 UTC by Roger
Modified: 2011-08-07 13:30 UTC (History)
6 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 Roger 2011-04-13 22:39:52 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu Natty (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Immediately after booting and logging in, I went to open Dolphin and had a Nepomuk crash. I've also had this happen before, so it's reproducible for me. Strigi is enabled on this system.

The crash can be reproduced every time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
__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 0x7f061aa03780 (LWP 2005))]

Thread 2 (Thread 0x7f06098a0700 (LWP 2098)):
[KCrash Handler]
#6  _int_malloc (av=0x7f0604000020, bytes=51) at malloc.c:4304
#7  0x00007f061806a31e in __libc_malloc (bytes=51) at malloc.c:3660
#8  0x00007f061a40c036 in QByteArray::QByteArray (this=0x7f060989e450, data=0x7f0604009519 "/2000/01/rdf-schema#Literal", size=19) at tools/qbytearray.cpp:1306
#9  0x00007f061a4a7ab8 in QUrlPrivate::parse (this=0x7f0604009550, parseOptions=QUrlPrivate::ParseAndSet) at io/qurl.cpp:3841
#10 0x00007f061a4b324b in QUrl::operator== (this=0x7f060989e5f0, url=...) at io/qurl.cpp:5958
#11 0x00007f06193956f7 in Nepomuk::Types::PropertyPrivate::addProperty (this=0xfc60f0, property=<value optimized out>, value=...) at ../../nepomuk/types/property.cpp:62
#12 0x00007f061938ef51 in Nepomuk::Types::EntityPrivate::load (this=0xfc60f0) at ../../nepomuk/types/entity.cpp:108
#13 0x00007f061938d961 in Nepomuk::Types::EntityPrivate::init (this=0xfc60f0) at ../../nepomuk/types/entity.cpp:51
#14 0x00007f06193950d7 in Nepomuk::Types::Property::maxCardinality (this=<value optimized out>) at ../../nepomuk/types/property.cpp:384
#15 0x00007f0610a30700 in uniqueVarName (this=0x1009560, qbd=0x7f060989f310) at ../../../nepomuk/query/querybuilderdata_p.h:121
#16 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x1009560, qbd=0x7f060989f310) at ../../../nepomuk/query/comparisonterm.cpp:357
#17 0x00007f0610a30e8d in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x1009560, resourceVarName=..., qbd=0x7f060989f310) at ../../../nepomuk/query/comparisonterm.cpp:142
#18 0x00007f0610a2ee36 in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<value optimized out>, resourceVarName=..., qbd=0x7f060989f310) at ../../../nepomuk/query/andterm.cpp:34
#19 0x00007f0610a39318 in Nepomuk::Query::Query::toSparqlQuery (this=0xf66078, sparqlFlags=...) at ../../../nepomuk/query/query.cpp:466
#20 0x00007f060a0e53db in Nepomuk::Query::Folder::sparqlQuery (this=<value optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:122
#21 0x00007f060a0e8157 in Nepomuk::Query::SearchRunnable::run (this=0x1009040) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:81
#22 0x00007f061a3ff188 in QThreadPoolThread::run (this=0xfc7cc0) at concurrent/qthreadpool.cpp:106
#23 0x00007f061a40a175 in QThreadPrivate::start (arg=0xfc7cc0) at thread/qthread_unix.cpp:320
#24 0x00007f0617dd6d8c in start_thread (arg=0x7f06098a0700) at pthread_create.c:304
#25 0x00007f06180d404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#26 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f061aa03780 (LWP 2005)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f061806c80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f061806a8d8 in __libc_free (mem=0x7f0604000020) at malloc.c:3736
#3  0x00007f061a4a88b9 in ~QByteArray (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:383
#4  ~QUrlPrivate (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qurl.cpp:294
#5  QUrl::~QUrl (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qurl.cpp:4186
#6  0x00007f0614f12feb in ?? () from /usr/lib/libsoprano.so.4
#7  0x00007f0618027961 in __run_exit_handlers (status=1) at exit.c:78
#8  exit (status=1) at exit.c:100
#9  0x00007f06188add48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#10 0x00007f061982e638 in KApplication::xioErrhandler (this=0x7fff36efa5a0, dpy=0xef5cb0) at ../../kdeui/kernel/kapplication.cpp:419
#11 0x00007f0615b18dee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007f0615b1662d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f0615b06f1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f06188e8c4c in x11EventSourceCheck (s=0xed5750) at kernel/qguieventdispatcher_glib.cpp:85
#15 0x00007f06172fa854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f06172fb122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f06172fb639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f061a51c3ef in QEventDispatcherGlib::processEvents (this=0xe8e4a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#19 0x00007f06188e8dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007f061a4f0882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f061a4f0abc in QEventLoop::exec (this=0x7fff36efa3b0, flags=...) at kernel/qeventloop.cpp:201
#22 0x00007f061a4f4ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#23 0x0000000000403c3f in main (argc=2, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:165

Possible duplicates by query: bug 270108, bug 268901, bug 265618, bug 264887, bug 236519.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-04-19 21:32:50 UTC
Crash in malloc => memory corruption. If this is reproducible, please add a valgrind log. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_Valgrind
Comment 2 Dario Andres 2011-08-07 13:23:41 UTC
[Comment from a bug triager]
Another cases:

From bug 273673 (KDE SC 4.6.2):
- What I was doing when the application crashed:
i plugged in my mp3 player via a usb cable and wanted to open dolphin.

From bug 272165 (KDE SC 4.6.2):
- What I was doing when the application crashed:
Login to KDE, start Dolphin, nepomuk crashes.
- Unusual behavior I noticed:
I get this error for about 1 year, it is really annoying.
It was OK for small time I was trying Kubuntu 11.04 betas but after finall
version had been released, it started to do again!
The crash can be reproduced every time.

Backtrace:
[KCrash Handler]
#6  0x00007ffdeb8dfd05 in raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007ffdeb8e3ab6 in abort () at abort.c:92
#8  0x00007ffdeb918d7b in __libc_message (do_abort=2, fmt=0x7ffdeba01400 "***
glibc detected *** %s: %s: 0x%s ***\n") at
../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007ffdeb922bb6 in malloc_printerr (action=3, str=0x7ffdeba01980
"malloc(): memory corruption (fast)", ptr=<value optimized out>) at
malloc.c:6283
#10 0x00007ffdeb925e78 in _int_malloc (av=0x7ffdd8000020, bytes=<value
optimized out>) at malloc.c:4308
#11 0x00007ffdeb92831e in __libc_malloc (bytes=55) at malloc.c:3660
#12 0x00007ffdedcca036 in QByteArray::QByteArray (this=0x7ffddc9a5470,
data=0x7ffdd8006fcf
"www.semanticdesktop.org/ontologies/2007/08/15/nrl#minCardinality", size=23) at
tools/qbytearray.cpp:1306
#13 0x00007ffdedd65a25 in QUrlPrivate::parse (this=0x7ffdd8007020,
parseOptions=QUrlPrivate::ParseAndSet) at io/qurl.cpp:3836
#14 0x00007ffdedd7124b in QUrl::operator== (this=0x7ffddc9a5890, url=...) at
io/qurl.cpp:5958
#15 0x00007ffdecc538ad in Nepomuk::Types::PropertyPrivate::addProperty
(this=0x2382e40, property=..., value=...) at
../../nepomuk/types/property.cpp:71
#16 0x00007ffdecc4cf51 in Nepomuk::Types::EntityPrivate::load (this=0x2382e40)
at ../../nepomuk/types/entity.cpp:108
#17 0x00007ffdecc4b961 in Nepomuk::Types::EntityPrivate::init (this=0x2382e40)
at ../../nepomuk/types/entity.cpp:51
#18 0x00007ffdecc530d7 in Nepomuk::Types::Property::maxCardinality (this=<value
optimized out>) at ../../nepomuk/types/property.cpp:384
#19 0x00007ffde43bf700 in uniqueVarName (this=0x7ffdd8001350,
qbd=0x7ffddc9a6310) at ../../../nepomuk/query/querybuilderdata_p.h:121
#20 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName
(this=0x7ffdd8001350, qbd=0x7ffddc9a6310) at
../../../nepomuk/query/comparisonterm.cpp:357
#21 0x00007ffde43bfe8d in
Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern
(this=0x7ffdd8001350, resourceVarName=..., qbd=0x7ffddc9a6310) at
../../../nepomuk/query/comparisonterm.cpp:142
#22 0x00007ffde43bde36 in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern
(this=<value optimized out>, resourceVarName=..., qbd=0x7ffddc9a6310) at
../../../nepomuk/query/andterm.cpp:34
#23 0x00007ffde43c8318 in Nepomuk::Query::Query::toSparqlQuery (this=0x2363588,
sparqlFlags=...) at ../../../nepomuk/query/query.cpp:466
#24 0x00007ffddd9ed3db in Nepomuk::Query::Folder::sparqlQuery (this=<value
optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:122
#25 0x00007ffddd9f0157 in Nepomuk::Query::SearchRunnable::run (this=0x23d2160)
at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:81
...
Comment 3 Dario Andres 2011-08-07 13:23:48 UTC
*** Bug 279450 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2011-08-07 13:23:52 UTC
*** Bug 272165 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2011-08-07 13:23:56 UTC
*** Bug 273673 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2011-08-07 13:23:58 UTC
*** Bug 268450 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2011-08-07 13:25:30 UTC
[Comment from a bug report cleaner]
Bug 267674 has a similar trace but it ends with free instead of malloc ...
Bug 264887 which also has a similar trace was marked as duplicate of bug 273244
Comment 8 Vishesh Handa 2011-08-07 13:30:42 UTC

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