Bug 366104

Summary: digikam5 "hangs' @ 100%CPU at exit
Product: [Applications] digikam Reporter: RJVB <rjvbertin>
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, trap000d
Priority: NOR Keywords: drkonqi
Version: 5.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 5.3.0
Sentry Crash Report:

Description RJVB 2016-07-25 19:23:30 UTC
Application: digikam (5.0.0)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.24.0
Operating System: Linux 4.5.7-ck1-mainline-core2-rjvb x86_64
Distribution: Ubuntu 14.04.4 LTS

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

- opened digiKam5
- connected an iPhone via USB
- used "import & delete selected"
- closed the import window
- checked the new photos in a fullscreen slideshow (manual advance)
- used Browse/Quit or the window close button to exit digiKam5
- `killall -ABRT digikam` after waiting a suitably long enough time and checking CPU usage

Qt 5.6.1, frameworks 5.24.0 and digikam are installed in /opt/local .

The crash can be reproduced every time.

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

Thread 11 (Thread 0x7f0d0fea8700 (LWP 9906)):
#0  0x00007f0d2d610fdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0d1fb99b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f0d1fb9b64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f0d128f8b09 in QXcbEventReader::run (this=0x22061e0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:1325
#4  0x00007f0d2ded6669 in QThreadPrivate::start (arg=0x22061e0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread_unix.cpp:341
#5  0x00007f0d2a168184 in start_thread (arg=0x7f0d0fea8700) at pthread_create.c:312
#6  0x00007f0d2d61e37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7f0d0e708700 (LWP 9907)):
#0  0x00007ffd711d7aab in ?? ()
#1  0x00007f0d2d62c85d in __GI___clock_gettime (clock_id=<optimized out>, tp=tp@entry=0x7f0d0e707b00) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f0d2df7db76 in qt_clock_gettime (ts=0x7f0d0e707b00, clock=<optimized out>) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/tools/qelapsedtimer_unix.cpp:156
#4  qt_gettime () at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/tools/qelapsedtimer_unix.cpp:165
#5  0x00007f0d2e0ec929 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f0d00002f20) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:84
#6  0x00007f0d2e0ece55 in QTimerInfoList::timerWait (this=0x7f0d00002f20, tm=...) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:381
#7  0x00007f0d2e0ee1ce in timerSourcePrepareHelper (timeout=0x7f0d0e707bb4, src=<optimized out>) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:126
#8  timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f0d0e707bb4) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:159
#9  0x00007f0d25c9f68d in g_main_context_prepare (context=context@entry=0x7f0d00000990, priority=priority@entry=0x7f0d0e707c38) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3352
#10 0x00007f0d25c9ff03 in g_main_context_iterate (context=context@entry=0x7f0d00000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3714
#11 0x00007f0d25ca00ec in g_main_context_iteration (context=0x7f0d00000990, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#12 0x00007f0d2e0eec6b in QEventDispatcherGlib::processEvents (this=0x7f0d000008c0, flags=...) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:419
#13 0x00007f0d2e0998fa in QEventLoop::exec (this=this@entry=0x7f0d0e707d60, flags=..., flags@entry=...) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventloop.cpp:204
#14 0x00007f0d2ded1a2c in QThread::exec (this=this@entry=0x7f0d2a606400 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread.cpp:500
#15 0x00007f0d2a395605 in QDBusConnectionManager::run (this=0x7f0d2a606400 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/dbus/qdbusconnection.cpp:189
#16 0x00007f0d2ded6669 in QThreadPrivate::start (arg=0x7f0d2a606400 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread_unix.cpp:341
#17 0x00007f0d2a168184 in start_thread (arg=0x7f0d0e708700) at pthread_create.c:312
#18 0x00007f0d2d61e37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f0d05b62700 (LWP 9909)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d2ded744b in wait (time=18446744073709551615, this=0x229ca50) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=this@entry=0x229c970, mutex=mutex@entry=0x229c968, time=time@entry=18446744073709551615) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:208
#3  0x00007f0d315355c2 in Digikam::ScanController::run (this=0x7f0d31f1bb60 <_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>) at /opt/local/var/macports/build/_opt_local_site-ports_kf5_kf5-digikam/kf5-digikam/work/digikam-5.0.0/core/libs/database/utils/scancontroller.cpp:684
#4  0x00007f0d2ded6669 in QThreadPrivate::start (arg=0x7f0d31f1bb60 <_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread_unix.cpp:341
#5  0x00007f0d2a168184 in start_thread (arg=0x7f0d05b62700) at pthread_create.c:312
#6  0x00007f0d2d61e37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f0d05361700 (LWP 9912)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d2ded744b in wait (time=18446744073709551615, this=0x2b63840) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=this@entry=0x2b59410, mutex=mutex@entry=0x2b59408, time=time@entry=18446744073709551615) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:208
#3  0x00007f0d3093caa7 in Digikam::ParkingThread::run (this=0x2b593f0) at /opt/local/var/macports/build/_opt_local_site-ports_kf5_kf5-digikam/kf5-digikam/work/digikam-5.0.0/core/libs/threads/threadmanager.cpp:115
#4  0x00007f0d2ded6669 in QThreadPrivate::start (arg=0x2b593f0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread_unix.cpp:341
#5  0x00007f0d2a168184 in start_thread (arg=0x7f0d05361700) at pthread_create.c:312
#6  0x00007f0d2d61e37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f0cf1f90700 (LWP 9913)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d23f2f4bb in WTF::TCMalloc_PageHeap::scavengerThread (this=<optimized out>) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/WTF/wtf/FastMalloc.cpp:2821
#2  0x00007f0d23f2f4f9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/WTF/wtf/FastMalloc.cpp:1989
#3  0x00007f0d2a168184 in start_thread (arg=0x7f0cf1f90700) at pthread_create.c:312
#4  0x00007f0d2d61e37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f0c2f7fe700 (LWP 9951)):
#0  0x00007f0d2d610fdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0d25c9ffe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f0c58013fd0, timeout=-1, context=0x7f0c580135d0) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7f0c580135d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3729
#3  0x00007f0d25ca00ec in g_main_context_iteration (context=0x7f0c580135d0, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#4  0x00007f0d2e0eec6b in QEventDispatcherGlib::processEvents (this=0x7f0c58013500, flags=...) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f0d2e0998fa in QEventLoop::exec (this=this@entry=0x7f0c2f7fdd90, flags=..., flags@entry=...) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventloop.cpp:204
#6  0x00007f0d2ded1a2c in QThread::exec (this=<optimized out>) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread.cpp:500
#7  0x00007f0d2ded6669 in QThreadPrivate::start (arg=0x2cbdb30) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread_unix.cpp:341
#8  0x00007f0d2a168184 in start_thread (arg=0x7f0c2f7fe700) at pthread_create.c:312
#9  0x00007f0d2d61e37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f0c2effd700 (LWP 9952)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d23c3dca4 in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7f0cf16e8058) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/JavaScriptCore/heap/BlockAllocator.cpp:139
#2  0x00007f0d23f5e291 in WTF::wtfThreadEntryPoint (param=0x7f0cf168b1b0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/WTF/wtf/ThreadingPthreads.cpp:195
#3  0x00007f0d2a168184 in start_thread (arg=0x7f0c2effd700) at pthread_create.c:312
#4  0x00007f0d2d61e37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f0c2e7fc700 (LWP 9953)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d23c3ecd3 in waitForNextPhase (this=0x2ce6530) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/JavaScriptCore/heap/GCThread.cpp:81
#2  JSC::GCThread::gcThreadMain (this=0x2ce6530) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/JavaScriptCore/heap/GCThread.cpp:99
#3  0x00007f0d23f5e291 in WTF::wtfThreadEntryPoint (param=0x7f0cf168b140) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/WTF/wtf/ThreadingPthreads.cpp:195
#4  0x00007f0d2a168184 in start_thread (arg=0x7f0c2e7fc700) at pthread_create.c:312
#5  0x00007f0d2d61e37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f0c2dffb700 (LWP 9954)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d23c3ecd3 in waitForNextPhase (this=0x3db4fe0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/JavaScriptCore/heap/GCThread.cpp:81
#2  JSC::GCThread::gcThreadMain (this=0x3db4fe0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/JavaScriptCore/heap/GCThread.cpp:99
#3  0x00007f0d23f5e291 in WTF::wtfThreadEntryPoint (param=0x7f0cf168b080) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/WTF/wtf/ThreadingPthreads.cpp:195
#4  0x00007f0d2a168184 in start_thread (arg=0x7f0c2dffb700) at pthread_create.c:312
#5  0x00007f0d2d61e37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f0c2d7fa700 (LWP 9955)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d23c3ecd3 in waitForNextPhase (this=0x3dd25f0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/JavaScriptCore/heap/GCThread.cpp:81
#2  JSC::GCThread::gcThreadMain (this=0x3dd25f0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/JavaScriptCore/heap/GCThread.cpp:99
#3  0x00007f0d23f5e291 in WTF::wtfThreadEntryPoint (param=0x7f0cf168b3e0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtwebkit/Source/WTF/wtf/ThreadingPthreads.cpp:195
#4  0x00007f0d2a168184 in start_thread (arg=0x7f0c2d7fa700) at pthread_create.c:312
#5  0x00007f0d2d61e37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f0d32090840 (LWP 9905)):
[KCrash Handler]
#6  0x00007f0d2d610fdd in poll () at ../sysdeps/unix/syscall-template.S:81
#7  0x00007f0d25c9ffe4 in g_main_context_poll (priority=0, n_fds=9, fds=0x2658990, timeout=0, context=0x7f0d08003000) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:4028
#8  g_main_context_iterate (context=context@entry=0x7f0d08003000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3729
#9  0x00007f0d25ca00ec in g_main_context_iteration (context=0x7f0d08003000, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#10 0x00007f0d2e0eec4f in QEventDispatcherGlib::processEvents (this=0x222dfb0, flags=...) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:417
#11 0x00007f0d2e0998fa in QEventLoop::exec (this=0x2b57770, flags=..., flags@entry=...) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventloop.cpp:204
#12 0x00007f0d308eeb17 in Digikam::ProgressManager::slotAbortAll (this=0x7f0d313395b0 <_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>) at /opt/local/var/macports/build/_opt_local_site-ports_kf5_kf5-digikam/kf5-digikam/work/digikam-5.0.0/core/libs/progressmanager/progressmanager.cpp:598
#13 0x00007f0d3159e283 in Digikam::DigikamApp::~DigikamApp (this=this@entry=0x233a7d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /opt/local/var/macports/build/_opt_local_site-ports_kf5_kf5-digikam/kf5-digikam/work/digikam-5.0.0/core/app/main/digikamapp.cpp:313
#14 0x00007f0d3159e649 in Digikam::DigikamApp::~DigikamApp (this=0x233a7d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /opt/local/var/macports/build/_opt_local_site-ports_kf5_kf5-digikam/kf5-digikam/work/digikam-5.0.0/core/app/main/digikamapp.cpp:402
#15 0x00007f0d2e0c8698 in QObject::event (this=this@entry=0x233a7d0, e=e@entry=0x4e4bde0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qobject.cpp:1247
#16 0x00007f0d2ee950d3 in QWidget::event (this=this@entry=0x233a7d0, event=event@entry=0x4e4bde0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/widgets/kernel/qwidget.cpp:9178
#17 0x00007f0d2efa4a3b in QMainWindow::event (this=0x233a7d0, event=0x4e4bde0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/widgets/widgets/qmainwindow.cpp:1543
#18 0x00007f0d2b229d41 in KMainWindow::event(QEvent*) () from /opt/local/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#19 0x00007f0d2b242441 in KXmlGuiWindow::event(QEvent*) () from /opt/local/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#20 0x00007f0d2ee5291c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x233a7d0, e=0x4e4bde0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/widgets/kernel/qapplication.cpp:3804
#21 0x00007f0d2ee57ab6 in QApplication::notify (this=0x7ffd710a7a30, receiver=0x233a7d0, e=0x4e4bde0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/widgets/kernel/qapplication.cpp:3561
#22 0x00007f0d2e09ba48 in QCoreApplication::notifyInternal2 (receiver=0x233a7d0, event=event@entry=0x4e4bde0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:1020
#23 0x00007f0d2e09d82a in sendEvent (event=0x4e4bde0, receiver=<optimized out>) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qcoreapplication.h:225
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x216d7b0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:1655
#25 0x00007f0d2e09dce8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:1513
#26 0x00007f0d2e0ee843 in postEventSourceDispatch (s=0x22281d0) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:270
#27 0x00007f0d25c9fe04 in g_main_dispatch (context=0x7f0d08003000) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
#28 g_main_context_dispatch (context=context@entry=0x7f0d08003000) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
#29 0x00007f0d25ca0048 in g_main_context_iterate (context=context@entry=0x7f0d08003000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
#30 0x00007f0d25ca00ec in g_main_context_iteration (context=0x7f0d08003000, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#31 0x00007f0d2e0eec4f in QEventDispatcherGlib::processEvents (this=0x222dfb0, flags=...) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:417
#32 0x00007f0d2e0998fa in QEventLoop::exec (this=this@entry=0x7ffd710a75f0, flags=..., flags@entry=...) at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventloop.cpp:204
#33 0x00007f0d2e0a1c1d in QCoreApplication::exec () at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:1290
#34 0x00007f0d2e60140c in QGuiApplication::exec () at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/gui/kernel/qguiapplication.cpp:1611
#35 0x00007f0d2ee4fb75 in QApplication::exec () at /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/widgets/kernel/qapplication.cpp:2979
#36 0x0000000000405ec0 in main (argc=1, argv=<optimized out>) at /opt/local/var/macports/build/_opt_local_site-ports_kf5_kf5-digikam/kf5-digikam/work/digikam-5.0.0/core/app/main/main.cpp:239

