[Digikam-devel] [Bug 301051] New: Digikam crashes when changing picture in image editor

mikael.salson at gmail.com mikael.salson at gmail.com
Sat Jun 2 14:10:00 BST 2012


https://bugs.kde.org/show_bug.cgi?id=301051

            Bug ID: 301051
          Severity: crash
           Version: 2.5.0
          Priority: NOR
          Assignee: digikam-devel at kde.org
           Summary: Digikam crashes when changing picture in image editor
    Classification: Unclassified
                OS: Linux
          Reporter: mikael.salson at gmail.com
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: digikam

Application: digikam (2.5.0)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
When viewing pictures in the image editor, Digikam crashes on specific pictures
(always the same ones). However when opening the editor directly on a “buggy”
picture, Digikam does not crash, and the picture is displayed correctly.

The crash can be reproduced every time.

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

Thread 7 (Thread 0x7fc324bb5700 (LWP 20548)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc3426d64db in wait (time=18446744073709551615, this=0xdd91a0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdd9098,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005ca1d0 in Digikam::ScanController::run (this=0xdd8e30) at
/build/buildd/digikam-2.5.0/core/digikam/database/scancontroller.cpp:647
#4  0x00007fc3426d5fcb in QThreadPrivate::start (arg=0xdd8e30) at
thread/qthread_unix.cpp:298
#5  0x00007fc33d21ae9a in start_thread (arg=0x7fc324bb5700) at
pthread_create.c:308
#6  0x00007fc3419024bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc31ffff700 (LWP 20550)):
#0  0x00007fc33d21e05d in __pthread_mutex_unlock_usercnt (mutex=<optimized
out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7fc318000a60) at pthread_mutex_unlock.c:290
#2  0x00007fc33aea3591 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc33ae6812e in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc342804426 in QEventDispatcherGlib::processEvents
(this=0x7fc3180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fc3427d3c82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc3427d3ed7 in QEventLoop::exec (this=0x7fc31fffeb50, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00007fc3426d2fa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00007fc3427b39ff in QInotifyFileSystemWatcherEngine::run (this=0xddc5a0)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fc3426d5fcb in QThreadPrivate::start (arg=0xddc5a0) at
thread/qthread_unix.cpp:298
#10 0x00007fc33d21ae9a in start_thread (arg=0x7fc31ffff700) at
pthread_create.c:308
#11 0x00007fc3419024bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc31f7fe700 (LWP 20552)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc3426d64db in wait (time=18446744073709551615, this=0x13126b0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1312418,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc345ad4ff1 in Digikam::ParkingThread::run (this=0x1312400) at
/build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fc3426d5fcb in QThreadPrivate::start (arg=0x1312400) at
thread/qthread_unix.cpp:298
#5  0x00007fc33d21ae9a in start_thread (arg=0x7fc31f7fe700) at
pthread_create.c:308
#6  0x00007fc3419024bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc31e0b4700 (LWP 20553)):
#0  0x00007fc3418f6b03 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc33ae67ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc33ae68124 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc342804426 in QEventDispatcherGlib::processEvents
(this=0x7fc3140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fc3427d3c82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc3427d3ed7 in QEventLoop::exec (this=0x7fc31e0b3b50, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007fc3426d2fa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007fc3427b39ff in QInotifyFileSystemWatcherEngine::run (this=0xc39940)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc3426d5fcb in QThreadPrivate::start (arg=0xc39940) at
thread/qthread_unix.cpp:298
#9  0x00007fc33d21ae9a in start_thread (arg=0x7fc31e0b4700) at
pthread_create.c:308
#10 0x00007fc3419024bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc30a8c4700 (LWP 20558)):
#0  0x00007fc342803b75 in postEventSourcePrepare (s=0x7fc2fc001700,
timeout=0x0) at kernel/qeventdispatcher_glib.cpp:255
#1  0x00007fc33ae67a33 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc33ae67f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc33ae68124 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc342804426 in QEventDispatcherGlib::processEvents
(this=0x7fc2fc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fc3427d3c82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc3427d3ed7 in QEventLoop::exec (this=0x7fc30a8c3b50, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00007fc3426d2fa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00007fc3427b39ff in QInotifyFileSystemWatcherEngine::run (this=0x2b971d0)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fc3426d5fcb in QThreadPrivate::start (arg=0x2b971d0) at
thread/qthread_unix.cpp:298
#10 0x00007fc33d21ae9a in start_thread (arg=0x7fc30a8c4700) at
pthread_create.c:308
#11 0x00007fc3419024bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc301257700 (LWP 20559)):
#0  __pthread_getspecific (key=4) at pthread_getspecific.c:58
#1  0x00007fc33ae89e80 in g_thread_self () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc33ae68115 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc342804426 in QEventDispatcherGlib::processEvents
(this=0x7fc2f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fc3427d3c82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc3427d3ed7 in QEventLoop::exec (this=0x7fc301256b50, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007fc3426d2fa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007fc3427b39ff in QInotifyFileSystemWatcherEngine::run (this=0x2bb1210)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc3426d5fcb in QThreadPrivate::start (arg=0x2bb1210) at
thread/qthread_unix.cpp:298
#9  0x00007fc33d21ae9a in start_thread (arg=0x7fc301257700) at
pthread_create.c:308
#10 0x00007fc3419024bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc34845ca00 (LWP 20547)):
[KCrash Handler]
#6  0x00007fc341846445 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fc341849bab in __GI_abort () at abort.c:91
#8  0x00007fc341883e2e in __libc_message (do_abort=2, fmt=0x7fc34198c0d0 "***
glibc detected *** %s: %s: 0x%s ***\n") at
../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007fc34188e626 in malloc_printerr (action=3, str=0x7fc34198c230 "double
free or corruption (out)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007fc3458d3d59 in Digikam::DImg::rotate (this=0x2f41500,
angle=<optimized out>) at
/build/buildd/digikam-2.5.0/core/libs/dimg/dimg.cpp:2436
#11 0x00007fc3458d4282 in Digikam::DImg::rotateAndFlip (this=0x2f41500,
orientation=<optimized out>) at
/build/buildd/digikam-2.5.0/core/libs/dimg/dimg.cpp:2647
#12 0x00007fc345ba32a6 in Digikam::DImgInterface::slotImageLoaded
(this=0x2db2440, loadingDescription=..., img=...) at
/build/buildd/digikam-2.5.0/core/utilities/imageeditor/canvas/dimginterface.cpp:433
#13 0x00007fc3427ee446 in QObject::event (this=0x2db2440, e=<optimized out>) at
kernel/qobject.cpp:1195
#14 0x00007fc3431ca894 in notify_helper (e=0x7fc2c43f3520, receiver=0x2db2440,
this=0xbe14a0) at kernel/qapplication.cpp:4559
#15 QApplicationPrivate::notify_helper (this=0xbe14a0, receiver=0x2db2440,
e=0x7fc2c43f3520) at kernel/qapplication.cpp:4531
#16 0x00007fc3431cf713 in QApplication::notify (this=0x7fff5660b650,
receiver=0x2db2440, e=0x7fc2c43f3520) at kernel/qapplication.cpp:4420
#17 0x00007fc343f03bb6 in KApplication::notify (this=0x7fff5660b650,
receiver=0x2db2440, event=0x7fc2c43f3520) at
../../kdeui/kernel/kapplication.cpp:311
#18 0x00007fc3427d4e9c in QCoreApplication::notifyInternal
(this=0x7fff5660b650, receiver=0x2db2440, event=0x7fc2c43f3520) at
kernel/qcoreapplication.cpp:876
#19 0x00007fc3427d8c6a in sendEvent (event=0x7fc2c43f3520, receiver=0x2db2440)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0xb814c0) at kernel/qcoreapplication.cpp:1500
#21 0x00007fc342803f93 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#22 postEventSourceDispatch (s=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:279
#23 0x00007fc33ae67c9a in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fc33ae68060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fc33ae68124 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fc3428043bf in QEventDispatcherGlib::processEvents (this=0xb82da0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#27 0x00007fc343272d5e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007fc3427d3c82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#29 0x00007fc3427d3ed7 in QEventLoop::exec (this=0x7fff5660b4d0, flags=...) at
kernel/qeventloop.cpp:204
#30 0x00007fc3427d8f67 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#31 0x000000000048bc5d in main (argc=1, argv=<optimized out>) at
/build/buildd/digikam-2.5.0/core/digikam/main/main.cpp:232

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

Possible duplicates by query: bug 300843, bug 299917, bug 299828, bug 299137,
bug 297549.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list