Bug 317990 - crash after deleting an image in image editor
Summary: crash after deleting an image in image editor
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: DImg-Processing (show other bugs)
Version: 3.1.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-07 19:13 UTC by Christoph Roeder
Modified: 2022-02-04 06:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Roeder 2013-04-07 19:13:12 UTC
Application: digikam (3.1.0)
KDE Platform Version: 4.10.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-26-generic x86_64
Distribution: Ubuntu 12.10

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

I deleted an Image in the image editor with "del" key, so the next image should load, but digikam crashed.

The crash can be reproduced sometimes.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa0a1092a00 (LWP 6621))]

Thread 8 (Thread 0x7fa07aee5700 (LWP 6625)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa09b90407b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00000000005cb888 in ?? ()
#3  0x00007fa09b903b1c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fa095f21e9a in start_thread (arg=0x7fa07aee5700) at pthread_create.c:308
#5  0x00007fa09ab2ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa07a6e4700 (LWP 6626)):
#0  __pthread_mutex_lock (mutex=0x7fa06c000a60) at pthread_mutex_lock.c:47
#1  0x00007fa09376de21 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa093730897 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa093730d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa093730ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa09ba2ec46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fa09b9ff2ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fa09b9ff578 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fa09b900b40 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fa09b9df9df in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007fa09b903b1c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007fa095f21e9a in start_thread (arg=0x7fa07a6e4700) at pthread_create.c:308
#12 0x00007fa09ab2ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa079ee3700 (LWP 6798)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa09b90407b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fa09e947cd9 in ?? () from /usr/lib/libdigikamcore.so.3
#3  0x00007fa09b903b1c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fa095f21e9a in start_thread (arg=0x7fa079ee3700) at pthread_create.c:308
#5  0x00007fa09ab2ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa06178e700 (LWP 9501)):
#0  0x00007fa09ab21303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa093730d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa093730ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa09ba2ec46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fa09b9ff2ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fa09b9ff578 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fa09e94733b in ?? () from /usr/lib/libdigikamcore.so.3
#7  0x00007fa09b8f748d in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fa09b903b1c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fa095f21e9a in start_thread (arg=0x7fa06178e700) at pthread_create.c:308
#10 0x00007fa09ab2ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa062790700 (LWP 9512)):
#0  __pthread_mutex_lock (mutex=0x7fa038011f30) at pthread_mutex_lock.c:125
#1  0x00007fa09376de21 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa093730897 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa093730d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa093730ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa09ba2ec46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fa09b9ff2ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fa09b9ff578 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fa09e94733b in ?? () from /usr/lib/libdigikamcore.so.3
#9  0x00007fa09b8f748d in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007fa09b903b1c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007fa095f21e9a in start_thread (arg=0x7fa062790700) at pthread_create.c:308
#12 0x00007fa09ab2ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa063c2b700 (LWP 25171)):
#0  0x00007fa09ab21303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa093730d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa093730ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa09ba2ec46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fa09b9ff2ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fa09b9ff578 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fa09e94733b in ?? () from /usr/lib/libdigikamcore.so.3
#7  0x00007fa09b8f748d in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fa09b903b1c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fa095f21e9a in start_thread (arg=0x7fa063c2b700) at pthread_create.c:308
#10 0x00007fa09ab2ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa06092c700 (LWP 27524)):
#0  0x00007fa095f23f69 in __pthread_mutex_lock (mutex=0x7fa0280124b0) at pthread_mutex_lock.c:92
#1  0x00007fa09376de21 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa093730623 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa093730cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa093730ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa09ba2ec46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fa09b9ff2ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fa09b9ff578 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fa09e94733b in ?? () from /usr/lib/libdigikamcore.so.3
#9  0x00007fa09b8f748d in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007fa09b903b1c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007fa095f21e9a in start_thread (arg=0x7fa06092c700) at pthread_create.c:308
#12 0x00007fa09ab2ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa0a1092a00 (LWP 6621)):
[KCrash Handler]
#5  0x00007fa09e76af40 in Digikam::DImg::rotate(Digikam::DImg::ANGLE) () from /usr/lib/libdigikamcore.so.3
#6  0x00007fa09e76b1ca in Digikam::DImg::rotateAndFlip(int) () from /usr/lib/libdigikamcore.so.3
#7  0x00007fa09ea0d717 in Digikam::EditorCore::slotImageLoaded(Digikam::LoadingDescription const&, Digikam::DImg const&) () from /usr/lib/libdigikamcore.so.3
#8  0x00007fa09ba1546e in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fa09c3e2e9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007fa09c3e730a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007fa09d0ebad6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#12 0x00007fa09ba0059e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007fa09ba04421 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007fa09ba2ea93 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007fa093730ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fa093730de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fa093730ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fa09ba2ec26 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007fa09c487c1e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007fa09b9ff2ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007fa09b9ff578 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007fa09ba04738 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x000000000048f96b in ?? ()
#24 0x00007fa09aa5a76d in __libc_start_main (main=0x48e810, argc=3, ubp_av=0x7fff1890fb18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1890fb08) at libc-start.c:226
#25 0x000000000049182d in _start ()

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

Possible duplicates by query: bug 312285.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-04-07 19:53:41 UTC

*** This bug has been marked as a duplicate of bug 312285 ***
Comment 2 caulier.gilles 2019-07-28 01:54:54 UTC
Fixed with bug #312285