Bug 219534 - Soprano ClientModel crash in iteratorClose - DataStream::writeUnsignedInt16
Summary: Soprano ClientModel crash in iteratorClose - DataStream::writeUnsignedInt16
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: libnepomukcore (show other bugs)
Version: 4.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-21 11:27 UTC by Johann-Nikolaus Andreae
Modified: 2012-11-11 05:53 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9


Attachments
New crash information added by DrKonqi (3.41 KB, text/plain)
2009-12-21 11:30 UTC, Johann-Nikolaus Andreae
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johann-Nikolaus Andreae 2009-12-21 11:27:03 UTC
Application: dolphin (1.3.80)
KDE Platform Version: 4.3.82 (KDE 4.3.82 (KDE 4.4 >= 20091211)) "release 1"
Qt Version: 4.6.1
Operating System: Linux 2.6.31.5-0.1-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
Just bevor the crash i add the folder GPS-Trace.

I can not tray to reporduce the bug because dolphin crash after this crash at every startup.

 -- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2315d497f0 (LWP 8840))]

Thread 2 (Thread 0x7f2305ba6910 (LWP 8895)):
[KCrash Handler]
#5  d_func (this=<value optimized out>) at ../../src/corelib/io/qiodevice.h:168
#6  QIODevice::write (this=<value optimized out>) at io/qiodevice.cpp:1255
#7  0x00007f2310057631 in Soprano::DataStream::writeUnsignedInt16 (this=0x7f2305ba50a0, v=22) at /usr/src/debug/soprano-2.3.70/server/datastream.cpp:95
#8  0x00007f231005d16b in Soprano::Client::ClientConnection::iteratorClose (this=0xa11920, id=4096) at /usr/src/debug/soprano-2.3.70/client/clientconnection.cpp:651
#9  0x00007f231005fd75 in Soprano::Client::ClientModel::~ClientModel (this=0xa0f660, __in_chrg=<value optimized out>) at /usr/src/debug/soprano-2.3.70/client/clientmodel.cpp:46
#10 0x00007f2314aa624b in (anonymous namespace)::GlobalModelContainer::init (this=0xa0eed0) at /usr/src/debug/kdelibs-4.3.82svn1062329/nepomuk/core/nepomukmainmodel.cpp:94
#11 0x00007f2314aa8a07 in model (this=<value optimized out>) at /usr/src/debug/kdelibs-4.3.82svn1062329/nepomuk/core/nepomukmainmodel.cpp:113
#12 Nepomuk::MainModel::executeQuery (this=<value optimized out>) at /usr/src/debug/kdelibs-4.3.82svn1062329/nepomuk/core/nepomukmainmodel.cpp:207
#13 0x00007f23147d73a9 in Soprano::FilterModel::executeQuery (this=0xa0d110, query=..., language=QueryLanguageSparql, userQueryLanguage=...)
    at /usr/src/debug/soprano-2.3.70/soprano/filtermodel.cpp:164
