Bug 335526 - digiKam crashes when adding multiple tags
Summary: digiKam crashes when adding multiple tags
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 3.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-29 13:28 UTC by yourenigmaster
Modified: 2021-12-17 11:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yourenigmaster 2014-05-29 13:28:04 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-27-generic i686
Distribution: Ubuntu 14.04 LTS

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

When adding muliple tags at a time, digiKam crashes. I have tried these formats:
"tag1/tag2,tag3/tag4"; "tag1,tag2,tag3,tag4,"; and "tag1/tag2/tag3/tag4." It crashes everytime in each case. It also crashed while rumaging through the tag viewing tab on the left side.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xacdb3900 (LWP 23879))]

Thread 6 (Thread 0xacd80b40 (LWP 23881)):
#0  0xb77af424 in __kernel_vsyscall ()
#1  0xb4bb17ab in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xada12442 in ?? () from /lib/i386-linux-gnu/libusb-1.0.so.0
#3  0xb32b1f70 in start_thread (arg=0xacd80b40) at pthread_create.c:312
#4  0xb4bc070e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 5 (Thread 0xa9607b40 (LWP 23882)):
#0  0xb77af424 in __kernel_vsyscall ()
#1  0xb32b5d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4bcd8ec in __pthread_cond_wait (cond=0x957b3e0, mutex=0x957b3c8) at forward.c:149
#3  0xb4eb40f5 in wait (time=4294967295, this=0x957b3c8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x957b33c, mutex=mutex@entry=0x957b338, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0820dd94 in Digikam::ScanController::run (this=0x95798d0) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#6  0xb4eb3b6f in QThreadPrivate::start (arg=0x95798d0) at thread/qthread_unix.cpp:349
#7  0xb32b1f70 in start_thread (arg=0xa9607b40) at pthread_create.c:312
#8  0xb4bc070e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0xa8cffb40 (LWP 23883)):
#0  0xb77af424 in __kernel_vsyscall ()
#1  0xb4bce392 in __GI___clock_gettime (clock_id=1, tp=0xa8cfee38) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb4f0e8cc in do_gettime (frac=0xa8cfee30, sec=0xa8cfee28) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb4ff72a2 in updateCurrentTime (this=0xa83026e4) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xa83026e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0xb4ff582b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa8cfef2c) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb4ff58bd in timerSourcePrepare (source=0xa83026b0, timeout=0xa8cfef2c) at kernel/qeventdispatcher_glib.cpp:176
#8  0xb2ee79b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb2ee82df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb2ee8528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb4ff595f in QEventDispatcherGlib::processEvents (this=0xa8300468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb4fc4823 in QEventLoop::processEvents (this=this@entry=0xa8cff098, flags=...) at kernel/qeventloop.cpp:149
#13 0xb4fc4b49 in QEventLoop::exec (this=this@entry=0xa8cff098, flags=...) at kernel/qeventloop.cpp:204
#14 0xb4eb123d in QThread::exec (this=this@entry=0x9596790) at thread/qthread.cpp:537
#15 0xb4fa4c44 in QInotifyFileSystemWatcherEngine::run (this=0x9596790) at io/qfilesystemwatcher_inotify.cpp:265
#16 0xb4eb3b6f in QThreadPrivate::start (arg=0x9596790) at thread/qthread_unix.cpp:349
#17 0xb32b1f70 in start_thread (arg=0xa8cffb40) at pthread_create.c:312
#18 0xb4bc070e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0xa82ffb40 (LWP 23885)):
#0  0xb77af424 in __kernel_vsyscall ()
#1  0xb32b5d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4bcd8ec in __pthread_cond_wait (cond=0x9635008, mutex=0x9634ff0) at forward.c:149
#3  0xb4eb40f5 in wait (time=4294967295, this=0x9634ff0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x9706db0, mutex=mutex@entry=0x9706dac, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6ac02b4 in Digikam::ParkingThread::run (this=0x9706da0) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4eb3b6f in QThreadPrivate::start (arg=0x9706da0) at thread/qthread_unix.cpp:349
#7  0xb32b1f70 in start_thread (arg=0xa82ffb40) at pthread_create.c:312
#8  0xb4bc070e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0x987c2b40 (LWP 23936)):
#0  0xb2eb7640 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x00000000 in ?? ()

