Bug 336235 - Digikam stopped responding and crashed downloading photos from a smart phone
Summary: Digikam stopped responding and crashed downloading photos from a smart phone
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 3.5.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-14 19:56 UTC by Christopher Yeleighton
Modified: 2017-08-16 10:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2014-06-14 19:56:09 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.11.5
Qt Version: 4.8.5
Operating System: Linux 3.11.10-11-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

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

I connected my smart phone LG34 in multimedia transfer mode and told Digikam to import photos from the phone.  Dikigam showed just one item and I tried to close the import window.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f56a5a98900 (LWP 7302))]

Thread 5 (Thread 0x7f5682a5c700 (LWP 7304)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f56a0bccb66 in wait (time=18446744073709551615, this=0x13f8b10) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x13bbb50, mutex=mutex@entry=0x13bbb48, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005df20e in Digikam::ScanController::run (this=0x1445c50) at /usr/src/debug/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f56a0bcc68f in QThreadPrivate::start (arg=0x1445c50) at thread/qthread_unix.cpp:338
#5  0x00007f569d0750db in start_thread (arg=0x7f5682a5c700) at pthread_create.c:309
#6  0x00007f569f12590d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f568225b700 (LWP 7305)):
#0  0x00007f5696e20ffa in g_mutex_get_impl (mutex=0x7f56740009a0) at gthread-posix.c:124
#1  0x00007f5696e21289 in g_mutex_lock (mutex=mutex@entry=0x7f56740009a0) at gthread-posix.c:213
#2  0x00007f5696de0898 in g_main_context_release (context=context@entry=0x7f56740009a0) at gmain.c:3161
#3  0x00007f5696de15b1 in g_main_context_iterate (context=context@entry=0x7f56740009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3715
#4  0x00007f5696de170c in g_main_context_iteration (context=0x7f56740009a0, may_block=1) at gmain.c:3774
#5  0x00007f56a0cf8d76 in QEventDispatcherGlib::processEvents (this=0x7f56740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f56a0ccad0f in QEventLoop::processEvents (this=this@entry=0x7f568225aca0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f56a0ccb005 in QEventLoop::exec (this=this@entry=0x7f568225aca0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f56a0bc9fef in QThread::exec (this=this@entry=0x1439290) at thread/qthread.cpp:536
#9  0x00007f56a0cac513 in QInotifyFileSystemWatcherEngine::run (this=0x1439290) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f56a0bcc68f in QThreadPrivate::start (arg=0x1439290) at thread/qthread_unix.cpp:338
#11 0x00007f569d0750db in start_thread (arg=0x7f568225b700) at pthread_create.c:309
#12 0x00007f569f12590d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f5681a5a700 (LWP 7307)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f56a0bccb66 in wait (time=18446744073709551615, this=0x14560f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x15c23f0, mutex=mutex@entry=0x15c23e8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f56a2dd28fa in Digikam::ParkingThread::run (this=0x15c23d0) at /usr/src/debug/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f56a0bcc68f in QThreadPrivate::start (arg=0x15c23d0) at thread/qthread_unix.cpp:338
#5  0x00007f569d0750db in start_thread (arg=0x7f5681a5a700) at pthread_create.c:309
#6  0x00007f569f12590d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f5673fff700 (LWP 7308)):
#0  0x00007f5696e20ffa in g_mutex_get_impl (mutex=0x7f566c0009a0) at gthread-posix.c:124
#1  0x00007f5696e21289 in g_mutex_lock (mutex=mutex@entry=0x7f566c0009a0) at gthread-posix.c:213
#2  0x00007f5696de0e9b in g_main_context_query (context=context@entry=0x7f566c0009a0, max_priority=2147483647, timeout=timeout@entry=0x7f5673ffeb6c, fds=fds@entry=0x7f566c0029b0, n_fds=n_fds@entry=2) at gmain.c:3438
#3  0x00007f5696de1572 in g_main_context_iterate (context=context@entry=0x7f566c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3695
#4  0x00007f5696de170c in g_main_context_iteration (context=0x7f566c0009a0, may_block=1) at gmain.c:3774
#5  0x00007f56a0cf8d76 in QEventDispatcherGlib::processEvents (this=0x7f566c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f56a0ccad0f in QEventLoop::processEvents (this=this@entry=0x7f5673ffeca0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f56a0ccb005 in QEventLoop::exec (this=this@entry=0x7f5673ffeca0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f56a0bc9fef in QThread::exec (this=this@entry=0x16a2ff0) at thread/qthread.cpp:536
#9  0x00007f56a0cac513 in QInotifyFileSystemWatcherEngine::run (this=0x16a2ff0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f56a0bcc68f in QThreadPrivate::start (arg=0x16a2ff0) at thread/qthread_unix.cpp:338
#11 0x00007f569d0750db in start_thread (arg=0x7f5673fff700) at pthread_create.c:309
#12 0x00007f569f12590d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f56a5a98900 (LWP 7302)):
[KCrash Handler]
#6  0x00000000007b55e5 in operator= (other=..., this=0x18) at /usr/include/QtCore/qhash.h:593
#7  clear (this=0x18) at /usr/include/QtCore/qhash.h:576
#8  clear (this=0x18) at /usr/include/QtCore/qset.h:87
#9  Digikam::ImportUI::finishDialog (this=this@entry=0x1562710) at /usr/src/debug/digikam-3.5.0/core/utilities/importui/main/importui.cpp:991
#10 0x00000000007b591d in Digikam::ImportUI::dialogClosed (this=0x1562710) at /usr/src/debug/digikam-3.5.0/core/utilities/importui/main/importui.cpp:959
#11 0x00000000007b5a29 in Digikam::ImportUI::closeEvent (this=<optimized out>, e=0x7fff6e3dd140) at /usr/src/debug/digikam-3.5.0/core/utilities/importui/main/importui.cpp:904
#12 0x00007f569fe3b9fe in QWidget::event (this=this@entry=0x1562710, event=event@entry=0x7fff6e3dd140) at kernel/qwidget.cpp:8545
#13 0x00007f56a01f1643 in QMainWindow::event (this=this@entry=0x1562710, event=event@entry=0x7fff6e3dd140) at widgets/qmainwindow.cpp:1478
#14 0x00007f56a17e9561 in KMainWindow::event (this=this@entry=0x1562710, ev=ev@entry=0x7fff6e3dd140) at /usr/src/debug/kdelibs-4.11.5/kdeui/widgets/kmainwindow.cpp:1084
#15 0x00007f56a1821009 in KXmlGuiWindow::event (this=0x1562710, ev=0x7fff6e3dd140) at /usr/src/debug/kdelibs-4.11.5/kdeui/xmlgui/kxmlguiwindow.cpp:126
#16 0x00007f569fdec8ac in QApplicationPrivate::notify_helper (this=this@entry=0x128f6e0, receiver=receiver@entry=0x1562710, e=e@entry=0x7fff6e3dd140) at kernel/qapplication.cpp:4562
#17 0x00007f569fdf2e70 in QApplication::notify (this=this@entry=0x7fff6e3ddcd0, receiver=receiver@entry=0x1562710, e=e@entry=0x7fff6e3dd140) at kernel/qapplication.cpp:4348
#18 0x00007f56a173518a in KApplication::notify (this=0x7fff6e3ddcd0, receiver=0x1562710, event=0x7fff6e3dd140) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:311
#19 0x00007f56a0ccc0ad in QCoreApplication::notifyInternal (this=0x7fff6e3ddcd0, receiver=receiver@entry=0x1562710, event=event@entry=0x7fff6e3dd140) at kernel/qcoreapplication.cpp:949
#20 0x00007f569fe38259 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#21 QWidgetPrivate::close_helper (this=0x6b00060, mode=mode@entry=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7942
#22 0x00007f569fe56492 in translateCloseEvent (this=0x1562710) at kernel/qapplication_x11.cpp:5455
#23 QApplication::x11ClientMessage (this=<optimized out>, w=0x1562710, event=<optimized out>, passive_only=<optimized out>) at kernel/qapplication_x11.cpp:3165
#24 0x00007f569fe62e2f in QApplication::x11ProcessEvent (this=0x7fff6e3ddcd0, event=event@entry=0x7fff6e3dd3d0) at kernel/qapplication_x11.cpp:3790
#25 0x00007f569fe89882 in x11EventSourceDispatch (s=s@entry=0x12892d0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f5696de1316 in g_main_dispatch (context=0x1289210) at gmain.c:3066
#27 g_main_context_dispatch (context=context@entry=0x1289210) at gmain.c:3642
#28 0x00007f5696de1668 in g_main_context_iterate (context=context@entry=0x1289210, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#29 0x00007f5696de170c in g_main_context_iteration (context=0x1289210, may_block=1) at gmain.c:3774
#30 0x00007f56a0cf8d55 in QEventDispatcherGlib::processEvents (this=0x11f5dd0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#31 0x00007f569fe89936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f56a0ccad0f in QEventLoop::processEvents (this=this@entry=0x7fff6e3dd7b0, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f56a0ccb005 in QEventLoop::exec (this=this@entry=0x7fff6e3dd7b0, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f56a0cd013b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#35 0x00007f569fdeb06c in QApplication::exec () at kernel/qapplication.cpp:3823
#36 0x000000000049b223 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam-3.5.0/core/digikam/main/main.cpp:235

Reported using DrKonqi
Comment 1 caulier.gilles 2014-06-14 21:57:51 UTC
This crash have been probably fixed in 4.0.0 release where a lots of improvements have been done into Import UI.

Please try again with this new release.

Gilles Caulier
Comment 2 Christopher Yeleighton 2014-06-19 10:00:23 UTC
I tried 3.5 once more and it did not crash this time, so it would be inconclusive anyway.
Comment 3 caulier.gilles 2014-06-19 11:50:33 UTC
The right digiKam version to check is 4.0.0 released few week ago.

Please consider to update and try again...

Gilles Caulier
Comment 4 Christopher Yeleighton 2014-06-25 09:56:17 UTC
Since version 3.5 did not crash the second time I tried, there is no point in checking that 4.0.0 does not crash either, or is there?  Unless anything unexpected occurs, the update is on my distro.