Bug 286220

Summary: Crashes on importing certain assets
Product: [Applications] digikam Reporter: shmichael
Component: Import-IconViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 8.0.0
Sentry Crash Report:

Description shmichael 2011-11-09 21:12:58 UTC
Application: digikam (2.2.0)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu 11.10

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

When importing photos from a specific SD card, the import screen appears and immediately afterwards digikam crashes. Other SD cards import successfully.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb55228c0 (LWP 2241))]

Thread 7 (Thread 0xb48dab70 (LWP 2242)):
#0  0x00aaa416 in __kernel_vsyscall ()
#1  0x01f7da5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0149ccfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x018f0cc0 in wait (time=4294967295, this=0x8a82f70) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8a9681c, mutex=0x8a96818, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081ff345 in Digikam::ScanController::run (this=0x8a74ee0) at /build/buildd/digikam-2.2.0/core/digikam/database/scancontroller.cpp:647
#6  0x018f07b3 in QThreadPrivate::start (arg=0x8a74ee0) at thread/qthread_unix.cpp:331
#7  0x01f79d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0148f0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 6 (Thread 0xb40d9b70 (LWP 2243)):
#0  timerSourcePrepare (source=0x8a73898, timeout=0xb40d8f7c) at kernel/qeventdispatcher_glib.cpp:160
#1  0x0768b88c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0768c637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0768cc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01a19b37 in QEventDispatcherGlib::processEvents (this=0x8a77cf0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x019ea1dd in QEventLoop::processEvents (this=0xb40d9100, flags=...) at kernel/qeventloop.cpp:149
#6  0x019ea421 in QEventLoop::exec (this=0xb40d9100, flags=...) at kernel/qeventloop.cpp:201
#7  0x018ed90b in QThread::exec (this=0x8a67210) at thread/qthread.cpp:498
#8  0x019cae2d in QInotifyFileSystemWatcherEngine::run (this=0x8a67210) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x018f07b3 in QThreadPrivate::start (arg=0x8a67210) at thread/qthread_unix.cpp:331
#10 0x01f79d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x0148f0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xb36ffb70 (LWP 2245)):
#0  0x00aaa416 in __kernel_vsyscall ()
#1  0x01f7da5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0149ccfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x018f0cc0 in wait (time=4294967295, this=0x8e587e0) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8e584b0, mutex=0x8e584ac, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x011a1344 in Digikam::ParkingThread::run (this=0x8e584a0) at /build/buildd/digikam-2.2.0/core/libs/threads/threadmanager.cpp:119
#6  0x018f07b3 in QThreadPrivate::start (arg=0x8e584a0) at thread/qthread_unix.cpp:331
#7  0x01f79d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0148f0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb1ca0b70 (LWP 2246)):
#0  0x01f7bdc6 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x0149cf14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x0768bf53 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0768c8f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0768cc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x01a19b37 in QEventDispatcherGlib::processEvents (this=0xb374da88, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x019ea1dd in QEventLoop::processEvents (this=0xb1ca0100, flags=...) at kernel/qeventloop.cpp:149
#7  0x019ea421 in QEventLoop::exec (this=0xb1ca0100, flags=...) at kernel/qeventloop.cpp:201
#8  0x018ed90b in QThread::exec (this=0x8fcce00) at thread/qthread.cpp:498
#9  0x019cae2d in QInotifyFileSystemWatcherEngine::run (this=0x8fcce00) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x018f07b3 in QThreadPrivate::start (arg=0x8fcce00) at thread/qthread_unix.cpp:331
#11 0x01f79d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0148f0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xa7fc7b70 (LWP 2313)):
#0  0x00aaa416 in __kernel_vsyscall ()
#1  0x01f7da5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0149ccfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x018f0cc0 in wait (time=4294967295, this=0xb09e8e8) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xb0e5654, mutex=0xb0e5650, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x083cfa05 in Digikam::CameraController::run (this=0x9b65060) at /build/buildd/digikam-2.2.0/core/utilities/cameragui/controller/cameracontroller.cpp:385
#6  0x018f07b3 in QThreadPrivate::start (arg=0x9b65060) at thread/qthread_unix.cpp:331
#7  0x01f79d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0148f0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xa87c8b70 (LWP 2314)):
#0  0x00aaa416 in __kernel_vsyscall ()
#1  0x01f7da5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0149ccfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x018f0cc0 in wait (time=4294967295, this=0xb09fa90) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa86b310, mutex=0xa86b30c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x083d65d4 in Digikam::CameraHistoryUpdater::run (this=0xa7df848) at /build/buildd/digikam-2.2.0/core/utilities/cameragui/controller/camerahistoryupdater.cpp:118
#6  0x018f07b3 in QThreadPrivate::start (arg=0xa7df848) at thread/qthread_unix.cpp:331
#7  0x01f79d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0148f0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb55228c0 (LWP 2241)):
[KCrash Handler]
#7  0x014d4070 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x083e65c7 in size (this=<optimized out>) at /usr/include/i386-linux-gnu/bits/string3.h:52
#9  appendTo (out=<optimized out>, a=<optimized out>) at /usr/include/qt4/QtCore/qstringbuilder.h:213
#10 appendTo (out=<optimized out>, p=<optimized out>) at /usr/include/qt4/QtCore/qstringbuilder.h:293
#11 operator QString (this=<optimized out>) at /usr/include/qt4/QtCore/qstringbuilder.h:108
#12 Digikam::CameraIconView::findItem (this=0xffaf4a28, folder=..., filename=...) at /build/buildd/digikam-2.2.0/core/utilities/cameragui/views/cameraiconview.cpp:301
#13 0x083e6a72 in Digikam::CameraIconView::slotThumbInfoReady (this=0x98de788, info=...) at /build/buildd/digikam-2.2.0/core/utilities/cameragui/views/cameraiconview.cpp:229
#14 0x083e874c in Digikam::CameraIconView::qt_metacall (this=0x98de788, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf8b6668) at /build/buildd/digikam-2.2.0/obj-i686-linux-gnu/core/utilities/cameragui/cameraiconview.moc:145
#15 0x019f1b7d in metacall (argv=0xbf8b6668, idx=89, cl=QMetaObject::InvokeMetaMethod, object=0x98de788) at kernel/qmetaobject.cpp:237
#16 QMetaObject::metacall (object=0x98de788, cl=QMetaObject::InvokeMetaMethod, idx=89, argv=0xbf8b6668) at kernel/qmetaobject.cpp:232
#17 0x01a00a6a in QMetaObject::activate (sender=0xa50e8f0, m=0x8462214, local_signal_index=0, argv=0xbf8b6668) at kernel/qobject.cpp:3278
#18 0x083d3677 in Digikam::CameraThumbsCtrl::signalThumbInfoReady (this=0xa50e8f0, _t1=...) at /build/buildd/digikam-2.2.0/obj-i686-linux-gnu/core/utilities/cameragui/camerathumbsctrl.moc:99
#19 0x083d46db in Digikam::CameraThumbsCtrl::procressKDEPreview (this=0xa50e8f0, item=..., pix=...) at /build/buildd/digikam-2.2.0/core/utilities/cameragui/controller/camerathumbsctrl.cpp:180
#20 0x083d4b18 in Digikam::CameraThumbsCtrl::slotFailedKDEPreview (this=0xa50e8f0, item=...) at /build/buildd/digikam-2.2.0/core/utilities/cameragui/controller/camerathumbsctrl.cpp:156
#21 0x083d4f03 in Digikam::CameraThumbsCtrl::qt_metacall (this=0xa50e8f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf8b68a8) at /build/buildd/digikam-2.2.0/obj-i686-linux-gnu/core/utilities/cameragui/camerathumbsctrl.moc:87
#22 0x019f1b7d in metacall (argv=0xbf8b68a8, idx=8, cl=QMetaObject::InvokeMetaMethod, object=0xa50e8f0) at kernel/qmetaobject.cpp:237
#23 QMetaObject::metacall (object=0xa50e8f0, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbf8b68a8) at kernel/qmetaobject.cpp:232
#24 0x01a00a6a in QMetaObject::activate (sender=0x9fac750, m=0x2bf1efc, local_signal_index=1, argv=0xbf8b68a8) at kernel/qobject.cpp:3278
#25 0x02aabf55 in KIO::PreviewJob::failed (this=0x9fac750, _t1=...) at ./previewjob.moc:106
#26 0x02aae852 in KIO::PreviewJobPrivate::startPreview (this=0xb0d2c68) at ../../kio/kio/previewjob.cpp:344
#27 0x02aaf37f in KIO::PreviewJob::qt_metacall (this=0x9fac750, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x9762cc0) at ./previewjob.moc:86
#28 0x019f1b7d in metacall (argv=0x9762cc0, idx=34, cl=QMetaObject::InvokeMetaMethod, object=0x9fac750) at kernel/qmetaobject.cpp:237
#29 QMetaObject::metacall (object=0x9fac750, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0x9762cc0) at kernel/qmetaobject.cpp:232
#30 0x019fc685 in QMetaCallEvent::placeMetaCall (this=0xae93bd0, object=0x9fac750) at kernel/qobject.cpp:535
#31 0x01a03b52 in QObject::event (this=0x9fac750, e=0xae93bd0) at kernel/qobject.cpp:1217
#32 0x03428d54 in notify_helper (e=0xae93bd0, receiver=0x9fac750, this=0x895b320) at kernel/qapplication.cpp:4486
#33 QApplicationPrivate::notify_helper (this=0x895b320, receiver=0x9fac750, e=0xae93bd0) at kernel/qapplication.cpp:4458
#34 0x0342e103 in QApplication::notify (this=0xae93bd0, receiver=0x9fac750, e=0xae93bd0) at kernel/qapplication.cpp:3886
#35 0x05a91681 in KApplication::notify (this=0xbf8b71f0, receiver=0x9fac750, event=0xae93bd0) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x019eb19e in QCoreApplication::notifyInternal (this=0xbf8b71f0, receiver=0x9fac750, event=0xae93bd0) at kernel/qcoreapplication.cpp:787
#37 0x019eef93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8910bf8) at kernel/qcoreapplication.cpp:1428
#39 0x019ef0ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#40 0x01a196a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x8951b28) at kernel/qeventdispatcher_glib.cpp:277
#42 0x0768c25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0x0768c990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0x0768cc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x01a19ada in QEventDispatcherGlib::processEvents (this=0x8911920, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#46 0x034e0e3a in QGuiEventDispatcherGlib::processEvents (this=0x8911920, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x019ea1dd in QEventLoop::processEvents (this=0xbf8b70d4, flags=...) at kernel/qeventloop.cpp:149
#48 0x019ea421 in QEventLoop::exec (this=0xbf8b70d4, flags=...) at kernel/qeventloop.cpp:201
#49 0x019ef19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#50 0x034268f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#51 0x080b6204 in main (argc=) at /build/buildd/digikam-2.2.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 282744, bug 282194.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-11-10 08:08:17 UTC

*** This bug has been marked as a duplicate of bug 282194 ***
Comment 2 caulier.gilles 2023-04-05 05:53:02 UTC
Fixed with #282194