Bug 353589

Summary: Gwenview crash at start
Product: [Applications] gwenview Reporter: opensuse.lietuviu.kalba
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: myriam, nate, opensuse.lietuviu.kalba, xionbox33418
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description opensuse.lietuviu.kalba 2015-10-06 05:58:37 UTC
Application: gwenview (4.14.0 pre)
KDE Platform Version: 4.14.10
Qt Version: 4.8.7
Operating System: Linux 4.1.6-3-desktop x86_64
Distribution: "openSUSE 20150924 (Tumbleweed) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Just open any image with Gvenview in Dolphin, or start Gwenview and select any directory.

I use openSUSE Tumbleweed, upgraded to latest snapshoot.

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 0x7fa07eb63980 (LWP 13789))]

Thread 3 (Thread 0x7fa065f93700 (LWP 13790)):
#0  0x00007fa07b52e26d in poll () from /lib64/libc.so.6
#1  0x00007fa07839de94 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa07839df9c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa07e10526e in QEventDispatcherGlib::processEvents (this=0x7fa0600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007fa07e0d53e1 in QEventLoop::processEvents (this=this@entry=0x7fa065f92c20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa07e0d56f5 in QEventLoop::exec (this=this@entry=0x7fa065f92c20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa07dfcea59 in QThread::exec (this=this@entry=0x19344e0) at thread/qthread.cpp:538
#7  0x00007fa07e0b64c3 in QInotifyFileSystemWatcherEngine::run (this=0x19344e0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fa07dfd123c in QThreadPrivate::start (arg=0x19344e0) at thread/qthread_unix.cpp:352
#9  0x00007fa07886e4a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa07b536bfd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa059f3d700 (LWP 13796)):
#0  0x00007fa07b52e26d in poll () from /lib64/libc.so.6
#1  0x00007fa05a447ae8 in ?? () from /usr/lib64/libusb-1.0.so.0
#2  0x00007fa07886e4a4 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fa07b536bfd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa07eb63980 (LWP 13789)):
[KCrash Handler]
#6  0x00007fa07b4817a8 in raise () from /lib64/libc.so.6
#7  0x00007fa07b482bfa in abort () from /lib64/libc.so.6
#8  0x00007fa07b4c01ba in __libc_message () from /lib64/libc.so.6
#9  0x00007fa07b4c5af6 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007fa07b4c62de in _int_free () from /lib64/libc.so.6
#11 0x00007fa07e72b6e1 in deallocate (this=0x7ffe8c01a3c0, __p=<optimized out>) at /usr/include/c++/5/ext/new_allocator.h:110
#12 deallocate (__a=..., __n=<optimized out>, __p=<optimized out>) at /usr/include/c++/5/ext/alloc_traits.h:185
#13 _M_destroy (__size=<optimized out>, this=0x7ffe8c01a3c0) at /usr/include/c++/5/bits/basic_string.h:185
#14 _M_dispose (this=0x7ffe8c01a3c0) at /usr/include/c++/5/bits/basic_string.h:180
#15 ~basic_string (this=0x7ffe8c01a3c0, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/basic_string.h:544
#16 Gwenview::ImageMetaInfoModel::setExiv2Image (this=0x1a87c30, image=0x7fa04c0031a0) at /usr/src/debug/gwenview-4.14.3/lib/imagemetainfomodel.cpp:365
#17 0x00007fa07e6f7b45 in Gwenview::Document::setExiv2Image (this=0x2680140, image=...) at /usr/src/debug/gwenview-4.14.3/lib/document/document.cpp:397
#18 0x00007fa07e6f66c1 in Gwenview::AbstractDocumentImpl::setDocumentExiv2Image (this=this@entry=0x2636c70, image=...) at /usr/src/debug/gwenview-4.14.3/lib/document/abstractdocumentimpl.cpp:82
#19 0x00007fa07e6fdc99 in Gwenview::LoadingDocumentImpl::slotMetaInfoLoaded (this=0x2636c70) at /usr/src/debug/gwenview-4.14.3/lib/document/loadingdocumentimpl.cpp:484
#20 0x00007fa07e0e9f60 in QMetaObject::activate (sender=0x258a9b0, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3576
#21 0x00007fa07dfc152e in QFutureWatcherBase::event (this=<optimized out>, event=0x7fa04c0030d0) at concurrent/qfuturewatcher.cpp:344
#22 0x00007fa07c229f1c in QApplicationPrivate::notify_helper (this=this@entry=0x1720530, receiver=receiver@entry=0x258a9b0, e=e@entry=0x7fa04c0030d0) at kernel/qapplication.cpp:4565
#23 0x00007fa07c2309ec in QApplication::notify (this=this@entry=0x7ffe8c01ab80, receiver=receiver@entry=0x258a9b0, e=e@entry=0x7fa04c0030d0) at kernel/qapplication.cpp:4351
#24 0x00007fa07cf5c63a in KApplication::notify (this=0x7ffe8c01ab80, receiver=0x258a9b0, event=0x7fa04c0030d0) at /usr/src/debug/kdelibs-4.14.10/kdeui/kernel/kapplication.cpp:311
#25 0x00007fa07e0d6a1d in QCoreApplication::notifyInternal (this=0x7ffe8c01ab80, receiver=receiver@entry=0x258a9b0, event=event@entry=0x7fa04c0030d0) at kernel/qcoreapplication.cpp:955
#26 0x00007fa07e0d9e4e in sendEvent (event=0x7fa04c0030d0, receiver=0x258a9b0) at kernel/qcoreapplication.h:231
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x16cd010) at kernel/qcoreapplication.cpp:1579
#28 0x00007fa07e0da123 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#29 0x00007fa07e1050de in sendPostedEvents () at kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0x1709390) at kernel/qeventdispatcher_glib.cpp:300
#31 0x00007fa07839dcc7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fa07839def8 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fa07839df9c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fa07e10524e in QEventDispatcherGlib::processEvents (this=0x16d1a60, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#35 0x00007fa07c2cd946 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fa07e0d53e1 in QEventLoop::processEvents (this=this@entry=0x7ffe8c01ab00, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fa07e0d56f5 in QEventLoop::exec (this=this@entry=0x7ffe8c01ab00, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007fa07e0daef9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#39 0x00007fa07c2287dc in QApplication::exec () at kernel/qapplication.cpp:3823
#40 0x0000000000429f65 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/gwenview-4.14.3/app/main.cpp:145

