Bug 284707

Summary: DigiKam crashed upon opening import screen
Product: [Applications] digikam Reporter: arie
Component: Import-IconViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, wurmslayer
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 8.0.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description arie 2011-10-22 15:13:04 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Opened the import screen via the top menu. The import screen is shown, but disappears immediately.
- Unusual behavior I noticed:
Nothing
- Custom settings of the application:
none (Ubuntu environment)

The crash can be reproduced every time.

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

Thread 7 (Thread 0xadaffb70 (LWP 15192)):
#0  0xb4a88f45 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#1  0xb348b7e1 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb348c637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb348cf9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xaf81ecea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0xb34b35f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb37aed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0xb4a7b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 6 (Thread 0xac509b70 (LWP 15193)):
#0  0xb78ae424 in __kernel_vsyscall ()
#1  0xb37b2a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb4a88cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4d3ecc0 in wait (time=4294967295, this=0x9fb9268) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9fb9194, mutex=0x9fb9190, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081faf45 in Digikam::ScanController::run (this=0x9fa7030) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#6  0xb4d3e7b3 in QThreadPrivate::start (arg=0x9fa7030) at thread/qthread_unix.cpp:331
#7  0xb37aed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4a7b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xabd08b70 (LWP 15194)):
#0  0xb78ae424 in __kernel_vsyscall ()
#1  0xb4a6c40e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb349b34b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb348c896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb348cc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4e67b37 in QEventDispatcherGlib::processEvents (this=0x9fbcb98, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb4e381dd in QEventLoop::processEvents (this=0xabd08100, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4e38421 in QEventLoop::exec (this=0xabd08100, flags=...) at kernel/qeventloop.cpp:201
#8  0xb4d3b90b in QThread::exec (this=0x9fbadb0) at thread/qthread.cpp:498
#9  0xb4e18e2d in QInotifyFileSystemWatcherEngine::run (this=0x9fbadb0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb4d3e7b3 in QThreadPrivate::start (arg=0x9fbadb0) at thread/qthread_unix.cpp:331
#11 0xb37aed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb4a7b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xab507b70 (LWP 15196)):
#0  0xb78ae424 in __kernel_vsyscall ()
#1  0xb37b2a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb4a88cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4d3ecc0 in wait (time=4294967295, this=0xadbe18a0) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xadbe1f88, mutex=0xadbe1f84, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb6c01f54 in Digikam::ParkingThread::run (this=0xadbe1f78) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#6  0xb4d3e7b3 in QThreadPrivate::start (arg=0xadbe1f78) at thread/qthread_unix.cpp:331
#7  0xb37aed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4a7b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xae40bb70 (LWP 15336)):
#0  0xb78ae424 in __kernel_vsyscall ()
#1  0xb37b2a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb4a88cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4d3ecc0 in wait (time=4294967295, this=0xb3d36f0) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xb3b5f44, mutex=0xb3b5f40, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x083c16b5 in Digikam::CameraController::run (this=0xacd3ca8) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/cameracontroller.cpp:385
#6  0xb4d3e7b3 in QThreadPrivate::start (arg=0xacd3ca8) at thread/qthread_unix.cpp:331
#7  0xb37aed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4a7b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0x9e7f6b70 (LWP 15337)):
#0  0xb78ae424 in __kernel_vsyscall ()
#1  0xb37b2a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb4a88cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4d3ecc0 in wait (time=4294967295, this=0x9fd02180) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9fd02668, mutex=0x9fd02664, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x083c86d4 in Digikam::CameraHistoryUpdater::run (this=0x9fd0da28) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/camerahistoryupdater.cpp:118
#6  0xb4d3e7b3 in QThreadPrivate::start (arg=0x9fd0da28) at thread/qthread_unix.cpp:331
#7  0xb37aed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4a7b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xaedd18c0 (LWP 15190)):
[KCrash Handler]
#7  appendTo (out=<synthetic pointer>, a=...) at /usr/include/qt4/QtCore/qstringbuilder.h:214
#8  appendTo (out=<synthetic pointer>, p=<optimized out>) at /usr/include/qt4/QtCore/qstringbuilder.h:293
#9  operator QString (this=<optimized out>) at /usr/include/qt4/QtCore/qstringbuilder.h:108
#10 Digikam::CameraIconView::findItem (this=0xb194690, folder=..., filename=...) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/views/cameraiconview.cpp:292
#11 0x083d8be2 in Digikam::CameraIconView::slotThumbInfoReady (this=0xb194690, info=...) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/views/cameraiconview.cpp:229
#12 0x083da9bc in Digikam::CameraIconView::qt_metacall (this=0xb194690, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf9d1868) at /build/buildd/digikam-2.1.1/obj-i686-linux-gnu/core/utilities/cameragui/cameraiconview.moc:145
#13 0xb4e3fb7d in metacall (argv=0xbf9d1868, idx=89, cl=QMetaObject::InvokeMetaMethod, object=0xb194690) at kernel/qmetaobject.cpp:237
#14 QMetaObject::metacall (object=0xb194690, cl=QMetaObject::InvokeMetaMethod, idx=89, argv=0xbf9d1868) at kernel/qmetaobject.cpp:232
#15 0xb4e4ea6a in QMetaObject::activate (sender=0x9fd0c9c0, m=0x8453114, local_signal_index=0, argv=0xbf9d1868) at kernel/qobject.cpp:3278
#16 0x083c5327 in Digikam::CameraThumbsCtrl::signalThumbInfoReady (this=0x9fd0c9c0, _t1=...) at /build/buildd/digikam-2.1.1/obj-i686-linux-gnu/core/utilities/cameragui/camerathumbsctrl.moc:99
#17 0x083c638b in Digikam::CameraThumbsCtrl::procressKDEPreview (this=0x9fd0c9c0, item=..., pix=...) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/camerathumbsctrl.cpp:180
#18 0x083c67c8 in Digikam::CameraThumbsCtrl::slotFailedKDEPreview (this=0x9fd0c9c0, item=...) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/camerathumbsctrl.cpp:156
#19 0x083c6bb3 in Digikam::CameraThumbsCtrl::qt_metacall (this=0x9fd0c9c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf9d1aa8) at /build/buildd/digikam-2.1.1/obj-i686-linux-gnu/core/utilities/cameragui/camerathumbsctrl.moc:87
#20 0xb4e3fb7d in metacall (argv=0xbf9d1aa8, idx=8, cl=QMetaObject::InvokeMetaMethod, object=0x9fd0c9c0) at kernel/qmetaobject.cpp:237
#21 QMetaObject::metacall (object=0x9fd0c9c0, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbf9d1aa8) at kernel/qmetaobject.cpp:232
#22 0xb4e4ea6a in QMetaObject::activate (sender=0xaf03680, m=0xb6416efc, local_signal_index=1, argv=0xbf9d1aa8) at kernel/qobject.cpp:3278
#23 0xb62d1375 in KIO::PreviewJob::failed (this=0xaf03680, _t1=...) at ./previewjob.moc:106
#24 0xb62d3c72 in KIO::PreviewJobPrivate::startPreview (this=0xb41db00) at ../../kio/kio/previewjob.cpp:344
#25 0xb62d479f in KIO::PreviewJob::qt_metacall (this=0xaf03680, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xb0f3178) at ./previewjob.moc:86
#26 0xb4e3fb7d in metacall (argv=0xb0f3178, idx=34, cl=QMetaObject::InvokeMetaMethod, object=0xaf03680) at kernel/qmetaobject.cpp:237
#27 QMetaObject::metacall (object=0xaf03680, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0xb0f3178) at kernel/qmetaobject.cpp:232
#28 0xb4e4a685 in QMetaCallEvent::placeMetaCall (this=0xb13b730, object=0xaf03680) at kernel/qobject.cpp:535
#29 0xb4e51b52 in QObject::event (this=0xaf03680, e=0xb13b730) at kernel/qobject.cpp:1217
#30 0xb5395d54 in notify_helper (e=0xb13b730, receiver=0xaf03680, this=0x9ddc8a0) at kernel/qapplication.cpp:4486
#31 QApplicationPrivate::notify_helper (this=0x9ddc8a0, receiver=0xaf03680, e=0xb13b730) at kernel/qapplication.cpp:4458
#32 0xb539b103 in QApplication::notify (this=0xb13b730, receiver=0xaf03680, e=0xb13b730) at kernel/qapplication.cpp:3886
#33 0xb5eeb721 in KApplication::notify (this=0xbf9d23f0, receiver=0xaf03680, event=0xb13b730) at ../../kdeui/kernel/kapplication.cpp:311
#34 0xb4e3919e in QCoreApplication::notifyInternal (this=0xbf9d23f0, receiver=0xaf03680, event=0xb13b730) at kernel/qcoreapplication.cpp:787
#35 0xb4e3cf93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9d9aba0) at kernel/qcoreapplication.cpp:1428
#37 0xb4e3d0ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#38 0xb4e676a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#39 postEventSourceDispatch (s=0x9ddfc90) at kernel/qeventdispatcher_glib.cpp:277
#40 0xb348c25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb348c990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0xb348cc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0xb4e67ada in QEventDispatcherGlib::processEvents (this=0x9dd9f48, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#44 0xb544de3a in QGuiEventDispatcherGlib::processEvents (this=0x9dd9f48, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0xb4e381dd in QEventLoop::processEvents (this=0xbf9d22d4, flags=...) at kernel/qeventloop.cpp:149
#46 0xb4e38421 in QEventLoop::exec (this=0xbf9d22d4, flags=...) at kernel/qeventloop.cpp:201
#47 0xb4e3d19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#48 0xb53938f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#49 0x080b4b64 in main (argc=) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

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

