Bug 359492 - Gwenview crash when exiting after watching GIF image
Summary: Gwenview crash when exiting after watching GIF image
Status: RESOLVED DUPLICATE of bug 346445
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-02-17 11:19 UTC by Angelos Skembris
Modified: 2016-09-08 15:12 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Me too. Krash dump attached. (2.80 KB, text/plain)
2016-05-05 06:25 UTC, Borden
Details
New crash information added by DrKonqi (2.71 KB, text/plain)
2016-06-09 01:56 UTC, Mario Junior
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angelos Skembris 2016-02-17 11:19:42 UTC
Application: gwenview (15.12.2)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-3-default x86_64
Distribution: "openSUSE Tumbleweed (20160209) (x86_64)"

-- Information about the crash:
I was trying to open a GIF image that was attached to a KMail Message. Clicking on the attachment prompted the "Select application to open this file type" dialog, from which I selected Gwenview, although the choice does not seem to be retained (it keeps asking me again every time I click on the attachment).

Gwenview opens, the file plays normally, but clicking on the "Close" button produces the segmentation faullt.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fa120b0373a in QImageReaderPrivate::~QImageReaderPrivate (this=0xdfb910, __in_chrg=<optimized out>) at image/qimagereader.cpp:572
#7  0x00007fa120b03821 in QImageReader::~QImageReader (this=<optimized out>, __in_chrg=<optimized out>) at image/qimagereader.cpp:684
#8  0x00007fa120b2036c in QMovie::~QMovie (this=0x10fb408, __in_chrg=<optimized out>) at image/qmovie.cpp:619
#9  0x00007fa1249326d9 in Gwenview::AnimatedDocumentLoadedImplPrivate::~AnimatedDocumentLoadedImplPrivate (this=0x10fb3f0, __in_chrg=<optimized out>) at /usr/src/debug/gwenview-15.12.2/lib/document/animateddocumentloadedimpl.cpp:37
#10 Gwenview::AnimatedDocumentLoadedImpl::~AnimatedDocumentLoadedImpl (this=0x11108c0, __in_chrg=<optimized out>) at /usr/src/debug/gwenview-15.12.2/lib/document/animateddocumentloadedimpl.cpp:59
#11 0x00007fa124932749 in Gwenview::AnimatedDocumentLoadedImpl::~AnimatedDocumentLoadedImpl (this=0x11108c0, __in_chrg=<optimized out>) at /usr/src/debug/gwenview-15.12.2/lib/document/animateddocumentloadedimpl.cpp:60
#12 0x00007fa124934d6f in Gwenview::Document::~Document (this=0xe35600, __in_chrg=<optimized out>) at /usr/src/debug/gwenview-15.12.2/lib/document/document.cpp:168
#13 0x00007fa124934f39 in Gwenview::Document::~Document (this=0xe35600, __in_chrg=<optimized out>) at /usr/src/debug/gwenview-15.12.2/lib/document/document.cpp:170
#14 0x00007fa1249368d4 in KSharedPtr<Gwenview::Document>::~KSharedPtr (this=0xed79c0, __in_chrg=<optimized out>) at /usr/include/KF5/KDELibs4Support/ksharedptr.h:106
#15 Gwenview::DocumentInfo::~DocumentInfo (this=0xed79c0, __in_chrg=<optimized out>) at /usr/src/debug/gwenview-15.12.2/lib/document/documentfactory.cpp:67
#16 qDeleteAll<QMap<QUrl, Gwenview::DocumentInfo*>::const_iterator> (end=..., begin=...) at /usr/include/qt5/QtCore/qalgorithms.h:317
#17 qDeleteAll<QMap<QUrl, Gwenview::DocumentInfo*> > (c=...) at /usr/include/qt5/QtCore/qalgorithms.h:325
#18 Gwenview::DocumentFactory::~DocumentFactory (this=0x7fa124bf4b70 <Gwenview::DocumentFactory::instance()::factory>, __in_chrg=<optimized out>) at /usr/src/debug/gwenview-15.12.2/lib/document/documentfactory.cpp:147
#19 0x00007fa11fbfd678 in __run_exit_handlers () from /lib64/libc.so.6
#20 0x00007fa11fbfd6c5 in exit () from /lib64/libc.so.6
#21 0x00007fa11fbe6617 in __libc_start_main () from /lib64/libc.so.6
#22 0x0000000000449c89 in _start () at ../sysdeps/x86_64/start.S:118

Possible duplicates by query: bug 359005, bug 347943.

Reported using DrKonqi
Comment 1 RJ 2016-04-13 18:24:23 UTC
Application: gwenview (15.12.2)