Thread 1 (Thread 0xacdb3900 (LWP 23879)):
[KCrash Handler]
#7  0x00000154 in ?? ()
#8  0xae59c38e in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#9  0xae59c576 in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#10 0xae5b1ba2 in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#11 0xae5dc165 in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#12 0xae5e4d8e in sqlite3_step () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#13 0xa84f8e9c in QSQLiteResultPrivate::fetchNext (this=this@entry=0xd172a08, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0xa84f9ebd in QSQLiteResult::exec (this=0x96629a0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0xb775be60 in QSqlQuery::exec (this=this@entry=0xbfb878a8) at kernel/qsqlquery.cpp:949
#16 0xb6a74431 in Digikam::DatabaseCoreBackend::exec (this=0x95a1948, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0xb6a744ef in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x95a1948, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#18 0xb6a75453 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x95a1948, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#19 0xb6a754b7 in Digikam::DatabaseCoreBackend::execSql (this=0x95a1948, sql=..., boundValue1=..., values=values@entry=0xbfb8790c, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#20 0xb6660a51 in Digikam::AlbumDB::getSetting (this=this@entry=0x95530b8, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#21 0xb66613f8 in Digikam::AlbumDB::getFilterSettings (this=0x95530b8, imageFilter=imageFilter@entry=0xbfb87a10, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:1017
#22 0x08276999 in Digikam::AlbumSettings::getRawFileFilter (this=this@entry=0x95f1750) at /build/buildd/digikam-3.5.0/core/digikam/utils/albumsettings.cpp:958
#23 0x08165c4a in Digikam::KipiInterface::hostSetting (this=0x9daf660, settingName=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:363
#24 0x081655a6 in Digikam::KipiInterface::currentAlbum (this=0x9daf660) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:110
#25 0x9e28061a in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0xa96f510, anyAlbum=true) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#26 0xb4fdb0f7 in QMetaObject::activate (sender=0x9daf660, m=0x85dee70 <KIPI::Interface::staticMetaObject>, local_signal_index=1, argv=0xbfb87c58) at kernel/qobject.cpp:3539
#27 0xb6dcc31d in KIPI::Interface::currentAlbumChanged(bool) () from /usr/lib/libkipi.so.11
#28 0xb4fdb0f7 in QMetaObject::activate (sender=sender@entry=0x955eeb0, m=m@entry=0x84918ac <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0xbfb87d28) at kernel/qobject.cpp:3539
#29 0x081d979a in signalAlbumCurrentChanged (_t1=0x9f37a48, this=0x955eeb0) at /build/buildd/digikam-3.5.0/obj-i686-linux-gnu/core/digikam/albummanager.moc:267
#30 Digikam::AlbumManager::setCurrentAlbum (this=0x955eeb0, album=album@entry=0x9f37a48) at /build/buildd/digikam-3.5.0/core/digikam/album/albummanager.cpp:1846
#31 0x081ffcf9 in Digikam::AbstractAlbumTreeView::mousePressEvent (this=0x9ea1518, e=0xbfb883b4) at /build/buildd/digikam-3.5.0/core/digikam/album/albumtreeview.cpp:538
#32 0xb557b1e3 in QWidget::event (this=this@entry=0x9ea1518, event=event@entry=0xbfb883b4) at kernel/qwidget.cpp:8372
#33 0xb598178c in QFrame::event (this=this@entry=0x9ea1518, e=e@entry=0xbfb883b4) at widgets/qframe.cpp:557
#34 0xb5a0fe48 in QAbstractScrollArea::viewportEvent (this=this@entry=0x9ea1518, e=e@entry=0xbfb883b4) at widgets/qabstractscrollarea.cpp:1043
#35 0xb5ab4ddc in QAbstractItemView::viewportEvent (this=this@entry=0x9ea1518, event=0xbfb883b4) at itemviews/qabstractitemview.cpp:1644
#36 0xb5afa606 in QTreeView::viewportEvent (this=0x9ea1518, event=0xbfb883b4) at itemviews/qtreeview.cpp:1252
#37 0xb5a100c6 in viewportEvent (event=0xbfb883b4, this=<optimized out>) at widgets/qabstractscrollarea_p.h:100
#38 QAbstractScrollAreaFilter::eventFilter (this=0x9ea0b28, o=0x9ea19c8, e=0xbfb883b4) at widgets/qabstractscrollarea_p.h:116
#39 0xb4fc5fbe in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x93bbd40, receiver=receiver@entry=0x9ea19c8, event=event@entry=0xbfb883b4) at kernel/qcoreapplication.cpp:1063
#40 0xb55217d1 in QApplicationPrivate::notify_helper (this=0x93bbd40, receiver=receiver@entry=0x9ea19c8, e=0xbfb883b4) at kernel/qapplication.cpp:4563
#41 0xb5529ea0 in QApplication::notify (this=0xbfb88a68, receiver=receiver@entry=0x9ea19c8, e=e@entry=0xbfb883b4) at kernel/qapplication.cpp:4110
#42 0xb60710a4 in KApplication::notify (this=0xbfb88a68, receiver=0x9ea19c8, event=0xbfb883b4) at ../../kdeui/kernel/kapplication.cpp:311
#43 0xb4fc5e4a in QCoreApplication::notifyInternal (this=0xbfb88a68, receiver=receiver@entry=0x9ea19c8, event=event@entry=0xbfb883b4) at kernel/qcoreapplication.cpp:953
#44 0xb5527b53 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x9ea19c8, event=0xbfb883b4, alienWidget=0x9ea19c8, nativeWidget=0x970c180, buttonDown=buttonDown@entry=0xb5e98ce4 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#46 0xb55ab778 in QETWidget::translateMouseEvent (this=0x970c180, event=event@entry=0xbfb885dc) at kernel/qapplication_x11.cpp:4634
#47 0xb55aaec5 in QApplication::x11ProcessEvent (this=0xbfb88a68, event=event@entry=0xbfb885dc) at kernel/qapplication_x11.cpp:3627
#48 0xb55d6524 in x11EventSourceDispatch (s=0x93bcbc0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#49 0xb2ee81e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb2ee8468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0xb2ee8528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0xb4ff593b in QEventDispatcherGlib::processEvents (this=this@entry=0x932c2c0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#53 0xb55d65de in QGuiEventDispatcherGlib::processEvents (this=0x932c2c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0xb4fc4823 in QEventLoop::processEvents (this=this@entry=0xbfb88898, flags=...) at kernel/qeventloop.cpp:149
#55 0xb4fc4b49 in QEventLoop::exec (this=this@entry=0xbfb88898, flags=...) at kernel/qeventloop.cpp:204
#56 0xb4fca8fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#57 0xb551fa24 in QApplication::exec () at kernel/qapplication.cpp:3828
#58 0x080bc190 in main (argc=5, argv=0xbfb88ba4) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

The reporter indicates this bug may be a duplicate of or related to bug 329697.

Possible duplicates by query: bug 335352, bug 335297, bug 335260, bug 335234, bug 335226.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-05-29 13:33:28 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2021-12-17 11:50:58 UTC
Fixed with #329697