Bug 250173

Summary: Gwenview crashes when trying to open non-existing file
Product: [Applications] gwenview Reporter: Josef <lists>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: adaptee
Priority: NOR    
Version: 2.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Josef 2010-09-04 16:13:16 UTC
Application: gwenview (2.4.3)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I tried opening a file in Dolphin that no longer exited (but Dolphin had failed to reload the new list of files). After a minute or so Gwenview crashed without ever opening a window. 

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
[Current thread is 1 (Thread 0xb77d4aa0 (LWP 7063))]

Thread 2 (Thread 0xb6274b70 (LWP 7074)):
#0  0x00f9f422 in __kernel_vsyscall ()
#1  0x0065eaf9 in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:142
#2  0x0065c0d1 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:235
#3  0x0081d9dd in __pthread_cond_wait (cond=0xa32cf20, mutex=0xa32cf08) at forward.c:139
#4  0x00d57f12 in QMutexPrivate::wait (this=0xa32cef0, timeout=-1) at thread/qmutex_unix.cpp:84
#5  0x00d53472 in QMutex::lock (this=0xa352f1c) at thread/qmutex.cpp:167
#6  0x00709f17 in QMutexLocker::relock (this=0xa352f10) at /usr/include/qt4/QtCore/qmutex.h:120
#7  QMutexLocker (this=0xa352f10) at /usr/include/qt4/QtCore/qmutex.h:102
#8  Gwenview::ThumbnailCache::run (this=0xa352f10) at ../../../gwenview/lib/thumbnailloadjob.cpp:117
#9  0x00d5897e in QThreadPrivate::start (arg=0xa352f10) at thread/qthread_unix.cpp:248
#10 0x0065796e in start_thread (arg=0xb6274b70) at pthread_create.c:300
#11 0x00810a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77d4aa0 (LWP 7063)):
[KCrash Handler]
#6  0x00f9f422 in __kernel_vsyscall ()
#7  0x0076d651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x00770a82 in *__GI_abort () at abort.c:92
#9  0x007a449d in __libc_message (do_abort=2, fmt=0x878f98 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0x007ae591 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0xa3dcf30) at malloc.c:6264
#11 0x007afed3 in _int_free (av=<value optimized out>, p=0xa3dcf30) at malloc.c:4945
#12 0x007b2ecd in *__GI___libc_free (mem=0xa3dd100) at malloc.c:3738
#13 0x00d52e7d in qFree (ptr=0xa3dd100) at global/qmalloc.cpp:60
#14 0x00da29e0 in QString::free (d=0xa3dd100) at tools/qstring.cpp:1108
#15 0x0070c47d in ~QString (node=0xa2d0c10) at /usr/include/qt4/QtCore/qstring.h:869
#16 ~QHashNode (node=0xa2d0c10) at /usr/include/qt4/QtCore/qhash.h:217
#17 QHash<QString, QImage>::deleteNode2 (node=0xa2d0c10) at /usr/include/qt4/QtCore/qhash.h:518
#18 0x00d76a5d in QHashData::free_helper (this=0xa32d290, node_delete=0x70c440 <QHash<QString, QImage>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:275
#19 0x0070bd30 in QHash<QString, QImage>::freeData (this=0xa352f10, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:567
#20 ~QHash (this=0xa352f10, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:284
#21 ~ThumbnailCache (this=0xa352f10, __in_chrg=<value optimized out>) at ./../../../gwenview/lib/thumbnailloadjob.h:88
#22 0x00706c95 in destroy () at ../../../gwenview/lib/thumbnailloadjob.cpp:88
#23 0x0070bc9b in ~KCleanUpGlobalStatic (this=0x742710, __in_chrg=<value optimized out>) at /usr/include/kglobal.h:62
#24 0x007721bf in __run_exit_handlers (status=0, listp=0x899324, run_list_atexit=true) at exit.c:78
#25 0x0077222f in *__GI_exit (status=0) at exit.c:100
#26 0x00759bde in __libc_start_main (main=0x8084e50 <main>, argc=6, ubp_av=0xbf8484b4, init=0x80a4480 <__libc_csu_init>, fini=0x80a4470 <__libc_csu_fini>, rtld_fini=0x92d0c0 <_dl_fini>, 
    stack_end=0xbf8484ac) at libc-start.c:258
#27 0x08064481 in _start ()

Possible duplicates by query: bug 248237, bug 243864, bug 243262, bug 242656, bug 239862.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-04 18:12:56 UTC
Feel free to reopen the report if this still happens in recent versions(KDE SC 4.8.x)