Bug 242721 - digikam crashes when importing pictures from camera
Summary: digikam crashes when importing pictures from camera
Status: RESOLVED UPSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 1.2.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-24 21:07 UTC by Oliver Henshaw
Modified: 2022-01-24 20:49 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Henshaw 2010-06-24 21:07:18 UTC
Application: digikam (1.2.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.14-127.fc12.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
While importing photos from a canon Ixus, digikam crashed. There was quite a backlog of pictures never imported from the camera, not sure whether that's relevant - but the 2009-12-25 photos were the oldest of these.


Additonal Info:

Some extracts from 'grep digikam ~/.xsession-errors':
...
recycling running org.kde.digikam-4661: org.kde.digikam.downloadFromUdi /org/freedesktop/Hal/devices/usb_device_4a9_30ff_noserial_if0
digikam(4661)/digikam (core) Digikam::CollectionScanner::scanAlbum: Folder does not exist or is not readable:  "/data/Pictures/MyCamera/2009-12-25/.digikam-camera-tmp1-4661IMG_1571.JPG4661" 
digikam(4661)/digikam (core) Digikam::CollectionScanner::scanAlbum: Folder does not exist or is not readable:  "/data/Pictures/MyCamera/2009-12-25/.digikam-camera-tmp1-4661IMG_1571.JPG" 
*** glibc detected *** /usr/bin/digikam: free(): invalid pointer: 0xb57397b0 ***
...
KCrash: Application 'digikam' crashing...
QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-152861048' is still in use, all queries will cease to work.
QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-152861048' is still in use, all queries will cease to work


$ ll -rta /data/Pictures/MyCamera/2009-12-25
total 9408
-rw-rw-r--.   1 henshaw henshaw 3120242 2009-12-25 15:08 IMG_1571.JPG
-rw-rw-r--.   1 henshaw henshaw 2498665 2009-12-25 15:09 IMG_1572.JPG
-rw-rw-r--.   1 henshaw henshaw 1624825 2009-12-25 15:09 IMG_1573.JPG
-rw-rw-r--.   1 henshaw henshaw 2330205 2009-12-25 16:38 .digikam-camera-tmp1-4661IMG_1574.JPG
-rw-rw-r--.   1 henshaw henshaw       0 2010-06-24 17:43 .digikam-exifrotate-4661.jpg                                                                     
drwxr-xr-x. 101 henshaw henshaw    4096 2010-06-24 17:43 ..
drwxrwxr-x.   2 henshaw henshaw    4096 2010-06-24 17:44 



 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0xb77b4a20 (LWP 4661))]

