Bug 329214

Summary: Crash when moving tags by D&D
Product: [Applications] digikam Reporter: gerard.thauront <gerard.thauront>
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, piotergmoter
Priority: NOR Keywords: drkonqi
Version: 3.4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.0
Sentry Crash Report:
Attachments: backtrace
empty tags list

Description gerard.thauront@wanadoo.fr 2013-12-25 10:18:11 UTC
Application: digikam (3.4.0)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-14-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
Crash en déplaçant des étiquettes (tag)

The crash can be reproduced sometimes.

-- 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 0x7f45798baa80 (LWP 10816))]

Thread 9 (Thread 0x7f4551541700 (LWP 10822)):
#0  0x00007f456bb32d7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f456bb34dd0 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f456bb355c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f456bb35b0a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f455d6adb66 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f456bb5a0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f456e562f6e in start_thread (arg=0x7f4551541700) at pthread_create.c:311
#7  0x00007f45732169cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f454bfff700 (LWP 10823)):
#0  0x00007f4573209f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f456bb356a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f456bb357ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f456bb357f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f456bb5a0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f456e562f6e in start_thread (arg=0x7f454bfff700) at pthread_create.c:311
#6  0x00007f45732169cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f453b72b700 (LWP 10827)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4573ff8406 in wait (time=18446744073709551615, this=0x1130e20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1130d30, mutex=mutex@entry=0x1130d28, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5c4e in Digikam::ScanController::run (this=0x1130ac0) at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f4573ff7f2f in QThreadPrivate::start (arg=0x1130ac0) at thread/qthread_unix.cpp:338
#5  0x00007f456e562f6e in start_thread (arg=0x7f453b72b700) at pthread_create.c:311
#6  0x00007f45732169cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f453af2a700 (LWP 10828)):
#0  0x00007f4574124cd7 in timerSourceCheck (source=0x7f452c0012d0) at kernel/qeventdispatcher_glib.cpp:175
#1  0x00007f456bb35121 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f456bb3563b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f456bb357ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4574124a76 in QEventDispatcherGlib::processEvents (this=0x7f452c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f45740f65ef in QEventLoop::processEvents (this=this@entry=0x7f453af29ab0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f45740f68e5 in QEventLoop::exec (this=this@entry=0x7f453af29ab0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f4573ff588f in QThread::exec (this=this@entry=0x112eeb0) at thread/qthread.cpp:542
#8  0x00007f45740d7d13 in QInotifyFileSystemWatcherEngine::run (this=0x112eeb0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f4573ff7f2f in QThreadPrivate::start (arg=0x112eeb0) at thread/qthread_unix.cpp:338
#10 0x00007f456e562f6e in start_thread (arg=0x7f453af2a700) at pthread_create.c:311
#11 0x00007f45732169cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f454b7fe700 (LWP 10835)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4573ff8406 in wait (time=18446744073709551615, this=0x1429720) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x11b8970, mutex=mutex@entry=0x11b8968, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4576e7316a in Digikam::ParkingThread::run (this=0x11b8950) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f4573ff7f2f in QThreadPrivate::start (arg=0x11b8950) at thread/qthread_unix.cpp:338
#5  0x00007f456e562f6e in start_thread (arg=0x7f454b7fe700) at pthread_create.c:311
#6  0x00007f45732169cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f4529992700 (LWP 10939)):
#0  0x00007f456bb753d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f456bb35299 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f456bb35708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f456bb357ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4574124a76 in QEventDispatcherGlib::processEvents (this=0x7f4524035420, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f45740f65ef in QEventLoop::processEvents (this=this@entry=0x7f4529991a80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f45740f68e5 in QEventLoop::exec (this=this@entry=0x7f4529991a80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f4576e72813 in Digikam::WorkerObjectRunnable::run (this=0x4059410) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:196
#8  0x00007f4573feb7ae in QThreadPoolThread::run (this=0x29a6bb0) at concurrent/qthreadpool.cpp:107
#9  0x00007f4573ff7f2f in QThreadPrivate::start (arg=0x29a6bb0) at thread/qthread_unix.cpp:338
#10 0x00007f456e562f6e in start_thread (arg=0x7f4529992700) at pthread_create.c:311
#11 0x00007f45732169cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f451aff4700 (LWP 10940)):
#0  0x00007ffffdbd4a2f in clock_gettime ()
#1  0x00007f457322b96d in clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f457404c757 in do_gettime (frac=0x7f451aff3810, sec=0x7f451aff3808) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f4574125fe5 in updateCurrentTime (this=0x7f450c0349a0) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f450c0349a0, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x00007f457412482c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f451aff38c4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f45741248d5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f456bb34d4d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f456bb355c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f456bb357ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f4574124a76 in QEventDispatcherGlib::processEvents (this=0x7f450c032df0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f45740f65ef in QEventLoop::processEvents (this=this@entry=0x7f451aff3a80, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f45740f68e5 in QEventLoop::exec (this=this@entry=0x7f451aff3a80, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f4576e72813 in Digikam::WorkerObjectRunnable::run (this=0x7f45241ef9a0) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:196
#15 0x00007f4573feb7ae in QThreadPoolThread::run (this=0x29a7e30) at concurrent/qthreadpool.cpp:107
#16 0x00007f4573ff7f2f in QThreadPrivate::start (arg=0x29a7e30) at thread/qthread_unix.cpp:338
#17 0x00007f456e562f6e in start_thread (arg=0x7f451aff4700) at pthread_create.c:311
#18 0x00007f45732169cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f451f4a2700 (LWP 10988)):
#0  0x00007f456e5650aa in __GI___pthread_mutex_lock (mutex=0x7f451588c4a0) at pthread_mutex_lock.c:116
#1  0x00007f456bb753a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f456bb3512c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f456bb3563b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f456bb357ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4574124a76 in QEventDispatcherGlib::processEvents (this=0x7f45140ac790, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f45740f65ef in QEventLoop::processEvents (this=this@entry=0x7f451f4a1a80, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f45740f68e5 in QEventLoop::exec (this=this@entry=0x7f451f4a1a80, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4576e72813 in Digikam::WorkerObjectRunnable::run (this=0x7f45241456a0) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007f4573feb7ae in QThreadPoolThread::run (this=0x29a9870) at concurrent/qthreadpool.cpp:107
#10 0x00007f4573ff7f2f in QThreadPrivate::start (arg=0x29a9870) at thread/qthread_unix.cpp:338
#11 0x00007f456e562f6e in start_thread (arg=0x7f451f4a2700) at pthread_create.c:311
#12 0x00007f45732169cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f45798baa80 (LWP 10816)):
[KCrash Handler]
#6  Digikam::Album::isRoot (this=0x0) at /build/buildd/digikam-3.4.0/core/digikam/album/album.cpp:296
#7  0x00000000005f5161 in Digikam::TagDragDropHandler::accepts (this=this@entry=0x1f3c720, e=e@entry=0x7ffffda1ac20, dropIndex=...) at /build/buildd/digikam-3.4.0/core/digikam/dragdrop/tagdragdrop.cpp:236
#8  0x00000000005c804c in Digikam::AbstractAlbumTreeView::dragMoveEvent (this=0x1f34b70, e=0x7ffffda1ac20) at /build/buildd/digikam-3.4.0/core/digikam/album/albumtreeview.cpp:646
#9  0x00007f4574b37d76 in QWidget::event (this=this@entry=0x1f34b70, event=event@entry=0x7ffffda1ac20) at kernel/qwidget.cpp:8584
#10 0x00007f4574ed95be in QFrame::event (this=0x1f34b70, e=0x7ffffda1ac20) at widgets/qframe.cpp:557
#11 0x00007f4574fe86b3 in QAbstractItemView::viewportEvent (this=this@entry=0x1f34b70, event=event@entry=0x7ffffda1ac20) at itemviews/qabstractitemview.cpp:1644
#12 0x00007f457502750e in QTreeView::viewportEvent (this=0x1f34b70, event=0x7ffffda1ac20) at itemviews/qtreeview.cpp:1257
#13 0x00007f45740f7a26 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0xe18b60, receiver=receiver@entry=0x1f34b40, event=event@entry=0x7ffffda1ac20) at kernel/qcoreapplication.cpp:1056
#14 0x00007f4574ae8ddc in QApplicationPrivate::notify_helper (this=this@entry=0xe18b60, receiver=receiver@entry=0x1f34b40, e=e@entry=0x7ffffda1ac20) at kernel/qapplication.cpp:4563
#15 0x00007f4574af02fe in QApplication::notify (this=this@entry=0x7ffffda1d0e0, receiver=receiver@entry=0x1f34b40, e=e@entry=0x7ffffda1ac20) at kernel/qapplication.cpp:4353
#16 0x00007f45757f2a6a in KApplication::notify (this=0x7ffffda1d0e0, receiver=0x1f34b40, event=0x7ffffda1ac20) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007f45740f78bd in QCoreApplication::notifyInternal (this=0x7ffffda1d0e0, receiver=receiver@entry=0x1f34b40, event=event@entry=0x7ffffda1ac20) at kernel/qcoreapplication.cpp:946
#18 0x00007f4574b71024 in sendEvent (event=0x7ffffda1ac20, receiver=0x1f34b40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 handle_xdnd_position (w=w@entry=0x1362530, xe=xe@entry=0x7ffffda1ae60, passive=passive@entry=false) at kernel/qdnd_x11.cpp:938
#20 0x00007f4574b72544 in QDragManager::move (this=0x407a1d0, globalPos=...) at kernel/qdnd_x11.cpp:1708
#21 0x00007f4574b72bb9 in QDragManager::eventFilter (this=0x407a1d0, o=<optimized out>, e=<optimized out>) at kernel/qdnd_x11.cpp:1308
#22 0x00007f45740f7992 in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=this@entry=0xe18b60, receiver=receiver@entry=0x80927b0, event=event@entry=0x7ffffda1b310) at kernel/qcoreapplication.cpp:1037
#23 0x00007f4574ae8d88 in QApplicationPrivate::notify_helper (this=this@entry=0xe18b60, receiver=receiver@entry=0x80927b0, e=e@entry=0x7ffffda1b310) at kernel/qapplication.cpp:4542
#24 0x00007f4574aef5ad in QApplication::notify (this=this@entry=0x7ffffda1d0e0, receiver=receiver@entry=0x80927b0, e=e@entry=0x7ffffda1b310) at kernel/qapplication.cpp:4110
#25 0x00007f45757f2a6a in KApplication::notify (this=0x7ffffda1d0e0, receiver=0x80927b0, event=0x7ffffda1b310) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f45740f78bd in QCoreApplication::notifyInternal (this=0x7ffffda1d0e0, receiver=receiver@entry=0x80927b0, event=event@entry=0x7ffffda1b310) at kernel/qcoreapplication.cpp:946
#27 0x00007f4574aeed63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x80927b0, event=event@entry=0x7ffffda1b310, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x80927b0, buttonDown=buttonDown@entry=0x7f45755cd2f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#29 0x00007f4574b637db in QETWidget::translateMouseEvent (this=this@entry=0x80927b0, event=event@entry=0x7ffffda1b690) at kernel/qapplication_x11.cpp:4631
#30 0x00007f4574b63079 in QApplication::x11ProcessEvent (this=0x7ffffda1d0e0, event=event@entry=0x7ffffda1b690) at kernel/qapplication_x11.cpp:3624
#31 0x00007f4574b8a922 in x11EventSourceDispatch (s=0xe15d80, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f456bb353b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f456bb35708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f456bb357ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f4574124a55 in QEventDispatcherGlib::processEvents (this=0xd52880, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0x00007f4574b8a9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f45740f65ef in QEventLoop::processEvents (this=this@entry=0x318d300, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f45740f68e5 in QEventLoop::exec (this=this@entry=0x318d300, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007f4574b72ebd in QDragManager::drag (this=0x407a1d0, o=o@entry=0x4481670) at kernel/qdnd_x11.cpp:2032
#40 0x00007f4574af9dda in QDrag::exec (this=this@entry=0x4481670, supportedActions=..., defaultDropAction=defaultDropAction@entry=Qt::IgnoreAction) at kernel/qdrag.cpp:284
#41 0x00000000005c673e in Digikam::AbstractAlbumTreeView::startDrag (this=this@entry=0x1f34b70, supportedActions=...) at /build/buildd/digikam-3.4.0/core/digikam/album/albumtreeview.cpp:606
#42 0x00007f4574fe7c09 in QAbstractItemView::mouseMoveEvent (this=0x1f34b70, event=<optimized out>) at itemviews/qabstractitemview.cpp:1725
#43 0x00007f4574b38445 in QWidget::event (this=this@entry=0x1f34b70, event=event@entry=0x7ffffda1c460) at kernel/qwidget.cpp:8360
#44 0x00007f4574ed95be in QFrame::event (this=0x1f34b70, e=0x7ffffda1c460) at widgets/qframe.cpp:557
#45 0x00007f4574fe86b3 in QAbstractItemView::viewportEvent (this=this@entry=0x1f34b70, event=event@entry=0x7ffffda1c460) at itemviews/qabstractitemview.cpp:1644
#46 0x00007f457502750e in QTreeView::viewportEvent (this=0x1f34b70, event=0x7ffffda1c460) at itemviews/qtreeview.cpp:1257
#47 0x00007f45740f7a26 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0xe18b60, receiver=receiver@entry=0x1f34b40, event=event@entry=0x7ffffda1c460) at kernel/qcoreapplication.cpp:1056
#48 0x00007f4574ae8ddc in QApplicationPrivate::notify_helper (this=this@entry=0xe18b60, receiver=receiver@entry=0x1f34b40, e=e@entry=0x7ffffda1c460) at kernel/qapplication.cpp:4563
#49 0x00007f4574aef5ad in QApplication::notify (this=this@entry=0x7ffffda1d0e0, receiver=receiver@entry=0x1f34b40, e=e@entry=0x7ffffda1c460) at kernel/qapplication.cpp:4110
#50 0x00007f45757f2a6a in KApplication::notify (this=0x7ffffda1d0e0, receiver=0x1f34b40, event=0x7ffffda1c460) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x00007f45740f78bd in QCoreApplication::notifyInternal (this=0x7ffffda1d0e0, receiver=receiver@entry=0x1f34b40, event=event@entry=0x7ffffda1c460) at kernel/qcoreapplication.cpp:946
#52 0x00007f4574aeed63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1f34b40, event=event@entry=0x7ffffda1c460, alienWidget=alienWidget@entry=0x1f34b40, nativeWidget=nativeWidget@entry=0x1e867a0, buttonDown=buttonDown@entry=0x7f45755cd2f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#54 0x00007f4574b637db in QETWidget::translateMouseEvent (this=this@entry=0x1e867a0, event=event@entry=0x7ffffda1c7e0) at kernel/qapplication_x11.cpp:4631
#55 0x00007f4574b63079 in QApplication::x11ProcessEvent (this=0x7ffffda1d0e0, event=event@entry=0x7ffffda1c7e0) at kernel/qapplication_x11.cpp:3624
#56 0x00007f4574b8a922 in x11EventSourceDispatch (s=0xe15d80, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007f456bb353b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f456bb35708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f456bb357ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f4574124a55 in QEventDispatcherGlib::processEvents (this=0xd52880, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#61 0x00007f4574b8a9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f45740f65ef in QEventLoop::processEvents (this=this@entry=0x7ffffda1cbc0, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f45740f68e5 in QEventLoop::exec (this=this@entry=0x7ffffda1cbc0, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007f45740fbe5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#65 0x00007f4574ae734c in QApplication::exec () at kernel/qapplication.cpp:3828
#66 0x0000000000491ef3 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.4.0/core/digikam/main/main.cpp:235

