Bug 372387

Summary: Gwenview crashes when trying to zoom
Product: [Applications] gwenview Reporter: Ciaran Gillespie <ciaran.gillespie>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: myriam
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ciaran Gillespie 2016-11-12 14:32:11 UTC
Application: gwenview (16.08.2)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.27-2-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:
Was zooming in on a jpg image with resolution of 800x1452.

Was using the scroll wheel on my mouse and also pressing CTRL to perform the scroll. This was while the Gwenview window isn't in focus. So I would have another window, like dolphin, in focus then pressing CTRL with the other window in focus and then bring my mouse cursor over to gwenview and then trying to scoll causes it to crash. It's about 50% of the time I try and do this.

The crash can be reproduced sometimes.

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

Thread 3 (Thread 0x7f3e9e0b0700 (LWP 3991)):
#0  0x00007f3eb167249d in poll () at /lib64/libc.so.6
#1  0x00007f3eab35d314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f3eab35d42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f3eb1f8332b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f3eb1f30fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f3eb1d6bf1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f3eb13201d5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f3eb1d709e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f3eab881734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f3eb167ad3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f3ea0080700 (LWP 3990)):
#0  0x00007f3eb167249d in poll () at /lib64/libc.so.6
#1  0x00007f3ea948c3e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f3ea948dfcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f3ea23ea839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f3eb1d709e9 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f3eab881734 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f3eb167ad3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f3eb6cde9c0 (LWP 3989)):
[KCrash Handler]
#6  0x00007f3eb04c0bf2 in  () at /usr/lib64/liblcms2.so.2
#7  0x00007f3eb04c67a0 in  () at /usr/lib64/liblcms2.so.2
#8  0x00007f3eb63f2ab1 in Gwenview::RasterImageView::updateFromScaler(int, int, QImage const&) () at /usr/lib64/libgwenviewlib.so.5
#9  0x00007f3eb1f5d1c3 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f3eb645b611 in Gwenview::ImageScaler::scaledRect(int, int, QImage const&) () at /usr/lib64/libgwenviewlib.so.5
#11 0x00007f3eb64169d7 in Gwenview::ImageScaler::scaleRect(QRect const&) () at /usr/lib64/libgwenviewlib.so.5
#12 0x00007f3eb6416faf in Gwenview::ImageScaler::doScale() () at /usr/lib64/libgwenviewlib.so.5
#13 0x00007f3eb63f172c in Gwenview::RasterImageView::updateBuffer(QRegion const&) () at /usr/lib64/libgwenviewlib.so.5
#14 0x00007f3eb63f1863 in Gwenview::RasterImageView::onZoomChanged() () at /usr/lib64/libgwenviewlib.so.5
#15 0x00007f3eb63e415f in  () at /usr/lib64/libgwenviewlib.so.5
#16 0x00007f3eb63ed032 in Gwenview::DocumentView::zoomIn(QPointF const&) () at /usr/lib64/libgwenviewlib.so.5
#17 0x00007f3eb63ed2b0 in Gwenview::DocumentView::wheelEvent(QGraphicsSceneWheelEvent*) () at /usr/lib64/libgwenviewlib.so.5
#18 0x00007f3eb38fd71d in QGraphicsItem::sceneEvent(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f3eb3929688 in QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f3eb3934ff0 in QGraphicsScene::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f3eb361de3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007f3eb362249a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007f3eb1f32fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f3eb395429d in QGraphicsView::wheelEvent(QWheelEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007f3eb365f4b1 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007f3eb3759afe in QFrame::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007f3eb39533a3 in QGraphicsView::viewportEvent(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#28 0x00007f3eb1f32e91 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#29 0x00007f3eb361de15 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#30 0x00007f3eb362413d in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#31 0x00007f3eb1f32fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#32 0x00007f3eb3679a9c in  () at /usr/lib64/libQt5Widgets.so.5
#33 0x00007f3eb367ae0b in  () at /usr/lib64/libQt5Widgets.so.5
#34 0x00007f3eb361de3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#35 0x00007f3eb362249a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#36 0x00007f3eb1f32fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#37 0x00007f3eb2484374 in QGuiApplicationPrivate::processWheelEvent(QWindowSystemInterfacePrivate::WheelEvent*) () at /usr/lib64/libQt5Gui.so.5
#38 0x00007f3eb2488df5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#39 0x00007f3eb246aeeb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#40 0x00007f3ea2417bc0 in  () at /usr/lib64/libQt5XcbQpa.so.5
#41 0x00007f3eab35d134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#42 0x00007f3eab35d388 in  () at /usr/lib64/libglib-2.0.so.0
#43 0x00007f3eab35d42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#44 0x00007f3eb1f8330c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#45 0x00007f3eb1f30fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#46 0x00007f3eb1f38ec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#47 0x000000000043431b in  ()
#48 0x00007f3eb15b16e5 in __libc_start_main () at /lib64/libc.so.6
#49 0x0000000000434619 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2016-11-15 10:19:25 UTC

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