Thread 16 (Thread 0xb6212b70 (LWP 4662)):
[KCrash Handler]
#6  0x00c8d416 in __kernel_vsyscall ()
#7  0x0074aa81 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x0074c34a in abort () at abort.c:92
#9  0x0078844d in __libc_message (do_abort=2, fmt=0x85ab64 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#10 0x0078e851 in malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=0xb57397b0) at malloc.c:6267
#11 0x003bbd02 in operator delete (ptr=0xb57397b0) at ../../../../libstdc++-v3/libsupc++/del_op.cc:44
#12 0x00523080 in ~QExplicitlySharedDataPointer (this=0xb5739650, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qshareddata.h:159
#13 QDateTime::~QDateTime (this=0xb5739650, __in_chrg=<value optimized out>) at tools/qdatetime.cpp:2259
#14 0x0059d805 in ~Data (this=0xb5753cf0, __in_chrg=<value optimized out>) at io/qfileinfo_p.h:90
#15 QFileInfoPrivate::~QFileInfoPrivate (this=0xb5753cf0, __in_chrg=<value optimized out>) at io/qfileinfo.cpp:68
#16 0x0059db6c in cleanup (this=0xb575e340, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#17 ~QScopedPointer (this=0xb575e340, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#18 QFileInfo::~QFileInfo (this=0xb575e340, __in_chrg=<value optimized out>) at io/qfileinfo.cpp:374
#19 0x030e2913 in node_destruct (this=0xb6211f64, __in_chrg=<value optimized out>) at /usr/include/QtCore/qlist.h:404
#20 free (this=0xb6211f64, __in_chrg=<value optimized out>) at /usr/include/QtCore/qlist.h:646
#21 QList<QFileInfo>::~QList (this=0xb6211f64, __in_chrg=<value optimized out>) at /usr/include/QtCore/qlist.h:621
#22 0x030dfc29 in Digikam::CollectionScanner::scanAlbum (this=0xb6212210, location=..., album=...) at /usr/src/debug/digikam-1.2.0/libs/database/collectionscanner.cpp:701
#23 0x030df4da in Digikam::CollectionScanner::scanAlbum (this=0xb6212210, location=..., album=...) at /usr/src/debug/digikam-1.2.0/libs/database/collectionscanner.cpp:683
#24 0x030e02f9 in Digikam::CollectionScanner::scanAlbumRoot (this=0xb6212210, location=...) at /usr/src/debug/digikam-1.2.0/libs/database/collectionscanner.cpp:479
#25 0x030e0dcf in Digikam::CollectionScanner::partialScan (this=0xb6212210, albumRoot=..., album=...) at /usr/src/debug/digikam-1.2.0/libs/database/collectionscanner.cpp:334
#26 0x030e10b6 in Digikam::CollectionScanner::partialScan (this=0xb6212210, filePath=...) at /usr/src/debug/digikam-1.2.0/libs/database/collectionscanner.cpp:288
#27 0x082be53f in Digikam::ScanController::run (this=0x8eb0bd8) at /usr/src/debug/digikam-1.2.0/digikam/scancontroller.cpp:553
#28 0x00514cdf in QThreadPrivate::start (arg=0x8eb0bd8) at thread/qthread_unix.cpp:248
#29 0x00115ab5 in start_thread (arg=0xb6212b70) at pthread_create.c:297
#30 0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 15 (Thread 0xb55d5b70 (LWP 4663)):
#0  0x00c8d416 in __kernel_vsyscall ()
#1  0x007f0536 in __poll (fds=0xb3e00de8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x008dd8ac in IA__g_poll (fds=0xb3e00de8, nfds=1, timeout=-1) at gpoll.c:127
#3  0x008d0723 in g_main_context_poll (context=0x118eb0, block=1, dispatch=1, self=0xb3e01b28) at gmain.c:2904
#4  g_main_context_iterate (context=0x118eb0, block=1, dispatch=1, self=0xb3e01b28) at gmain.c:2586
#5  0x008d0a14 in IA__g_main_context_iteration (context=0xb3e004e8, may_block=1) at gmain.c:2654
#6  0x00632e7f in QEventDispatcherGlib::processEvents (this=0xb3e00468, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#7  0x006092da in QEventLoop::processEvents (this=0xb55d5200, flags=...) at kernel/qeventloop.cpp:149
#8  0x0060961a in QEventLoop::exec (this=0xb55d5200, flags=...) at kernel/qeventloop.cpp:201
#9  0x00512909 in QThread::exec (this=0x90267b0) at thread/qthread.cpp:487
#10 0x03153b0e in Digikam::ImageFilterModelWorker::Thread::run (this=0x90267b0) at /usr/src/debug/digikam-1.2.0/libs/models/imagefiltermodelthreads.h:66
#11 0x00514cdf in QThreadPrivate::start (arg=0x90267b0) at thread/qthread_unix.cpp:248
#12 0x00115ab5 in start_thread (arg=0xb55d5b70) at pthread_create.c:297
#13 0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 14 (Thread 0xb4bd4b70 (LWP 4664)):
#0  0x00c8d416 in __kernel_vsyscall ()
#1  0x007f0536 in __poll (fds=0xb4000de8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x008dd8ac in IA__g_poll (fds=0xb4000de8, nfds=1, timeout=-1) at gpoll.c:127
#3  0x008d0723 in g_main_context_poll (context=0x118eb0, block=1, dispatch=1, self=0xb4001928) at gmain.c:2904
#4  g_main_context_iterate (context=0x118eb0, block=1, dispatch=1, self=0xb4001928) at gmain.c:2586
#5  0x008d0a14 in IA__g_main_context_iteration (context=0xb40004e8, may_block=1) at gmain.c:2654
#6  0x00632e7f in QEventDispatcherGlib::processEvents (this=0xb4000468, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#7  0x006092da in QEventLoop::processEvents (this=0xb4bd4200, flags=...) at kernel/qeventloop.cpp:149
#8  0x0060961a in QEventLoop::exec (this=0xb4bd4200, flags=...) at kernel/qeventloop.cpp:201
#9  0x00512909 in QThread::exec (this=0x908b3d8) at thread/qthread.cpp:487
#10 0x03153b0e in Digikam::ImageFilterModelWorker::Thread::run (this=0x908b3d8) at /usr/src/debug/digikam-1.2.0/libs/models/imagefiltermodelthreads.h:66
#11 0x00514cdf in QThreadPrivate::start (arg=0x908b3d8) at thread/qthread_unix.cpp:248
#12 0x00115ab5 in start_thread (arg=0xb4bd4b70) at pthread_create.c:297
#13 0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 13 (Thread 0xb3dffb70 (LWP 4665)):
#0  0x00c8d416 in __kernel_vsyscall ()
#1  0x00119c45 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x00515b7f in wait (this=0x90acf10, mutex=0x90acf0c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x90acf10, mutex=0x90acf0c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x05f6e22a in Digikam::LoadSaveThread::run (this=0x90acf00) at /usr/src/debug/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x00514cdf in QThreadPrivate::start (arg=0x90acf00) at thread/qthread_unix.cpp:248
#6  0x00115ab5 in start_thread (arg=0xb3dffb70) at pthread_create.c:297
#7  0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0xb33feb70 (LWP 4666)):
#0  0x00117c1b in __pthread_mutex_lock (mutex=0xb4001a44) at pthread_mutex_lock.c:61
#1  0x008d06d8 in g_main_context_poll (context=0x97e580, block=1, dispatch=1, self=0xb4003068) at gmain.c:2899
#2  g_main_context_iterate (context=0x97e580, block=1, dispatch=1, self=0xb4003068) at gmain.c:2586
#3  0x008d0a14 in IA__g_main_context_iteration (context=0xb4001a40, may_block=1) at gmain.c:2654
#4  0x00632e7f in QEventDispatcherGlib::processEvents (this=0xb40019c0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#5  0x006092da in QEventLoop::processEvents (this=0xb33fe220, flags=...) at kernel/qeventloop.cpp:149
#6  0x0060961a in QEventLoop::exec (this=0xb33fe220, flags=...) at kernel/qeventloop.cpp:201
#7  0x00512909 in QThread::exec (this=0x90ecf98) at thread/qthread.cpp:487
#8  0x00514cdf in QThreadPrivate::start (arg=0x90ecf98) at thread/qthread_unix.cpp:248
#9  0x00115ab5 in start_thread (arg=0xb33feb70) at pthread_create.c:297
#10 0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xb29fdb70 (LWP 4667)):
#0  0x0042cdc6 in clock_gettime (clock_id=1, tp=0xb29fcf48) at ../sysdeps/unix/clock_gettime.c:100
#1  0x006300cb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x006347b6 in QTimerInfoList::updateCurrentTime (this=0xb3e02f74) at kernel/qeventdispatcher_unix.cpp:340
#3  0x006347fb in QTimerInfoList::timerWait (this=0xb3e02f74, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x00633088 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb29fd05c) at kernel/qeventdispatcher_glib.cpp:136
#5  0x0063311d in timerSourcePrepare (source=0xb3e02f40, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#6  0x008d0150 in IA__g_main_context_prepare (context=<value optimized out>, priority=0xb29fd0dc) at gmain.c:2280
#7  0x008d0509 in g_main_context_iterate (context=0xb3e01c40, block=1, dispatch=1, self=0xb3e03068) at gmain.c:2571
#8  0x008d0a14 in IA__g_main_context_iteration (context=0xb3e01c40, may_block=1) at gmain.c:2654
#9  0x00632e7f in QEventDispatcherGlib::processEvents (this=0xb3e01bc0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x006092da in QEventLoop::processEvents (this=0xb29fd220, flags=...) at kernel/qeventloop.cpp:149
#11 0x0060961a in QEventLoop::exec (this=0xb29fd220, flags=...) at kernel/qeventloop.cpp:201
#12 0x00512909 in QThread::exec (this=0x90f0d00) at thread/qthread.cpp:487
#13 0x00514cdf in QThreadPrivate::start (arg=0x90f0d00) at thread/qthread_unix.cpp:248
#14 0x00115ab5 in start_thread (arg=0xb29fdb70) at pthread_create.c:297
#15 0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xa808cb70 (LWP 4671)):
#0  0x0042cdc6 in clock_gettime (clock_id=1, tp=0xa808bed8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x006300cb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x006347b6 in QTimerInfoList::updateCurrentTime (this=0xb571149c) at kernel/qeventdispatcher_unix.cpp:340
#3  0x006347fb in QTimerInfoList::timerWait (this=0xb571149c, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x00633088 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa808bfec) at kernel/qeventdispatcher_glib.cpp:136
#5  0x0063311d in timerSourcePrepare (source=0xb5711468, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#6  0x008d0150 in IA__g_main_context_prepare (context=<value optimized out>, priority=0xa808c06c) at gmain.c:2280
#7  0x008d0509 in g_main_context_iterate (context=0xb571d500, block=1, dispatch=1, self=0xb57252d8) at gmain.c:2571
#8  0x008d0a14 in IA__g_main_context_iteration (context=0xb571d500, may_block=1) at gmain.c:2654
#9  0x00632e7f in QEventDispatcherGlib::processEvents (this=0xb5747390, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x006092da in QEventLoop::processEvents (this=0xa808c1b0, flags=...) at kernel/qeventloop.cpp:149
#11 0x0060961a in QEventLoop::exec (this=0xa808c1b0, flags=...) at kernel/qeventloop.cpp:201
#12 0x00512909 in QThread::exec (this=0x94259c8) at thread/qthread.cpp:487
#13 0x08a7926d in Marble::GpsdThread::run (this=0x94259c8) at /usr/src/debug/kdeedu-4.4.4/marble/src/plugins/positionprovider/gpsd/GpsdThread.cpp:27
#14 0x00514cdf in QThreadPrivate::start (arg=0x94259c8) at thread/qthread_unix.cpp:248
#15 0x00115ab5 in start_thread (arg=0xa808cb70) at pthread_create.c:297
#16 0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xaca8eb70 (LWP 4672)):
#0  0x00c8d416 in __kernel_vsyscall ()
#1  0x00119c45 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x00515b7f in wait (this=0x94c1d20, mutex=0x94c1d1c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x94c1d20, mutex=0x94c1d1c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x05f6e22a in Digikam::LoadSaveThread::run (this=0x94c1d10) at /usr/src/debug/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x00514cdf in QThreadPrivate::start (arg=0x94c1d10) at thread/qthread_unix.cpp:248
#6  0x00115ab5 in start_thread (arg=0xaca8eb70) at pthread_create.c:297
#7  0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xac08db70 (LWP 4679)):
#0  0x00c8d416 in __kernel_vsyscall ()
#1  0x00119c45 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x00515b7f in wait (this=0x9763538, mutex=0x9763534, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9763538, mutex=0x9763534, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x05f6e22a in Digikam::LoadSaveThread::run (this=0x9763528) at /usr/src/debug/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x00514cdf in QThreadPrivate::start (arg=0x9763528) at thread/qthread_unix.cpp:248
#6  0x00115ab5 in start_thread (arg=0xac08db70) at pthread_create.c:297
#7  0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xa8e88b70 (LWP 4680)):
#0  0x00c8d416 in __kernel_vsyscall ()
#1  0x007f0536 in __poll (fds=0x97db598, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x008dd8ac in IA__g_poll (fds=0x97db598, nfds=1, timeout=-1) at gpoll.c:127
#3  0x008d0723 in g_main_context_poll (context=0x118eb0, block=1, dispatch=1, self=0x97c61c8) at gmain.c:2904
#4  g_main_context_iterate (context=0x118eb0, block=1, dispatch=1, self=0x97c61c8) at gmain.c:2586
#5  0x008d0a14 in IA__g_main_context_iteration (context=0x97c8a28, may_block=1) at gmain.c:2654
#6  0x00632e7f in QEventDispatcherGlib::processEvents (this=0x97c63c8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#7  0x006092da in QEventLoop::processEvents (this=0xa8e881b0, flags=...) at kernel/qeventloop.cpp:149
#8  0x0060961a in QEventLoop::exec (this=0xa8e881b0, flags=...) at kernel/qeventloop.cpp:201
#9  0x00512909 in QThread::exec (this=0x97c6e18) at thread/qthread.cpp:487
#10 0x08a7926d in Marble::GpsdThread::run (this=0x97c6e18) at /usr/src/debug/kdeedu-4.4.4/marble/src/plugins/positionprovider/gpsd/GpsdThread.cpp:27
#11 0x00514cdf in QThreadPrivate::start (arg=0x97c6e18) at thread/qthread_unix.cpp:248
#12 0x00115ab5 in start_thread (arg=0xa8e88b70) at pthread_create.c:297
#13 0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xab68cb70 (LWP 4681)):
#0  0x00c8d416 in __kernel_vsyscall ()
#1  0x00119c45 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x00515b7f in wait (this=0x9852b70, mutex=0x9852b6c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9852b70, mutex=0x9852b6c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x05f6e22a in Digikam::LoadSaveThread::run (this=0x9852b60) at /usr/src/debug/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x00514cdf in QThreadPrivate::start (arg=0x9852b60) at thread/qthread_unix.cpp:248
#6  0x00115ab5 in start_thread (arg=0xab68cb70) at pthread_create.c:297
#7  0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaac8bb70 (LWP 4736)):
#0  0x0063480a in QTimerInfoList::timerWait (this=0xb575125c, tm=...) at kernel/qeventdispatcher_unix.cpp:444
#1  0x00633088 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaac8afec) at kernel/qeventdispatcher_glib.cpp:136
#2  0x0063311d in timerSourcePrepare (source=0xb5751228, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#3  0x008d0150 in IA__g_main_context_prepare (context=<value optimized out>, priority=0xaac8b06c) at gmain.c:2280
#4  0x008d0509 in g_main_context_iterate (context=0xb5729b30, block=1, dispatch=1, self=0xb5747218) at gmain.c:2571
#5  0x008d0a14 in IA__g_main_context_iteration (context=0xb5729b30, may_block=1) at gmain.c:2654
#6  0x00632e7f in QEventDispatcherGlib::processEvents (this=0xb5737020, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#7  0x006092da in QEventLoop::processEvents (this=0xaac8b1b0, flags=...) at kernel/qeventloop.cpp:149
#8  0x0060961a in QEventLoop::exec (this=0xaac8b1b0, flags=...) at kernel/qeventloop.cpp:201
#9  0x00512909 in QThread::exec (this=0xb4903a0) at thread/qthread.cpp:487
#10 0x08a7926d in Marble::GpsdThread::run (this=0xb4903a0) at /usr/src/debug/kdeedu-4.4.4/marble/src/plugins/positionprovider/gpsd/GpsdThread.cpp:27
#11 0x00514cdf in QThreadPrivate::start (arg=0xb4903a0) at thread/qthread_unix.cpp:248
#12 0x00115ab5 in start_thread (arg=0xaac8bb70) at pthread_create.c:297
#13 0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa768bb70 (LWP 4737)):
#0  0x00c8d416 in __kernel_vsyscall ()
#1  0x00119c45 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x00515b7f in wait (this=0xb2430e0, mutex=0xb2430dc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xb2430e0, mutex=0xb2430dc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x05f6e22a in Digikam::LoadSaveThread::run (this=0xb2430d0) at /usr/src/debug/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x00514cdf in QThreadPrivate::start (arg=0xb2430d0) at thread/qthread_unix.cpp:248
#6  0x00115ab5 in start_thread (arg=0xa768bb70) at pthread_create.c:297
#7  0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa4486b70 (LWP 4744)):
#0  0x00c8d416 in __kernel_vsyscall ()
#1  0x00119c45 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x00515b7f in wait (this=0xa9c3531c, mutex=0xa9c35318, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xa9c3531c, mutex=0xa9c35318, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x0051232d in QSemaphore::acquire (this=0xa4485da4, n=1) at thread/qsemaphore.cpp:142
#5  0x0061e62a in blocking_activate (sender=0xb7e39b0, m=0x8353c18, local_signal_index=18, argv=0xa4485dec) at kernel/qobject.cpp:3192
#6  QMetaObject::activate (sender=0xb7e39b0, m=0x8353c18, local_signal_index=18, argv=0xa4485dec) at kernel/qobject.cpp:3269
#7  0x080f44e8 in Digikam::CameraController::signalInternalCheckRename (this=0xb7e39b0, _t1=..., _t2=..., _t3=..., _t4=...)
    at /usr/src/debug/digikam-1.2.0/i686-redhat-linux-gnu/digikam/cameracontroller.moc:312