Reported using DrKonqi
Comment 1 opensuse.lietuviu.kalba 2015-10-19 07:47:13 UTC
Created attachment 95039 [details]
New crash information added by DrKonqi

gwenview (4.14.0 pre) on KDE Platform 4.14.12 using Qt 4.8.7

- What I was doing when the application crashed:

Just selected PNG image  to open with Gwenview

-- Backtrace (Reduced):
#11 0x00007fe6790816e1 in deallocate (this=0x7ffdb2cea270, __p=<optimized out>) at /usr/include/c++/5/ext/new_allocator.h:110
#12 deallocate (__a=..., __n=<optimized out>, __p=<optimized out>) at /usr/include/c++/5/ext/alloc_traits.h:185
#13 _M_destroy (__size=<optimized out>, this=0x7ffdb2cea270) at /usr/include/c++/5/bits/basic_string.h:185
#14 _M_dispose (this=0x7ffdb2cea270) at /usr/include/c++/5/bits/basic_string.h:180
#15 ~basic_string (this=0x7ffdb2cea270, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/basic_string.h:544
Comment 2 xionbox 2016-09-12 22:04:55 UTC
I believe this happened to me as well while trying to open a PNG image.

Application: Gwenview (gwenview), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f00424f9e80 (LWP 24494))]

Thread 4 (Thread 0x7f001a325700 (LWP 24498)):
#0  0x00007f0036fdf4b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f003d5020d6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f003d4fd862 in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007f003d5012e8 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f0036fd9454 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f003ce0e3ff in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f0028e6c700 (LWP 24496)):
#0  0x00007f0036ab702b in  () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f0036ab950b in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f0036ab9f3b in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f0036aba12c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f003d72eaab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f003d6d66fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f003d4fc3c3 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f003cab0985 in  () at /usr/lib64/libQt5DBus.so.5
#8  0x00007f003d5012e8 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f0036fd9454 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f003ce0e3ff in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f002aa0e700 (LWP 24495)):
#0  0x00007f003ce056ed in poll () at /lib64/libc.so.6
#1  0x00007f0034b543f0 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f0034b56189 in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f002c94d7a9 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f003d5012e8 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f0036fd9454 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f003ce0e3ff in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f00424f9e80 (LWP 24494)):
[KCrash Handler]
#6  0x00007f003cd595ef in raise () at /lib64/libc.so.6
#7  0x00007f003cd5a9ea in abort () at /lib64/libc.so.6
#8  0x00007f003cd97190 in __libc_message () at /lib64/libc.so.6
#9  0x00007f003cd9d546 in malloc_printerr () at /lib64/libc.so.6
#10 0x00007f003cd9dd3e in _int_free () at /lib64/libc.so.6
#11 0x00007f0041c2f4a4 in Gwenview::ImageMetaInfoModel::setExiv2Image(Exiv2::Image const*) () at /usr/lib64/libgwenviewlib.so.5
#12 0x00007f0041bf0054 in Gwenview::Document::setExiv2Image(std::auto_ptr<Exiv2::Image>) () at /usr/lib64/libgwenviewlib.so.5
#13 0x00007f0041bef0c1 in  () at /usr/lib64/libgwenviewlib.so.5
#14 0x00007f0041bfc3a1 in  () at /usr/lib64/libgwenviewlib.so.5
#15 0x00007f003d706149 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f003d4f8791 in QFutureWatcherBase::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f003ee09acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f003ee0ef6f in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f003d6d89b0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f003d6da93c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f003d72e683 in  () at /usr/lib64/libQt5Core.so.5
#22 0x00007f0036ab9e17 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#23 0x00007f0036aba080 in  () at /usr/lib64/libglib-2.0.so.0
#24 0x00007f0036aba12c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#25 0x00007f003d72ea8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f003d6d66fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f003d6def0c in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#28 0x00000000004343c9 in  ()
#29 0x00007f003cd45291 in __libc_start_main () at /lib64/libc.so.6
#30 0x00000000004348b9 in _start ()
Comment 3 Nate Graham 2017-09-08 18:40:13 UTC
Can you still reproduce this with more recent KF5 versions of GwenView? If not, please close the bug.
Comment 4 opensuse.lietuviu.kalba 2017-09-08 18:57:30 UTC
I can not reproduce in gwenview 17.04.2 with KF 5.36