Bug 343373

Summary: Application crashed on downloading photos
Product: [Applications] digikam Reporter: Robert Sela <sela>
Component: Database-AlbumsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 4.0.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In: 8.0.0

Description Robert Sela 2015-01-27 15:48:25 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-37-generic x86_64
Distribution: Linux Mint 17.1 Rebecca

-- Information about the crash:
- What I was doing when the application crashed:
I conected app with camera for the first time. After initialisation, i clicked Image -> Download all. that was it.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f333990fac0 (LWP 5862))]

Thread 7 (Thread 0x7f331606a700 (LWP 5864)):
#0  0x00007f3332a5fcbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f331a7c9248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f332ef48182 in start_thread (arg=0x7f331606a700) at pthread_create.c:312
#3  0x00007f3332a6d00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f3312858700 (LWP 5867)):
#0  0x00007f3332a5e3bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f332bab3c10 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f332ba72b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f332ba72f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f332ba730ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f332ba73129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f332ba97f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f332ef48182 in start_thread (arg=0x7f3312858700) at pthread_create.c:312
#8  0x00007f3332a6d00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f330a751700 (LWP 5868)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3334746816 in wait (time=18446744073709551615, this=0x1f02720) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1ec0960, mutex=mutex@entry=0x1ec0958, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0x1ebf0b0) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f333474632f in QThreadPrivate::start (arg=0x1ebf0b0) at thread/qthread_unix.cpp:349
#5  0x00007f332ef48182 in start_thread (arg=0x7f330a751700) at pthread_create.c:312
#6  0x00007f3332a6d00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f3309f50700 (LWP 5869)):
#0  __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f32fc000a60) at pthread_mutex_unlock.c:81
#1  __GI___pthread_mutex_unlock (mutex=0x7f32fc000a60) at pthread_mutex_unlock.c:310
#2  0x00007f332bab49b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f332ba72680 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f332ba72f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f332ba730ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f33348757be in QEventDispatcherGlib::processEvents (this=0x7f32fc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f33348470af in QEventLoop::processEvents (this=this@entry=0x7f3309f4fae0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f33348473a5 in QEventLoop::exec (this=this@entry=0x7f3309f4fae0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f3334743c5f in QThread::exec (this=this@entry=0x1edec20) at thread/qthread.cpp:537
#10 0x00007f3334828823 in QInotifyFileSystemWatcherEngine::run (this=0x1edec20) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f333474632f in QThreadPrivate::start (arg=0x1edec20) at thread/qthread_unix.cpp:349
#12 0x00007f332ef48182 in start_thread (arg=0x7f3309f50700) at pthread_create.c:312
#13 0x00007f3332a6d00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f330974f700 (LWP 5871)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3334746816 in wait (time=18446744073709551615, this=0x2155560) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x217f2d0, mutex=mutex@entry=0x217f2c8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3336f868aa in Digikam::ParkingThread::run (this=0x217f2b0) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f333474632f in QThreadPrivate::start (arg=0x217f2b0) at thread/qthread_unix.cpp:349
#5  0x00007f332ef48182 in start_thread (arg=0x7f330974f700) at pthread_create.c:312
#6  0x00007f3332a6d00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f32712e5700 (LWP 5911)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3334746816 in wait (time=18446744073709551615, this=0x4891bc0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x479ba08, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000007e585c in Digikam::CameraController::run (this=0x48919d0) at /build/buildd/digikam-4.0.0/core/utilities/importui/backend/cameracontroller.cpp:400
#4  0x00007f333474632f in QThreadPrivate::start (arg=0x48919d0) at thread/qthread_unix.cpp:349
#5  0x00007f332ef48182 in start_thread (arg=0x7f32712e5700) at pthread_create.c:312
#6  0x00007f3332a6d00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f333990fac0 (LWP 5862)):
[KCrash Handler]
#6  Digikam::Album::globalID (this=0x0) at /build/buildd/digikam-4.0.0/core/digikam/album/album.cpp:227
#7  0x00000000007d3d43 in Digikam::ImportUI::slotDownload (this=0x362ff50, onlySelected=<optimized out>, deleteAfter=<optimized out>, album=0x0) at /build/buildd/digikam-4.0.0/core/utilities/importui/main/importui.cpp:1475
#8  0x00000000007d4d13 in slotDownloadAll (this=<optimized out>) at /build/buildd/digikam-4.0.0/core/utilities/importui/main/importui.cpp:1405
#9  Digikam::ImportUI::qt_static_metacall (_o=0x362ff50, _c=62906824, _id=0, _a=0x10) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/utilities/importui/importui.moc:200
#10 0x00007f333485c87a in QMetaObject::activate (sender=sender@entry=0x4898ca0, m=m@entry=0x7f3334410de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffe1b28f70) at kernel/qobject.cpp:3539
#11 0x00007f3333960a62 in QAction::triggered (this=this@entry=0x4898ca0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#12 0x00007f3333962433 in QAction::activate (this=this@entry=0x4898ca0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#13 0x00007f3333d90489 in QMenuPrivate::activateCausedStack (this=this@entry=0x3954d60, causedStack=..., action=action@entry=0x4898ca0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#14 0x00007f3333d949b9 in QMenuPrivate::activateAction (this=0x3954d60, action=0x4898ca0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#15 0x00007f3333d98385 in QMenu::mouseReleaseEvent (this=this@entry=0x48e47a0, e=e@entry=0x7fffe1b296a0) at widgets/qmenu.cpp:2372
#16 0x00007f3335349615 in KMenu::mouseReleaseEvent (this=0x48e47a0, e=0x7fffe1b296a0) at ../../kdeui/widgets/kmenu.cpp:464
#17 0x00007f33339b650a in QWidget::event (this=this@entry=0x48e47a0, event=event@entry=0x7fffe1b296a0) at kernel/qwidget.cpp:8376
#18 0x00007f3333d987bb in QMenu::event (this=0x48e47a0, e=0x7fffe1b296a0) at widgets/qmenu.cpp:2481
#19 0x00007f3333966e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1ba7bb0, receiver=receiver@entry=0x48e47a0, e=e@entry=0x7fffe1b296a0) at kernel/qapplication.cpp:4567
#20 0x00007f333396d5dd in QApplication::notify (this=this@entry=0x7fffe1b2a2e0, receiver=receiver@entry=0x48e47a0, e=e@entry=0x7fffe1b296a0) at kernel/qapplication.cpp:4110
#21 0x00007f3335292cca in KApplication::notify (this=0x7fffe1b2a2e0, receiver=0x48e47a0, event=0x7fffe1b296a0) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f33348484dd in QCoreApplication::notifyInternal (this=0x7fffe1b2a2e0, receiver=receiver@entry=0x48e47a0, event=event@entry=0x7fffe1b296a0) at kernel/qcoreapplication.cpp:953
#23 0x00007f333396cd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x48e47a0, event=event@entry=0x7fffe1b296a0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x48e47a0, buttonDown=buttonDown@entry=0x7f333444c318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#25 0x00007f33339e1cfc in QETWidget::translateMouseEvent (this=this@entry=0x48e47a0, event=event@entry=0x7fffe1b299f0) at kernel/qapplication_x11.cpp:4568
#26 0x00007f33339e1269 in QApplication::x11ProcessEvent (this=0x7fffe1b2a2e0, event=event@entry=0x7fffe1b299f0) at kernel/qapplication_x11.cpp:3627
#27 0x00007f3333a08b02 in x11EventSourceDispatch (s=0x1b90e20, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007f332ba72e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f332ba73048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f332ba730ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f33348757be in QEventDispatcherGlib::processEvents (this=0x1aeb1b0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#32 0x00007f3333a08bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f33348470af in QEventLoop::processEvents (this=this@entry=0x7fffe1b29dc0, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f33348473a5 in QEventLoop::exec (this=this@entry=0x7fffe1b29dc0, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f333484cb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#36 0x00007f333396537c in QApplication::exec () at kernel/qapplication.cpp:3828
#37 0x00000000004948f0 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-4.0.0/core/digikam/main/main.cpp:236

Possible duplicates by query: bug 339108.

Reported using DrKonqi
Comment 1 caulier.gilles 2015-01-27 15:55:33 UTC
This problem have been fixed in last release published. Please try with digiKam 4.6.0.

Gilles Caulier