Bug 362248 - Gwenview crashes when moved to second screen and zoomed.
Summary: Gwenview crashes when moved to second screen and zoomed.
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-04-25 14:59 UTC by A.Jonsson
Modified: 2016-05-11 00:11 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 A.Jonsson 2016-04-25 14:59:17 UTC
Application: gwenview (15.08.2)

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

-- Information about the crash:
- What I was doing when the application crashed:
1. Opened a JPEG on my primary screen.
2. Moved to secondary screen.
3. Maximized the window.
4. Zoomed with CTRL+SCROLL
5. Crash.

Doing the same without moving to the secondary screen first works. Alwasy crashes on the secondary screen.

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 0x7fed77bad840 (LWP 11986))]

Thread 2 (Thread 0x7fed752e5700 (LWP 11987)):
#0  0x00007fed86c3088d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fed7ff4abd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fed7ff4c74f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fed77853a39 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007fed873232be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fed823576aa in start_thread (arg=0x7fed752e5700) at pthread_create.c:333
#6  0x00007fed86c3be9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fed77bad840 (LWP 11986)):
[KCrash Handler]
#6  0x00007fed85fe8d60 in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#7  0x00007fed85fefbab in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#8  0x00007fed8b06c39e in Gwenview::RasterImageView::updateFromScaler (this=0x1a1cea0, zoomedImageLeft=88, zoomedImageTop=234, image=...) at ../../lib/documentview/rasterimageview.cpp:322
#9  0x00007fed87533617 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fed8b0d07b1 in Gwenview::ImageScaler::scaledRect (this=this@entry=0x1936810, _t1=_t1@entry=88, _t2=_t2@entry=234, _t3=...) at moc_imagescaler.cpp:134
#11 0x00007fed8b08d88f in Gwenview::ImageScaler::scaleRect (this=this@entry=0x1936810, rect=...) at ../../lib/imagescaler.cpp:209
#12 0x00007fed8b08dca7 in Gwenview::ImageScaler::doScale (this=0x1936810) at ../../lib/imagescaler.cpp:122
#13 0x00007fed8b08dd65 in Gwenview::ImageScaler::setDestinationRegion (this=<optimized out>, region=...) at ../../lib/imagescaler.cpp:102
#14 0x00007fed8b06ae74 in Gwenview::RasterImageViewPrivate::setScalerRegionToVisibleRect (this=0x1afb3e0) at ../../lib/documentview/rasterimageview.cpp:151
#15 Gwenview::RasterImageView::updateBuffer (this=<optimized out>, region=...) at ../../lib/documentview/rasterimageview.cpp:443
#16 0x00007fed8b06afe3 in Gwenview::RasterImageView::onZoomChanged (this=0x1a1cea0) at ../../lib/documentview/rasterimageview.cpp:434
#17 0x00007fed8b05d061 in Gwenview::AbstractImageView::setZoom (this=0x1a1cea0, zoom=<optimized out>, _center=..., updateType=<optimized out>) at ../../lib/documentview/abstractimageview.cpp:220
#18 0x00007fed8b065389 in Gwenview::DocumentViewPrivate::setZoom (center=..., zoom=<optimized out>, this=0x168aa20) at ../../lib/documentview/documentview.cpp:244
#19 Gwenview::DocumentView::zoomIn (this=this@entry=0x1677fe0, center=...) at ../../lib/documentview/documentview.cpp:506
#20 0x00007fed8b06559c in Gwenview::DocumentView::wheelEvent (this=0x1677fe0, event=0x7ffc8c27cba0) at ../../lib/documentview/documentview.cpp:548
#21 0x00007fed8857a14e in QGraphicsItem::sceneEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fed885a70e3 in QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fed885b55d0 in QGraphicsScene::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fed88287b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fed8828d230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fed87502f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fed885d1dc4 in QGraphicsView::wheelEvent(QWheelEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007fed882ca188 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007fed883c476e in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007fed885d0dd3 in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007fed87502d0c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fed88287b6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007fed8828ece7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007fed87502f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fed882e24ab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007fed882e38d3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007fed88287b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007fed8828d230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007fed87502f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007fed87cd8f68 in QGuiApplicationPrivate::processWheelEvent(QWindowSystemInterfacePrivate::WheelEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#41 0x00007fed87cddff5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#42 0x00007fed87cc35b8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#43 0x00007fed77880250 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#44 0x00007fed81e37ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fed81e38250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fed81e382fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fed8755a27f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007fed8750075a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007fed875082cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x000000000043f470 in main (argc=2, argv=<optimized out>) at ../../app/main.cpp:166

Possible duplicates by query: bug 358862, bug 357548, bug 356857, bug 352230, bug 328302.

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

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