Reported using DrKonqi
Comment 1 caulier.gilles 2014-05-16 07:29:26 UTC
digiKam 4.0.0 is out :

http://www.digikam.org/node/713

Please check if this entry still valid with this new version.

Thanks in advance

Gilles Caulier
Comment 2 caulier.gilles 2014-08-31 13:34:33 UTC
Gerard,

This file still valid using last digiKam 4.2.0 ?

Gilles Caulier
Comment 3 Piotr 2015-04-07 13:15:02 UTC
digikam 4.8.0, the same crash with D&D, sorry ;-( The digikam was installed from 
http://ppa.launchpad.net/philip5/extra/ubuntu

BTW, I'v tried drkonqi to give more info about the crash but it failed to login to kde bugzilla, no idea why, the login was ok (checked in previous step). So I can only confirm, this bug is still valid.
P.
Comment 4 caulier.gilles 2015-04-07 13:20:28 UTC
Intall debug package and run digiKam into GDD to get a backtrace, as explained here :

https://www.digikam.org/contrib
Comment 5 Piotr 2015-04-07 16:49:00 UTC
Created attachment 91929 [details]
backtrace
Comment 6 Piotr 2015-04-07 16:50:29 UTC
Here is the backtrace I've managed to do, and hopefully done it right. It was a bit problematic, digikam has frozen my mouse after crash.

The backtrace is in the attachment.
Comment 7 caulier.gilles 2015-04-07 17:18:03 UTC
It crash because album instance is null 

Digikam::Album::isRoot (this=0x0)
                                                    ^^^^
...at call album.cpp :: line 298 (return m_root)

Which condition exactly you drag and drop ? Where do you drop content in album tree view ? I would try to reproduce...

Gilles Caulier
Comment 8 Piotr 2015-04-07 17:30:26 UTC
This is very fresh digikam instalation, so onlu one album (default one) exists. The d&d action is very short and simple: 
1. open Tags (left toolbar) by clicking on the tags icon 
2. there are no tags in the list, just default tags folder (?)
3. d&d this folder anywhere
4. crash...

In the attachment I have included the screenshot of what I'm talking about.

It looks like it is not exactly tag, rather tag container (or folder). When I add tag to it, I can d&d it without any crash.
Comment 9 Piotr 2015-04-07 17:32:21 UTC
Created attachment 91931 [details]
empty tags list

The polish word 'Znaczniki' means tags, so this is what I'm talking about, which makes crashes. Touchy thing...
Comment 10 Piotr 2015-04-07 20:28:54 UTC
(In reply to piotergmoter from comment #8)

> 
> It looks like it is not exactly tag, rather tag container (or folder). When
> I add tag to it, I can d&d it without any crash.

More precisely: d&d tag - no crash, d&d tags folder - crash.
Comment 11 caulier.gilles 2015-04-07 20:32:26 UTC
Git commit 8f9478b92a0bbdf215721fe78331aed72ba249f0 by Gilles Caulier.
Committed on 07/04/2015 at 20:31.
Pushed by cgilles into branch 'master'.

Prevent crash while tag D&D if parent album is null
FIXED-IN: 4.10.0

M  +2    -1    NEWS
M  +8    -2    app/dragdrop/tagdragdrop.cpp

http://commits.kde.org/digikam/8f9478b92a0bbdf215721fe78331aed72ba249f0
Comment 12 caulier.gilles 2015-04-07 20:36:26 UTC
Git commit c0f16ae6a93cc4678d55009a0448d81ccae7045f by Gilles Caulier.
Committed on 03/04/2015 at 09:18.
Pushed by cgilles into branch 'frameworks'.

backport commit #8f9478b92a0bbdf215721fe78331aed72ba249f0 from git/master to frameworks branch

M  +8    -1    app/dragdrop/tagdragdrop.cpp

http://commits.kde.org/digikam/c0f16ae6a93cc4678d55009a0448d81ccae7045f