Qt Version: 5.6.0
Frameworks Version: 5.20.0
Operating System: Linux 4.1.20-std-def-alt1 x86_64

-- Information about the crash:
<Напишите подробно, что вы делали, когда произошла ошибка.>

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fd3caea19c0 (LWP 4293))]

Thread 2 (Thread 0x7fd3abdf4700 (LWP 4295)):
#0  0x00007fff69350c66 in clock_gettime ()
#1  0x00007fd3c587a406 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7fd3abdf3980) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fd3c5ff45b6 in qt_clock_gettime (ts=0x7fd3abdf3980, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007fd3c6161389 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fd3a4002ed0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007fd3c61618b5 in QTimerInfoList::timerWait (this=0x7fd3a4002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007fd3c6162c2e in timerSourcePrepareHelper (timeout=0x7fd3abdf3a34, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:126
#8  timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7fd3abdf3a34) at kernel/qeventdispatcher_glib.cpp:159
#9  0x00007fd3bf80685d in g_main_context_prepare (context=context@entry=0x7fd3a4000990, priority=priority@entry=0x7fd3abdf3ab8) at gmain.c:3442
#10 0x00007fd3bf807163 in g_main_context_iterate (context=context@entry=0x7fd3a4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3820
#11 0x00007fd3bf80733c in g_main_context_iteration (context=0x7fd3a4000990, may_block=may_block@entry=1) at gmain.c:3901
#12 0x00007fd3c61636cb in QEventDispatcherGlib::processEvents (this=0x7fd3a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#13 0x00007fd3c610f18a in QEventLoop::exec (this=this@entry=0x7fd3abdf3be0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007fd3c5f485bc in QThread::exec (this=this@entry=0x7fd3c5785d00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:503
#15 0x00007fd3c5516a45 in QDBusConnectionManager::run (this=0x7fd3c5785d00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:181
#16 0x00007fd3c5f4d1b9 in QThreadPrivate::start (arg=0x7fd3c5785d00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:340
#17 0x00007fd3bfd26434 in start_thread (arg=0x7fd3abdf4700) at pthread_create.c:333
#18 0x00007fd3c586d79d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd3caea19c0 (LWP 4293)):
[KCrash Handler]
#6  0x00007fd3c66b2622 in QImageReaderPrivate::~QImageReaderPrivate (this=0x372a8c0, __in_chrg=<optimized out>) at image/qimagereader.cpp:572
#7  0x00007fd3c66b2a51 in QImageReader::~QImageReader (this=<optimized out>, __in_chrg=<optimized out>) at image/qimagereader.cpp:684
#8  0x00007fd3c66cff1c in QMovie::~QMovie (this=0x3b894e8, __in_chrg=<optimized out>) at image/qmovie.cpp:619
#9  0x00007fd3ca615b49 in ~AnimatedDocumentLoadedImplPrivate (this=0x3b894d0, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:37
#10 ~AnimatedDocumentLoadedImpl (this=0x3bf9020, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:59
#11 Gwenview::AnimatedDocumentLoadedImpl::~AnimatedDocumentLoadedImpl (this=0x3bf9020, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:60
#12 0x00007fd3ca617c5f in Gwenview::Document::~Document (this=0x35a1ca0, __in_chrg=<optimized out>) at ../../lib/document/document.cpp:168
#13 0x00007fd3ca617e29 in Gwenview::Document::~Document (this=0x35a1ca0, __in_chrg=<optimized out>) at ../../lib/document/document.cpp:170
#14 0x00007fd3ca61ae04 in ~KSharedPtr (this=0x1be8ae0, __in_chrg=<optimized out>) at /usr/include/KF5/KDELibs4Support/ksharedptr.h:106
#15 ~DocumentInfo (this=0x1be8ae0, __in_chrg=<optimized out>) at ../../lib/document/documentfactory.cpp:67
#16 qDeleteAll<QMap<QUrl, Gwenview::DocumentInfo*>::const_iterator> (end=..., begin=...) at /usr/include/qt5/QtCore/qalgorithms.h:317
#17 qDeleteAll<QMap<QUrl, Gwenview::DocumentInfo*> > (c=...) at /usr/include/qt5/QtCore/qalgorithms.h:325
#18 Gwenview::DocumentFactory::~DocumentFactory (this=0x7fd3ca8f4c90 <Gwenview::DocumentFactory::instance()::factory>, __in_chrg=<optimized out>) at ../../lib/document/documentfactory.cpp:147
#19 0x00007fd3c57bcd58 in __run_exit_handlers (status=0, listp=0x7fd3c5b21618 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#20 0x00007fd3c57bcda5 in __GI_exit (status=<optimized out>) at exit.c:104
#21 0x00007fd3c57a7807 in __libc_start_main (main=0x443490 <main(int, char**)>, argc=1, argv=0x7fff693128f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff693128e8) at ../csu/libc-start.c:323
#22 0x00000000004440f9 in _start () at ../sysdeps/x86_64/start.S:118
Comment 2 Borden 2016-05-05 06:25:20 UTC
Created attachment 98781 [details]
Me too. Krash dump attached.
Comment 3 Mario Junior 2016-06-08 18:46:25 UTC
Same problem here.

Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9990ae18c0 (LWP 24403))]

