[Digikam-devel] [digikam] [Bug 330370] New: DigiKam crash when assigning tag

Marek vredny at poczta.onet.pl
Fri Jan 24 17:49:21 GMT 2014


https://bugs.kde.org/show_bug.cgi?id=330370

            Bug ID: 330370
           Summary: DigiKam crash when assigning tag
    Classification: Unclassified
           Product: digikam
           Version: 3.5.0
          Platform: Debian stable
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: digikam-devel at kde.org
          Reporter: vredny at poczta.onet.pl

Application: digikam (3.5.0)
KDE Platform Version: 4.12.1
Qt Version: 4.8.6
Operating System: Linux 3.11-2-amd64 x86_64
Distribution: SolydXK

-- Information about the crash:
- What I was doing when the application crashed:
DigiKam is crashing when adding new tag (using keyboard). It happens on 10-15%
of tries.

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 0x7f1988b25a80 (LWP 4083))]

Thread 7 (Thread 0x7f195ffd1700 (LWP 4084)):
#0  0x00007f19824d095d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f19667006f8 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f197d76ce0e in start_thread (arg=0x7f195ffd1700) at
pthread_create.c:311
#3  0x00007f19824dc0fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f19554a1700 (LWP 4085)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f19832ac7d6 in wait (time=18446744073709551615, this=0x2518490) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x25183a0,
mutex=mutex at entry=0x2518398, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5e3e in Digikam::ScanController::run (this=0x2556040) at
../../../core/digikam/database/scancontroller.cpp:725
#4  0x00007f19832ac2ef in QThreadPrivate::start (arg=0x2556040) at
thread/qthread_unix.cpp:349
#5  0x00007f197d76ce0e in start_thread (arg=0x7f19554a1700) at
pthread_create.c:311
#6  0x00007f19824dc0fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f1954ca0700 (LWP 4086)):
#0  0x00007f197a74bfda in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f197a74c289 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f197a70c849 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f197a70d0b3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f197a70d29c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f19833db7d6 in QEventDispatcherGlib::processEvents
(this=0x7f19480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f19833ad03f in QEventLoop::processEvents
(this=this at entry=0x7f1954c9fab0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f19833ad335 in QEventLoop::exec (this=this at entry=0x7f1954c9fab0,
flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f19832a9c1f in QThread::exec (this=this at entry=0x24dfce0) at
thread/qthread.cpp:537
#9  0x00007f198338e7c3 in QInotifyFileSystemWatcherEngine::run (this=0x24dfce0)
at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f19832ac2ef in QThreadPrivate::start (arg=0x24dfce0) at
thread/qthread_unix.cpp:349
#11 0x00007f197d76ce0e in start_thread (arg=0x7f1954ca0700) at
pthread_create.c:311
#12 0x00007f19824dc0fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f194ffff700 (LWP 4088)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f19832ac7d6 in wait (time=18446744073709551615, this=0x27d0210) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x27ed970,
mutex=mutex at entry=0x27ed968, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007f1986199dba in Digikam::ParkingThread::run (this=0x27ed950) at
../../../core/libs/threads/threadmanager.cpp:119
#4  0x00007f19832ac2ef in QThreadPrivate::start (arg=0x27ed950) at
thread/qthread_unix.cpp:349
#5  0x00007f197d76ce0e in start_thread (arg=0x7f194ffff700) at
pthread_create.c:311
#6  0x00007f19824dc0fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f193d7f9700 (LWP 4403)):
#0  0x00007f197a74c289 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f197a70d149 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f197a70d29c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f19833db7d6 in QEventDispatcherGlib::processEvents
(this=0x7f19180492d0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f19833ad03f in QEventLoop::processEvents
(this=this at entry=0x7f193d7f8a70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f19833ad335 in QEventLoop::exec (this=this at entry=0x7f193d7f8a70,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1986199463 in Digikam::WorkerObjectRunnable::run (this=0x7a003d0)
at ../../../core/libs/threads/threadmanager.cpp:196
#7  0x00007f198329ffae in QThreadPoolThread::run (this=0x3bfe8a0) at
concurrent/qthreadpool.cpp:108
#8  0x00007f19832ac2ef in QThreadPrivate::start (arg=0x3bfe8a0) at
thread/qthread_unix.cpp:349
#9  0x00007f197d76ce0e in start_thread (arg=0x7f193d7f9700) at
pthread_create.c:311
#10 0x00007f19824dc0fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f193dffa700 (LWP 4418)):
#0  __GI___pthread_mutex_lock (mutex=0x7f192021b890) at
pthread_mutex_lock.c:116
#1  0x00007f197a74c291 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f197a70cc1c in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f197a70d12b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f197a70d29c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f19833db7d6 in QEventDispatcherGlib::processEvents
(this=0x7f19201fa1d0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f19833ad03f in QEventLoop::processEvents
(this=this at entry=0x7f193dff9a70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f19833ad335 in QEventLoop::exec (this=this at entry=0x7f193dff9a70,
flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1986199463 in Digikam::WorkerObjectRunnable::run (this=0x7185c80)
at ../../../core/libs/threads/threadmanager.cpp:196
#9  0x00007f198329ffae in QThreadPoolThread::run (this=0x3c0f650) at
concurrent/qthreadpool.cpp:108
#10 0x00007f19832ac2ef in QThreadPrivate::start (arg=0x3c0f650) at
thread/qthread_unix.cpp:349
#11 0x00007f197d76ce0e in start_thread (arg=0x7f193dffa700) at
pthread_create.c:311
#12 0x00007f19824dc0fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f1988b25a80 (LWP 4083)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f1969b5007c in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#8  0x00007f1969b50233 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#9  0x00007f1969b64869 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#10 0x00007f1969b8cb58 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#11 0x00007f1969b951e7 in sqlite3_step () from
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#12 0x00007f194f5fa11c in QSQLiteResultPrivate::fetchNext
(this=this at entry=0x7195200, values=..., idx=idx at entry=0,
initialFetch=initialFetch at entry=true) at
../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#13 0x00007f194f5fae48 in QSQLiteResult::exec (this=0x7179290) at
../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#14 0x00007f198875cb7d in QSqlQuery::exec (this=this at entry=0x7fff15ab78b8) at
kernel/qsqlquery.cpp:949
#15 0x00007f1986153066 in Digikam::DatabaseCoreBackend::exec (this=0x24921e0,
query=...) at ../../../core/libs/database/core/databasecorebackend.cpp:1414
#16 0x00007f198615557f in Digikam::DatabaseCoreBackend::execQuery
(this=this at entry=0x24921e0, sql=..., bindingMap=...) at
../../../core/libs/database/core/databasecorebackend.cpp:1246
#17 0x00007f1986156a99 in Digikam::DatabaseCoreBackend::execSql
(this=this at entry=0x24921e0, sql=..., bindingMap=..., values=values at entry=0x0,
lastInsertId=lastInsertId at entry=0x7fff15ab7b00) at
../../../core/libs/database/core/databasecorebackend.cpp:944
#18 0x00007f1986156c3d in Digikam::DatabaseCoreBackend::execDBAction
(this=0x24921e0, action=..., bindingMap=..., values=values at entry=0x0,
lastInsertId=lastInsertId at entry=0x7fff15ab7b00) at
../../../core/libs/database/core/databasecorebackend.cpp:653
#19 0x00007f1985ae6919 in Digikam::AlbumDB::addTag (this=0x2268720,
parentTagID=parentTagID at entry=124, name=..., iconKDE=...,
iconID=iconID at entry=0) at ../../../core/libs/database/albumdb.cpp:673
#20 0x00000000005a72f9 in Digikam::AlbumManager::createTAlbum (this=0x258ece0,
parent=parent at entry=0x480dc40, name=..., iconkde=..., errMsg=...) at
../../../core/digikam/album/albummanager.cpp:2289
#21 0x00000000006354d5 in Digikam::TagEditDlg::createTAlbum
(mainRootAlbum=0x480dc40, tagStr=..., icon=..., ks=..., errMap=...) at
../../../core/digikam/tags/tageditdlg.cpp:419
#22 0x000000000063744b in Digikam::TagModificationHelper::slotTagNew
(this=0x2f6c7f0, parent=parent at entry=0x480dc40, title=..., iconName=...) at
../../../core/digikam/tags/tagmodificationhelper.cpp:126
#23 0x00000000004b140d in Digikam::ImageDescEditTab::slotTaggingActionActivated
(this=0x2e9b010, action=...) at
../../../core/libs/imageproperties/imagedescedittab.cpp:1001
#24 0x00000000004b7ab1 in Digikam::ImageDescEditTab::qt_static_metacall
(_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized
out>) at ./imagedescedittab.moc:137
#25 0x00007f19833c27f8 in QMetaObject::activate (sender=sender at entry=0x2f71ca0,
m=m at entry=0x860540 <Digikam::AddTagsLineEdit::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7fff15ab8190)
at kernel/qobject.cpp:3539
#26 0x0000000000627c3f in taggingActionActivated (_t1=..., this=0x2f71ca0) at
./addtagslineedit.moc:135
#27 Digikam::AddTagsLineEdit::slotReturnPressed (this=0x2f71ca0, text=...) at
../../../core/digikam/tags/addtagslineedit.cpp:400
#28 0x0000000000627f31 in Digikam::AddTagsLineEdit::qt_static_metacall
(_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized
out>) at ./addtagslineedit.moc:85
#29 0x00007f19833c27f8 in QMetaObject::activate (sender=sender at entry=0x2f71ca0,
m=m at entry=0x7f1984ee83e0 <KLineEdit::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0x7fff15ab82d0)
at kernel/qobject.cpp:3539
#30 0x00007f1984b80235 in KLineEdit::returnPressed (this=this at entry=0x2f71ca0,
_t1=...) at ./klineedit.moc:238
#31 0x00007f1984b83af0 in KLineEdit::keyPressEvent (this=0x2f71ca0,
e=0x7fff15ab8820) at ../../kdeui/widgets/klineedit.cpp:807
#32 0x00007f1983e02b84 in QWidget::event (this=this at entry=0x2f71ca0,
event=event at entry=0x7fff15ab8820) at kernel/qwidget.cpp:8422
#33 0x00007f19841b1131 in QLineEdit::event (this=this at entry=0x2f71ca0,
e=e at entry=0x7fff15ab8820) at widgets/qlineedit.cpp:1524
#34 0x00007f1984b84bd0 in KLineEdit::event (this=0x2f71ca0, ev=0x7fff15ab8820)
at ../../kdeui/widgets/klineedit.cpp:1402
#35 0x00007f1983db36cc in QApplicationPrivate::notify_helper
(this=this at entry=0x2367610, receiver=receiver at entry=0x2f71ca0,
e=e at entry=0x7fff15ab8820) at kernel/qapplication.cpp:4567
#36 0x00007f1983dbaf91 in QApplication::notify (this=this at entry=0x7fff15ab96a0,
receiver=receiver at entry=0x2f71ca0, e=e at entry=0x7fff15ab8820) at
kernel/qapplication.cpp:4008
#37 0x00007f1984ad587a in KApplication::notify (this=0x7fff15ab96a0,
receiver=0x2f71ca0, event=0x7fff15ab8820) at
../../kdeui/kernel/kapplication.cpp:311
#38 0x00007f19833ae46d in QCoreApplication::notifyInternal
(this=0x7fff15ab96a0, receiver=receiver at entry=0x2f71ca0,
event=event at entry=0x7fff15ab8820) at kernel/qcoreapplication.cpp:953
#39 0x00007f1983db2066 in sendSpontaneousEvent
(event=event at entry=0x7fff15ab8820, receiver=receiver at entry=0x2f71ca0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#40 qt_sendSpontaneousEvent (receiver=receiver at entry=0x2f71ca0,
event=event at entry=0x7fff15ab8820) at kernel/qapplication.cpp:5565
#41 0x00007f1983e4eba7 in QKeyMapper::sendKeyEvent
(keyWidget=keyWidget at entry=0x2f71ca0, grab=grab at entry=false,
type=QEvent::KeyPress, code=16777221, modifiers=..., text=...,
autorepeat=autorepeat at entry=false, count=1, nativeScanCode=104,
nativeVirtualKey=65421, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#42 0x00007f1983e4ef49 in QKeyMapperPrivate::translateKeyEvent (this=0x23bbfc0,
keyWidget=keyWidget at entry=0x2f71ca0, event=event at entry=0x7fff15ab8da0,
grab=grab at entry=false) at kernel/qkeymapper_x11.cpp:1836
#43 0x00007f1983e2a0bf in QApplication::x11ProcessEvent (this=0x7fff15ab96a0,
event=event at entry=0x7fff15ab8da0) at kernel/qapplication_x11.cpp:3556
#44 0x00007f1983e516b2 in x11EventSourceDispatch (s=0x23666c0, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007f197a70cea6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f197a70d1f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f197a70d29c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f19833db7b5 in QEventDispatcherGlib::processEvents (this=0x229aa20,
flags=...) at kernel/qeventdispatcher_glib.cpp:425
#49 0x00007f1983e51766 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f19833ad03f in QEventLoop::processEvents
(this=this at entry=0x7fff15ab9180, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f19833ad335 in QEventLoop::exec (this=this at entry=0x7fff15ab9180,
flags=...) at kernel/qeventloop.cpp:204
#52 0x00007f19833b2b09 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#53 0x00007f1983db1e8c in QApplication::exec () at kernel/qapplication.cpp:3828
#54 0x0000000000491fa3 in main (argc=<optimized out>, argv=<optimized out>) at
../../../core/digikam/main/main.cpp:235

Possible duplicates by query: bug 330302, bug 330155, bug 330104, bug 329697,
bug 328729.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list