Application: gwenview (16.04.0) Qt Version: 5.6.0 Frameworks Version: 5.21.0 Operating System: Linux 4.5.0-0.rc7.git0.2.fc24.x86_64 x86_64 Distribution (Platform): Fedora RPMs -- Information about the crash: - What I was doing when the application crashed: Gwenview crashes everytime i try to zoom into an image. I've attached the image that causes the crash. I tried it on a number of other images, but thats the only where i can reproduce the issue. The crash can be reproduced every time. -- Backtrace: Application: Gwenview (gwenview), signal: Aborted Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f6abd1ed9c0 (LWP 10623))] Thread 4 (Thread 0x7f6aab1ad700 (LWP 10627)): #0 0x00007f6ac9d96f69 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f6acbf94366 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5 #2 0x00007f6acbf8fa22 in QThreadPoolThread::run() () at /lib64/libQt5Core.so.5 #3 0x00007f6acbf9352f in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5 #4 0x00007f6ac9d9158a in start_thread () at /lib64/libpthread.so.0 #5 0x00007f6acb37a5cd in clone () at /lib64/libc.so.6 Thread 3 (Thread 0x7f6ab26ef700 (LWP 10625)): #0 0x00007f6acbf630b0 in clock_gettime@plt () at /lib64/libQt5Core.so.5 #1 0x00007f6acc03f4b6 in qt_gettime() () at /lib64/libQt5Core.so.5 #2 0x00007f6acc1bf469 in QTimerInfoList::updateCurrentTime() () at /lib64/libQt5Core.so.5 #3 0x00007f6acc1bfa15 in QTimerInfoList::timerWait(timespec&) () at /lib64/libQt5Core.so.5 #4 0x00007f6acc1c0dbe in timerSourcePrepare(_GSource*, int*) () at /lib64/libQt5Core.so.5 #5 0x00007f6ac770107d in g_main_context_prepare () at /lib64/libglib-2.0.so.0 #6 0x00007f6ac7701a6b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #7 0x00007f6ac7701c5c in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #8 0x00007f6acc1c18cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #9 0x00007f6acc168dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #10 0x00007f6acbf8e4f3 in QThread::exec() () at /lib64/libQt5Core.so.5 #11 0x00007f6acc95f3b9 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5 #12 0x00007f6acbf9352f in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5 #13 0x00007f6ac9d9158a in start_thread () at /lib64/libpthread.so.0 #14 0x00007f6acb37a5cd in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7f6ab3a45700 (LWP 10624)): #0 0x00007f6acb36e7bd in poll () at /lib64/libc.so.6 #1 0x00007f6ac8b95f80 in _xcb_conn_wait () at /lib64/libxcb.so.1 #2 0x00007f6ac8b97b79 in xcb_wait_for_event () at /lib64/libxcb.so.1 #3 0x00007f6ab5eab0f9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5 #4 0x00007f6acbf9352f in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5 #5 0x00007f6ac9d9158a in start_thread () at /lib64/libpthread.so.0 #6 0x00007f6acb37a5cd in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f6abd1ed9c0 (LWP 10623)): [KCrash Handler] #5 0x00007f6acb2a50f8 in raise () at /lib64/libc.so.6 #6 0x00007f6acb2a6d0a in abort () at /lib64/libc.so.6 #7 0x00007f6acb2e9c2c in __libc_message () at /lib64/libc.so.6 #8 0x00007f6acb2f26ca in _int_free () at /lib64/libc.so.6 #9 0x00007f6acb2f5edc in free () at /lib64/libc.so.6 #10 0x00007f6acc5011f0 in QImageData::~QImageData() () at /lib64/libQt5Gui.so.5 #11 0x00007f6acc5018a7 in QImage::~QImage() () at /lib64/libQt5Gui.so.5 #12 0x00007f6ad3672ab6 in Gwenview::ImageScaler::scaleRect(QRect const&) () at /lib64/libgwenviewlib.so.5 #13 0x00007f6ad3672d97 in Gwenview::ImageScaler::doScale() () at /lib64/libgwenviewlib.so.5 #14 0x00007f6ad364b177 in Gwenview::RasterImageView::updateBuffer(QRegion const&) () at /lib64/libgwenviewlib.so.5 #15 0x00007f6ad364b2e3 in Gwenview::RasterImageView::onZoomChanged() () at /lib64/libgwenviewlib.so.5 #16 0x00007f6ad363bb7f in Gwenview::AbstractImageView::setZoom(double, QPointF const&, Gwenview::AbstractImageView::UpdateType) [clone .part.23] () at /lib64/libgwenviewlib.so.5 #17 0x00007f6ad36444ef in Gwenview::DocumentView::setZoom(double) () at /lib64/libgwenviewlib.so.5 #18 0x00007f6acc198ede in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5 #19 0x00007f6ad36ceed0 in Gwenview::ZoomWidget::zoomChanged(double) () at /lib64/libgwenviewlib.so.5 #20 0x00007f6ad36ab977 in Gwenview::ZoomWidget::slotZoomSliderActionTriggered() () at /lib64/libgwenviewlib.so.5 #21 0x00007f6acc198e39 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5 #22 0x00007f6acda3efb1 in QAbstractSlider::actionTriggered(int) () at /lib64/libQt5Widgets.so.5 #23 0x00007f6acd7aaca9 in QAbstractSlider::triggerAction(QAbstractSlider::SliderAction) () at /lib64/libQt5Widgets.so.5 #24 0x00007f6acd84586a in QSlider::mouseMoveEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5 #25 0x00007f6acd6f03c1 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5 #26 0x00007f6acd845cfa in QSlider::event(QEvent*) () at /lib64/libQt5Widgets.so.5 #27 0x00007f6acd6ab30f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #28 0x00007f6acd6b1307 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #29 0x00007f6acc16b0b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5 #30 0x00007f6acd6afab5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib64/libQt5Widgets.so.5 #31 0x00007f6acd70a623 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5 #32 0x00007f6acd70cb53 in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5 #33 0x00007f6acd6ab30f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #34 0x00007f6acd6b054f in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #35 0x00007f6acc16b0b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5 #36 0x00007f6acc4bcec3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5 #37 0x00007f6acc4be6e5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5 #38 0x00007f6acc49b81b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5 #39 0x00007f6ab5edfbf0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5 #40 0x00007f6ac7701803 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #41 0x00007f6ac7701bb0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #42 0x00007f6ac7701c5c in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #43 0x00007f6acc1c18af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #44 0x00007f6acc168dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #45 0x00007f6acc1717ec in QCoreApplication::exec() () at /lib64/libQt5Core.so.5 #46 0x000055f9e157fc88 in main () Possible duplicates by query: bug 307124, bug 305575, bug 304002, bug 293533, bug 280292. Reported using DrKonqi
Created attachment 98730 [details] Image that causes the crash
I have the same problem, only difference is that for me the bug appear only with png images
Created attachment 100409 [details] second image that causes a crash I can confirm the bug with the attached image “second image that causes a crash”. I can reliably reproduce the bug by opening the image (the image is initially resized to fit the available space) and then clicking the 100%-zoom button. Strangely, the crash does not occour if I zoom in _slowly_ step-by-step using the zoom-in button or Ctrl+Scroll-Wheel. If I zoom in fast (e.g. by clicking the zoom-in button rapidly), the crash occurs again. Application: Gwenview (gwenview), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f2635eff8c0 (LWP 10151))] Thread 4 (Thread 0x7f260ea31700 (LWP 10154)): #0 0x00007f262a85a458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f2630f5db66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f2630f59274 in ?? () from /usr/lib/libQt5Core.so.5 #3 0x00007f2630f5cd78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f262a854484 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f263086f6dd in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f2617fff700 (LWP 10153)): #0 0x00007f26308666cd in poll () from /usr/lib/libc.so.6 #1 0x00007f26291f2fd6 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f26291f30ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f263118b59b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f26311350da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f2630f580f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f2630512e75 in ?? () from /usr/lib/libQt5DBus.so.5 #7 0x00007f2630f5cd78 in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f262a854484 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f263086f6dd in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f261e38e700 (LWP 10152)): #0 0x00007f26308666cd in poll () from /usr/lib/libc.so.6 #1 0x00007f26286468e0 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f2628648679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f261fca5469 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #4 0x00007f2630f5cd78 in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007f262a854484 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f263086f6dd in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f2635eff8c0 (LWP 10151)): [KCrash Handler] #5 0x00007f262f6f57a0 in ?? () from /usr/lib/liblcms2.so.2 #6 0x00007f262f6fc41b in ?? () from /usr/lib/liblcms2.so.2 #7 0x00007f26356b83d2 in Gwenview::RasterImageView::updateFromScaler(int, int, QImage const&) () from /usr/lib/libgwenviewlib.so.5 #8 0x00007f263116285e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #9 0x00007f2635735b71 in Gwenview::ImageScaler::scaledRect(int, int, QImage const&) () from /usr/lib/libgwenviewlib.so.5 #10 0x00007f26356e0357 in Gwenview::ImageScaler::scaleRect(QRect const&) () from /usr/lib/libgwenviewlib.so.5 #11 0x00007f26356e09b7 in Gwenview::ImageScaler::doScale() () from /usr/lib/libgwenviewlib.so.5 #12 0x00007f26356b6a67 in Gwenview::RasterImageView::updateImageRect(QRect const&) () from /usr/lib/libgwenviewlib.so.5 #13 0x00007f2635737809 in ?? () from /usr/lib/libgwenviewlib.so.5 #14 0x00007f26311624e9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #15 0x00007f2635734b45 in Gwenview::Document::imageRectUpdated(QRect const&) () from /usr/lib/libgwenviewlib.so.5 #16 0x00007f26311624e9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #17 0x00007f2635734822 in ?? () from /usr/lib/libgwenviewlib.so.5 #18 0x00007f26356a096b in ?? () from /usr/lib/libgwenviewlib.so.5 #19 0x00007f2635695db5 in Gwenview::Document::switchToImpl(Gwenview::AbstractDocumentImpl*) () from /usr/lib/libgwenviewlib.so.5 #20 0x00007f26356a1ab8 in ?? () from /usr/lib/libgwenviewlib.so.5 #21 0x00007f26311624e9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #22 0x00007f2630f53711 in QFutureWatcherBase::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #23 0x00007f2632825e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #24 0x00007f263282d5b1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #25 0x00007f2631136c80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #26 0x00007f26311393fd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #27 0x00007f263118b173 in ?? () from /usr/lib/libQt5Core.so.5 #28 0x00007f26291f2dd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #29 0x00007f26291f3040 in ?? () from /usr/lib/libglib-2.0.so.0 #30 0x00007f26291f30ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #31 0x00007f263118b57f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #32 0x00007f26311350da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #33 0x00007f263113d5cc in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #34 0x0000000000431b08 in ?? () #35 0x00007f26307a8741 in __libc_start_main () from /usr/lib/libc.so.6 #36 0x0000000000432029 in _start () Sorry for the incomplete debug information. It is a bit cumbersome to install debug information on Arch Linux – too cumbersome for me at the moment.
Comment #3 is bug 357548
I am pretty sure this is a duplicate. If you can still reproduce with the coming 16.12 update, please add a comment or reopen the bug. *** This bug has been marked as a duplicate of bug 373375 ***