Bug 282744 - Crash when importing photos from Android phone
Summary: Crash when importing photos from Android phone
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-IconView (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-25 16:53 UTC by etyurin
Modified: 2022-11-24 08:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description etyurin 2011-09-25 16:53:24 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-11-generic i686
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Hit "Import from USB device" immediately after starting digiKam. First, files show up, then digiKam starts processing thumbnails, then it crashes.

Notes:
1. I re-installed fresh digiKam after apt-get -u --purge remove 'digikam*'
2. The phone is up-to-date HTC Evo 4G.

The crash can be reproduced every time.

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

Thread 7 (Thread 0xb4814b70 (LWP 4003)):
#0  0x00d89416 in __kernel_vsyscall ()
#1  0x00595a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04505cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x07234cc0 in wait (time=4294967295, this=0x904f338) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9051324, mutex=0x9051320, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081faf45 in Digikam::ScanController::run (this=0x9002138) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#6  0x072347b3 in QThreadPrivate::start (arg=0x9002138) at thread/qthread_unix.cpp:331
#7  0x00591d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x044f80ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 6 (Thread 0xb4013b70 (LWP 4004)):
#0  0x00d7fd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x0728b7d5 in do_gettime (frac=0xb4012e70, sec=0xb4012e68) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0735e4b6 in QTimerInfoList::updateCurrentTime (this=0x901fb44) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0735e80a in QTimerInfoList::timerWait (this=0x901fb44, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0735d053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb4012f7c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0735d0ed in timerSourcePrepare (source=0x901fb10, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x025df91c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x025e06c7 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x025e0cba in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0735db37 in QEventDispatcherGlib::processEvents (this=0x901fb80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0732e1dd in QEventLoop::processEvents (this=0xb4013100, flags=...) at kernel/qeventloop.cpp:149
#12 0x0732e421 in QEventLoop::exec (this=0xb4013100, flags=...) at kernel/qeventloop.cpp:201
#13 0x0723190b in QThread::exec (this=0x8fcf278) at thread/qthread.cpp:498
#14 0x0730ee2d in QInotifyFileSystemWatcherEngine::run (this=0x8fcf278) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x072347b3 in QThreadPrivate::start (arg=0x8fcf278) at thread/qthread_unix.cpp:331
#16 0x00591d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x044f80ce 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 4006)):
#0  0x00d89416 in __kernel_vsyscall ()
#1  0x00595a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04505cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x07234cc0 in wait (time=4294967295, this=0x92b26e8) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x92d4030, mutex=0x92d402c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x01220f54 in Digikam::ParkingThread::run (this=0x92d4020) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#6  0x072347b3 in QThreadPrivate::start (arg=0x92d4020) at thread/qthread_unix.cpp:331
#7  0x00591d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x044f80ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb1992b70 (LWP 4007)):
#0  0x00d7fd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x0728b7d5 in do_gettime (frac=0xb1991e70, sec=0xb1991e68) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0735e4b6 in QTimerInfoList::updateCurrentTime (this=0x94a3cb4) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0735e80a in QTimerInfoList::timerWait (this=0x94a3cb4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0735d053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb1991f7c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0735d0ed in timerSourcePrepare (source=0x94a3c80, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x025df91c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x025e06c7 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x025e0cba in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0735db37 in QEventDispatcherGlib::processEvents (this=0x94a2488, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0732e1dd in QEventLoop::processEvents (this=0xb1992100, flags=...) at kernel/qeventloop.cpp:149
#12 0x0732e421 in QEventLoop::exec (this=0xb1992100, flags=...) at kernel/qeventloop.cpp:201
#13 0x0723190b in QThread::exec (this=0x94a2058) at thread/qthread.cpp:498
#14 0x0730ee2d in QInotifyFileSystemWatcherEngine::run (this=0x94a2058) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x072347b3 in QThreadPrivate::start (arg=0x94a2058) at thread/qthread_unix.cpp:331
#16 0x00591d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x044f80ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xaaccab70 (LWP 4017)):
#0  0x00d89416 in __kernel_vsyscall ()
#1  0x00595a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04505cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x07234cc0 in wait (time=4294967295, this=0xc7c4288) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xc7c3e74, mutex=0xc7c3e70, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x083c16b5 in Digikam::CameraController::run (this=0xc7c3608) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/cameracontroller.cpp:385
#6  0x072347b3 in QThreadPrivate::start (arg=0xc7c3608) at thread/qthread_unix.cpp:331
#7  0x00591d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x044f80ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xa6fb8b70 (LWP 4018)):
#0  0x00d89416 in __kernel_vsyscall ()
#1  0x00595a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04505cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x07234cc0 in wait (time=4294967295, this=0xc7c7b40) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xc7c6b08, mutex=0xc7c6b04, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x083c86d4 in Digikam::CameraHistoryUpdater::run (this=0xc7c4a30) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/camerahistoryupdater.cpp:118
#6  0x072347b3 in QThreadPrivate::start (arg=0xc7c4a30) at thread/qthread_unix.cpp:331
#7  0x00591d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x044f80ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb54848c0 (LWP 4002)):
[KCrash Handler]
#7  0x0453d070 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x083d86f0 in size (this=0xc96ea30) at /usr/include/i386-linux-gnu/bits/string3.h:52
#9  appendTo (out=<synthetic pointer>, a=...) at /usr/include/qt4/QtCore/qstringbuilder.h:213
#10 appendTo (out=<synthetic pointer>, 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=0xaee8f30, folder=..., filename=...) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/views/cameraiconview.cpp:292
#13 0x083d8be2 in Digikam::CameraIconView::slotThumbInfoReady (this=0xaee8f30, info=...) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/views/cameraiconview.cpp:229
#14 0x083da9bc in Digikam::CameraIconView::qt_metacall (this=0xaee8f30, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdf93d8) at /build/buildd/digikam-2.1.1/obj-i686-linux-gnu/core/utilities/cameragui/cameraiconview.moc:145
#15 0x07335b7d in metacall (argv=0xbfdf93d8, idx=89, cl=QMetaObject::InvokeMetaMethod, object=0xaee8f30) at kernel/qmetaobject.cpp:237
#16 QMetaObject::metacall (object=0xaee8f30, cl=QMetaObject::InvokeMetaMethod, idx=89, argv=0xbfdf93d8) at kernel/qmetaobject.cpp:232
#17 0x07344a6a in QMetaObject::activate (sender=0xc7c4380, m=0x8453114, local_signal_index=0, argv=0xbfdf93d8) at kernel/qobject.cpp:3278
#18 0x083c5327 in Digikam::CameraThumbsCtrl::signalThumbInfoReady (this=0xc7c4380, _t1=...) at /build/buildd/digikam-2.1.1/obj-i686-linux-gnu/core/utilities/cameragui/camerathumbsctrl.moc:99
#19 0x083c638b in Digikam::CameraThumbsCtrl::procressKDEPreview (this=0xc7c4380, item=..., pix=...) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/camerathumbsctrl.cpp:180
#20 0x083c67c8 in Digikam::CameraThumbsCtrl::slotFailedKDEPreview (this=0xc7c4380, item=...) at /build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/camerathumbsctrl.cpp:156
#21 0x083c6bb3 in Digikam::CameraThumbsCtrl::qt_metacall (this=0xc7c4380, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdf9618) at /build/buildd/digikam-2.1.1/obj-i686-linux-gnu/core/utilities/cameragui/camerathumbsctrl.moc:87
#22 0x07335b7d in metacall (argv=0xbfdf9618, idx=8, cl=QMetaObject::InvokeMetaMethod, object=0xc7c4380) at kernel/qmetaobject.cpp:237
#23 QMetaObject::metacall (object=0xc7c4380, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfdf9618) at kernel/qmetaobject.cpp:232
#24 0x07344a6a in QMetaObject::activate (sender=0xac9ba98, m=0x3614efc, local_signal_index=1, argv=0xbfdf9618) at kernel/qobject.cpp:3278
#25 0x034cf365 in KIO::PreviewJob::failed (this=0xac9ba98, _t1=...) at ./previewjob.moc:106
#26 0x034d1c62 in KIO::PreviewJobPrivate::startPreview (this=0xc951bf8) at ../../kio/kio/previewjob.cpp:344
#27 0x034d278f in KIO::PreviewJob::qt_metacall (this=0xac9ba98, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xc90b608) at ./previewjob.moc:86
#28 0x07335b7d in metacall (argv=0xc90b608, idx=34, cl=QMetaObject::InvokeMetaMethod, object=0xac9ba98) at kernel/qmetaobject.cpp:237
#29 QMetaObject::metacall (object=0xac9ba98, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0xc90b608) at kernel/qmetaobject.cpp:232
#30 0x07340685 in QMetaCallEvent::placeMetaCall (this=0xc96eaf0, object=0xac9ba98) at kernel/qobject.cpp:535
#31 0x07347b52 in QObject::event (this=0xac9ba98, e=0xc96eaf0) at kernel/qobject.cpp:1217
#32 0x049b8d54 in notify_helper (e=0xc96eaf0, receiver=0xac9ba98, this=0x8f34bd8) at kernel/qapplication.cpp:4486
#33 QApplicationPrivate::notify_helper (this=0x8f34bd8, receiver=0xac9ba98, e=0xc96eaf0) at kernel/qapplication.cpp:4458
#34 0x049be103 in QApplication::notify (this=0xc96eaf0, receiver=0xac9ba98, e=0xc96eaf0) at kernel/qapplication.cpp:3886
#35 0x01624791 in KApplication::notify (this=0xbfdf9f60, receiver=0xac9ba98, event=0xc96eaf0) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x0732f19e in QCoreApplication::notifyInternal (this=0xbfdf9f60, receiver=0xac9ba98, event=0xc96eaf0) at kernel/qcoreapplication.cpp:787
#37 0x07332f93 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=0x8ef3330) at kernel/qcoreapplication.cpp:1428
#39 0x073330ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#40 0x0735d6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x8f37db8) at kernel/qeventdispatcher_glib.cpp:277
#42 0x025e02ef in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0x025e0a20 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0x025e0cba in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x0735dada in QEventDispatcherGlib::processEvents (this=0x8ef4010, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#46 0x04a70b1a in QGuiEventDispatcherGlib::processEvents (this=0x8ef4010, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x0732e1dd in QEventLoop::processEvents (this=0xbfdf9e44, flags=...) at kernel/qeventloop.cpp:149
#48 0x0732e421 in QEventLoop::exec (this=0xbfdf9e44, flags=...) at kernel/qeventloop.cpp:201
#49 0x0733319d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#50 0x049b68f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#51 0x080b4b64 in main (argc=0, argv=0x0) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 282194.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-09-25 17:20:55 UTC

*** This bug has been marked as a duplicate of bug 282194 ***
Comment 2 caulier.gilles 2022-11-24 08:33:04 UTC
Fixed with #282194