Bug 346445 - Crash on exit after opening GIF animation
Summary: Crash on exit after opening GIF animation
Status: RESOLVED UPSTREAM
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
: 347943 353488 359005 359492 364107 368123 374376 374632 378191 378304 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-21 21:55 UTC by clickwir631
Modified: 2018-03-21 21:50 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.80 KB, text/plain)
2015-05-04 19:05 UTC, Ettore Atalan
Details
New crash information added by DrKonqi (2.80 KB, text/plain)
2015-05-04 19:05 UTC, Ettore Atalan
Details
New crash information added by DrKonqi (2.99 KB, text/plain)
2015-05-06 00:19 UTC, Matteo Italia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description clickwir631 2015-04-21 21:55:25 UTC
Application: gwenview (5.0.0 pre)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-14-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
Was using Gwenview to review pictures in a folder, deleting some as I went. When I had reached the end of the pictures, I closed Gwenview. As soon as the Gwenview main window closed, the crash message came up.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fe7b118d8a8 in ~QImageReaderPrivate (this=0x16bf6e0, __in_chrg=<optimized out>) at image/qimagereader.cpp:566
#7  QImageReader::~QImageReader (this=<optimized out>, __in_chrg=<optimized out>) at image/qimagereader.cpp:678
#8  0x00007fe7b11aa32c in QMovie::~QMovie (this=0x14fc128, __in_chrg=<optimized out>) at image/qmovie.cpp:619
#9  0x00007fe7b42fded9 in ~AnimatedDocumentLoadedImplPrivate (this=0x14fc110, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:37
#10 Gwenview::AnimatedDocumentLoadedImpl::~AnimatedDocumentLoadedImpl (this=0x1c39000, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:59
#11 0x00007fe7b42fdf49 in Gwenview::AnimatedDocumentLoadedImpl::~AnimatedDocumentLoadedImpl (this=0x1c39000, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:60
#12 0x00007fe7b42ffe5f in Gwenview::Document::~Document (this=0x1a3ec10, __in_chrg=<optimized out>) at ../../lib/document/document.cpp:168
#13 0x00007fe7b4300029 in Gwenview::Document::~Document (this=0x1a3ec10, __in_chrg=<optimized out>) at ../../lib/document/document.cpp:170
#14 0x00007fe7b4302aa6 in ~KSharedPtr (this=0x153d2c0, __in_chrg=<optimized out>) at /usr/include/KF5/KDELibs4Support/ksharedptr.h:106
#15 ~DocumentInfo (this=0x153d2c0, __in_chrg=<optimized out>) at ../../lib/document/documentfactory.cpp:67
#16 qDeleteAll<QMap<QUrl, Gwenview::DocumentInfo*>::const_iterator> (begin=..., end=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:315
#17 0x00007fe7b4302743 in qDeleteAll<QMap<QUrl, Gwenview::DocumentInfo*> > (c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:323
#18 Gwenview::DocumentFactory::~DocumentFactory (this=0x7fe7b45bb9b0 <Gwenview::DocumentFactory::instance()::factory>, __in_chrg=<optimized out>) at ../../lib/document/documentfactory.cpp:147
#19 0x00007fe7b0451d32 in __run_exit_handlers (status=0, listp=0x7fe7b07dc698 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#20 0x00007fe7b0451d85 in __GI_exit (status=<optimized out>) at exit.c:104
#21 0x00007fe7b0438a47 in __libc_start_main (main=0x437d60 <main(int, char**)>, argc=2, argv=0x7ffe3e747298, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe3e747288) at libc-start.c:323
#22 0x0000000000438477 in _start ()

Reported using DrKonqi
Comment 1 Ettore Atalan 2015-05-04 19:05:29 UTC
Created attachment 92418 [details]
New crash information added by DrKonqi

gwenview (5.0.0 pre) using Qt 5.4.1

- What I was doing when the application crashed:

Gwenview crashed suddenly after I was closing the program.

-- Backtrace (Reduced):
#6  0x00007f9e3e1178a8 in ~QImageReaderPrivate (this=0x16f2f70, __in_chrg=<optimized out>) at image/qimagereader.cpp:566
#7  QImageReader::~QImageReader (this=<optimized out>, __in_chrg=<optimized out>) at image/qimagereader.cpp:678
#8  0x00007f9e3e13432c in QMovie::~QMovie (this=0x185fde8, __in_chrg=<optimized out>) at image/qmovie.cpp:619
#9  0x00007f9e41254ed9 in ~AnimatedDocumentLoadedImplPrivate (this=0x185fdd0, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:37
#10 Gwenview::AnimatedDocumentLoadedImpl::~AnimatedDocumentLoadedImpl (this=0x1870df0, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:59
Comment 2 Ettore Atalan 2015-05-04 19:05:41 UTC
Created attachment 92419 [details]
New crash information added by DrKonqi

gwenview (5.0.0 pre) using Qt 5.4.1

- What I was doing when the application crashed:

Gwenview crashed suddenly after I was closing the program.

-- Backtrace (Reduced):
#6  0x00007f233f5228a8 in ~QImageReaderPrivate (this=0x1283290, __in_chrg=<optimized out>) at image/qimagereader.cpp:566
#7  QImageReader::~QImageReader (this=<optimized out>, __in_chrg=<optimized out>) at image/qimagereader.cpp:678
#8  0x00007f233f53f32c in QMovie::~QMovie (this=0x13822e8, __in_chrg=<optimized out>) at image/qmovie.cpp:619
#9  0x00007f234265fed9 in ~AnimatedDocumentLoadedImplPrivate (this=0x13822d0, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:37
#10 Gwenview::AnimatedDocumentLoadedImpl::~AnimatedDocumentLoadedImpl (this=0x139e1e0, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:59
Comment 3 Matteo Italia 2015-05-06 00:19:21 UTC
Created attachment 92443 [details]
New crash information added by DrKonqi