#8  0x080f8f84 in Digikam::CameraController::executeCommand (this=0xb7e39b0, cmd=0x8db1220) at /usr/src/debug/digikam-1.2.0/utilities/cameragui/cameracontroller.cpp:594
#9  0x080fb5da in Digikam::CameraController::run (this=0xb7e39b0) at /usr/src/debug/digikam-1.2.0/utilities/cameragui/cameracontroller.cpp:334
#10 0x00514cdf in QThreadPrivate::start (arg=0xb7e39b0) at thread/qthread_unix.cpp:248
#11 0x00115ab5 in start_thread (arg=0xa4486b70) at pthread_create.c:297
#12 0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa2683b70 (LWP 4745)):
#0  0x00c8d416 in __kernel_vsyscall ()
#1  0x00119c45 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x00515b7f in wait (this=0xb7eb620, mutex=0xb7eb61c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xb7eb620, mutex=0xb7eb61c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x080ffc24 in Digikam::CameraHistoryUpdater::run (this=0xb83b960) at /usr/src/debug/digikam-1.2.0/utilities/cameragui/camerahistoryupdater.cpp:114
#5  0x00514cdf in QThreadPrivate::start (arg=0xb83b960) at thread/qthread_unix.cpp:248
#6  0x00115ab5 in start_thread (arg=0xa2683b70) at pthread_create.c:297
#7  0x007faf1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77b4a20 (LWP 4661)):
#0  0x00c8d416 in __kernel_vsyscall ()
#1  0x007f0536 in __poll (fds=0xbfa32688, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00c3d0c0 in _xcb_conn_wait (c=<value optimized out>, cond=<value optimized out>, vector=<value optimized out>, count=<value optimized out>) at xcb_conn.c:306
#3  0x00c3d62b in _xcb_out_send (c=<value optimized out>, vector=<value optimized out>, count=<value optimized out>) at xcb_out.c:338
#4  0x00c3d9c8 in xcb_writev (c=<value optimized out>, vector=0xbfa32788, count=3, requests=<value optimized out>) at xcb_out.c:286
#5  0x00a47d59 in _XSend (dpy=<value optimized out>, data=<value optimized out>, size=<value optimized out>) at xcb_io.c:332
#6  0x00a3402d in SendZImage (dpy=<value optimized out>, d=<value optimized out>, gc=<value optimized out>, image=<value optimized out>, req_xoffset=<value optimized out>, 
    req_yoffset=<value optimized out>, x=<value optimized out>, y=<value optimized out>, req_width=<value optimized out>, req_height=<value optimized out>, dest_bits_per_pixel=<value optimized out>, 
    dest_scanline_pad=<value optimized out>) at PutImage.c:804
