Application: gwenview (15.08.0) Qt Version: 5.4.2 Operating System: Linux 4.1.0-3-generic i686 Distribution: Ubuntu Wily Werewolf (development branch) -- Information about the crash: - What I was doing when the application crashed: Just upgraded to Kubuntu Wily Beta 1 and I get a crash 100% of the time in Gwenview when I click the 100% zoom button which I have in the status bar. My default is set to Fit. 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 0xafaad7c0 (LWP 19067))] Thread 3 (Thread 0xaf69ab40 (LWP 19068)): #0 0xb7741be0 in __kernel_vsyscall () #1 0xb55fc3db in poll () from /lib/i386-linux-gnu/libc.so.6 #2 0xb3f3d3ad in poll (__timeout=-1, __nfds=1, __fds=0xaf69a15c) at /usr/include/i386-linux-gnu/bits/poll2.h:46 #3 _xcb_conn_wait (c=0x963d6b8, cond=0x963d6dc, vector=0x0, count=0x0) at ../../src/xcb_conn.c:459 #4 0xb3f3f3fb in xcb_wait_for_event (c=0x963d6b8) at ../../src/xcb_in.c:623 #5 0xaf800133 in ?? () from /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqxcb.so #6 0xb58d760b in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #7 0xb478a1aa in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #8 0xb5606fde in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 2 (Thread 0xad0bcb40 (LWP 19069)): #0 0xb7741be0 in __kernel_vsyscall () #1 0xb478f626 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0 #2 0xb5613d3a in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6 #3 0xb58d87bc in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #4 0xb58d4068 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #5 0xb58d760b in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #6 0xb478a1aa in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #7 0xb5606fde in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 1 (Thread 0xafaad7c0 (LWP 19067)): [KCrash Handler] #7 0xb50ed269 in ?? () from /usr/lib/i386-linux-gnu/liblcms2.so.2 #8 0xb50f4080 in ?? () from /usr/lib/i386-linux-gnu/liblcms2.so.2 #9 0xb50f5049 in cmsDoTransform () from /usr/lib/i386-linux-gnu/liblcms2.so.2 #10 0xb75c21c4 in Gwenview::RasterImageView::updateFromScaler (this=0x97b9a90, zoomedImageLeft=1422, zoomedImageTop=942, image=...) at ../../lib/documentview/rasterimageview.cpp:322 #11 0xb75c3145 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<int, int, QImage const&>, void, void (Gwenview::RasterImageView::*)(int, int, QImage const&)>::call (arg=0xbff0be5c, o=0x97b9a90, f=<optimized out>) at /usr/include/i386-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:500 #12 QtPrivate::FunctionPointer<void (Gwenview::RasterImageView::*)(int, int, QImage const&)>::call<QtPrivate::List<int, int, QImage const&>, void> (arg=0xbff0be5c, o=0x97b9a90, f=<optimized out>) at /usr/include/i386-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:519 #13 QtPrivate::QSlotObject<void (Gwenview::RasterImageView::*)(int, int, QImage const&), QtPrivate::List<int, int, QImage const&>, void>::impl (which=1, this_=0x98c2d78, r=0x97b9a90, a=0xbff0be5c, ret=0x0) at /usr/include/i386-linux-gnu/qt5/QtCore/qobject_impl.h:143 #14 0xb5ade870 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #15 0xb5adf14d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #16 0xb762b771 in Gwenview::ImageScaler::scaledRect (this=0x97a41c0, _t1=1422, _t2=942, _t3=...) at moc_imagescaler.cpp:134 #17 0xb75e4b10 in Gwenview::ImageScaler::scaleRect (this=0x97a41c0, rect=...) at ../../lib/imagescaler.cpp:132 #18 0xb75e536d in Gwenview::ImageScaler::doScale (this=0x97a41c0) at ../../lib/imagescaler.cpp:122 #19 0xb75e5459 in Gwenview::ImageScaler::setDestinationRegion (this=0x97a41c0, region=...) at ../../lib/imagescaler.cpp:102 #20 0xb75c0503 in Gwenview::RasterImageViewPrivate::setScalerRegionToVisibleRect (this=0x9a261c8) at ../../lib/documentview/rasterimageview.cpp:151 #21 Gwenview::RasterImageView::updateImageRect (this=0x97b9a90, imageRect=...) at ../../lib/documentview/rasterimageview.cpp:305 #22 0xb762ebf4 in Gwenview::RasterImageView::qt_static_metacall (_o=0x97b9a90, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbff0c224) at moc_rasterimageview.cpp:106 #23 0xb5adec51 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #24 0xb5adf14d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #25 0xb762a281 in Gwenview::Document::imageRectUpdated (this=0x9931e58, _t1=...) at moc_document.cpp:280 #26 0xb762c6ab in Gwenview::Document::qt_static_metacall (_o=0x9931e58, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff0c344) at moc_document.cpp:135 #27 0xb5adec51 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #28 0xb5adf14d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #29 0xb7629f02 in Gwenview::AbstractDocumentImpl::imageRectUpdated (this=0x9665450, _t1=...) at moc_abstractdocumentimpl.cpp:176 #30 0xb75aba32 in Gwenview::DocumentLoadedImpl::init (this=0x9665450) at ../../lib/document/documentloadedimpl.cpp:66 #31 0xb75a6102 in Gwenview::Document::switchToImpl (this=0x9931e58, impl=0x9665450) at ../../lib/document/document.cpp:254 #32 0xb75a5161 in Gwenview::AbstractDocumentImpl::switchToImpl (this=0x9932ab0, impl=0x9665450) at ../../lib/document/abstractdocumentimpl.cpp:57 #33 0xb75acb24 in Gwenview::LoadingDocumentImpl::slotImageLoaded (this=0x9932ab0) at ../../lib/document/loadingdocumentimpl.cpp:551 #34 0xb762ede4 in Gwenview::LoadingDocumentImpl::qt_static_metacall (_o=0x9932ab0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff0c508) at moc_loadingdocumentimpl.cpp:83 #35 0xb5adec51 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #36 0xb5adf14d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #37 0xb5b567c2 in QFutureWatcherBase::finished() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #38 0xb58ce4d5 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #39 0xb58ce695 in QFutureWatcherBase::event(QEvent*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #40 0xb6426daa in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 #41 0xb642c67f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 #42 0xb5aabc6f in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #43 0xb5aae08d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #44 0xb5aae5c7 in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #45 0xb5b05f43 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #46 0xb4645cd9 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #47 0xb4645f79 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #48 0xb4646044 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #49 0xb5b06333 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #50 0xaf82fbb1 in ?? () from /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqxcb.so #51 0xb5aa8e23 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #52 0xb5aa9272 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #53 0xb5ab1355 in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #54 0xb5e76d21 in QGuiApplication::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Gui.so.5 #55 0xb6422cb4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 #56 0x0807c041 in main (argc=2, argv=0xbff0cc74) at ../../app/main.cpp:166 Reported using DrKonqi
Note that the problem does not occur when manually clicking the Plus symbol to get to 100% zoom. But the problem did occur once when using the menu commands to zoom an image. Problem does not occur on all images or 100% of the time (although it was when I reported the bug.)
Purging Gwenview and deleting all associated rc files and any file with Gwenview in the name, and then re-installing the program appears to fix the problem.
Correction to previous post, deleting everything fixes the problem, temporarily. The problem has now returned. Definitely seems to be related to settings, or configuration of toolbars (which I always change and re-arrange after a fresh install.)
Bug is still occurring on: Version 15.08.3 KDE Frameworks 5.18.0 Qt 5.5.1 (built against 5.5.1) The xcb windowing system I am willing to debug whatever is necessary to fix this bug, it is really messing up my ability to get work down with Gwenview.
It looks related to LCMS2 library. *** This bug has been marked as a duplicate of bug 357548 ***