gwenview (5.0.0 pre) using Qt 5.4.1

- What I was doing when the application crashed:
I just opened twice (by error) an animated gif; when I closed the first window (i.e. the one that remained in background in the z-order), it crashed. Unlike the case of OP, I didn't browse/work on other images.

-- Backtrace (Reduced):
#6  0x00007eff128968a8 in ~QImageReaderPrivate (this=0x10de040, __in_chrg=<optimized out>) at image/qimagereader.cpp:566
#7  QImageReader::~QImageReader (this=<optimized out>, __in_chrg=<optimized out>) at image/qimagereader.cpp:678
#8  0x00007eff128b332c in QMovie::~QMovie (this=0x15dc998, __in_chrg=<optimized out>) at image/qmovie.cpp:619
#9  0x00007eff159d3ed9 in ~AnimatedDocumentLoadedImplPrivate (this=0x15dc980, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:37
#10 Gwenview::AnimatedDocumentLoadedImpl::~AnimatedDocumentLoadedImpl (this=0x16cc550, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:59
Comment 4 Ettore Atalan 2015-08-21 15:40:24 UTC
gwenview version: 5.0.0

Gwenview crashed after opening a GIF animation file.

Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f2931c7d8a8 in ~QImageReaderPrivate (this=0x2662a90, __in_chrg=<optimized out>) at image/qimagereader.cpp:566
#7  QImageReader::~QImageReader (this=<optimized out>, __in_chrg=<optimized out>) at image/qimagereader.cpp:678
#8  0x00007f2931c9a32c in QMovie::~QMovie (this=0x2acfde8, __in_chrg=<optimized out>) at image/qmovie.cpp:619
#9  0x00007f2934dcbb59 in ~AnimatedDocumentLoadedImplPrivate (this=0x2acfdd0, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:37
#10 Gwenview::AnimatedDocumentLoadedImpl::~AnimatedDocumentLoadedImpl (this=0x2765980, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:59
#11 0x00007f2934dcbbc9 in Gwenview::AnimatedDocumentLoadedImpl::~AnimatedDocumentLoadedImpl (this=0x2765980, __in_chrg=<optimized out>) at ../../lib/document/animateddocumentloadedimpl.cpp:60
#12 0x00007f2934dcdadf in Gwenview::Document::~Document (this=0x2ac7740, __in_chrg=<optimized out>) at ../../lib/document/document.cpp:168
#13 0x00007f2934dcdca9 in Gwenview::Document::~Document (this=0x2ac7740, __in_chrg=<optimized out>) at ../../lib/document/document.cpp:170
#14 0x00007f2934dd0726 in ~KSharedPtr (this=0x2ac5150, __in_chrg=<optimized out>) at /usr/include/KF5/KDELibs4Support/ksharedptr.h:106
#15 ~DocumentInfo (this=0x2ac5150, __in_chrg=<optimized out>) at ../../lib/document/documentfactory.cpp:67
#16 qDeleteAll<QMap<QUrl, Gwenview::DocumentInfo*>::const_iterator> (begin=..., end=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:315
#17 0x00007f2934dd03c3 in qDeleteAll<QMap<QUrl, Gwenview::DocumentInfo*> > (c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:323
#18 Gwenview::DocumentFactory::~DocumentFactory (this=0x7f293508a9d0 <Gwenview::DocumentFactory::instance()::factory>, __in_chrg=<optimized out>) at ../../lib/document/documentfactory.cpp:147
#19 0x00007f2930f4dd32 in __run_exit_handlers (status=0, listp=0x7f29312d8698 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#20 0x00007f2930f4dd85 in __GI_exit (status=<optimized out>) at exit.c:104
#21 0x00007f2930f34a47 in __libc_start_main (main=0x4379f0 <main(int, char**)>, argc=2, argv=0x7fffbfdcf888, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbfdcf878) at libc-start.c:323
#22 0x0000000000438109 in _start ()
Comment 5 Christoph Feck 2016-09-08 15:11:04 UTC
*** Bug 347943 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2016-09-08 15:11:26 UTC
*** Bug 353488 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2016-09-08 15:11:49 UTC
*** Bug 359005 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2016-09-08 15:12:25 UTC
*** Bug 359492 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2016-09-08 15:12:49 UTC
*** Bug 364107 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2016-09-08 15:13:08 UTC
*** Bug 368123 has been marked as a duplicate of this bug. ***
Comment 11 Christoph Feck 2016-12-31 05:31:10 UTC
*** Bug 374376 has been marked as a duplicate of this bug. ***
Comment 12 vikram goyal 2016-12-31 05:42:20 UTC
https://bugs.kde.org/show_bug.cgi?id=374376

The link to animated gif on which the app crashed:

https://drive.google.com/file/d/0B9oPiVD7F7V5eV9objVxTThfaFU/view?usp=sharing
Comment 13 Christoph Feck 2017-01-09 22:12:07 UTC
*** Bug 374632 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2017-04-20 23:42:39 UTC
*** Bug 378191 has been marked as a duplicate of this bug. ***
Comment 15 Christoph Feck 2017-04-20 23:43:03 UTC
*** Bug 378304 has been marked as a duplicate of this bug. ***
Comment 16 Huon 2018-03-21 02:56:06 UTC
I can't reproduce this in 17.12.3. Possibly fixed?
Comment 17 null 2018-03-21 21:50:34 UTC
This GIF somehow made it into my collection of test images, and I never experienced a crash in the last months. Backtrace looks a bit like it might have been a problem in Qt. No more duplicates since a while too, so therefore let's close the bug.