Bug 339070 - crash when moving one tag onto an other, to make it a sub-tag
Summary: crash when moving one tag onto an other, to make it a sub-tag
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Engine (show other bugs)
Version: 4.2.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-14 13:20 UTC by Matthias Andree
Modified: 2021-04-04 09:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree 2014-09-14 13:20:12 UTC
(sorry, my kde-runtime/Dr. Konqui is currently unable to upload directly)

I was moving one image tag on top of another with the mouse, trying to make one tag the sub-tag of another. Then Digikam crashed.

Application: digikam (4.2.0)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-35-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was moving one image tag with drag&drop onto another image tag, to make the former a sub-tag of the latter. Then digiKam crashed.

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 0x7f03cedc0ac0 (LWP 9729))]

Thread 11 (Thread 0x7f03aa077700 (LWP 9730)):
#0  0x00007f03c7f0c36d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f03af49728d in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f03c3d26182 in start_thread (arg=0x7f03aa077700) at pthread_create.c:312
#3  0x00007f03c7f1afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7f03a4d6e700 (LWP 9734)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f03c8cfc816 in wait (time=18446744073709551615, this=0x1c2fc00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1ca4060, mutex=mutex@entry=0x1ca4058, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005f0f6e in Digikam::ScanController::run (this=0x1ca3dd0) at /build/buildd/digikam-4.2.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f03c8cfc32f in QThreadPrivate::start (arg=0x1ca3dd0) at thread/qthread_unix.cpp:349
#5  0x00007f03c3d26182 in start_thread (arg=0x7f03a4d6e700) at pthread_create.c:312
#6  0x00007f03c7f1afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f039ffff700 (LWP 9735)):
#0  0x00007f03c0e8c9ac in g_mutex_lock (mutex=mutex@entry=0x7f03980009a0) at /build/buildd/glib2.0-2.40.0/./glib/gthread-posix.c:211
#1  0x00007f03c0e4a699 in g_main_context_prepare (context=context@entry=0x7f03980009a0, priority=priority@entry=0x7f039fffe9a8) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3354
#2  0x00007f03c0e4af03 in g_main_context_iterate (context=context@entry=0x7f03980009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3714
#3  0x00007f03c0e4b0ec in g_main_context_iteration (context=0x7f03980009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007f03c8e2b7be in QEventDispatcherGlib::processEvents (this=0x7f03980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f03c8dfd0af in QEventLoop::processEvents (this=this@entry=0x7f039fffeae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f03c8dfd3a5 in QEventLoop::exec (this=this@entry=0x7f039fffeae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f03c8cf9c5f in QThread::exec (this=this@entry=0x1b94250) at thread/qthread.cpp:537
#8  0x00007f03c8dde823 in QInotifyFileSystemWatcherEngine::run (this=0x1b94250) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f03c8cfc32f in QThreadPrivate::start (arg=0x1b94250) at thread/qthread_unix.cpp:349
#10 0x00007f03c3d26182 in start_thread (arg=0x7f039ffff700) at pthread_create.c:312
#11 0x00007f03c7f1afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f039f7fe700 (LWP 9742)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f03c8cfc816 in wait (time=18446744073709551615, this=0x1b6c990) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1fa0b70, mutex=mutex@entry=0x1fa0b68, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f03cc45bf6a in Digikam::ParkingThread::run (this=0x1fa0b50) at /build/buildd/digikam-4.2.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f03c8cfc32f in QThreadPrivate::start (arg=0x1fa0b50) at thread/qthread_unix.cpp:349
#5  0x00007f03c3d26182 in start_thread (arg=0x7f039f7fe700) at pthread_create.c:312
#6  0x00007f03c7f1afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f039e2fb700 (LWP 9743)):
#0  0x00007f03c7f0dc6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f03c0e4afe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f0394003280, timeout=-1, context=0x7f03940009a0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7f03940009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007f03c0e4b0ec in g_main_context_iteration (context=0x7f03940009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007f03c8e2b7be in QEventDispatcherGlib::processEvents (this=0x7f03940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f03c8dfd0af in QEventLoop::processEvents (this=this@entry=0x7f039e2faae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f03c8dfd3a5 in QEventLoop::exec (this=this@entry=0x7f039e2faae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f03c8cf9c5f in QThread::exec (this=this@entry=0x21ed530) at thread/qthread.cpp:537
#8  0x00007f03c8dde823 in QInotifyFileSystemWatcherEngine::run (this=0x21ed530) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f03c8cfc32f in QThreadPrivate::start (arg=0x21ed530) at thread/qthread_unix.cpp:349
#10 0x00007f03c3d26182 in start_thread (arg=0x7f039e2fb700) at pthread_create.c:312
#11 0x00007f03c7f1afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f030b9d2700 (LWP 9780)):
#0  0x00007f03c3d28569 in __GI___pthread_mutex_lock (mutex=0x7f03180134a0) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007f03c0e8c991 in g_mutex_lock (mutex=mutex@entry=0x7f0318013ac0) at /build/buildd/glib2.0-2.40.0/./glib/gthread-posix.c:209
#2  0x00007f03c0e4a1f8 in g_main_context_release (context=context@entry=0x7f0318013ac0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3158
#3  0x00007f03c0e4af91 in g_main_context_iterate (context=context@entry=0x7f0318013ac0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3736
#4  0x00007f03c0e4b0ec in g_main_context_iteration (context=0x7f0318013ac0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#5  0x00007f03c8e2b7be in QEventDispatcherGlib::processEvents (this=0x7f03180139e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f03c8dfd0af in QEventLoop::processEvents (this=this@entry=0x7f030b9d1ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f03c8dfd3a5 in QEventLoop::exec (this=this@entry=0x7f030b9d1ae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f03c8cf9c5f in QThread::exec (this=this@entry=0x452b740) at thread/qthread.cpp:537
#9  0x00007f03c8dde823 in QInotifyFileSystemWatcherEngine::run (this=0x452b740) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f03c8cfc32f in QThreadPrivate::start (arg=0x452b740) at thread/qthread_unix.cpp:349
#11 0x00007f03c3d26182 in start_thread (arg=0x7f030b9d2700) at pthread_create.c:312
#12 0x00007f03c7f1afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f0305fb0700 (LWP 9781)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f03bc80b81d in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f03bc80b859 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f03c3d26182 in start_thread (arg=0x7f0305fb0700) at pthread_create.c:312
#4  0x00007f03c7f1afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f02c57ad700 (LWP 9782)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f03bc54c20d in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f03bc83afd6 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f03c3d26182 in start_thread (arg=0x7f02c57ad700) at pthread_create.c:312
#4  0x00007f03c7f1afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f02bbb9a700 (LWP 9801)):
#0  0x00007f03c7f0dc6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f03c0e4afe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f0328015ec0, timeout=9256, context=0x7f0328002a50) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7f0328002a50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007f03c0e4b0ec in g_main_context_iteration (context=0x7f0328002a50, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007f03c8e2b7be in QEventDispatcherGlib::processEvents (this=0x7f0328012e20, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f03c8dfd0af in QEventLoop::processEvents (this=this@entry=0x7f02bbb99b20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f03c8dfd3a5 in QEventLoop::exec (this=this@entry=0x7f02bbb99b20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f03c8cf9c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#8  0x00007f03c8cfc32f in QThreadPrivate::start (arg=0x489ee70) at thread/qthread_unix.cpp:349
#9  0x00007f03c3d26182 in start_thread (arg=0x7f02bbb9a700) at pthread_create.c:312
#10 0x00007f03c7f1afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f038bffe700 (LWP 13182)):
#0  0x00007f03c7f0dc6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f03c0e4afe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f0330073450, timeout=-1, context=0x7f0330002650) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7f0330002650, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007f03c0e4b0ec in g_main_context_iteration (context=0x7f0330002650, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007f03c8e2b7be in QEventDispatcherGlib::processEvents (this=0x7f0330073430, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f03c8dfd0af in QEventLoop::processEvents (this=this@entry=0x7f038bffdaa0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f03c8dfd3a5 in QEventLoop::exec (this=this@entry=0x7f038bffdaa0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f03cc45b633 in Digikam::WorkerObjectRunnable::run (this=0xa341d10) at /build/buildd/digikam-4.2.0/core/libs/threads/threadmanager.cpp:196
#8  0x00007f03c8ceffee in QThreadPoolThread::run (this=0x37237a0) at concurrent/qthreadpool.cpp:108
#9  0x00007f03c8cfc32f in QThreadPrivate::start (arg=0x37237a0) at thread/qthread_unix.cpp:349
#10 0x00007f03c3d26182 in start_thread (arg=0x7f038bffe700) at pthread_create.c:312
#11 0x00007f03c7f1afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f03cedc0ac0 (LWP 9729)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f03b3798dac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff99890b30, pMem2=<optimized out>, pColl=0xa5ccd58) at sqlite3.c:60484
#8  0x00007f03b3798f63 in sqlite3VdbeRecordCompare (nKey1=27, pKey1=0x7f03a015b4cd, pPKey2=pPKey2@entry=0x7fff99890e48) at sqlite3.c:64162
#9  0x00007f03b37ad579 in sqlite3BtreeMovetoUnpacked (pCur=0xb7428a8, pIdxKey=0x7fff99890e48, intKey=0, biasRight=<optimized out>, pRes=0x7fff99890e30) at sqlite3.c:55077
#10 0x00007f03b37d5848 in sqlite3VdbeExec (p=p@entry=0xa7dd948) at sqlite3.c:70345
#11 0x00007f03b37dded7 in sqlite3Step (p=0xa7dd948) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007f039ebed11c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x5fab370, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007f039ebede48 in QSQLiteResult::exec (this=0xa1ab970) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007f03cea11b7d in QSqlQuery::exec (this=this@entry=0x7fff99891388) at kernel/qsqlquery.cpp:949
#16 0x00007f03cc4090e6 in Digikam::DatabaseCoreBackend::exec (this=0x1c7aac0, query=...) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:1415
#17 0x00007f03cc409212 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1c7aac0, query=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:1065
#18 0x00007f03cc40a2cc in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1c7aac0, sql=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:1014
#19 0x00007f03cc40a31c in Digikam::DatabaseCoreBackend::execSql (this=0x1c7aac0, sql=..., boundValue1=..., boundValue2=..., values=values@entry=0x0, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:911
#20 0x00007f03cbda8a35 in Digikam::AlbumDB::setTagParentID (this=0x1af3c90, tagID=tagID@entry=37, newParentTagID=newParentTagID@entry=57) at /build/buildd/digikam-4.2.0/core/libs/database/albumdb.cpp:770
#21 0x00000000005b2a9d in Digikam::AlbumManager::moveTAlbum (this=0x1c89aa0, album=album@entry=0x41dcd50, newParent=newParent@entry=0xa52fde0, errMsg=...) at /build/buildd/digikam-4.2.0/core/digikam/album/albummanager.cpp:2487
#22 0x00000000006100b2 in Digikam::TagDragDropHandler::dropEvent (this=this@entry=0x29ccdc0, view=view@entry=0x29bf950, e=e@entry=0x7fff99891f60, droppedOn=...) at /build/buildd/digikam-4.2.0/core/digikam/dragdrop/tagdragdrop.cpp:115
#23 0x00000000005d870f in Digikam::AbstractAlbumTreeView::dropEvent (this=0x29bf950, e=0x7fff99891f60) at /build/buildd/digikam-4.2.0/core/digikam/album/albumtreeview.cpp:716
#24 0x00007f03c984025a in QWidget::event (this=this@entry=0x29bf950, event=event@entry=0x7fff99891f60) at kernel/qwidget.cpp:8577
#25 0x00007f03c9be1fce in QFrame::event (this=0x29bf950, e=0x7fff99891f60) at widgets/qframe.cpp:557
#26 0x00007f03c9cf15b3 in QAbstractItemView::viewportEvent (this=this@entry=0x29bf950, event=event@entry=0x7fff99891f60) at itemviews/qabstractitemview.cpp:1644
#27 0x00007f03c9d30190 in QTreeView::viewportEvent (this=0x29bf950, event=0x7fff99891f60) at itemviews/qtreeview.cpp:1252
#28 0x00007f03c8dfe646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1a5fef0, receiver=receiver@entry=0x29bf770, event=event@entry=0x7fff99891f60) at kernel/qcoreapplication.cpp:1063
#29 0x00007f03c97f0e0c in QApplicationPrivate::notify_helper (this=this@entry=0x1a5fef0, receiver=receiver@entry=0x29bf770, e=e@entry=0x7fff99891f60) at kernel/qapplication.cpp:4563
#30 0x00007f03c97f8326 in QApplication::notify (this=this@entry=0x7fff998942f0, receiver=receiver@entry=0x29bf770, e=e@entry=0x7fff99891f60) at kernel/qapplication.cpp:4353
#31 0x00007f03ca4fbd1a in KApplication::notify (this=0x7fff998942f0, receiver=0x29bf770, event=0x7fff99891f60) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007f03c8dfe4dd in QCoreApplication::notifyInternal (this=0x7fff998942f0, receiver=0x29bf770, event=event@entry=0x7fff99891f60) at kernel/qcoreapplication.cpp:953
#33 0x00007f03c9879791 in sendEvent (event=0x7fff99891f60, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QX11Data::xdndHandleDrop (this=<optimized out>, xe=xe@entry=0x7fff99892080, passive=passive@entry=false) at kernel/qdnd_x11.cpp:1185
#35 0x00007f03c9879b25 in QDragManager::drop (this=this@entry=0xa04f3a0) at kernel/qdnd_x11.cpp:1765
#36 0x00007f03c987ad70 in QDragManager::eventFilter (this=0xa04f3a0, o=<optimized out>, e=<optimized out>) at kernel/qdnd_x11.cpp:1314
#37 0x00007f03c8dfe5b2 in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=this@entry=0x1a5fef0, receiver=receiver@entry=0xb6d1d50, event=event@entry=0x7fff99892510) at kernel/qcoreapplication.cpp:1044
#38 0x00007f03c97f0db8 in QApplicationPrivate::notify_helper (this=this@entry=0x1a5fef0, receiver=receiver@entry=0xb6d1d50, e=e@entry=0x7fff99892510) at kernel/qapplication.cpp:4542
#39 0x00007f03c97f75dd in QApplication::notify (this=this@entry=0x7fff998942f0, receiver=receiver@entry=0xb6d1d50, e=e@entry=0x7fff99892510) at kernel/qapplication.cpp:4110
#40 0x00007f03ca4fbd1a in KApplication::notify (this=0x7fff998942f0, receiver=0xb6d1d50, event=0x7fff99892510) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x00007f03c8dfe4dd in QCoreApplication::notifyInternal (this=0x7fff998942f0, receiver=receiver@entry=0xb6d1d50, event=event@entry=0x7fff99892510) at kernel/qcoreapplication.cpp:953
#42 0x00007f03c97f6d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xb6d1d50, event=event@entry=0x7fff99892510, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0xb6d1d50, buttonDown=buttonDown@entry=0x7f03ca2d6318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#44 0x00007f03c986b9cb in QETWidget::translateMouseEvent (this=this@entry=0xb6d1d50, event=event@entry=0x7fff99892890) at kernel/qapplication_x11.cpp:4634
#45 0x00007f03c986b269 in QApplication::x11ProcessEvent (this=0x7fff998942f0, event=event@entry=0x7fff99892890) at kernel/qapplication_x11.cpp:3627
#46 0x00007f03c9892b02 in x11EventSourceDispatch (s=0x1a50d60, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00007f03c0e4ae04 in g_main_dispatch (context=0x1a60360) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#48 g_main_context_dispatch (context=context@entry=0x1a60360) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#49 0x00007f03c0e4b048 in g_main_context_iterate (context=context@entry=0x1a60360, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#50 0x00007f03c0e4b0ec in g_main_context_iteration (context=0x1a60360, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#51 0x00007f03c8e2b7a1 in QEventDispatcherGlib::processEvents (this=0x19769c0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#52 0x00007f03c9892bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f03c8dfd0af in QEventLoop::processEvents (this=this@entry=0xa45dbd0, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f03c8dfd3a5 in QEventLoop::exec (this=this@entry=0xa45dbd0, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007f03c987b09d in QDragManager::drag (this=0xa04f3a0, o=o@entry=0xa2f4370) at kernel/qdnd_x11.cpp:2032
#56 0x00007f03c9801e3a in QDrag::exec (this=this@entry=0xa2f4370, supportedActions=..., defaultDropAction=defaultDropAction@entry=Qt::IgnoreAction) at kernel/qdrag.cpp:284
#57 0x00000000005d6cde in Digikam::AbstractAlbumTreeView::startDrag (this=this@entry=0x29bf950, supportedActions=...) at /build/buildd/digikam-4.2.0/core/digikam/album/albumtreeview.cpp:649
#58 0x00007f03c9cf0b19 in QAbstractItemView::mouseMoveEvent (this=0x29bf950, event=<optimized out>) at itemviews/qabstractitemview.cpp:1725
#59 0x00007f03c9840635 in QWidget::event (this=this@entry=0x29bf950, event=event@entry=0x7fff99893680) at kernel/qwidget.cpp:8361
#60 0x00007f03c9be1fce in QFrame::event (this=0x29bf950, e=0x7fff99893680) at widgets/qframe.cpp:557
#61 0x00007f03c9cf15b3 in QAbstractItemView::viewportEvent (this=this@entry=0x29bf950, event=event@entry=0x7fff99893680) at itemviews/qabstractitemview.cpp:1644
#62 0x00007f03c9d30190 in QTreeView::viewportEvent (this=0x29bf950, event=0x7fff99893680) at itemviews/qtreeview.cpp:1252
#63 0x00007f03c8dfe646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1a5fef0, receiver=receiver@entry=0x29bf770, event=event@entry=0x7fff99893680) at kernel/qcoreapplication.cpp:1063
#64 0x00007f03c97f0e0c in QApplicationPrivate::notify_helper (this=this@entry=0x1a5fef0, receiver=receiver@entry=0x29bf770, e=e@entry=0x7fff99893680) at kernel/qapplication.cpp:4563
#65 0x00007f03c97f75dd in QApplication::notify (this=this@entry=0x7fff998942f0, receiver=receiver@entry=0x29bf770, e=e@entry=0x7fff99893680) at kernel/qapplication.cpp:4110
#66 0x00007f03ca4fbd1a in KApplication::notify (this=0x7fff998942f0, receiver=0x29bf770, event=0x7fff99893680) at ../../kdeui/kernel/kapplication.cpp:311
#67 0x00007f03c8dfe4dd in QCoreApplication::notifyInternal (this=0x7fff998942f0, receiver=receiver@entry=0x29bf770, event=event@entry=0x7fff99893680) at kernel/qcoreapplication.cpp:953
#68 0x00007f03c97f6d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#69 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x29bf770, event=event@entry=0x7fff99893680, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x29bf770, buttonDown=buttonDown@entry=0x7f03ca2d6318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#70 0x00007f03c986b9cb in QETWidget::translateMouseEvent (this=this@entry=0x29bf770, event=event@entry=0x7fff99893a00) at kernel/qapplication_x11.cpp:4634
#71 0x00007f03c986b269 in QApplication::x11ProcessEvent (this=0x7fff998942f0, event=event@entry=0x7fff99893a00) at kernel/qapplication_x11.cpp:3627
#72 0x00007f03c9892b02 in x11EventSourceDispatch (s=0x1a50d60, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#73 0x00007f03c0e4ae04 in g_main_dispatch (context=0x1a60360) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#74 g_main_context_dispatch (context=context@entry=0x1a60360) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#75 0x00007f03c0e4b048 in g_main_context_iterate (context=context@entry=0x1a60360, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#76 0x00007f03c0e4b0ec in g_main_context_iteration (context=0x1a60360, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#77 0x00007f03c8e2b7a1 in QEventDispatcherGlib::processEvents (this=0x19769c0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#78 0x00007f03c9892bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#79 0x00007f03c8dfd0af in QEventLoop::processEvents (this=this@entry=0x7fff99893dd0, flags=...) at kernel/qeventloop.cpp:149
#80 0x00007f03c8dfd3a5 in QEventLoop::exec (this=this@entry=0x7fff99893dd0, flags=...) at kernel/qeventloop.cpp:204
#81 0x00007f03c8e02b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#82 0x00007f03c97ef37c in QApplication::exec () at kernel/qapplication.cpp:3828
#83 0x00000000004954e0 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-4.2.0/core/digikam/main/main.cpp:236

Possible duplicates by query: bug 338448, bug 338358, bug 337607, bug 337278, bug 337258.


Reproducible: Sometimes

Steps to Reproduce:
1. select a set of images
2. select a tag with the mouse, keep left mouse button depressed
3. move tag on top of another and release mouse button
-> crash.
Comment 1 caulier.gilles 2014-09-14 14:47:13 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2021-04-04 09:48:53 UTC
Fixed with #329697