Bug 295824 - Gwenview crashed on exit [ Gwenview::ThumbnailCache::run() ]
Summary: Gwenview crashed on exit [ Gwenview::ThumbnailCache::run() ]
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.7
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: triaged
: 264414 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-12 11:06 UTC by Peter Schübel
Modified: 2018-10-27 02:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Schübel 2012-03-12 11:06:32 UTC
Application: gwenview (2.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.11-default x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Opened Gwenview by double-clicking a PNG file in Doplhin.
Browsed through several files in directory (2089 files each monochrome PNGs with < 50 Kbyte)
pressed ESC to get to thumbnail view
clicked "x" in top right of window to close

Crash happened like this a few times, but not every time.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f067f77b760 (LWP 17572))]

Thread 3 (Thread 0x7f066d792700 (LWP 17573)):
#0  0x00007f067c23c99e in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f067c1d5f2e in _L_lock_9927 () from /lib64/libc.so.6
#2  0x00007f067c1d42d1 in free () from /lib64/libc.so.6
#3  0x00007f067e634067 in socketNotifierSourceCheck (source=0x8cc300) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f067896d84c in g_main_context_check () from /lib64/libglib-2.0.so.0
#5  0x00007f067896e132 in ?? () from /lib64/libglib-2.0.so.0
#6  0x00007f067896e650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#7  0x00007f067e6345df in QEventDispatcherGlib::processEvents (this=0x8cb180, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007f067e608c22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f067e608e35 in QEventLoop::exec (this=0x7f066d791de0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007f067e51dbe4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:498
#11 0x00007f067e5ea358 in QInotifyFileSystemWatcherEngine::run (this=0x8c8ed0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f067e5204d5 in QThreadPrivate::start (arg=0x8c8ed0) at thread/qthread_unix.cpp:331
#13 0x00007f067aca6a3f in start_thread () from /lib64/libpthread.so.0
#14 0x00007f067c22f71d in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f06677fe700 (LWP 17615)):
[KCrash Handler]
#6  0x00007f067c1cf6ba in malloc_consolidate () from /lib64/libc.so.6
#7  0x00007f067c1d0e14 in _int_malloc () from /lib64/libc.so.6
#8  0x00007f067c1d3d99 in malloc () from /lib64/libc.so.6
#9  0x00007f067c58619d in operator new(unsigned long) () from /usr/lib64/libstdc++.so.6
#10 0x00007f067c5862b9 in operator new[](unsigned long) () from /usr/lib64/libstdc++.so.6
#11 0x00007f067e53c6f7 in QHashData::detach_helper2 (this=0xee9500, node_duplicate=0x7f067f0cb310 <QHash<QString, QImage>::duplicateNode(QHashData::Node*, void*)>, node_delete=0x7f067f0cb420 <QHash<QString, QImage>::deleteNode2(QHashData::Node*)>, nodeSize=48, nodeAlign=8) at tools/qhash.cpp:217
#12 0x00007f067f0cb882 in QHash<QString, QImage>::detach_helper (this=0xef52b0) at /usr/include/QtCore/qhash.h:582
#13 0x00007f067f0cb92a in detach (this=0xef52b0, akey=<value optimized out>) at /usr/include/QtCore/qhash.h:299
#14 QHash<QString, QImage>::remove (this=0xef52b0, akey=<value optimized out>) at /usr/include/QtCore/qhash.h:786
#15 0x00007f067f0c998a in Gwenview::ThumbnailCache::run (this=0xef52a0) at /usr/src/debug/gwenview-4.7.4/lib/thumbnailloadjob.cpp:130
#16 0x00007f067e5204d5 in QThreadPrivate::start (arg=0xef52a0) at thread/qthread_unix.cpp:331
#17 0x00007f067aca6a3f in start_thread () from /lib64/libpthread.so.0
#18 0x00007f067c22f71d in clone () from /lib64/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f067f77b760 (LWP 17572)):
#0  0x00007f067c23c99e in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f067c1d5f2e in _L_lock_9927 () from /lib64/libc.so.6
#2  0x00007f067c1d42d1 in free () from /lib64/libc.so.6
#3  0x00007f067e565a1c in QString::free (d=0xd832e0) at tools/qstring.cpp:1186
#4  0x00007f067ca64093 in ~QString (this=<value optimized out>, x=0x7f0668a59ea0) at ../../src/corelib/tools/qstring.h:883
#5  QMap<QString, QString>::freeData (this=<value optimized out>, x=0x7f0668a59ea0) at ../../src/corelib/tools/qmap.h:648
#6  0x00007f067ca5931d in ~QMap (this=0x7f0668a5d090, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qmap.h:187
#7  QImageData::~QImageData (this=0x7f0668a5d090, __in_chrg=<value optimized out>) at image/qimage.cpp:258
#8  0x00007f067ca593e3 in QImage::~QImage (this=0xa892a8, __in_chrg=<value optimized out>) at image/qimage.cpp:1321
#9  0x00007f067f0cb42d in ~QHashNode (node=0xa89290) at /usr/include/QtCore/qhash.h:217
#10 QHash<QString, QImage>::deleteNode2 (node=0xa89290) at /usr/include/QtCore/qhash.h:519
#11 0x00007f067e53c5dd in QHashData::free_helper (this=0xee9500, node_delete=0x7f067f0cb420 <QHash<QString, QImage>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:271
#12 0x00007f067f0cb376 in freeData (this=0xef52a0, __in_chrg=<value optimized out>) at /usr/include/QtCore/qhash.h:568
#13 ~QHash (this=0xef52a0, __in_chrg=<value optimized out>) at /usr/include/QtCore/qhash.h:284
#14 ~ThumbnailCache (this=0xef52a0, __in_chrg=<value optimized out>) at /usr/src/debug/gwenview-4.7.4/lib/thumbnailloadjob.h:89
#15 Gwenview::ThumbnailCache::~ThumbnailCache (this=0xef52a0, __in_chrg=<value optimized out>) at /usr/src/debug/gwenview-4.7.4/lib/thumbnailloadjob.h:89
#16 0x00007f067c1915a1 in __run_exit_handlers () from /lib64/libc.so.6
#17 0x00007f067c1915f5 in exit () from /lib64/libc.so.6
#18 0x00007f067c17ac04 in __libc_start_main () from /lib64/libc.so.6
#19 0x00000000004258f9 in _start () at ../sysdeps/x86_64/elf/start.S:113

