Bug 248237

Summary: Gwenview crashed on close
Product: [Applications] gwenview Reporter: Josef <lists>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: adaptee, theyellowfish
Priority: NOR    
Version: 2.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Josef 2010-08-18 13:25:02 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 opened Gwenview through Dolphin, pressed esc (actually wanting to close Gwenview). When I closed Gwenview it crashed. 

The crash does not seem to be reproducible.

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

Thread 3 (Thread 0xb3a51b70 (LWP 9973)):
#0  0x00590422 in __kernel_vsyscall ()
#1  0x004f8d33 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0048f697 in _L_lock_9637 () from /lib/tls/i686/cmov/libc.so.6
#3  0x0048dec6 in *__GI___libc_free (mem=0x8da0400) at malloc.c:3736
#4  0x00254741 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#5  0x00720d64 in QEventDispatcherGlib::unregisterSocketNotifier (this=0x8af79f8, notifier=0xb3a512ec) at kernel/qeventdispatcher_glib.cpp:493
#6  0x0070ffb9 in QSocketNotifier::setEnabled (this=0xfffffe00, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0x007212d2 in socketNotifierSourceCheck (source=0x8afa628) at kernel/qeventdispatcher_glib.cpp:92
#8  0x05e93799 in g_main_context_check () from /lib/libglib-2.0.so.0
#9  0x05e940ce in ?? () from /lib/libglib-2.0.so.0
#10 0x05e944b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00720e35 in QEventDispatcherGlib::processEvents (this=0x8af79f8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#12 0x006f3759 in QEventLoop::processEvents (this=0xb3a51290, flags=) at kernel/qeventloop.cpp:149
#13 0x006f3baa in QEventLoop::exec (this=0xb3a51290, flags=...) at kernel/qeventloop.cpp:201
#14 0x005f4fc9 in QThread::exec (this=0x8af95e8) at thread/qthread.cpp:487
#15 0x006d31db in QInotifyFileSystemWatcherEngine::run (this=0x8af95e8) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x005f797e in QThreadPrivate::start (arg=0x8af95e8) at thread/qthread_unix.cpp:248
#17 0x002bd96e in start_thread (arg=0xb3a51b70) at pthread_create.c:300
#18 0x004eba4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb623db70 (LWP 9988)):
#0  0x00590422 in __kernel_vsyscall ()
#1  0x002c4af9 in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:142
#2  0x002c20d1 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:235
#3  0x004f89dd in __pthread_cond_wait (cond=0x8d1ab78, mutex=0x8d1ab60) at forward.c:139
#4  0x005f6f12 in QMutexPrivate::wait (this=0x8d1ab48, timeout=-1) at thread/qmutex_unix.cpp:84
#5  0x005f2472 in QMutex::lock (this=0x8d1b264) at thread/qmutex.cpp:167
#6  0x00f9a3d3 in QMutexLocker::relock (this=0x8d1b258) at /usr/include/qt4/QtCore/qmutex.h:120
#7  Gwenview::ThumbnailCache::run (this=0x8d1b258) at ../../../gwenview/lib/thumbnailloadjob.cpp:131
#8  0x005f797e in QThreadPrivate::start (arg=0x8d1b258) at thread/qthread_unix.cpp:248
#9  0x002bd96e in start_thread (arg=0xb623db70) at pthread_create.c:300
#10 0x004eba4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb779daa0 (LWP 9902)):
[KCrash Handler]
#6  0x00590422 in __kernel_vsyscall ()
#7  0x00448651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x0044ba82 in *__GI_abort () at abort.c:92
#9  0x0047f49d in __libc_message (do_abort=2, fmt=0x553f98 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0x00489591 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x8d1ab40) at malloc.c:6264
#11 0x004899ce in malloc_consolidate (av=<value optimized out>) at malloc.c:5142
#12 0x0048ad65 in _int_free (av=<value optimized out>, p=0x940c680) at malloc.c:5015
#13 0x0048decd in *__GI___libc_free (mem=0x9447040) at malloc.c:3738
#14 0x005f1e7d in qFree (ptr=0x9447040) at global/qmalloc.cpp:60
#15 0x006419e0 in QString::free (d=0x9447040) at tools/qstring.cpp:1108
#16 0x00f764ee in ~QString (this=0x952d1f4, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qstring.h:869
#17 ~Entry (this=0x952d1f4, __in_chrg=<value optimized out>) at ../../../gwenview/lib/imagemetainfomodel.cpp:59
#18 qDeleteAll<QList<Gwenview::MetaInfoGroup::Entry*>::const_iterator> (this=0x952d1f4, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#19 qDeleteAll<QList<Gwenview::MetaInfoGroup::Entry*> > (this=0x952d1f4, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#20 ~MetaInfoGroup (this=0x952d1f4, __in_chrg=<value optimized out>) at ../../../gwenview/lib/imagemetainfomodel.cpp:89
#21 qDeleteAll<Gwenview::MetaInfoGroup* const*> (this=0x952d1f4, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#22 qDeleteAll<QVector<Gwenview::MetaInfoGroup*> > (this=0x952d1f4, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#23 ~ImageMetaInfoModel (this=0x952d1f4, __in_chrg=<value optimized out>) at ../../../gwenview/lib/imagemetainfomodel.cpp:290
#24 0x00f57a53 in ~DocumentPrivate (this=0x95a8230, __in_chrg=<value optimized out>) at ../../../gwenview/lib/document/document.cpp:39
#25 ~Document (this=0x95a8230, __in_chrg=<value optimized out>) at ../../../gwenview/lib/document/document.cpp:90
#26 0x00f58ed9 in ~KSharedPtr (this=0xfd27c8, __in_chrg=<value optimized out>) at /usr/include/ksharedptr.h:90
#27 ~DocumentInfo (this=0xfd27c8, __in_chrg=<value optimized out>) at ../../../gwenview/lib/document/documentfactory.cpp:49
#28 qDeleteAll<QMap<KUrl, Gwenview::DocumentInfo*>::const_iterator> (this=0xfd27c8, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#29 qDeleteAll<Gwenview::DocumentMap> (this=0xfd27c8, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#30 ~DocumentFactory (this=0xfd27c8, __in_chrg=<value optimized out>) at ../../../gwenview/lib/document/documentfactory.cpp:123
#31 0x0044d1bf in __run_exit_handlers (status=0, listp=0x574324, run_list_atexit=true) at exit.c:78
#32 0x0044d22f in *__GI_exit (status=0) at exit.c:100
#33 0x00434bde in __libc_start_main (main=0x8084e50 <main>, argc=6, ubp_av=0xbfe3f104, init=0x80a4480 <__libc_csu_init>, fini=0x80a4470 <__libc_csu_fini>, rtld_fini=0x2e00c0 <_dl_fini>, 
    stack_end=0xbfe3f0fc) at libc-start.c:258
#34 0x08064481 in _start ()

This bug may be a duplicate of or related to bug 243864.

Possible duplicates by query: bug 243864, bug 239862, bug 232108, bug 208881.

Reported using DrKonqi
Comment 1 Jekyll Wu 2011-11-10 16:30:41 UTC
*** Bug 268718 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2012-07-04 22:06:11 UTC
Feel free to reopen the report if the crash still happens in recent versions ( KDE SC 4.8.x)