Possible duplicates by query: bug 282747, bug 282744, bug 282194, bug 282163.

Reported using DrKonqi
Comment 1 Marcel Wiesweg 2011-10-25 20:13:45 UTC

*** This bug has been marked as a duplicate of bug 282194 ***
Comment 2 Ruben Guadiana 2011-12-28 20:58:45 UTC
Created attachment 67202 [details]
New crash information added by DrKonqi

digikam (2.1.1) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Attempting to import pictures from a downloads folder on the same hd and partition the os resides. There were many isos althought the other similar bugs don't seem to mention that big files matter to this crash.

-- Backtrace (Reduced):
#6  appendTo (out=<synthetic pointer>, a=...) at /usr/include/qt4/QtCore/qstringbuilder.h:214
#7  appendTo (out=<synthetic pointer>, p=<optimized out>) at /usr/include/qt4/QtCore/qstringbuilder.h:293
#8  operator QString (this=<optimized out>) at /usr/include/qt4/QtCore/qstringbuilder.h:108
#9  Digikam::CameraIconView::findItem (this=0x4075170, folder=<optimized out>, filename=...) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/views/cameraiconview.cpp:292
#10 0x000000000078c551 in Digikam::CameraIconView::slotThumbInfoReady (this=0x4075170, info=<optimized out>) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/views/cameraiconview.cpp:229
Comment 3 caulier.gilles 2011-12-28 22:02:01 UTC
This have been fixed in 2.3.0.

Last version is 2.4.1. Please update digiKam on your computer.

Gilles Caulier
Comment 4 caulier.gilles 2023-04-05 14:33:40 UTC
Fixed with #282194