Thread 2 (Thread 0x7f9975548700 (LWP 24406)):
#0  0x00007f998b3e268d in poll () from /usr/lib/libc.so.6
#1  0x00007f99850fcfd6 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f99850fd0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f998bd0374b in QEventDispatcherGlib::processEvents (this=0x7f99680008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f998bcab4ca in QEventLoop::exec (this=this@entry=0x7f9975547cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f998bad22f3 in QThread::exec (this=this@entry=0x7f998b302d20 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:503
#6  0x00007f998b08fa65 in QDBusConnectionManager::run (this=0x7f998b302d20 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:181
#7  0x00007f998bad71d8 in QThreadPrivate::start (arg=0x7f998b302d20 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:340
#8  0x00007f998561b474 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f998b3eb69d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f9990ae18c0 (LWP 24403)):
[KCrash Handler]
#5  0x00007f998c256bd2 in QImageReaderPrivate::~QImageReaderPrivate (this=0x4e73e80, __in_chrg=<optimized out>) at image/qimagereader.cpp:572
#6  0x00007f998c257001 in QImageReader::~QImageReader (this=<optimized out>, __in_chrg=<optimized out>) at image/qimagereader.cpp:684
#7  0x00007f998c27524c in QMovie::~QMovie (this=0x8a85178, __in_chrg=<optimized out>) at image/qmovie.cpp:619
#8  0x00007f999026d759 in ?? () from /usr/lib/libgwenviewlib.so.5
#9  0x00007f999026f96f in Gwenview::Document::~Document() () from /usr/lib/libgwenviewlib.so.5
#10 0x00007f999026faf9 in Gwenview::Document::~Document() () from /usr/lib/libgwenviewlib.so.5
#11 0x00007f9990272e5f in Gwenview::DocumentFactory::~DocumentFactory() () from /usr/lib/libgwenviewlib.so.5
#12 0x00007f998b339be8 in __run_exit_handlers () from /usr/lib/libc.so.6
#13 0x00007f998b339c35 in exit () from /usr/lib/libc.so.6
#14 0x00007f998b324748 in __libc_start_main () from /usr/lib/libc.so.6
#15 0x0000000000432029 in _start ()
Comment 4 Mario Junior 2016-06-09 01:56:02 UTC
Created attachment 99421 [details]
New crash information added by DrKonqi

gwenview (16.04.1) using Qt 5.6.0

I close Gwenview after play a gif and the Gwenview crash.

-- Backtrace (Reduced):
#5  0x00007f91f0a78bd2 in QImageReaderPrivate::~QImageReaderPrivate (this=0x2622c10, __in_chrg=<optimized out>) at image/qimagereader.cpp:572
#6  0x00007f91f0a79001 in QImageReader::~QImageReader (this=<optimized out>, __in_chrg=<optimized out>) at image/qimagereader.cpp:684
#7  0x00007f91f0a9724c in QMovie::~QMovie (this=0x1ffeda8, __in_chrg=<optimized out>) at image/qmovie.cpp:619
[...]
#9  0x00007f91f4a9196f in Gwenview::Document::~Document() () from /usr/lib/libgwenviewlib.so.5
#10 0x00007f91f4a91af9 in Gwenview::Document::~Document() () from /usr/lib/libgwenviewlib.so.5
Comment 5 Holger 2016-07-27 11:52:30 UTC
I crashed it two times in a row, but now I cannot make it crash again.

what I did:
- open some png
- alt+up to see folder
- open another png
- space to select next image
- until last which is an animated gif
- see first or second frame of animation
- alt-up to see folder again
- alt-up to see parent folder
- alt-f4 to exit
- crash
The last three alt-? came pretty fast in less than 3 seconds. I speculate, there is a race condition with the animation timer somewhere.
Comment 6 Christoph Feck 2016-09-08 15:12:25 UTC

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