#14 0x00007f2314a9c060 in Nepomuk::ResourceData::determineUri (this=0xd810f0) at /usr/src/debug/kdelibs-4.3.82svn1062329/nepomuk/core/resourcedata.cpp:634
#15 0x00007f2314a9e152 in Nepomuk::ResourceData::load (this=0xd810f0) at /usr/src/debug/kdelibs-4.3.82svn1062329/nepomuk/core/resourcedata.cpp:380
#16 0x00007f2314a9eb18 in Nepomuk::ResourceData::property (this=0xd810f0, uri=...) at /usr/src/debug/kdelibs-4.3.82svn1062329/nepomuk/core/resourcedata.cpp:247
#17 0x00007f2314ab87d2 in Nepomuk::Resource::property (this=<value optimized out>, uri=...) at /usr/src/debug/kdelibs-4.3.82svn1062329/nepomuk/core/resource.cpp:271
#18 0x00007f2314abb3f0 in Nepomuk::Resource::rating (this=0x7f2305ba5e30) at /usr/src/debug/kdelibs-4.3.82svn1062329/nepomuk/core/resource.cpp:787
#19 0x00000000004641bd in KLoadMetaDataThread::run (this=0xd940b0) at /usr/src/debug/kdebase-4.3.85/apps/dolphin/src/panels/information/kloadmetadatathread.cpp:79
#20 0x00007f2312ce8305 in QThreadPrivate::start (arg=0xd940b0) at thread/qthread_unix.cpp:244
#21 0x00007f230f05965d in start_thread () from /lib64/libpthread.so.0
#22 0x00007f2311a6f14d in clone () from /lib64/libc.so.6
#23 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2315d497f0 (LWP 8840)):
#0  0x00007f2311a66033 in poll () from /lib64/libc.so.6
#1  0x00007f230c76691a in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f230c766e57 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007f230c767115 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x00007f23109ae03a in _XSend () from /usr/lib64/libX11.so.6
#5  0x00007f231099a703 in ?? () from /usr/lib64/libX11.so.6
#6  0x00007f231099a8ae in XPutImage () from /usr/lib64/libX11.so.6
#7  0x00007f23122b5a31 in QX11PixmapData::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib64/libQtGui.so.4
#8  0x00007f23122a2486 in QPixmap::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib64/libQtGui.so.4
#9  0x00007f2312304458 in QPaintEngine::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib64/libQtGui.so.4
#10 0x00007f23123befb2 in ?? () from /usr/lib64/libQtGui.so.4
#11 0x00007f231231964f in ?? () from /usr/lib64/libQtGui.so.4
#12 0x00007f2312320bea in QPainter::drawRoundedRect(QRectF const&, double, double, Qt::SizeMode) () from /usr/lib64/libQtGui.so.4
#13 0x00007f230a9e4653 in QWidget::setUpdatesEnabled(bool) () from /usr/lib64/kde4/plugins/styles/oxygen.so
#14 0x00007f230aa1d10d in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#15 0x00007f2312dd9d37 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x8c4c30, event=0x7fffe91c1210) at kernel/qcoreapplication.cpp:819
#16 0x00007f23121c15fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f23121c7bf6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f2313a198e6 in KApplication::notify (this=0x7fffe91c2840, receiver=0x8c4c30, event=0x7fffe91c1210) at /usr/src/debug/kdelibs-4.3.82svn1062329/kdeui/kernel/kapplication.cpp:302
#19 0x00007f2312dda92c in QCoreApplication::notifyInternal (this=0x7fffe91c2840, receiver=0x8c4c30, event=0x7fffe91c1210) at kernel/qcoreapplication.cpp:704
#20 0x00007f231221fa4d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#21 0x00007f23122206d8 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib64/libQtGui.so.4
#22 0x00007f231221f7aa in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f23123d56e5 in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007f2312210f30 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4
#25 0x00007f2312217bd5 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f23125b91cb in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007f2313b30953 in KXmlGuiWindow::event (this=0x7fffe91bce70, ev=0x1) at /usr/src/debug/kdelibs-4.3.82svn1062329/kdeui/xmlgui/kxmlguiwindow.cpp:131
#28 0x00007f23121c162c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x00007f23121c7bf6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00007f2313a198e6 in KApplication::notify (this=0x7fffe91c2840, receiver=0x7b73f0, event=0xd97760) at /usr/src/debug/kdelibs-4.3.82svn1062329/kdeui/kernel/kapplication.cpp:302
#31 0x00007f2312dda92c in QCoreApplication::notifyInternal (this=0x7fffe91c2840, receiver=0x7b73f0, event=0xd97760) at kernel/qcoreapplication.cpp:704
#32 0x00007f2312ddd0a7 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#34 0x00007f2312e04313 in sendPostedEvents () at kernel/qcoreapplication.h:220
#35 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#36 0x00007f230d4a4dde in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#37 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#38 0x00007f230d4a87a8 in g_main_context_iterate (context=0x6cb1f0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#39 0x00007f230d4a88d0 in IA__g_main_context_iteration (context=0x6cb1f0, may_block=1) at gmain.c:2654
#40 0x00007f2312e03e53 in QEventDispatcherGlib::processEvents (this=0x69ef00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#41 0x00007f231226edbe in ?? () from /usr/lib64/libQtGui.so.4
#42 0x00007f2312dd9242 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#43 0x00007f2312dd961c in QEventLoop::exec (this=0x7fffe91c2790, flags=) at kernel/qeventloop.cpp:201
#44 0x00007f2312ddd36b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#45 0x0000000000439e25 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.3.85/apps/dolphin/src/main.cpp:94

Reported using DrKonqi
Comment 1 Johann-Nikolaus Andreae 2009-12-21 11:30:01 UTC
Created attachment 39206 [details]
New crash information added by DrKonqi
Comment 2 Peter Penz 2009-12-23 12:19:37 UTC
@Sebastian: This is Nepomuk related, do you have an idea?
Comment 3 Jonathan Thomas 2010-03-21 14:22:20 UTC
We got a report of nepomukservicestub crashing with the same backtrace at https://launchpad.net/bugs/541040
Comment 4 Sebastian Trueg 2010-03-22 12:06:46 UTC
This is one of the reasons why I created a Soprano branch in which I implemented my own local socket communication without Qt. The only problem is that it is Linux-only (or unix-socket-having-systems-only) and, thus, I cannot make it the official branch yet.
But I will probably announce it as a patch for Soprano 2.4.x for linux distributors to apply to their copy to make it all thread-safe.
Comment 5 Frank Reininghaus 2010-05-02 09:57:48 UTC
Maybe bug 235166 is related?
Comment 6 Simeon Bird 2012-11-11 05:53:13 UTC
Should be fixed by commit: 9bd45eea17deb4a93c774697550238251b048f07