#7  PutImageRequest (dpy=<value optimized out>, d=<value optimized out>, gc=<value optimized out>, image=<value optimized out>, req_xoffset=<value optimized out>, req_yoffset=<value optimized out>, 
    x=<value optimized out>, y=<value optimized out>, req_width=<value optimized out>, req_height=<value optimized out>, dest_bits_per_pixel=<value optimized out>, 
    dest_scanline_pad=<value optimized out>) at PutImage.c:872
#8  PutSubImage (dpy=<value optimized out>, d=<value optimized out>, gc=<value optimized out>, image=<value optimized out>, req_xoffset=<value optimized out>, req_yoffset=<value optimized out>, 
    x=<value optimized out>, y=<value optimized out>, req_width=<value optimized out>, req_height=<value optimized out>, dest_bits_per_pixel=<value optimized out>, 
    dest_scanline_pad=<value optimized out>) at PutImage.c:910
#9  0x00a3420d in XPutImage (dpy=<value optimized out>, d=<value optimized out>, gc=<value optimized out>, image=<value optimized out>, req_xoffset=<value optimized out>, 
    req_yoffset=<value optimized out>, x=<value optimized out>, y=<value optimized out>, req_width=<value optimized out>, req_height=<value optimized out>) at PutImage.c:1029
#10 0x02230ce6 in QX11PixmapData::fromImage (this=0xb3db9e8, img=..., flags=...) at image/qpixmap_x11.cpp:1124
#11 0x0221ca68 in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:1999
#12 0x02234dd4 in QX11PixmapData::transformed (this=0xc30a600, transform=..., mode=SmoothTransformation) at image/qpixmap_x11.cpp:1791
#13 0x0221d89d in QPixmap::transformed (this=0xc28d4e0, transform=..., mode=SmoothTransformation) at image/qpixmap.cpp:1532
#14 0x0221dc3a in QPixmap::scaled (this=0xc28d4e0, s=..., aspectMode=KeepAspectRatio, mode=SmoothTransformation) at image/qpixmap.cpp:1448
#15 0x0810353d in scaled (this=0xc279150, itemName=..., downloadName=...) at /usr/include/QtGui/qpixmap.h:125
#16 Digikam::CameraIconItem::calcRect (this=0xc279150, itemName=..., downloadName=...) at /usr/src/debug/digikam-1.2.0/utilities/cameragui/cameraiconitem.cpp:147
#17 0x08103dfc in Digikam::CameraIconItem::paintItem (this=0xc279150, p=0xbfa35b18) at /usr/src/debug/digikam-1.2.0/utilities/cameragui/cameraiconitem.cpp:229
#18 0x082893c3 in Digikam::IconView::viewportPaintEvent (this=0xb540d90, pe=0xbfa36014) at /usr/src/debug/digikam-1.2.0/digikam/iconview.cpp:862
#19 0x03349c12 in Q3ScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib/libQt3Support.so.4
#20 0x00609e3a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8d794d0, receiver=0x8dc3ab8, event=0xbfa36014) at kernel/qcoreapplication.cpp:819
#21 0x0213c17a in QApplicationPrivate::notify_helper (this=0x8d794d0, receiver=0x8dc3ab8, e=0xbfa36014) at kernel/qapplication.cpp:4300
#22 0x02142a71 in QApplication::notify (this=0xbfa36db8, receiver=0x8dc3ab8, e=0xbfa36014) at kernel/qapplication.cpp:4269
#23 0x02c0287b in KApplication::notify (this=0xbfa36db8, receiver=0x8dc3ab8, event=0xbfa36014) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#24 0x0060ac03 in QCoreApplication::notifyInternal (this=0xbfa36db8, receiver=0x8dc3ab8, event=0xbfa36014) at kernel/qcoreapplication.cpp:704
#25 0x02197867 in sendSpontaneousEvent (this=0x8dd8550, pdev=0xb83b4fc, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0xb83b668) at ../../src/corelib/kernel/qcoreapplication.h:218
#26 QWidgetPrivate::drawWidget (this=0x8dd8550, pdev=0xb83b4fc, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0xb83b668) at kernel/qwidget.cpp:5339
#27 0x02356690 in QWidgetBackingStore::sync (this=0xb83b668) at painting/qbackingstore.cpp:1283
#28 0x021888f3 in QWidgetPrivate::syncBackingStore (this=0x8debb48) at kernel/qwidget.cpp:1672
#29 0x0218f6ee in QWidget::event (this=0xa64e4a0, event=0xc25a048) at kernel/qwidget.cpp:8291
#30 0x0257a017 in QMainWindow::event (this=0xa64e4a0, event=0xc25a048) at widgets/qmainwindow.cpp:1433
#31 0x02ce1724 in KMainWindow::event (this=0xa64e4a0, ev=0xc25a048) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/kmainwindow.cpp:1103
#32 0x02d22a00 in KXmlGuiWindow::event (this=0xa64e4a0, ev=0xc25a048) at /usr/src/debug/kdelibs-4.4.4/kdeui/xmlgui/kxmlguiwindow.cpp:131
#33 0x0213c19c in QApplicationPrivate::notify_helper (this=0x8d794d0, receiver=0xa64e4a0, e=0xc25a048) at kernel/qapplication.cpp:4304
#34 0x02142a71 in QApplication::notify (this=0xbfa36db8, receiver=0xa64e4a0, e=0xc25a048) at kernel/qapplication.cpp:4269
#35 0x02c0287b in KApplication::notify (this=0xbfa36db8, receiver=0xa64e4a0, event=0xc25a048) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#36 0x0060ac03 in QCoreApplication::notifyInternal (this=0xbfa36db8, receiver=0xa64e4a0, event=0xc25a048) at kernel/qcoreapplication.cpp:704
#37 0x0060bac3 in sendEvent (receiver=0x0, event_type=0, data=0x8d4f180) at kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8d4f180) at kernel/qcoreapplication.cpp:1345
#39 0x0060bc1e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#40 0x00633350 in sendPostedEvents (s=0x8d7b910) at kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x8d7b910) at kernel/qeventdispatcher_glib.cpp:276
#42 0x008ccfb8 in g_main_dispatch (context=0x8d7b890) at gmain.c:1960
#43 IA__g_main_context_dispatch (context=0x8d7b890) at gmain.c:2513
#44 0x008d08e8 in g_main_context_iterate (context=0x118eb0, block=1, dispatch=1, self=0x8d79718) at gmain.c:2591
#45 0x008d0a14 in IA__g_main_context_iteration (context=0x8d7b890, may_block=1) at gmain.c:2654
#46 0x00632e46 in QEventDispatcherGlib::processEvents (this=0x8d4ee40, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#47 0x021ea626 in QGuiEventDispatcherGlib::processEvents (this=0x8d4ee40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x006092da in QEventLoop::processEvents (this=0xbfa36d04, flags=...) at kernel/qeventloop.cpp:149
#49 0x0060961a in QEventLoop::exec (this=0xbfa36d04, flags=...) at kernel/qeventloop.cpp:201
#50 0x0060bce7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0x0213c248 in QApplication::exec () at kernel/qapplication.cpp:3583
#52 0x08343145 in main (argc=5, argv=0xbfa37204) at /usr/src/debug/digikam-1.2.0/digikam/main.cpp:193

Possible duplicates by query: bug 238623, bug 238045, bug 236519, bug 236422, bug 215688.

Reported using DrKonqi
Comment 1 Oliver Henshaw 2010-06-24 21:12:27 UTC
Bug #238452 may be related. Not sure if this is really a duplicate, or simply has a similar cause. Anyway, the stacktraces of the crashing thread are fairly similar and the possible cause (scanning a directory that is being written to) are similar, even if the apps involved are different.
Comment 2 Marcel Wiesweg 2010-06-24 21:28:01 UTC
Yes, seems to be the same Qt problem. And no digikam code involved directly in the crash. Sorry, nothing we can really do about that here.
Comment 3 Oliver Henshaw 2010-07-04 18:04:44 UTC
The amarok bug mentions that it might be worth figuring out a test case to submit to Qt upstream. Do you have any pointers on writing such a test-case?
Comment 4 Marcel Wiesweg 2010-07-04 21:03:39 UTC
That's probably difficult, because it's a bug which I cannot reproduce, and which occurs in the dynamic and multithreaded situation of a directory being written while currently scanned in a non-UI thread by a complex scanning application (same situation for Amarok). Chances are that any of these conditions are necessary to trigger the bug. Or it's a problem in the system libraries at all.