Bug 342802 - Crashes in editor
Summary: Crashes in editor
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 4.0.0
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-01-13 16:45 UTC by manolis.tzivakis
Modified: 2021-05-10 14:58 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 manolis.tzivakis 2015-01-13 16:45:43 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-37-generic x86_64
Distribution: Linux Mint 17.1 Rebecca

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

Basically just using the space and Backspace key to move to the next/previous image in the Edit window. at some point, after a few photos it always crashes.

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 0x7fe38cdb6ac0 (LWP 2722))]

Thread 8 (Thread 0x7fe367e93700 (LWP 2723)):
#0  0x00007fe385f02bad in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe36c5f2248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fe3823eb182 in start_thread (arg=0x7fe367e93700) at pthread_create.c:312
#3  0x00007fe385f0fefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7fe35d4ba700 (LWP 2724)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe387be9816 in wait (time=18446744073709551615, this=0x20ce0a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x20e9f10, mutex=mutex@entry=0x20e9f08, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0x2046190) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fe387be932f in QThreadPrivate::start (arg=0x2046190) at thread/qthread_unix.cpp:349
#5  0x00007fe3823eb182 in start_thread (arg=0x7fe35d4ba700) at pthread_create.c:312
#6  0x00007fe385f0fefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fe35ccb9700 (LWP 2725)):
#0  0x00007fe385f02bad in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe37ee48fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe37ee490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe387d187be in QEventDispatcherGlib::processEvents (this=0x7fe3500008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fe387cea0af in QEventLoop::processEvents (this=this@entry=0x7fe35ccb8ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe387cea3a5 in QEventLoop::exec (this=this@entry=0x7fe35ccb8ae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe387be6c5f in QThread::exec (this=this@entry=0x20589f0) at thread/qthread.cpp:537
#7  0x00007fe387ccb823 in QInotifyFileSystemWatcherEngine::run (this=0x20589f0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fe387be932f in QThreadPrivate::start (arg=0x20589f0) at thread/qthread_unix.cpp:349
#9  0x00007fe3823eb182 in start_thread (arg=0x7fe35ccb9700) at pthread_create.c:312
#10 0x00007fe385f0fefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fe357fff700 (LWP 2728)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe387be9816 in wait (time=18446744073709551615, this=0x25c0800) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x22722c0, mutex=mutex@entry=0x22722b8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe38a4298aa in Digikam::ParkingThread::run (this=0x22722a0) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fe387be932f in QThreadPrivate::start (arg=0x22722a0) at thread/qthread_unix.cpp:349
#5  0x00007fe3823eb182 in start_thread (arg=0x7fe357fff700) at pthread_create.c:312
#6  0x00007fe385f0fefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fe356d05700 (LWP 2729)):
#0  0x00007fe3823ee7ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7fe344000a80) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7fe344000a80) at pthread_mutex_unlock.c:310
#2  0x00007fe37ee8a9b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe37ee48fd9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe37ee490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe387d187be in QEventDispatcherGlib::processEvents (this=0x7fe3440008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fe387cea0af in QEventLoop::processEvents (this=this@entry=0x7fe356d04ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fe387cea3a5 in QEventLoop::exec (this=this@entry=0x7fe356d04ae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fe387be6c5f in QThread::exec (this=this@entry=0x27aee50) at thread/qthread.cpp:537
#9  0x00007fe387ccb823 in QInotifyFileSystemWatcherEngine::run (this=0x27aee50) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fe387be932f in QThreadPrivate::start (arg=0x27aee50) at thread/qthread_unix.cpp:349
#11 0x00007fe3823eb182 in start_thread (arg=0x7fe356d05700) at pthread_create.c:312
#12 0x00007fe385f0fefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fe33cff8700 (LWP 3084)):
#0  0x00007fe385f1db04 in pthread_mutex_unlock (mutex=0x7fe3040013a0) at forward.c:194
#1  0x00007fe37ee8a9b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe37ee480f0 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe37ee48ea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe37ee490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe387d187be in QEventDispatcherGlib::processEvents (this=0x7fe304024c20, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fe387cea0af in QEventLoop::processEvents (this=this@entry=0x7fe33cff7aa0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fe387cea3a5 in QEventLoop::exec (this=this@entry=0x7fe33cff7aa0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fe38a428f73 in Digikam::WorkerObjectRunnable::run (this=0x7620960) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007fe387bdcfee in QThreadPoolThread::run (this=0x3a24ce0) at concurrent/qthreadpool.cpp:108
#10 0x00007fe387be932f in QThreadPrivate::start (arg=0x3a24ce0) at thread/qthread_unix.cpp:349
#11 0x00007fe3823eb182 in start_thread (arg=0x7fe33cff8700) at pthread_create.c:312
#12 0x00007fe385f0fefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fe34a2e7700 (LWP 3101)):
#0  0x00007fe37ee8a8aa in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe37ee8ad29 in g_private_get () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe37ee6e3a0 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe37ee490dd in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe387d187be in QEventDispatcherGlib::processEvents (this=0x7fe2e40175e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fe387cea0af in QEventLoop::processEvents (this=this@entry=0x7fe34a2e6aa0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe387cea3a5 in QEventLoop::exec (this=this@entry=0x7fe34a2e6aa0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe38a428f73 in Digikam::WorkerObjectRunnable::run (this=0x7319020) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:196
#8  0x00007fe387bdcfee in QThreadPoolThread::run (this=0x3a2d9d0) at concurrent/qthreadpool.cpp:108
#9  0x00007fe387be932f in QThreadPrivate::start (arg=0x3a2d9d0) at thread/qthread_unix.cpp:349
#10 0x00007fe3823eb182 in start_thread (arg=0x7fe34a2e7700) at pthread_create.c:312
#11 0x00007fe385f0fefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fe38cdb6ac0 (LWP 2722)):
[KCrash Handler]
#6  0x0000000002528ed0 in ?? ()
#7  0x00007fe370af6dac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fffc7d686c0, pMem2=<optimized out>, pColl=0x5fed358) at sqlite3.c:60484
#8  0x00007fe370af6f63 in sqlite3VdbeRecordCompare (nKey1=24, pKey1=0x7fe358034ace, pPKey2=pPKey2@entry=0x7fffc7d689c0) at sqlite3.c:64162
#9  0x00007fe370b0b579 in sqlite3BtreeMovetoUnpacked (pCur=0x7569ee0, pIdxKey=0x7fffc7d689c0, intKey=0, biasRight=<optimized out>, pRes=0x7fffc7d689b0) at sqlite3.c:55077
#10 0x00007fe370b339c5 in sqlite3VdbeExec (p=p@entry=0x72a96a8) at sqlite3.c:70168
#11 0x00007fe370b3bed7 in sqlite3Step (p=0x72a96a8) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007fe35c2b411c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x548d070, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007fe35c2b4e48 in QSQLiteResult::exec (this=0x39a8070) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007fe38c9dfb7d in QSqlQuery::exec (this=this@entry=0x7fffc7d68ef8) at kernel/qsqlquery.cpp:949
#16 0x00007fe38a3e2a46 in Digikam::DatabaseCoreBackend::exec (this=0x1fe30e0, query=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1415
#17 0x00007fe38a3e2acc in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1fe30e0, query=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1057
#18 0x00007fe38a3e3b70 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1fe30e0, sql=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1006
#19 0x00007fe38a3e3bb9 in Digikam::DatabaseCoreBackend::execSql (this=0x1fe30e0, sql=..., boundValue1=..., values=values@entry=0x7fffc7d68f40, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:903
#20 0x00007fe389da4e2e in Digikam::AlbumDB::getSetting (this=this@entry=0x211ca10, keyword=...) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:972
#21 0x00007fe389da575c in Digikam::AlbumDB::getFilterSettings (this=0x211ca10, imageFilter=imageFilter@entry=0x7fffc7d69170, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:1017
#22 0x0000000000657bf6 in Digikam::AlbumSettings::getImageFileFilter (this=<optimized out>) at /build/buildd/digikam-4.0.0/core/digikam/utils/albumsettings.cpp:919
#23 0x000000000061fd48 in Digikam::ImageViewUtilities::openInEditor (this=0x27922c0, info=..., allInfosToOpen=..., currentAlbum=currentAlbum@entry=0x45a5270) at /build/buildd/digikam-4.0.0/core/digikam/items/imageviewutilities.cpp:267
#24 0x000000000060f7d7 in Digikam::DigikamImageView::openInEditor (this=this@entry=0x269bae0, info=...) at /build/buildd/digikam-4.0.0/core/digikam/items/digikamimageview.cpp:495
#25 0x000000000060f83c in Digikam::DigikamImageView::activated (this=0x269bae0, info=...) at /build/buildd/digikam-4.0.0/core/digikam/items/digikamimageview.cpp:319
#26 0x00000000006152e6 in Digikam::ImageCategorizedView::indexActivated (this=0x269bae0, index=...) at /build/buildd/digikam-4.0.0/core/digikam/items/imagecategorizedview.cpp:630
#27 0x00007fe38a46f610 in Digikam::DCategorizedView::slotActivated (this=0x269bae0, index=...) at /build/buildd/digikam-4.0.0/core/libs/widgets/itemview/dcategorizedview.cpp:401
#28 0x00007fe387cff87a in QMetaObject::activate (sender=sender@entry=0x269bae0, m=m@entry=0x7fe3878cf600 <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffc7d69520) at kernel/qobject.cpp:3539
#29 0x00007fe387301275 in QAbstractItemView::activated (this=this@entry=0x269bae0, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:361
#30 0x00007fe38730ab90 in QAbstractItemView::mouseDoubleClickEvent (this=0x269bae0, event=0x7fffc7d69d60) at itemviews/qabstractitemview.cpp:1849
#31 0x00007fe386e5964e in QWidget::event (this=this@entry=0x269bae0, event=event@entry=0x7fffc7d69d60) at kernel/qwidget.cpp:8380
#32 0x00007fe3871fafce in QFrame::event (this=0x269bae0, e=0x7fffc7d69d60) at widgets/qframe.cpp:557
#33 0x00007fe38730a5b3 in QAbstractItemView::viewportEvent (this=this@entry=0x269bae0, event=event@entry=0x7fffc7d69d60) at itemviews/qabstractitemview.cpp:1644
#34 0x00007fe38a471960 in Digikam::DCategorizedView::viewportEvent (this=0x269bae0, event=0x7fffc7d69d60) at /build/buildd/digikam-4.0.0/core/libs/widgets/itemview/dcategorizedview.cpp:956
#35 0x00007fe387ceb646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1f1b7c0, receiver=receiver@entry=0x269c130, event=event@entry=0x7fffc7d69d60) at kernel/qcoreapplication.cpp:1063
#36 0x00007fe386e09e0c in QApplicationPrivate::notify_helper (this=this@entry=0x1f1b7c0, receiver=receiver@entry=0x269c130, e=e@entry=0x7fffc7d69d60) at kernel/qapplication.cpp:4563
#37 0x00007fe386e105dd in QApplication::notify (this=this@entry=0x7fffc7d6a9d0, receiver=receiver@entry=0x269c130, e=e@entry=0x7fffc7d69d60) at kernel/qapplication.cpp:4110
#38 0x00007fe388735cca in KApplication::notify (this=0x7fffc7d6a9d0, receiver=0x269c130, event=0x7fffc7d69d60) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x00007fe387ceb4dd in QCoreApplication::notifyInternal (this=0x7fffc7d6a9d0, receiver=receiver@entry=0x269c130, event=event@entry=0x7fffc7d69d60) at kernel/qcoreapplication.cpp:953
#40 0x00007fe386e0fd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x269c130, event=event@entry=0x7fffc7d69d60, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x269c130, buttonDown=buttonDown@entry=0x7fe3878ef318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#42 0x00007fe386e849cb in QETWidget::translateMouseEvent (this=this@entry=0x269c130, event=event@entry=0x7fffc7d6a0e0) at kernel/qapplication_x11.cpp:4634
#43 0x00007fe386e84269 in QApplication::x11ProcessEvent (this=0x7fffc7d6a9d0, event=event@entry=0x7fffc7d6a0e0) at kernel/qapplication_x11.cpp:3627
#44 0x00007fe386eabb02 in x11EventSourceDispatch (s=0x1f07ac0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007fe37ee48e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fe37ee49048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fe37ee490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fe387d187be in QEventDispatcherGlib::processEvents (this=0x1e6a6c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#49 0x00007fe386eabbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007fe387cea0af in QEventLoop::processEvents (this=this@entry=0x7fffc7d6a4b0, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007fe387cea3a5 in QEventLoop::exec (this=this@entry=0x7fffc7d6a4b0, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007fe387cefb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#53 0x00007fe386e0837c in QApplication::exec () at kernel/qapplication.cpp:3828
#54 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 342143, bug 341529, bug 341424, bug 339650, bug 339070.

Reported using DrKonqi
Comment 1 caulier.gilles 2015-01-13 19:23:29 UTC

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