Bug 288982

Summary: digiKam crashes while showing thumbnails from imported data
Product: [Applications] digikam Reporter: brutus
Component: Import-IconViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 8.0.0
Sentry Crash Report:

Description brutus 2011-12-14 16:41:54 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

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

I was looking at thumbnails from imported fotos from my via USB connected Nokia N8.

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

Thread 9 (Thread 0x7f802a01d700 (LWP 2649)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f804677c1ab in wait (time=18446744073709551615, this=0x131ac30) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x131aad8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005c2e20 in Digikam::ScanController::run (this=0x12e1b50) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#4  0x00007f804677bd05 in QThreadPrivate::start (arg=0x12e1b50) at thread/qthread_unix.cpp:331
#5  0x00007f80414b9efc in start_thread (arg=0x7f802a01d700) at pthread_create.c:304
#6  0x00007f8045a1e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f802981c700 (LWP 2650)):
#0  0x00007f8045a12773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f803f596f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f803f597429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f804688df3e in QEventDispatcherGlib::processEvents (this=0x131e910, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f8046861cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8046861ef7 in QEventLoop::exec (this=0x7f802981bb30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f804677927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f8046844cbf in QInotifyFileSystemWatcherEngine::run (this=0x131e490) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f804677bd05 in QThreadPrivate::start (arg=0x131e490) at thread/qthread_unix.cpp:331
#9  0x00007f80414b9efc in start_thread (arg=0x7f802981c700) at pthread_create.c:304
#10 0x00007f8045a1e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f802901b700 (LWP 2652)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f804677c1ab in wait (time=18446744073709551615, this=0x11815d0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x11f0198, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f80496c0737 in Digikam::ParkingThread::run (this=0x11f0180) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#4  0x00007f804677bd05 in QThreadPrivate::start (arg=0x11f0180) at thread/qthread_unix.cpp:331
#5  0x00007f80414b9efc in start_thread (arg=0x7f802901b700) at pthread_create.c:304
#6  0x00007f8045a1e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f80227f4700 (LWP 2653)):
#0  0x00007f803f595f01 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f803f596dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f803f597429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f804688df3e in QEventDispatcherGlib::processEvents (this=0x1a88940, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f8046861cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8046861ef7 in QEventLoop::exec (this=0x7f80227f3b30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f804677927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f8046844cbf in QInotifyFileSystemWatcherEngine::run (this=0x1a87da0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f804677bd05 in QThreadPrivate::start (arg=0x1a87da0) at thread/qthread_unix.cpp:331
#9  0x00007f80414b9efc in start_thread (arg=0x7f80227f4700) at pthread_create.c:304
#10 0x00007f8045a1e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f800af30700 (LWP 2673)):
#0  0x00007f8045a12773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f803f596f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f803f597429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f804688df3e in QEventDispatcherGlib::processEvents (this=0x628a060, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f8046861cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8046861ef7 in QEventLoop::exec (this=0x7f800af2fb30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f804677927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f8046844cbf in QInotifyFileSystemWatcherEngine::run (this=0x62f6cc0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f804677bd05 in QThreadPrivate::start (arg=0x62f6cc0) at thread/qthread_unix.cpp:331
#9  0x00007f80414b9efc in start_thread (arg=0x7f800af30700) at pthread_create.c:304
#10 0x00007f8045a1e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f801a5b7700 (LWP 2687)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f804677c1ab in wait (time=18446744073709551615, this=0x5c3b7f0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5f39418, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f8018cf63e4 in KIPIPlugins::LoadRawThumbThread::run (this=0x3004ff0) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/common/libkipiplugins/dialogs/imagedialog.cpp:537
#4  0x00007f804677bd05 in QThreadPrivate::start (arg=0x3004ff0) at thread/qthread_unix.cpp:331
#5  0x00007f80414b9efc in start_thread (arg=0x7f801a5b7700) at pthread_create.c:304
#6  0x00007f8045a1e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8015103700 (LWP 2793)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f804677c1ab in wait (time=18446744073709551615, this=0x675b6f0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x60314e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000000000775ef3 in Digikam::CameraController::run (this=0x5df3d40) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/cameracontroller.cpp:385
#4  0x00007f804677bd05 in QThreadPrivate::start (arg=0x5df3d40) at thread/qthread_unix.cpp:331
#5  0x00007f80414b9efc in start_thread (arg=0x7f8015103700) at pthread_create.c:304
#6  0x00007f8045a1e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f800a2c8700 (LWP 2795)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f804677c1ab in wait (time=18446744073709551615, this=0x66d74c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5bc67b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x000000000077cd5b in Digikam::CameraHistoryUpdater::run (this=0x5e673b0) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/camerahistoryupdater.cpp:118
#4  0x00007f804677bd05 in QThreadPrivate::start (arg=0x5e673b0) at thread/qthread_unix.cpp:331
#5  0x00007f80414b9efc in start_thread (arg=0x7f800a2c8700) at pthread_create.c:304
#6  0x00007f8045a1e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f804bdfda20 (LWP 2639)):
[KCrash Handler]
#6  QString::endsWith (this=0x5c6bef0, s=..., cs=Qt::CaseSensitive) at tools/qstring.cpp:3441
#7  0x000000000078c07d in Digikam::CameraIconView::findItem (this=0x5fce760, folder=..., filename=...) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/views/cameraiconview.cpp:290
#8  0x000000000078c551 in Digikam::CameraIconView::slotThumbInfoReady (this=0x5fce760, info=<optimized out>) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/views/cameraiconview.cpp:229
#9  0x000000000078e1b8 in Digikam::CameraIconView::qt_metacall (this=0x5fce760, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff01ea9ea0) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/utilities/cameragui/cameraiconview.moc:145
#10 0x00007f8046875eba in QMetaObject::activate (sender=0x5e67110, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff01ea9ea0) at kernel/qobject.cpp:3278
#11 0x00000000007799a0 in Digikam::CameraThumbsCtrl::signalThumbInfoReady (this=<optimized out>, _t1=<optimized out>) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/utilities/cameragui/camerathumbsctrl.moc:99
#12 0x000000000077a988 in Digikam::CameraThumbsCtrl::procressKDEPreview (this=0x5e67110, item=..., pix=<optimized out>) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/camerathumbsctrl.cpp:180
#13 0x000000000077adda in Digikam::CameraThumbsCtrl::slotFailedKDEPreview (this=0x5e67110, item=...) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/camerathumbsctrl.cpp:156
#14 0x000000000077b1c1 in Digikam::CameraThumbsCtrl::qt_metacall (this=0x5e67110, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff01eaa1b0) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/utilities/cameragui/camerathumbsctrl.moc:87
#15 0x00007f8046875eba in QMetaObject::activate (sender=0x5ced600, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff01eaa1b0) at kernel/qobject.cpp:3278
#16 0x00007f804875d605 in KIO::PreviewJob::failed (this=<optimized out>, _t1=<optimized out>) at ./previewjob.moc:106
#17 0x00007f804875fd71 in KIO::PreviewJobPrivate::startPreview (this=0x5f12e70) at ../../kio/kio/previewjob.cpp:344
#18 0x00007f80487607ed in KIO::PreviewJob::qt_metacall (this=0x5ced600, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x3230c60) at ./previewjob.moc:86
#19 0x00007f8046879a5e in QObject::event (this=0x5ced600, e=<optimized out>) at kernel/qobject.cpp:1217
#20 0x00007f8047263424 in notify_helper (e=0x1386c90, receiver=0x5ced600, this=0x113d0b0) at kernel/qapplication.cpp:4486
#21 QApplicationPrivate::notify_helper (this=0x113d0b0, receiver=0x5ced600, e=0x1386c90) at kernel/qapplication.cpp:4458
#22 0x00007f8047268291 in QApplication::notify (this=0x7fff01eaadf0, receiver=0x5ced600, e=0x1386c90) at kernel/qapplication.cpp:4365
#23 0x00007f8047f77126 in KApplication::notify (this=0x7fff01eaadf0, receiver=0x5ced600, event=0x1386c90) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f8046862afc in QCoreApplication::notifyInternal (this=0x7fff01eaadf0, receiver=0x5ced600, event=0x1386c90) at kernel/qcoreapplication.cpp:787
#25 0x00007f804686651f in sendEvent (event=0x1386c90, receiver=0x5ced600) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10d5df0) at kernel/qcoreapplication.cpp:1428
#27 0x00007f804688da73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f803f596a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f803f597258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f803f597429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f804688ded6 in QEventDispatcherGlib::processEvents (this=0x10d7490, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f804730b07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f8046861cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f8046861ef7 in QEventLoop::exec (this=0x7fff01eaac70, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007f8046866789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#37 0x00000000004893fd in main (argc=3, argv=<optimized out>) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 282194, bug 271047.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-12-14 16:44:17 UTC

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