Bug 358862 - Gwenview crashes after zooming in and out
Summary: Gwenview crashes after zooming in and out
Status: RESOLVED DUPLICATE of bug 357548
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-02-01 11:12 UTC by i1421241
Modified: 2016-05-11 00:10 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 i1421241 2016-02-01 11:12:50 UTC
Application: gwenview (15.08.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-23-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
1. Open gwenview from terminal, with image filename as the only argument.
2. Zoom in and out with Ctrl+Mouse wheel.
3. crash

This is output on terminal:
cannot find .rc file "org.kde.gwenviewui.rc" for component "org.kde.gwenview"
0x1662c10 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1346d40) ): Attempt to set a screen on a child window.
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32892 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32986 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32978 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32978 bytes
KSambaShare: Could not find smb.conf!
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32994 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 33000 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32984 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32988 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32990 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32986 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32986 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32980 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32978 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32988 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32986 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32990 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32986 bytes
kf5.kio.core: KLocalSocket(0x1c00250) Jumbo packet of 32984 bytes
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = gwenview path = /usr/bin pid = 10376
KCrash: Arguments: /usr/bin/gwenview image_1446557302.999_2.jpg 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
[1]   Ukončena 253           gwenview image_1446557302.999_2.jpg

[2]+  Pozastavena             gwenview image_1446557302.999_2.jpg

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fcb0aff7700 (LWP 10377)):
#0  0x00007fcb1c96a8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fcb15c84bd2 in poll (__timeout=-1, __nfds=1, __fds=0x7fcb0aff6c80) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x132f3a0, cond=cond@entry=0x132f3e0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007fcb15c8674f in xcb_wait_for_event (c=0x132f3a0) at ../../src/xcb_in.c:623
#4  0x00007fcb0d56fa39 in QXcbEventReader::run (this=0x133b800) at qxcbconnection.cpp:1105
#5  0x00007fcb1d05d2be in QThreadPrivate::start (arg=0x133b800) at thread/qthread_unix.cpp:337
#6  0x00007fcb180916aa in start_thread (arg=0x7fcb0aff7700) at pthread_create.c:333
#7  0x00007fcb1c975eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fcb01c2f700 (LWP 10378)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fcb1d05e496 in QWaitConditionPrivate::wait_relative (time=30000, this=0x1bf8550) at thread/qwaitcondition_unix.cpp:126
#2  QWaitConditionPrivate::wait (time=30000, this=0x1bf8550) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x1bf7110, mutex=mutex@entry=0x1bf82f0, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007fcb1d05a003 in QThreadPoolThread::run (this=0x1bf7100) at thread/qthreadpool.cpp:127
#5  0x00007fcb1d05d2be in QThreadPrivate::start (arg=0x1bf7100) at thread/qthread_unix.cpp:337
#6  0x00007fcb180916aa in start_thread (arg=0x7fcb01c2f700) at pthread_create.c:333
#7  0x00007fcb1c975eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fcb0d8e6840 (LWP 10376)):
[KCrash Handler]
#6  0x00007fcb1bd22d60 in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#7  0x00007fcb1bd29bab in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#8  0x00007fcb20da639e in Gwenview::RasterImageView::updateFromScaler (this=0x21ce820, zoomedImageLeft=10536, zoomedImageTop=0, image=...) at ../../lib/documentview/rasterimageview.cpp:322
#9  0x00007fcb1d26d617 in QtPrivate::QSlotObjectBase::call (a=0x7ffc74adc210, r=0x21ce820, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#10 QMetaObject::activate (sender=sender@entry=0x15b3800, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc74adc210) at kernel/qobject.cpp:3702
#11 0x00007fcb1d26df87 in QMetaObject::activate (sender=sender@entry=0x15b3800, m=m@entry=0x7fcb2104c820 <Gwenview::ImageScaler::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc74adc210) at kernel/qobject.cpp:3582
#12 0x00007fcb20e0a7b1 in Gwenview::ImageScaler::scaledRect (this=this@entry=0x15b3800, _t1=_t1@entry=10536, _t2=_t2@entry=0, _t3=...) at moc_imagescaler.cpp:134
#13 0x00007fcb20dc788f in Gwenview::ImageScaler::scaleRect (this=this@entry=0x15b3800, rect=...) at ../../lib/imagescaler.cpp:209
#14 0x00007fcb20dc7ca7 in Gwenview::ImageScaler::doScale (this=0x15b3800) at ../../lib/imagescaler.cpp:122
#15 0x00007fcb20dc7d65 in Gwenview::ImageScaler::setDestinationRegion (this=<optimized out>, region=...) at ../../lib/imagescaler.cpp:102
#16 0x00007fcb20da4e74 in Gwenview::RasterImageViewPrivate::setScalerRegionToVisibleRect (this=0x23dbf50) at ../../lib/documentview/rasterimageview.cpp:151
#17 Gwenview::RasterImageView::updateBuffer (this=<optimized out>, region=...) at ../../lib/documentview/rasterimageview.cpp:443
#18 0x00007fcb20da4fe3 in Gwenview::RasterImageView::onZoomChanged (this=0x21ce820) at ../../lib/documentview/rasterimageview.cpp:434
#19 0x00007fcb20d97061 in Gwenview::AbstractImageView::setZoom (this=0x21ce820, zoom=<optimized out>, _center=..., updateType=<optimized out>) at ../../lib/documentview/abstractimageview.cpp:220
#20 0x00007fcb20d9f504 in Gwenview::DocumentViewPrivate::setZoom (center=..., zoom=<optimized out>, this=0x1bf02b0) at ../../lib/documentview/documentview.cpp:244
#21 Gwenview::DocumentView::zoomOut (this=this@entry=0x1bebbc0, center=...) at ../../lib/documentview/documentview.cpp:521
#22 0x00007fcb20d9f691 in Gwenview::DocumentView::wheelEvent (this=0x1bebbc0, event=0x7ffc74adc9a0) at ../../lib/documentview/documentview.cpp:550
#23 0x00007fcb1e2b414e in QGraphicsItem::sceneEvent (this=0x1bebbd0, event=0x7ffc74adc9a0) at graphicsview/qgraphicsitem.cpp:6761
#24 0x00007fcb1e2e10e3 in QGraphicsScene::wheelEvent (this=0x1618900, wheelEvent=0x7ffc74adc9a0) at graphicsview/qgraphicsscene.cpp:4143
#25 0x00007fcb1e2ef5d0 in QGraphicsScene::event (this=0x1618900, event=0x7ffc74adc9a0) at graphicsview/qgraphicsscene.cpp:3367
#26 0x00007fcb1dfc1b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1313fc0, receiver=receiver@entry=0x1618900, e=e@entry=0x7ffc74adc9a0) at kernel/qapplication.cpp:3720
#27 0x00007fcb1dfc7230 in QApplication::notify (this=0x7ffc74add540, receiver=0x1618900, e=0x7ffc74adc9a0) at kernel/qapplication.cpp:3503
#28 0x00007fcb1d23cf1b in QCoreApplication::notifyInternal (this=0x7ffc74add540, receiver=0x1618900, event=event@entry=0x7ffc74adc9a0) at kernel/qcoreapplication.cpp:935
#29 0x00007fcb1e30bdc4 in QCoreApplication::sendEvent (event=0x7ffc74adc9a0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#30 QGraphicsView::wheelEvent (this=0x161d020, event=0x7ffc74adcde0) at graphicsview/qgraphicsview.cpp:3435
#31 0x00007fcb1e004188 in QWidget::event (this=this@entry=0x161d020, event=event@entry=0x7ffc74adcde0) at kernel/qwidget.cpp:9023
#32 0x00007fcb1e0fe76e in QFrame::event (this=0x161d020, e=0x7ffc74adcde0) at widgets/qframe.cpp:526
#33 0x00007fcb1e30add3 in QGraphicsView::viewportEvent (this=0x161d020, event=0x7ffc74adcde0) at graphicsview/qgraphicsview.cpp:2960
#34 0x00007fcb1d23cd0c in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1313fc0, receiver=receiver@entry=0x164b510, event=event@entry=0x7ffc74adcde0) at kernel/qcoreapplication.cpp:1031
#35 0x00007fcb1dfc1b6c in QApplicationPrivate::notify_helper (this=this@entry=0x1313fc0, receiver=receiver@entry=0x164b510, e=e@entry=0x7ffc74adcde0) at kernel/qapplication.cpp:3716
#36 0x00007fcb1dfc8ce7 in QApplication::notify (this=<optimized out>, receiver=0x164b510, e=0x7ffc74adcde0) at kernel/qapplication.cpp:3339
#37 0x00007fcb1d23cf1b in QCoreApplication::notifyInternal (this=0x7ffc74add540, receiver=receiver@entry=0x164b510, event=event@entry=0x7ffc74adcde0) at kernel/qcoreapplication.cpp:935
#38 0x00007fcb1e01c4ab in QCoreApplication::sendSpontaneousEvent (event=0x7ffc74adcde0, receiver=0x164b510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QWidgetWindow::handleWheelEvent (this=<optimized out>, event=<optimized out>) at kernel/qwidgetwindow.cpp:715
#40 0x00007fcb1e01d8d3 in QWidgetWindow::event (this=0x1662bb0, event=0x7ffc74add130) at kernel/qwidgetwindow.cpp:237
#41 0x00007fcb1dfc1b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1313fc0, receiver=receiver@entry=0x1662bb0, e=e@entry=0x7ffc74add130) at kernel/qapplication.cpp:3720
#42 0x00007fcb1dfc7230 in QApplication::notify (this=0x7ffc74add540, receiver=0x1662bb0, e=0x7ffc74add130) at kernel/qapplication.cpp:3503
#43 0x00007fcb1d23cf1b in QCoreApplication::notifyInternal (this=0x7ffc74add540, receiver=receiver@entry=0x1662bb0, event=event@entry=0x7ffc74add130) at kernel/qcoreapplication.cpp:935
#44 0x00007fcb1da12f68 in QCoreApplication::sendSpontaneousEvent (event=0x7ffc74add130, receiver=0x1662bb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QGuiApplicationPrivate::processWheelEvent (e=0x241c800) at kernel/qguiapplication.cpp:1848
#46 0x00007fcb1da17ff5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x241c800) at kernel/qguiapplication.cpp:1579
#47 0x00007fcb1d9fd5b8 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#48 0x00007fcb0d59c250 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#49 0x00007fcb17b71ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fcb17b72250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fcb17b722fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007fcb1d29427f in QEventDispatcherGlib::processEvents (this=0x1361330, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#53 0x00007fcb1d23a75a in QEventLoop::exec (this=this@entry=0x7ffc74add430, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#54 0x00007fcb1d2422cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#55 0x00007fcb1da0e00c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#56 0x00007fcb1dfbe025 in QApplication::exec () at kernel/qapplication.cpp:2956
#57 0x000000000043f470 in main (argc=2, argv=<optimized out>) at ../../app/main.cpp:166

Reported using DrKonqi
Comment 1 Christoph Feck 2016-05-11 00:10:35 UTC

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