Bug 334718 - Crashes on ubuntu 14.04 when clicking on a photo
Summary: Crashes on ubuntu 14.04 when clicking on a photo
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-13 17:00 UTC by paalok
Modified: 2021-12-17 11:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paalok 2014-05-13 17:00:31 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
Clicked on a photo and added new keywords ..........................

-- 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 0x7fb7a28b4ac0 (LWP 6659))]

Thread 8 (Thread 0x7fb77c8fa700 (LWP 6663)):
#0  0x00007fb79c2c4fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb7814a5248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fb797554182 in start_thread (arg=0x7fb77c8fa700) at pthread_create.c:312
#3  0x00007fb79c2d230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7fb772ff9700 (LWP 6664)):
#0  0x00007fb794dbd9d8 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb794d7b8f9 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb794d7bf52 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb794d7c30a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb782eb7e16 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007fb794da0f15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb797554182 in start_thread (arg=0x7fb772ff9700) at pthread_create.c:312
#7  0x00007fb79c2d230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fb7727f8700 (LWP 6665)):
#0  0x00007fb794d7ba48 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb794d7bf7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb794d7c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb794d7c129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb794da0f15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb797554182 in start_thread (arg=0x7fb7727f8700) at pthread_create.c:312
#6  0x00007fb79c2d230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fb771ff7700 (LWP 6669)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb79d0b3816 in wait (time=18446744073709551615, this=0x2699370) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2699280, mutex=mutex@entry=0x2699278, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x2698ff0) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fb79d0b332f in QThreadPrivate::start (arg=0x2698ff0) at thread/qthread_unix.cpp:349
#5  0x00007fb797554182 in start_thread (arg=0x7fb771ff7700) at pthread_create.c:312
#6  0x00007fb79c2d230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fb7618c8700 (LWP 6670)):
#0  0x00007fb794dbd9d8 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb794d7ba20 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb794d7bf7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb794d7c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb79d1e27be in QEventDispatcherGlib::processEvents (this=0x7fb7580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fb79d1b40af in QEventLoop::processEvents (this=this@entry=0x7fb7618c7ae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb79d1b43a5 in QEventLoop::exec (this=this@entry=0x7fb7618c7ae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fb79d0b0c5f in QThread::exec (this=this@entry=0x269ba80) at thread/qthread.cpp:537
#8  0x00007fb79d195823 in QInotifyFileSystemWatcherEngine::run (this=0x269ba80) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fb79d0b332f in QThreadPrivate::start (arg=0x269ba80) at thread/qthread_unix.cpp:349
#10 0x00007fb797554182 in start_thread (arg=0x7fb7618c8700) at pthread_create.c:312
#11 0x00007fb79c2d230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fb7717f6700 (LWP 6686)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb79d0b3816 in wait (time=18446744073709551615, this=0x2b19f40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2b19d40, mutex=mutex@entry=0x2b19d38, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fb79ff2c79a in Digikam::ParkingThread::run (this=0x2b19d20) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fb79d0b332f in QThreadPrivate::start (arg=0x2b19d20) at thread/qthread_unix.cpp:349
#5  0x00007fb797554182 in start_thread (arg=0x7fb7717f6700) at pthread_create.c:312
#6  0x00007fb79c2d230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fb7495aa700 (LWP 6774)):
#0  0x00007fb79c2c36bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb789708e41 in ?? () from /usr/lib/nvidia-331/tls/libnvidia-tls.so.331.38
#2  0x00007fb794dbcc20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb794d7bb14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb794d7bf7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb794d7c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb79d1e27be in QEventDispatcherGlib::processEvents (this=0x7fb730024630, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007fb79d1b40af in QEventLoop::processEvents (this=this@entry=0x7fb7495a9aa0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fb79d1b43a5 in QEventLoop::exec (this=this@entry=0x7fb7495a9aa0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fb79ff2be43 in Digikam::WorkerObjectRunnable::run (this=0x3026600) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#10 0x00007fb79d0a6fee in QThreadPoolThread::run (this=0x3ab4060) at concurrent/qthreadpool.cpp:108
#11 0x00007fb79d0b332f in QThreadPrivate::start (arg=0x3ab4060) at thread/qthread_unix.cpp:349
#12 0x00007fb797554182 in start_thread (arg=0x7fb7495aa700) at pthread_create.c:312
#13 0x00007fb79c2d230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fb7a28b4ac0 (LWP 6659)):
[KCrash Handler]
#6  0x0000000600000000 in ?? ()
#7  0x00007fb7859a9dac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff151adc30, pMem2=<optimized out>, pColl=0x51f12e8) at sqlite3.c:60484
#8  0x00007fb7859a9f63 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0x7fb76807499e, pPKey2=pPKey2@entry=0x7fff151adf30) at sqlite3.c:64162
#9  0x00007fb7859be579 in sqlite3BtreeMovetoUnpacked (pCur=0x2bfe620, pIdxKey=0x7fff151adf30, intKey=0, biasRight=<optimized out>, pRes=0x7fff151adf20) at sqlite3.c:55077
#10 0x00007fb7859e69c5 in sqlite3VdbeExec (p=p@entry=0x2af9378) at sqlite3.c:70168
#11 0x00007fb7859eeed7 in sqlite3Step (p=0x2af9378) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007fb7606c211c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x2585170, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007fb7606c2e48 in QSQLiteResult::exec (this=0x572e950) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007fb7a24d8b7d in QSqlQuery::exec (this=this@entry=0x7fff151ae468) at kernel/qsqlquery.cpp:949
#16 0x00007fb79fee5a26 in Digikam::DatabaseCoreBackend::exec (this=0x27f8a90, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007fb79fee5aac in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x27f8a90, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#18 0x00007fb79fee6b50 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x27f8a90, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#19 0x00007fb79fee6b99 in Digikam::DatabaseCoreBackend::execSql (this=0x27f8a90, sql=..., boundValue1=..., values=values@entry=0x7fff151ae4b0, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#20 0x00007fb79f8aa42e in Digikam::AlbumDB::getSetting (this=this@entry=0x27f8680, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#21 0x00007fb79f8aad5c in Digikam::AlbumDB::getFilterSettings (this=0x27f8680, imageFilter=imageFilter@entry=0x7fff151ae6f0, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:1017
#22 0x000000000063a2c0 in Digikam::AlbumSettings::getRawFileFilter (this=this@entry=0x2981460) at /build/buildd/digikam-3.5.0/core/digikam/utils/albumsettings.cpp:958
#23 0x0000000000533f42 in Digikam::KipiInterface::hostSetting (this=this@entry=0x2b1c9c0, settingName=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:363
#24 0x00000000005339f4 in Digikam::KipiInterface::currentAlbum (this=0x2b1c9c0) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:110
#25 0x00007fb736f4dd94 in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0x45d3270, anyAlbum=<optimized out>) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#26 0x00007fb79d1c987a in QMetaObject::activate (sender=0x2b1c9c0, m=m@entry=0x7fb7a0a3ce60 <KIPI::Interface::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff151aea40) at kernel/qobject.cpp:3539
#27 0x00007fb7a08294c2 in KIPI::Interface::currentAlbumChanged (this=<optimized out>, _t1=true) at ./interface.moc:128
#28 0x00007fb79d1c987a in QMetaObject::activate (sender=0x27e1630, m=m@entry=0x844e60 <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff151aeb70) at kernel/qobject.cpp:3539
#29 0x00000000005a2e04 in signalAlbumCurrentChanged (_t1=0x3e1f150, this=<optimized out>) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/digikam/albummanager.moc:267
#30 Digikam::AlbumManager::setCurrentAlbum (this=<optimized out>, album=album@entry=0x3e1f150) at /build/buildd/digikam-3.5.0/core/digikam/album/albummanager.cpp:1846
#31 0x00000000005c81cd in Digikam::AbstractAlbumTreeView::mousePressEvent (this=0x3169500, e=0x7fff151af2f0) at /build/buildd/digikam-3.5.0/core/digikam/album/albumtreeview.cpp:538
#32 0x00007fb79dbf737b in QWidget::event (this=this@entry=0x3169500, event=event@entry=0x7fff151af2f0) at kernel/qwidget.cpp:8372
#33 0x00007fb79df98fce in QFrame::event (this=0x3169500, e=0x7fff151af2f0) at widgets/qframe.cpp:557
#34 0x00007fb79e0a85b3 in QAbstractItemView::viewportEvent (this=this@entry=0x3169500, event=event@entry=0x7fff151af2f0) at itemviews/qabstractitemview.cpp:1644
#35 0x00007fb79e0e7190 in QTreeView::viewportEvent (this=0x3169500, event=0x7fff151af2f0) at itemviews/qtreeview.cpp:1252
#36 0x00007fb79d1b5646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x24713d0, receiver=receiver@entry=0x3169c60, event=event@entry=0x7fff151af2f0) at kernel/qcoreapplication.cpp:1063
#37 0x00007fb79dba7e0c in QApplicationPrivate::notify_helper (this=this@entry=0x24713d0, receiver=receiver@entry=0x3169c60, e=e@entry=0x7fff151af2f0) at kernel/qapplication.cpp:4563
#38 0x00007fb79dbae5dd in QApplication::notify (this=this@entry=0x7fff151aff60, receiver=receiver@entry=0x3169c60, e=e@entry=0x7fff151af2f0) at kernel/qapplication.cpp:4110
#39 0x00007fb79e8b2baa in KApplication::notify (this=0x7fff151aff60, receiver=0x3169c60, event=0x7fff151af2f0) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007fb79d1b54dd in QCoreApplication::notifyInternal (this=0x7fff151aff60, receiver=receiver@entry=0x3169c60, event=event@entry=0x7fff151af2f0) at kernel/qcoreapplication.cpp:953
#41 0x00007fb79dbadd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x3169c60, event=event@entry=0x7fff151af2f0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x3169c60, buttonDown=buttonDown@entry=0x7fb79e68d318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#43 0x00007fb79dc229cb in QETWidget::translateMouseEvent (this=this@entry=0x3169c60, event=event@entry=0x7fff151af670) at kernel/qapplication_x11.cpp:4634
#44 0x00007fb79dc22269 in QApplication::x11ProcessEvent (this=0x7fff151aff60, event=event@entry=0x7fff151af670) at kernel/qapplication_x11.cpp:3627
#45 0x00007fb79dc49b02 in x11EventSourceDispatch (s=0x24724e0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007fb794d7be04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fb794d7c048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fb794d7c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fb79d1e27a1 in QEventDispatcherGlib::processEvents (this=0x239b560, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#50 0x00007fb79dc49bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007fb79d1b40af in QEventLoop::processEvents (this=this@entry=0x7fff151afa40, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007fb79d1b43a5 in QEventLoop::exec (this=this@entry=0x7fff151afa40, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007fb79d1b9b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#54 0x00007fb79dba637c in QApplication::exec () at kernel/qapplication.cpp:3828
#55 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 334712, bug 334443, bug 334350, bug 334344, bug 334189.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-05-13 17:04:51 UTC

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