This bug may be a duplicate of or related to bug 273596, bug 270471, bug 278016, bug 248237.

Possible duplicates by query: bug 286908, bug 278393, bug 278016, bug 273596, bug 270471.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-05-29 09:10:27 UTC
*** Bug 264414 has been marked as a duplicate of this bug. ***
Comment 2 Benni Hill 2012-12-01 16:52:41 UTC
Is this still reproducible with a current version of gwenview? (There have been
some fixes in the respective code since 2.7.4.)
Comment 3 Malte Eggers 2013-11-14 15:11:36 UTC
I'm not sure whether this is related, but this is what I'm getting on KDE 4.11.2 *every* time I close gwenview.

Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1ba7ebc780 (LWP 9997))]

Thread 2 (Thread 0x7f1b90b83700 (LWP 10002)):
#0  0x00007f1ba07aad8c in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f1ba07aaff9 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1ba076d1fc in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1ba076d454 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f1ba6ce4c8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f1ba6cb5025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f1ba6bb35b6 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f1ba6c94046 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f1ba6bb4e69 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f1ba2523ec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1ba45ac6ed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1ba7ebc780 (LWP 9997)):
[KCrash Handler]
#5  0x00007f1ba5414908 in QRasterWindowSurface::~QRasterWindowSurface() () from /usr/lib64/qt4/libQtGui.so.4
#6  0x00007f1ba54148bc in QRasterWindowSurface::~QRasterWindowSurface() () from /usr/lib64/qt4/libQtGui.so.4
#7  0x00007f1ba542da59 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#8  0x00007f1ba526550c in QWidgetPrivate::deleteExtra() () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007f1ba526510e in QWidgetPrivate::~QWidgetPrivate() () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007f1ba52650ac in QWidgetPrivate::~QWidgetPrivate() () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f1ba6cca361 in QObject::~QObject() () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f1ba5268f10 in QWidget::~QWidget() () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007f1ba52689ac in QWidget::~QWidget() () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007f1ba57cda65 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007f1ba44fc689 in ?? () from /lib64/libc.so.6
#16 0x00007f1ba44fc715 in exit () from /lib64/libc.so.6
#17 0x00007f1ba44e6614 in __libc_start_main () from /lib64/libc.so.6
#18 0x000000000042ae61 in _start ()
Comment 4 Christoph Feck 2013-11-18 13:47:27 UTC
Malte, comment #3 is bug 261539, unrelated to this bug.
Comment 5 Andrew Crouthamel 2018-09-25 03:43:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-10-27 02:43:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!