Bug 361084 - Crash while importing
Summary: Crash while importing
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 4.0.0
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-03-28 10:52 UTC by lutz
Modified: 2019-12-25 15:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lutz 2016-03-28 10:52:11 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.19.0-32-generic x86_64
Distribution: Linux Mint 17.3 Rosa

-- Information about the crash:
- What I was doing when the application crashed:
connected panasonic TZ41 camera
selected only one picture
clicked on "select all new" 
crash.

-- 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 0x7f5bd0fb7ac0 (LWP 4216))]

Thread 7 (Thread 0x7f5bad4fb700 (LWP 4227)):
#0  0x00007f5bc9f0012d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5bd0c0cf70 in ?? () from /opt/lib/libmediaclient.so
#2  0x00007f5bd0c0dcb2 in poll () from /opt/lib/libmediaclient.so
#3  0x00007f5bb1c64248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#4  0x00007f5bc97f1182 in start_thread (arg=0x7f5bad4fb700) at pthread_create.c:312
#5  0x00007f5bc9f0d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f5ba6a41700 (LWP 4253)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5bcbbe6816 in wait (time=18446744073709551615, this=0xfc52a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x106d210, mutex=mutex@entry=0x106d208, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0xffd340) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f5bcbbe632f in QThreadPrivate::start (arg=0xffd340) at thread/qthread_unix.cpp:349
#5  0x00007f5bc97f1182 in start_thread (arg=0x7f5ba6a41700) at pthread_create.c:312
#6  0x00007f5bc9f0d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f5ba6240700 (LWP 4254)):
#0  0x00007f5bc9f0012d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5bd0c0cf70 in ?? () from /opt/lib/libmediaclient.so
#2  0x00007f5bd0c0dcb2 in poll () from /opt/lib/libmediaclient.so
#3  0x00007f5bc2f12fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5bc2f130ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5bcbd157be in QEventDispatcherGlib::processEvents (this=0x7f5b980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f5bcbce70af in QEventLoop::processEvents (this=this@entry=0x7f5ba623fae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f5bcbce73a5 in QEventLoop::exec (this=this@entry=0x7f5ba623fae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f5bcbbe3c5f in QThread::exec (this=this@entry=0x1068a80) at thread/qthread.cpp:537
#9  0x00007f5bcbcc8823 in QInotifyFileSystemWatcherEngine::run (this=0x1068a80) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f5bcbbe632f in QThreadPrivate::start (arg=0x1068a80) at thread/qthread_unix.cpp:349
#11 0x00007f5bc97f1182 in start_thread (arg=0x7f5ba6240700) at pthread_create.c:312
#12 0x00007f5bc9f0d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f5ba5a3f700 (LWP 4293)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5bcbbe6816 in wait (time=18446744073709551615, this=0x14b61d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x10e5b90, mutex=mutex@entry=0x10e5b88, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f5bce4268aa in Digikam::ParkingThread::run (this=0x10e5b70) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f5bcbbe632f in QThreadPrivate::start (arg=0x10e5b70) at thread/qthread_unix.cpp:349
#5  0x00007f5bc97f1182 in start_thread (arg=0x7f5ba5a3f700) at pthread_create.c:312
#6  0x00007f5bc9f0d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f5b97fff700 (LWP 4302)):
#0  0x00007ffc7d1f7c26 in ?? ()
#1  0x00007f5bd0fb9918 in ?? ()
#2  0x0000000000000001 in ?? ()
#3  0x00000001cbbdc244 in ?? ()
#4  0x00007f5b90002f30 in ?? ()
#5  0x00007f5b97ffe928 in ?? ()
#6  0x00007f5b97ffe8c0 in ?? ()
#7  0x000000007fffffff in ?? ()
#8  0x00007f5b97ffe930 in ?? ()
#9  0x00007f5bc9f1b92d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#10 0x00007f5bcbc3aad7 in do_gettime (frac=0x7f5b97ffe870, sec=0x7f5b97ffe868) at tools/qelapsedtimer_unix.cpp:127
#11 qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#12 0x00007f5bcbd16f05 in updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:354
#13 QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#14 0x00007f5bcbd1567c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f5b97ffe924) at kernel/qeventdispatcher_glib.cpp:143
#15 0x00007f5bcbd15725 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#16 0x00007f5bc2f1268d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f5bc2f12f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f5bc2f130ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f5bcbd157be in QEventDispatcherGlib::processEvents (this=0x7f5b900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#20 0x00007f5bcbce70af in QEventLoop::processEvents (this=this@entry=0x7f5b97ffeae0, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f5bcbce73a5 in QEventLoop::exec (this=this@entry=0x7f5b97ffeae0, flags=...) at kernel/qeventloop.cpp:204
#22 0x00007f5bcbbe3c5f in QThread::exec (this=this@entry=0x170bff0) at thread/qthread.cpp:537
#23 0x00007f5bcbcc8823 in QInotifyFileSystemWatcherEngine::run (this=0x170bff0) at io/qfilesystemwatcher_inotify.cpp:265
#24 0x00007f5bcbbe632f in QThreadPrivate::start (arg=0x170bff0) at thread/qthread_unix.cpp:349
#25 0x00007f5bc97f1182 in start_thread (arg=0x7f5b97fff700) at pthread_create.c:312
#26 0x00007f5bc9f0d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

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

