Bug 300066

Summary: ShowFoto crash when exiting
Product: [Applications] digikam Reporter: dilnix <dilnix>
Component: Showfoto-CoreAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description dilnix 2012-05-15 13:47:20 UTC
Application: showfoto (2.6.0-rc)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.3.4-4.fc17.i686.PAE i686
Distribution: "Fedora release 17 (Beefy Miracle)"

-- Information about the crash:
- What I was doing when the application crashed:

Lauched ShowFoto, made crop to some JPG, saved as another file and just close it... result is crash report... this is repeating sometimes...

The crash can be reproduced some of the time.

-- Backtrace:
Application: showFoto (showfoto), signal: Aborted
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb773a900 (LWP 3195))]

Thread 3 (Thread 0xb5109b40 (LWP 3198)):
#0  0xb778d424 in __kernel_vsyscall ()
#1  0x4bd2712c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:172
#2  0x4151d7a8 in wait (time=4294967295, this=0x944f170) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x94429d0, mutex=0x94429cc, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0x47afc90c in Digikam::ParkingThread::run (this=0x94429c0) at /usr/src/debug/digikam-software-compilation-2.6.0-rc/core/libs/threads/threadmanager.cpp:119
#5  0x4151d221 in QThreadPrivate::start (arg=0x94429c0) at thread/qthread_unix.cpp:298
#6  0x4bd23adf in start_thread (arg=0xb5109b40) at pthread_create.c:309
#7  0x4bc5755e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb0d79b40 (LWP 3247)):
#0  __pthread_mutex_unlock_usercnt (mutex=mutex@entry=0xb3a0e6a8, decr=decr@entry=1) at pthread_mutex_unlock.c:38
#1  0x4bd265be in __pthread_mutex_unlock (mutex=0xb3a0e6a8) at pthread_mutex_unlock.c:298
#2  0x4bfec301 in g_mutex_unlock (mutex=mutex@entry=0xb3a0b518) at gthread-posix.c:227
#3  0x4bfab1b1 in g_main_context_iterate (context=context@entry=0xb3a0b518, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3071
#4  0x4bfab472 in g_main_context_iteration (context=0xb3a0b518, may_block=1) at gmain.c:3184
#5  0x4166313f in QEventDispatcherGlib::processEvents (this=0xb3a0e750, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x4162f87d in QEventLoop::processEvents (this=this@entry=0xb0d79088, flags=...) at kernel/qeventloop.cpp:149
#7  0x4162fb79 in QEventLoop::exec (this=0xb0d79088, flags=...) at kernel/qeventloop.cpp:204
#8  0x41519ddc in QThread::exec (this=0x989d500) at thread/qthread.cpp:501
#9  0x4160da5e in QInotifyFileSystemWatcherEngine::run (this=0x989d500) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x4151d221 in QThreadPrivate::start (arg=0x989d500) at thread/qthread_unix.cpp:298
#11 0x4bd23adf in start_thread (arg=0xb0d79b40) at pthread_create.c:309
#12 0x4bc5755e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb773a900 (LWP 3195)):
[KCrash Handler]
#7  0xb778d424 in __kernel_vsyscall ()
#8  0x4bb9491f in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x4bb96273 in __GI_abort () at abort.c:91
#10 0x4bbd2785 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x4bcd3074 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
#11 0x4bbda109 in malloc_printerr (ptr=0x9741410, str=0x4bcd0ecc "free(): invalid pointer", action=<optimized out>) at malloc.c:5027
#12 _int_free (av=0x4bd10420, p=0x9741408, have_lock=0) at malloc.c:3948
#13 0x41515b4c in qFree (ptr=0x9741410) at global/qmalloc.cpp:60
#14 0x4156f198 in QString::free (d=0x9741410) at tools/qstring.cpp:1235
#15 0x41ad9650 in ~QString (this=0x9741370, __in_chrg=<optimized out>) at /usr/include/QtCore/qstring.h:880
#16 ~QHashNode (this=0x9741368, __in_chrg=<optimized out>) at /usr/include/QtCore/qhash.h:216
#17 QHash<QString, QStringList>::deleteNode2 (node=0x9741368) at /usr/include/QtCore/qhash.h:521
#18 0x4153c16c in QHashData::free_helper (this=0x972af68, node_delete=0x41ad9610 <QHash<QString, QStringList>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:275
#19 0x41ada6e1 in freeData (x=<optimized out>, this=<optimized out>) at /usr/include/QtCore/qhash.h:570
#20 ~QHash (this=0x972534c, __in_chrg=<optimized out>) at /usr/include/QtCore/qhash.h:283
#21 ~AllGlobs (this=0x972534c, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimeglobsfileparser_p.h:85
#22 KMimeTypeRepository::~KMimeTypeRepository (this=0x9725330, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetyperepository.cpp:54
#23 0x41ada8ba in destroy () at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetyperepository.cpp:36
#24 0x41a158ca in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0x41c55668, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.8.3/kdecore/kernel/kglobal.h:62
#25 0x4bb97cc1 in __run_exit_handlers (status=status@entry=0, listp=0x4bd103d8, run_list_atexit=run_list_atexit@entry=true) at exit.c:78
#26 0x4bb97d4d in __GI_exit (status=0) at exit.c:100
#27 0x4bb7f63d in __libc_start_main (main=0x8057080 <main(int, char**)>, argc=6, ubp_av=0xbf99d6e4, init=0x8079410 <__libc_csu_init>, fini=0x8079480 <__libc_csu_fini>, rtld_fini=0x4bb4ea90 <_dl_fini>, stack_end=0xbf99d6dc) at libc-start.c:258
#28 0x08057d09 in _start ()

Possible duplicates by query: bug 299886, bug 299137, bug 296435, bug 294766, bug 292022.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-05-15 14:30:10 UTC
Same backtrace than 299886

Gilles Caulier

*** This bug has been marked as a duplicate of bug 299886 ***
Comment 2 caulier.gilles 2022-01-20 06:48:32 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=299886