Possible duplicates by query: bug 366006, bug 358373, bug 354085, bug 353304, bug 352564.

Reported using DrKonqi
Comment 1 caulier.gilles 2016-07-25 21:06:55 UTC
Can you reproduce the problem with current implementation from git/master (next 5.1.0) ?

Gilles Caulier
Comment 2 RJVB 2016-07-25 22:17:01 UTC
Not until mid august, I'm purely a user for a couple of weeks.
Comment 3 caulier.gilles 2016-07-26 05:46:58 UTC
This is for macports OSX. Right ?. Not Linux ?

Gilles Caulier
Comment 4 RJVB 2016-07-26 06:36:22 UTC
No, Linux. Don't get fooled by the pathname of the build directory.

(On OS X, digiKam does see my iPhone IIRC, but only the device, not the contents.)
Comment 5 caulier.gilles 2016-11-03 21:58:03 UTC
The original problem from this file is not reproducible with digiKam 5.3.0 Linux  AppImage bundle.

https://drive.google.com/open?id=0BzeiVr-byqt5Y0tIRWVWelRJenM

I close this file now.
Comment 6 RJVB 2016-11-05 09:26:52 UTC
Can't check anymore because I no longer manage to get my iPhone recognised under Linux.

Off-topic here (maybe), but what exactly are the libraries, services etc. required to be able to import from an iPhone?
Comment 7 RJVB 2016-11-05 09:32:25 UTC
FWIW, someone should write a tiny iOS that allows to download photos off an iDevice over TCP/IP, much like the G+/PicasaWeb plugin does!
Comment 8 caulier.gilles 2016-11-05 09:52:45 UTC
It's libgphoto2 driver, to handle ios device under Linux/OSX