Bug 335297 - random crash of digikam
Summary: random crash of digikam
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-24 20:43 UTC by lj_wilson
Modified: 2021-12-17 11:50 UTC (History)
0 users

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 lj_wilson 2014-05-24 20:43:54 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:
- What I was doing when the application crashed:
browsing an samba share of phots. digikam 3.5.0 was full screen. no other app's were running. Kubuntu 14.04 most recent OS update was 2014-05-24. asus pc1215n with 4gb ram.

The crash does not seem to be reproducible.

-- 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 0x7fa132a7bac0 (LWP 2407))]

Thread 6 (Thread 0x7fa10cac3700 (LWP 2408)):
#0  0x00007fa12c48ffbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa11166e248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fa12771f182 in start_thread (arg=0x7fa10cac3700) at pthread_create.c:312
#3  0x00007fa12c49d30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fa101f05700 (LWP 2409)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa12d27e816 in wait (time=18446744073709551615, this=0x28e1af0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x28e1a00, mutex=mutex@entry=0x28e19f8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x28e1770) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fa12d27e32f in QThreadPrivate::start (arg=0x28e1770) at thread/qthread_unix.cpp:349
#5  0x00007fa12771f182 in start_thread (arg=0x7fa101f05700) at pthread_create.c:312
#6  0x00007fa12c49d30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fa101704700 (LWP 2410)):
#0  0x00007fa1277214af in __GI___pthread_mutex_lock (mutex=0x7fa0f4000a80) at ../nptl/pthread_mutex_lock.c:94
#1  0x00007fa124f88991 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa124f46557 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa124f46f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa124f470ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa12d3ad7be in QEventDispatcherGlib::processEvents (this=0x7fa0f40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fa12d37f0af in QEventLoop::processEvents (this=this@entry=0x7fa101703ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fa12d37f3a5 in QEventLoop::exec (this=this@entry=0x7fa101703ae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fa12d27bc5f in QThread::exec (this=this@entry=0x28f5140) at thread/qthread.cpp:537
#9  0x00007fa12d360823 in QInotifyFileSystemWatcherEngine::run (this=0x28f5140) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fa12d27e32f in QThreadPrivate::start (arg=0x28f5140) at thread/qthread_unix.cpp:349
#11 0x00007fa12771f182 in start_thread (arg=0x7fa101704700) at pthread_create.c:312
#12 0x00007fa12c49d30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fa100f03700 (LWP 2417)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa12d27e816 in wait (time=18446744073709551615, this=0x297b120) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2aa9ea0, mutex=mutex@entry=0x2aa9e98, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fa1300f779a in Digikam::ParkingThread::run (this=0x2aa9e80) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fa12d27e32f in QThreadPrivate::start (arg=0x2aa9e80) at thread/qthread_unix.cpp:349
#5  0x00007fa12771f182 in start_thread (arg=0x7fa100f03700) at pthread_create.c:312
#6  0x00007fa12c49d30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fa0f377b700 (LWP 2418)):
#0  0x00007fa12c48e6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa1198d1e41 in ?? () from /usr/lib/nvidia-331/tls/libnvidia-tls.so.331.38
#2  0x00007fa124f87c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa124f46b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa124f46f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa124f470ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fa12d3ad7be in QEventDispatcherGlib::processEvents (this=0x7fa0ec0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007fa12d37f0af in QEventLoop::processEvents (this=this@entry=0x7fa0f377aae0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fa12d37f3a5 in QEventLoop::exec (this=this@entry=0x7fa0f377aae0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fa12d27bc5f in QThread::exec (this=this@entry=0x31df290) at thread/qthread.cpp:537
#10 0x00007fa12d360823 in QInotifyFileSystemWatcherEngine::run (this=0x31df290) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007fa12d27e32f in QThreadPrivate::start (arg=0x31df290) at thread/qthread_unix.cpp:349
#12 0x00007fa12771f182 in start_thread (arg=0x7fa0f377b700) at pthread_create.c:312
#13 0x00007fa12c49d30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fa132a7bac0 (LWP 2407)):
[KCrash Handler]
#6  0x00007fa115b72da9 in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff1e2e5640, pMem2=<optimized out>, pColl=0x5686398) at sqlite3.c:60484
#7  0x00007fa115b72f63 in sqlite3VdbeRecordCompare (nKey1=17, pKey1=0x7fa0fc38b43b, pPKey2=pPKey2@entry=0x7fff1e2e5940) at sqlite3.c:64162
#8  0x00007fa115b87579 in sqlite3BtreeMovetoUnpacked (pCur=0x34dde98, pIdxKey=0x7fff1e2e5940, intKey=0, biasRight=<optimized out>, pRes=0x7fff1e2e5930) at sqlite3.c:55077
#9  0x00007fa115baf9c5 in sqlite3VdbeExec (p=p@entry=0x3784af8) at sqlite3.c:70168
#10 0x00007fa115bb7ed7 in sqlite3Step (p=0x3784af8) at sqlite3.c:64828
#11 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#12 0x00007fa1004fe11c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x63e5260, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#13 0x00007fa1004fee48 in QSQLiteResult::exec (this=0x6c3e400) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#14 0x00007fa1326a3b7d in QSqlQuery::exec (this=this@entry=0x7fff1e2e5e98) at kernel/qsqlquery.cpp:949
#15 0x00007fa1300b0a26 in Digikam::DatabaseCoreBackend::exec (this=0x294a800, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#16 0x00007fa1300b0b52 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x294a800, query=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1064
#17 0x00007fa1300b1c0c in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x294a800, sql=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1013
#18 0x00007fa1300b1c5c in Digikam::DatabaseCoreBackend::execSql (this=0x294a800, sql=..., boundValue1=..., boundValue2=..., values=values@entry=0x7fff1e2e5ee0, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:910
#19 0x00007fa12fa7879b in Digikam::AlbumDB::getImageProperty (this=0x294a750, imageID=imageID@entry=168815, property=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:2093
#20 0x00007fa12fab5a69 in Digikam::ImageExtendedProperties::readProperty (this=this@entry=0x7fff1e2e6070, property=...) at /build/buildd/digikam-3.5.0/core/libs/database/imageextendedproperties.cpp:139
#21 0x00007fa12fab5c0a in Digikam::ImageExtendedProperties::location (this=this@entry=0x7fff1e2e6070) at /build/buildd/digikam-3.5.0/core/libs/database/imageextendedproperties.cpp:115
#22 0x00007fa12fab9c50 in Digikam::ImageInfo::metadataTemplate (this=this@entry=0x7d2a598) at /build/buildd/digikam-3.5.0/core/libs/database/imageinfo.cpp:1503
#23 0x000000000061b06c in Digikam::MetadataHub::load (this=0x373ca18, info=...) at /build/buildd/digikam-3.5.0/core/digikam/fileaction/metadatahub.cpp:183
#24 0x00000000004b730c in Digikam::ImageDescEditTab::setInfos (this=this@entry=0x373c500, infos=...) at /build/buildd/digikam-3.5.0/core/libs/imageproperties/imagedescedittab.cpp:763
#25 0x00000000004b753d in Digikam::ImageDescEditTab::setItem (this=0x373c500, info=...) at /build/buildd/digikam-3.5.0/core/libs/imageproperties/imagedescedittab.cpp:727
#26 0x00000000004a7301 in Digikam::ImagePropertiesSideBarDB::slotChangedTab (this=this@entry=0x32004d0, tab=0x373c500) at /build/buildd/digikam-3.5.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:294
#27 0x00000000004a446a in Digikam::ImagePropertiesSideBarDB::itemChanged (this=this@entry=0x32004d0, infos=..., rect=..., img=img@entry=0x0, history=...) at /build/buildd/digikam-3.5.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:195
#28 0x00000000004a451c in Digikam::ImagePropertiesSideBarDB::itemChanged (this=0x32004d0, infos=...) at /build/buildd/digikam-3.5.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:171
#29 0x000000000065ee9e in Digikam::DigikamView::slotDispatchImageSelected (this=0x2928aa0) at /build/buildd/digikam-3.5.0/core/digikam/views/digikamview.cpp:1279
#30 0x0000000000661f80 in Digikam::DigikamView::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/digikam/digikamview.moc:336
#31 0x00007fa12d39487a in QMetaObject::activate (sender=0x3b51db0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#32 0x00007fa12d398a31 in QObject::event (this=0x3b51db0, e=<optimized out>) at kernel/qobject.cpp:1156
#33 0x00007fa12dd72e2c in QApplicationPrivate::notify_helper (this=this@entry=0x27759b0, receiver=receiver@entry=0x3b51db0, e=e@entry=0x7fff1e2e6b40) at kernel/qapplication.cpp:4567
#34 0x00007fa12dd794a0 in QApplication::notify (this=this@entry=0x7fff1e2e72d0, receiver=receiver@entry=0x3b51db0, e=e@entry=0x7fff1e2e6b40) at kernel/qapplication.cpp:4353
#35 0x00007fa12ea7dbaa in KApplication::notify (this=0x7fff1e2e72d0, receiver=0x3b51db0, event=0x7fff1e2e6b40) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x00007fa12d3804dd in QCoreApplication::notifyInternal (this=0x7fff1e2e72d0, receiver=0x3b51db0, event=0x7fff1e2e6b40) at kernel/qcoreapplication.cpp:953
#37 0x00007fa12d3b0323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#38 QTimerInfoList::activateTimers (this=0x27727c0) at kernel/qeventdispatcher_unix.cpp:621
#39 0x00007fa12d3ad5f1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#40 0x00007fa124f46e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fa124f47048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fa124f470ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fa12d3ad7a1 in QEventDispatcherGlib::processEvents (this=0x269c630, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#44 0x00007fa12de14bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007fa12d37f0af in QEventLoop::processEvents (this=this@entry=0x7fff1e2e6db0, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007fa12d37f3a5 in QEventLoop::exec (this=this@entry=0x7fff1e2e6db0, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007fa12d384b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#48 0x00007fa12dd7137c in QApplication::exec () at kernel/qapplication.cpp:3828
#49 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 335260, bug 335234, bug 335226, bug 335136, bug 335059.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-05-25 03:28:27 UTC

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