Bug 332492 - gwenview crashes when reloading an svg file
Summary: gwenview crashes when reloading an svg file
Status: RESOLVED DUPLICATE of bug 330198
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 4.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-24 07:01 UTC by chandan
Modified: 2014-04-19 17:02 UTC (History)
1 user (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 chandan 2014-03-24 07:01:42 UTC
Application: gwenview (4.12.2)
KDE Platform Version: 4.12.3
Qt Version: 4.8.5
Operating System: Linux 3.13.6-200.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
Steps to reproduce the bug
1. Open an svg file in gwenview
2. Modify the image using another application
    In my case I was using graphviz's 'dot' to regenerate the svg file.
3. Switch to gwenview and reload the image using F5.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe80a6b18c0 (LWP 4126))]

Thread 3 (Thread 0x7fe7fd025700 (LWP 4131)):
#0  0x00000036f248a2ea in g_mutex_get_impl () from /lib64/libglib-2.0.so.0
#1  0x00000036f248a599 in g_mutex_lock () from /lib64/libglib-2.0.so.0
#2  0x00000036f2448ab7 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#3  0x00000036f24494bb in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#4  0x00000036f24496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x0000003618bb2ec6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003618b82edf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x0000003618b8322d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#8  0x0000003618a79baf in QThread::exec() () from /lib64/libQtCore.so.4
#9  0x0000003618b63863 in QInotifyFileSystemWatcherEngine::run() () from /lib64/libQtCore.so.4
#10 0x0000003618a7c3af in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#11 0x0000003ee2007f33 in start_thread () from /lib64/libpthread.so.0
#12 0x0000003ee14f4ded in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe7f6a65700 (LWP 4136)):
#0  0x0000003ee200bd20 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003618a7c8d6 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x0000003ef1af5506 in Gwenview::SemanticInfoThread::run() () from /lib64/libgwenviewlib.so.4
#3  0x0000003618a7c3af in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003ee2007f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003ee14f4ded in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe80a6b18c0 (LWP 4126)):
[KCrash Handler]
#5  0x0000003ef0e39937 in QSvgTinyDocument::draw(QPainter*, QRectF const&) () from /lib64/libQtSvg.so.4
#6  0x0000003ef0e3c65e in QGraphicsSvgItem::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) () from /lib64/libQtSvg.so.4
#7  0x0000003eef1c4292 in _q_paintItem(QGraphicsItem*, QPainter*, QStyleOptionGraphicsItem const*, QWidget*, bool, bool) () from /lib64/libQtGui.so.4
#8  0x0000003eef1d7061 in QGraphicsScenePrivate::drawItemHelper(QGraphicsItem*, QPainter*, QStyleOptionGraphicsItem const*, QWidget*, bool) () from /lib64/libQtGui.so.4
#9  0x0000003eef1d931d in QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) () from /lib64/libQtGui.so.4
#10 0x0000003eef1d9a8d in QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) () from /lib64/libQtGui.so.4
#11 0x0000003eef1d8ebf in QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) () from /lib64/libQtGui.so.4
#12 0x0000003eef1d9a8d in QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) () from /lib64/libQtGui.so.4
#13 0x0000003eef1d8ebf in QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) () from /lib64/libQtGui.so.4
#14 0x0000003eef1d9a8d in QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) () from /lib64/libQtGui.so.4
#15 0x0000003eef1da176 in QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*, QWidget*) () from /lib64/libQtGui.so.4
#16 0x0000003eef1f8d89 in QGraphicsView::paintEvent(QPaintEvent*) () from /lib64/libQtGui.so.4
#17 0x0000003eeec1c6f6 in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#18 0x0000003eeefd315e in QFrame::event(QEvent*) () from /lib64/libQtGui.so.4
#19 0x0000003eef1f7a99 in QGraphicsView::viewportEvent(QEvent*) () from /lib64/libQtGui.so.4
#20 0x0000003618b84506 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#21 0x0000003eeebc9d6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#22 0x0000003eeebd0725 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#23 0x0000003eefe4ab0a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#24 0x0000003618b8439d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#25 0x0000003eeec16a59 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQtGui.so.4
#26 0x0000003eeede181a in QWidgetBackingStore::sync() () from /lib64/libQtGui.so.4
#27 0x0000003eeec0b3c0 in QWidgetPrivate::syncBackingStore() () from /lib64/libQtGui.so.4
#28 0x0000003eeec1c486 in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#29 0x0000003eeefed0e3 in QMainWindow::event(QEvent*) () from /lib64/libQtGui.so.4
#30 0x0000003eeff44fa9 in KXmlGuiWindow::event(QEvent*) () from /lib64/libkdeui.so.5
#31 0x0000003eeebc9d8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#32 0x0000003eeebd0725 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#33 0x0000003eefe4ab0a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#34 0x0000003618b8439d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#35 0x0000003618b87485 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#36 0x0000003eef1ce20f in QGraphicsScenePrivate::_q_processDirtyItems() () from /lib64/libQtGui.so.4
#37 0x0000003eef1d1ba9 in QGraphicsScene::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.180] () from /lib64/libQtGui.so.4
#38 0x0000003618b9d27e in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#39 0x0000003eef1df3bb in QGraphicsScene::event(QEvent*) () from /lib64/libQtGui.so.4
#40 0x0000003eeebc9d8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#41 0x0000003eeebd0725 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#42 0x0000003eefe4ab0a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#43 0x0000003618b8439d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#44 0x0000003618b87485 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#45 0x0000003618bb3623 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#46 0x00000036f24492a6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#47 0x00000036f2449628 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#48 0x00000036f24496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#49 0x0000003618bb2ea5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#50 0x0000003eeec6bca6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#51 0x0000003618b82edf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#52 0x0000003618b8322d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#53 0x0000003618b88749 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#54 0x00000000004275f1 in main ()

Possible duplicates by query: bug 166398.

Reported using DrKonqi
Comment 1 Christoph Feck 2014-04-19 17:02:52 UTC

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