Thread 1 (Thread 0x7f5bd0fb7ac0 (LWP 4216)):
[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=0x1384900, onlySelected=<optimized out>, deleteAfter=<optimized out>, album=0x0) at /build/buildd/digikam-4.0.0/core/utilities/importui/main/importui.cpp:1475
#8  0x00000000007d4d26 in slotDownloadSelected (this=<optimized out>) at /build/buildd/digikam-4.0.0/core/utilities/importui/main/importui.cpp:1395
#9  Digikam::ImportUI::qt_static_metacall (_o=0x1384900, _c=46789000, _id=0, _a=0x10) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/utilities/importui/importui.moc:199
#10 0x00007f5bcbd00c1e in QObject::event (this=this@entry=0x1384900, e=e@entry=0x4f6e5e0) at kernel/qobject.cpp:1194
#11 0x00007f5bcae5656b in QWidget::event (this=this@entry=0x1384900, event=event@entry=0x4f6e5e0) at kernel/qwidget.cpp:8846
#12 0x00007f5bcb210a33 in QMainWindow::event (this=this@entry=0x1384900, event=event@entry=0x4f6e5e0) at widgets/qmainwindow.cpp:1478
#13 0x00007f5bcc7e7441 in KMainWindow::event (this=this@entry=0x1384900, ev=ev@entry=0x4f6e5e0) at ../../kdeui/widgets/kmainwindow.cpp:1084
#14 0x00007f5bcc81eed9 in KXmlGuiWindow::event (this=0x1384900, ev=0x4f6e5e0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#15 0x00007f5bcae06e2c in QApplicationPrivate::notify_helper (this=this@entry=0xf0c220, receiver=receiver@entry=0x1384900, e=e@entry=0x4f6e5e0) at kernel/qapplication.cpp:4567
#16 0x00007f5bcae0d4a0 in QApplication::notify (this=this@entry=0x7ffc7d1ee1e0, receiver=receiver@entry=0x1384900, e=e@entry=0x4f6e5e0) at kernel/qapplication.cpp:4353
#17 0x00007f5bcc732cca in KApplication::notify (this=0x7ffc7d1ee1e0, receiver=0x1384900, event=0x4f6e5e0) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f5bcbce84dd in QCoreApplication::notifyInternal (this=0x7ffc7d1ee1e0, receiver=receiver@entry=0x1384900, event=event@entry=0x4f6e5e0) at kernel/qcoreapplication.cpp:953
#19 0x00007f5bcbcebb3d in sendEvent (event=0x4f6e5e0, receiver=0x1384900) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xe7b3b0) at kernel/qcoreapplication.cpp:1577
#21 0x00007f5bcbcebfe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#22 0x00007f5bcbd15f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#23 postEventSourceDispatch (s=0xef1ad0) at kernel/qeventdispatcher_glib.cpp:287
#24 0x00007f5bc2f12e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f5bc2f13048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f5bc2f130ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f5bcbd157a1 in QEventDispatcherGlib::processEvents (this=0xe543c0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#28 0x00007f5bcaea8be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f5bcbce70af in QEventLoop::processEvents (this=this@entry=0x7ffc7d1edcc0, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f5bcbce73a5 in QEventLoop::exec (this=this@entry=0x7ffc7d1edcc0, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f5bcbcecb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#32 0x00007f5bcae0537c in QApplication::exec () at kernel/qapplication.cpp:3828
#33 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 343026.

Reported using DrKonqi
Comment 1 caulier.gilles 2016-03-28 16:19:21 UTC

*** This bug has been marked as a duplicate of bug 339108 ***
Comment 2 caulier.gilles 2019-12-25 15:47:12 UTC
Not reproducible using digiKam 7.0.0 beta1.