Bug 315388

Summary: GWENVIEW
Product: [Applications] gwenview Reporter: eschi <wolfgang.eschrig>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: nate
Priority: NOR    
Version First Reported In: 2.8.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description eschi 2013-02-18 14:21:45 UTC
Application: gwenview (2.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-37-generic-pae i686
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Bei der Anzeige von Bildern im Hauptframe und beim versuch Bilder zu vergleichen stürzt GWEBVIEW ab.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb441b740 (LWP 14065))]

Thread 5 (Thread 0xb1cdeb40 (LWP 14067)):
#0  0xb77d7424 in __kernel_vsyscall ()
#1  0xb5bbd3eb in read () from /lib/i386-linux-gnu/libc.so.6
#2  0xb50ac6ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb506dbd2 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb506e042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb506e201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb72008e7 in QEventDispatcherGlib::processEvents (this=0xb1300468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb71cc50d in QEventLoop::processEvents (this=0xb1cde240, flags=...) at kernel/qeventloop.cpp:149
#8  0xb71cc7a9 in QEventLoop::exec (this=0xb1cde240, flags=...) at kernel/qeventloop.cpp:204
#9  0xb70b594c in QThread::exec (this=0x9e600d8) at thread/qthread.cpp:501
#10 0xb71a9b5d in QInotifyFileSystemWatcherEngine::run (this=0x9e600d8) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb70b8de0 in QThreadPrivate::start (arg=0x9e600d8) at thread/qthread_unix.cpp:298
#12 0xb5135d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb5bcdd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb104fb40 (LWP 14068)):
#0  0xb5137dc8 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb5bdb864 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb50ad3d0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb506db85 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb506e042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb506e201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb72008e7 in QEventDispatcherGlib::processEvents (this=0xb0700468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb71cc50d in QEventLoop::processEvents (this=0xb104f240, flags=...) at kernel/qeventloop.cpp:149
#8  0xb71cc7a9 in QEventLoop::exec (this=0xb104f240, flags=...) at kernel/qeventloop.cpp:204
#9  0xb70b594c in QThread::exec (this=0xa07ea38) at thread/qthread.cpp:501
#10 0xb71a9b5d in QInotifyFileSystemWatcherEngine::run (this=0xa07ea38) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb70b8de0 in QThreadPrivate::start (arg=0xa07ea38) at thread/qthread_unix.cpp:298
#12 0xb5135d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb5bcdd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb01c1b40 (LWP 14130)):
#0  0xb77d7424 in __kernel_vsyscall ()
#1  0xb513996b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5bdb64c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb70b9350 in wait (time=4294967295, this=0x9dbe3b0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9d98e18, mutex=0x9d98e14, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb76dbf2b in ?? () from /usr/lib/libgwenviewlib.so.4
#6  0xb70b8de0 in QThreadPrivate::start (arg=0x9d98e08) at thread/qthread_unix.cpp:298
#7  0xb5135d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5bcdd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xabe80b40 (LWP 14322)):
#0  0xb77d7424 in __kernel_vsyscall ()
#1  0xb5139d13 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5bdb6a4 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb70b92df in wait (time=30000, this=0xa406528) at thread/qwaitcondition_unix.cpp:84
#4  QWaitCondition::wait (this=0xa4fbeb8, mutex=0xa4fbeb4, time=30000) at thread/qwaitcondition_unix.cpp:158
#5  0xb70ab474 in QThreadPoolThread::run (this=0xa5175e8) at concurrent/qthreadpool.cpp:141
#6  0xb70b8de0 in QThreadPrivate::start (arg=0xa5175e8) at thread/qthread_unix.cpp:298
#7  0xb5135d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5bcdd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb441b740 (LWP 14065)):
[KCrash Handler]
#7  0xb5c13634 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0xb5603fa6 in QGLGlyphCache::allocTexture (this=0xa523370, font_tex=0xa52c690) at /usr/include/i386-linux-gnu/bits/string3.h:85
#9  0xb560a1cf in QGLGlyphCache::cacheGlyphs (this=0xa523370, context=0x9fba598, fontEngine=0x9ec1ab0, glyphs=0xbffdbfa4, numGlyphs=16) at qpaintengine_opengl.cpp:4788
#10 0xb5611821 in QOpenGLPaintEngine::drawStaticTextItem (this=0x0, textItem=0xbffdb748) at qpaintengine_opengl.cpp:4935
#11 0xb56008dc in QOpenGLPaintEngine::drawTextItem (this=0xa3e9fc0, p=..., textItem=...) at qpaintengine_opengl.cpp:5024
#12 0xb62cefb1 in QEmulationPaintEngine::drawTextItem (this=0xa59a078, p=..., textItem=...) at painting/qemulationpaintengine.cpp:205
#13 0xb62f9187 in QPainter::drawTextItem (this=0xbffe1a08, p=..., _ti=...) at painting/qpainter.cpp:6709
#14 0xb6417a37 in drawMenuText (glyph_start=<optimized out>, start=<optimized out>, eng=<optimized out>, gf=..., si=..., y=..., x=..., p=<optimized out>) at text/qtextlayout.cpp:2041
#15 QTextLine::draw (this=0xbffdf8e8, p=0xbffe1a08, pos=..., selection=0x0) at text/qtextlayout.cpp:2416
#16 0xb62fc64c in qt_format_text (fnt=..., _r=..., tf=-1073874816, option=0x0, str=..., brect=0x0, tabstops=0, ta=0x0, tabarraylen=0, painter=0xbffe1a08) at painting/qpainter.cpp:8283
#17 0xb62fd376 in QPainter::drawText (this=0xbffe1a08, r=..., flags=132, str=..., br=0x0) at painting/qpainter.cpp:6199
#18 0xb768e256 in ?? () from /usr/lib/libgwenviewlib.so.4
#19 0xb681e5c5 in _q_paintItem (item=<optimized out>, painter=0xbffe1a08, option=0x9fbb9e0, widget=0x9fbb820, useWindowOpacity=true, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4335
#20 0xb6836a8e in QGraphicsScenePrivate::drawItemHelper (this=0x9fbb890, item=0x9cf1248, painter=0xbffe1a08, option=0x9fbb9e0, widget=0x9fbb820, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4431
#21 0xb68395c3 in QGraphicsScenePrivate::draw (this=0x9fbb890, item=0x9cf1248, painter=0xbffe1a08, viewTransform=0x0, transformPtr=0xa52a810, exposedRegion=0x9faa12c, widget=0x9fbb820, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=false) at graphicsview/qgraphicsscene.cpp:4966
#22 0xb683a5bf in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x9fbb890, item=0x9cf1248, painter=0xbffe1a08, viewTransform=0x0, exposedRegion=0x9faa12c, widget=0x9fbb820, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#23 0xb68393f7 in QGraphicsScenePrivate::draw (this=0x9fbb890, item=0xa8acd88, painter=0xbffe1a08, viewTransform=0x0, transformPtr=0xa274718, exposedRegion=0x9faa12c, widget=0x9fbb820, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=false) at graphicsview/qgraphicsscene.cpp:4996
#24 0xb683a5bf in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x9fbb890, item=0xa8acd88, painter=0xbffe1a08, viewTransform=0x0, exposedRegion=0x9faa12c, widget=0x9fbb820, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#25 0xb68393f7 in QGraphicsScenePrivate::draw (this=0x9fbb890, item=0xa9a32e8, painter=0xbffe1a08, viewTransform=0x0, transformPtr=0xa51b660, exposedRegion=0x9faa12c, widget=0x9fbb820, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=false) at graphicsview/qgraphicsscene.cpp:4996
#26 0xb683a5bf in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x9fbb890, item=0xa9a32e8, painter=0xbffe1a08, viewTransform=0x0, exposedRegion=0x9faa12c, widget=0x9fbb820, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#27 0xb68393f7 in QGraphicsScenePrivate::draw (this=0x9fbb890, item=0xa8e16d8, painter=0xbffe1a08, viewTransform=0x0, transformPtr=0xa4c2ce8, exposedRegion=0x9faa12c, widget=0x9fbb820, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=false) at graphicsview/qgraphicsscene.cpp:4996
#28 0xb683a5bf in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x9fbb890, item=0xa8e16d8, painter=0xbffe1a08, viewTransform=0x0, exposedRegion=0x9faa12c, widget=0x9fbb820, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#29 0xb683ae5f in QGraphicsScenePrivate::drawItems (this=0x9fbb890, painter=0xbffe1a08, viewTransform=0x0, exposedRegion=0x9faa12c, widget=0x9fbb820) at graphicsview/qgraphicsscene.cpp:4739
#30 0xb6857360 in QGraphicsView::paintEvent (this=0xa062438, event=0xad640700) at graphicsview/qgraphicsview.cpp:3471
#31 0xb61d4152 in QWidget::event (this=0xa062438, event=0xbffe20c4) at kernel/qwidget.cpp:8508
#32 0xb65f1e55 in QFrame::event (this=0xa062438, e=0xbffe20c4) at widgets/qframe.cpp:557
#33 0xb6684ab1 in QAbstractScrollArea::viewportEvent (this=0xa062438, e=0xbffe20c4) at widgets/qabstractscrollarea.cpp:1043
#34 0xb68586ac in QGraphicsView::viewportEvent (this=0xa062438, event=0xbffe20c4) at graphicsview/qgraphicsview.cpp:2866
#35 0xb66871d6 in viewportEvent (this=<optimized out>, event=0xbffe20c4) at widgets/qabstractscrollarea_p.h:100
#36 eventFilter (e=0xbffe20c4, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#37 QAbstractScrollAreaFilter::eventFilter (this=0x9fbb3e0, o=0x9fbb820, e=0xbffe20c4) at widgets/qabstractscrollarea_p.h:115
#38 0xb71cdb16 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9cecca8, receiver=0x9fbb820, event=0xbffe20c4) at kernel/qcoreapplication.cpp:986
#39 0xb6179ea2 in notify_helper (e=0xbffe20c4, receiver=0x9fbb820, this=0x9cecca8) at kernel/qapplication.cpp:4555
#40 QApplicationPrivate::notify_helper (this=0x9cecca8, receiver=0x9fbb820, e=0xbffe20c4) at kernel/qapplication.cpp:4531
#41 0xb617f3a2 in QApplication::notify (this=0x9cecca8, receiver=0x9fbb820, e=0xbffe20c4) at kernel/qapplication.cpp:4524
#42 0xb6cfee01 in KApplication::notify (this=0xbffe3258, receiver=0x9fbb820, event=0xbffe20c4) at ../../kdeui/kernel/kapplication.cpp:311
#43 0xb71cd97e in QCoreApplication::notifyInternal (this=0xbffe3258, receiver=0x9fbb820, event=0xbffe20c4) at kernel/qcoreapplication.cpp:876
#44 0xb61cfada in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#45 QWidgetPrivate::drawWidget (this=0xa07b060, pdev=0x9fbb828, rgn=..., offset=..., flags=3, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5585
#46 0xb63c32be in QWidgetPrivate::repaint_sys (this=0xa07b060, rgn=...) at painting/qbackingstore.cpp:1656
#47 0xb61c5980 in QWidgetPrivate::syncBackingStore (this=0xa07b060) at kernel/qwidget.cpp:1888
#48 0xb61d4ae7 in QWidget::event (this=0x9fbb820, event=0xa99f8f0) at kernel/qwidget.cpp:8655
#49 0xb55e3f69 in QGLWidget::event (this=0x9fbb820, e=0xa99f8f0) at qgl.cpp:4407
#50 0xb6179ed4 in notify_helper (e=0xa99f8f0, receiver=0x9fbb820, this=0x9cecca8) at kernel/qapplication.cpp:4559
#51 QApplicationPrivate::notify_helper (this=0x9cecca8, receiver=0x9fbb820, e=0xa99f8f0) at kernel/qapplication.cpp:4531
#52 0xb617f3a2 in QApplication::notify (this=0x9cecca8, receiver=0x9fbb820, e=0xa99f8f0) at kernel/qapplication.cpp:4524
#53 0xb6cfee01 in KApplication::notify (this=0xbffe3258, receiver=0x9fbb820, event=0xa99f8f0) at ../../kdeui/kernel/kapplication.cpp:311
#54 0xb71cd97e in QCoreApplication::notifyInternal (this=0xbffe3258, receiver=0x9fbb820, event=0xa99f8f0) at kernel/qcoreapplication.cpp:876
#55 0xb71d1ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=0x9fbb820, event_type=77, data=0x9cc8a40) at kernel/qcoreapplication.cpp:1500
#57 0xb71d1e0c in QCoreApplication::sendPostedEvents (receiver=0x9fbb820, event_type=77) at kernel/qcoreapplication.cpp:1393
#58 0xb682f3ea in dispatchPendingUpdateRequests (this=0x9fa9de0) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:198
#59 dispatchPendingUpdateRequests (this=0x9fa9de0) at graphicsview/qgraphicsscene.cpp:476
#60 QGraphicsScenePrivate::_q_processDirtyItems (this=0x9fbb890) at graphicsview/qgraphicsscene.cpp:515
#61 0xb682f4db in qt_static_metacall (_a=0xa997680, _id=14, _o=0x9fbb5b8, _c=<optimized out>) at .moc/release-shared/moc_qgraphicsscene.cpp:107
#62 QGraphicsScene::qt_static_metacall (_o=0x9fbb5b8, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xa997680) at .moc/release-shared/moc_qgraphicsscene.cpp:86
#63 0xb71dfc01 in QMetaCallEvent::placeMetaCall (this=0xa9cd668, object=0x9fbb5b8) at kernel/qobject.cpp:525
#64 0xb71e8c7b in QObject::event (this=0x9fbb5b8, e=0xa9cd668) at kernel/qobject.cpp:1195
#65 0xb68361e0 in QGraphicsScene::event (this=0x9fbb5b8, event=0xa9cd668) at graphicsview/qgraphicsscene.cpp:3565
#66 0xb6179ed4 in notify_helper (e=0xa9cd668, receiver=0x9fbb5b8, this=0x9cecca8) at kernel/qapplication.cpp:4559
#67 QApplicationPrivate::notify_helper (this=0x9cecca8, receiver=0x9fbb5b8, e=0xa9cd668) at kernel/qapplication.cpp:4531
#68 0xb617f30d in QApplication::notify (this=0xa9cd668, receiver=0x9fbb5b8, e=0xa9cd668) at kernel/qapplication.cpp:4288
#69 0xb6cfee01 in KApplication::notify (this=0xbffe3258, receiver=0x9fbb5b8, event=0xa9cd668) at ../../kdeui/kernel/kapplication.cpp:311
#70 0xb71cd97e in QCoreApplication::notifyInternal (this=0xbffe3258, receiver=0x9fbb5b8, event=0xa9cd668) at kernel/qcoreapplication.cpp:876
#71 0xb71d1ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#72 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9cc8a40) at kernel/qcoreapplication.cpp:1500
#73 0xb71d1e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#74 0xb7200494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#75 postEventSourceDispatch (s=0x9cecb40) at kernel/qeventdispatcher_glib.cpp:279
#76 0xb506dd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#77 0xb506e125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#78 0xb506e201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#79 0xb7200887 in QEventDispatcherGlib::processEvents (this=0x9cc95c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#80 0xb6232aaa in QGuiEventDispatcherGlib::processEvents (this=0x9cc95c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#81 0xb71cc50d in QEventLoop::processEvents (this=0xbffe31a4, flags=...) at kernel/qeventloop.cpp:149
#82 0xb71cc7a9 in QEventLoop::exec (this=0xbffe31a4, flags=...) at kernel/qeventloop.cpp:204
#83 0xb71d1eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#84 0xb6177a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#85 0x080661ad in ?? ()
#86 0xb5af84d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#87 0x0806647d in _start ()

Reported using DrKonqi
Comment 1 Nate Graham 2017-09-10 04:01:50 UTC
Can you reproduce this with a more recent KF5 version of Gwenview?
Comment 2 eschi 2017-09-11 07:09:08 UTC
Hi,

Gwenview Version 4:16.08.3-3 works fine. no problems yet.

greets from bavaria

Wolfgang


Am 10.09.2017 um 06:01 schrieb Nate Graham:
> https://bugs.kde.org/show_bug.cgi?id=315388
>
> Nate Graham <pointedstick@zoho.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>           Resolution|---                         |WAITINGFORINFO
>                   CC|                            |pointedstick@zoho.com
>               Status|UNCONFIRMED                 |NEEDSINFO
>
> --- Comment #1 from Nate Graham <pointedstick@zoho.com> ---
> Can you reproduce this with a more recent KF5 version of Gwenview?
>
Comment 3 Nate Graham 2017-09-11 14:04:08 UTC
Thanks for confirming!