Bug 336259 - digiKam crashed during opening the edit action (F4) to open picture for edit.
Summary: digiKam crashed during opening the edit action (F4) to open picture for edit.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 4.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-15 12:27 UTC by mi_ch@email.cz
Modified: 2021-04-04 08:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mi_ch@email.cz 2014-06-15 12:27:47 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.14.4-031404-generic x86_64
Distribution: Ubuntu 14.04 LTS

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

After success sequentially edit  several pictures suddenly the edit action (F4) of the next picture 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 0x7fef959ceac0 (LWP 28965))]

Thread 5 (Thread 0x7fef72d42700 (LWP 28967)):
#0  0x00007fef8ec3afbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fef775a8248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fef8ac6e182 in start_thread (arg=0x7fef72d42700) at pthread_create.c:312
#3  0x00007fef8ec4830d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fef6a81e700 (LWP 28968)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fef8fa29816 in wait (time=18446744073709551615, this=0x2b368b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2b367c0, mutex=mutex@entry=0x2b367b8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0x2b36530) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fef8fa2932f in QThreadPrivate::start (arg=0x2b36530) at thread/qthread_unix.cpp:349
#5  0x00007fef8ac6e182 in start_thread (arg=0x7fef6a81e700) at pthread_create.c:312
#6  0x00007fef8ec4830d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fef6a01d700 (LWP 28969)):
#0  0x00007fffb29a670c in ?? ()
#1  0x00007fef6a01c840 in ?? ()
#2  0x00007fffb29a6a99 in ?? ()
#3  0x00007fef6a01c870 in ?? ()
#4  0x00007fef8fa1f244 in qWarning (msg=<optimized out>) at global/qglobal.cpp:2511
#5  0x00007fef87e7768d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fef87e77f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fef87e780ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fef8fb587be in QEventDispatcherGlib::processEvents (this=0x7fef5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#9  0x00007fef8fb2a0af in QEventLoop::processEvents (this=this@entry=0x7fef6a01cae0, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007fef8fb2a3a5 in QEventLoop::exec (this=this@entry=0x7fef6a01cae0, flags=...) at kernel/qeventloop.cpp:204
#11 0x00007fef8fa26c5f in QThread::exec (this=this@entry=0x2b38ba0) at thread/qthread.cpp:537
#12 0x00007fef8fb0b823 in QInotifyFileSystemWatcherEngine::run (this=0x2b38ba0) at io/qfilesystemwatcher_inotify.cpp:265
#13 0x00007fef8fa2932f in QThreadPrivate::start (arg=0x2b38ba0) at thread/qthread_unix.cpp:349
#14 0x00007fef8ac6e182 in start_thread (arg=0x7fef6a01d700) at pthread_create.c:312
#15 0x00007fef8ec4830d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fef6981c700 (LWP 28971)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fef8fa29816 in wait (time=18446744073709551615, this=0x2b81980) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2c73e40, mutex=mutex@entry=0x2c73e38, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fef931668aa in Digikam::ParkingThread::run (this=0x2c73e20) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fef8fa2932f in QThreadPrivate::start (arg=0x2c73e20) at thread/qthread_unix.cpp:349
#5  0x00007fef8ac6e182 in start_thread (arg=0x7fef6981c700) at pthread_create.c:312
#6  0x00007fef8ec4830d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fef959ceac0 (LWP 28965)):
[KCrash Handler]
#6  0x00007fef7baacda9 in sqlite3MemCompare (pMem1=pMem1@entry=0x7fffb284c560, pMem2=<optimized out>, pColl=0xbf97848) at sqlite3.c:60484
#7  0x00007fef7baacf63 in sqlite3VdbeRecordCompare (nKey1=37, pKey1=0x7fef6429e899, pPKey2=pPKey2@entry=0x7fffb284c860) at sqlite3.c:64162
#8  0x00007fef7bac1579 in sqlite3BtreeMovetoUnpacked (pCur=0xc119d80, pIdxKey=0x7fffb284c860, intKey=0, biasRight=<optimized out>, pRes=0x7fffb284c850) at sqlite3.c:55077
#9  0x00007fef7bae99c5 in sqlite3VdbeExec (p=p@entry=0xbf40b68) at sqlite3.c:70168
#10 0x00007fef7baf1ed7 in sqlite3Step (p=0xbf40b68) at sqlite3.c:64828
#11 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#12 0x00007fef68e1711c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x477f9e0, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#13 0x00007fef68e17e48 in QSQLiteResult::exec (this=0x3ff87b0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#14 0x00007fef95717b7d in QSqlQuery::exec (this=this@entry=0x7fffb284cdb8) at kernel/qsqlquery.cpp:949
#15 0x00007fef9311fa46 in Digikam::DatabaseCoreBackend::exec (this=0x2b55f90, query=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1415
#16 0x00007fef9311fb72 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2b55f90, query=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1065
#17 0x00007fef93120c2c in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2b55f90, sql=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1014
#18 0x00007fef93120c7c in Digikam::DatabaseCoreBackend::execSql (this=0x2b55f90, sql=..., boundValue1=..., boundValue2=..., values=values@entry=0x7fffb284ce40, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:911
#19 0x00007fef92aed422 in Digikam::AlbumDB::getIdenticalFiles (this=0x2b4ace0, uniqueHash=..., fileSize=fileSize@entry=1503507, sourceId=sourceId@entry=-1) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:2770
#20 0x00007fef92b631f2 in Digikam::ImageScanner::resolveHistoryImageId (historyId=...) at /build/buildd/digikam-4.0.0/core/libs/database/imagescanner.cpp:1223
#21 0x00007fef92b63842 in Digikam::ImageScanner::resolvedImageHistory (history=..., mustBeAvailable=mustBeAvailable@entry=false) at /build/buildd/digikam-4.0.0/core/libs/database/imagescanner.cpp:1083
#22 0x000000000049734e in Digikam::ImageWindow::resolvedImageHistory (this=this@entry=0x4c83b80, history=...) at /build/buildd/digikam-4.0.0/core/utilities/imageeditor/main/imagewindow.cpp:1605
#23 0x00007fef9324a278 in Digikam::EditorWindow::slotLoadingFinished (this=0x4c83b80, success=<optimized out>) at /build/buildd/digikam-4.0.0/core/utilities/imageeditor/editor/editorwindow.cpp:1640
#24 0x00007fef8fb3f87a in QMetaObject::activate (sender=sender@entry=0x4c8e530, m=m@entry=0x7fef93566c60 <Digikam::Canvas::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fffb284d330) at kernel/qobject.cpp:3539
#25 0x00007fef931c2b66 in Digikam::Canvas::signalLoadingFinished (this=this@entry=0x4c8e530, _t1=..., _t2=_t2@entry=true) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/canvas.moc:250
#26 0x00007fef931c2eed in Digikam::Canvas::slotImageLoaded (this=0x4c8e530, filePath=..., success=<optimized out>) at /build/buildd/digikam-4.0.0/core/utilities/imageeditor/widgets/canvas.cpp:186
#27 0x00007fef8fb3f87a in QMetaObject::activate (sender=sender@entry=0x4b39580, m=m@entry=0x7fef9356da80 <Digikam::EditorCore::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fffb284d520) at kernel/qobject.cpp:3539
#28 0x00007fef932217c6 in Digikam::EditorCore::signalImageLoaded (this=this@entry=0x4b39580, _t1=..., _t2=true) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/editorcore.moc:176
#29 0x00007fef932225e5 in Digikam::EditorCore::slotImageLoaded (this=0x4b39580, loadingDescription=..., img=...) at /build/buildd/digikam-4.0.0/core/utilities/imageeditor/core/editorcore.cpp:309
#30 0x00007fef8fb43c1e in QObject::event (this=0x4b39580, e=<optimized out>) at kernel/qobject.cpp:1194
#31 0x00007fef9051de2c in QApplicationPrivate::notify_helper (this=this@entry=0x2820520, receiver=receiver@entry=0x4b39580, e=e@entry=0x7fef2c0befc0) at kernel/qapplication.cpp:4567
#32 0x00007fef905244a0 in QApplication::notify (this=this@entry=0x7fffb284e0c0, receiver=receiver@entry=0x4b39580, e=e@entry=0x7fef2c0befc0) at kernel/qapplication.cpp:4353
#33 0x00007fef91228baa in KApplication::notify (this=0x7fffb284e0c0, receiver=0x4b39580, event=0x7fef2c0befc0) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007fef8fb2b4dd in QCoreApplication::notifyInternal (this=0x7fffb284e0c0, receiver=receiver@entry=0x4b39580, event=event@entry=0x7fef2c0befc0) at kernel/qcoreapplication.cpp:953
#35 0x00007fef8fb2eb3d in sendEvent (event=0x7fef2c0befc0, receiver=0x4b39580) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x278b760) at kernel/qcoreapplication.cpp:1577
#37 0x00007fef8fb2efe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#38 0x00007fef8fb58f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#39 postEventSourceDispatch (s=0x2820010) at kernel/qeventdispatcher_glib.cpp:287
#40 0x00007fef87e77e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fef87e78048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fef87e780ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fef8fb587a1 in QEventDispatcherGlib::processEvents (this=0x2747580, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#44 0x00007fef905bfbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007fef8fb2a0af in QEventLoop::processEvents (this=this@entry=0x7fffb284dba0, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007fef8fb2a3a5 in QEventLoop::exec (this=this@entry=0x7fffb284dba0, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007fef8fb2fb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#48 0x00007fef9051c37c in QApplication::exec () at kernel/qapplication.cpp:3828
#49 0x00000000004948f0 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-4.0.0/core/digikam/main/main.cpp:236

Possible duplicates by query: bug 336208, bug 336005, bug 335847, bug 335685, bug 335684.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-06-15 13:33:30 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2021-04-04 08:27:51 UTC
fixed with #329697