Bug 334310 - Digikam crashes randomly but consistently
Summary: Digikam crashes randomly but consistently
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-04 04:46 UTC by Athol
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 Athol 2014-05-04 04:46:34 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 through albums or viewing pics or rebuilding thumbnails or assigning tags

The crash can be reproduced every time.

-- 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 0x7fdfe80d9ac0 (LWP 10251))]

Thread 7 (Thread 0x7fdfc379e700 (LWP 10252)):
#0  0x00007fdfe1aeefbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdfc8349248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fdfdcd7e182 in start_thread (arg=0x7fdfc379e700) at pthread_create.c:312
#3  0x00007fdfe1afc30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fdfbcead700 (LWP 10253)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdfe28dd816 in wait (time=18446744073709551615, this=0x12b8810) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x12b8720, mutex=mutex@entry=0x12b8718, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x12cb940) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fdfe28dd32f in QThreadPrivate::start (arg=0x12cb940) at thread/qthread_unix.cpp:349
#5  0x00007fdfdcd7e182 in start_thread (arg=0x7fdfbcead700) at pthread_create.c:312
#6  0x00007fdfe1afc30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fdfb7fff700 (LWP 10254)):
#0  0x00007fdfe1aed6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdfda5e6c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdfda5a5b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdfda5a5f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdfda5a60ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fdfe2a0c7be in QEventDispatcherGlib::processEvents (this=0x7fdfb00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fdfe29de0af in QEventLoop::processEvents (this=this@entry=0x7fdfb7ffeae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fdfe29de3a5 in QEventLoop::exec (this=this@entry=0x7fdfb7ffeae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fdfe28dac5f in QThread::exec (this=this@entry=0x12c9bf0) at thread/qthread.cpp:537
#9  0x00007fdfe29bf823 in QInotifyFileSystemWatcherEngine::run (this=0x12c9bf0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fdfe28dd32f in QThreadPrivate::start (arg=0x12c9bf0) at thread/qthread_unix.cpp:349
#11 0x00007fdfdcd7e182 in start_thread (arg=0x7fdfb7fff700) at pthread_create.c:312
#12 0x00007fdfe1afc30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fdfb77fe700 (LWP 10256)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdfe28dd816 in wait (time=18446744073709551615, this=0x159f210) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x15c5880, mutex=mutex@entry=0x15c5878, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdfe575679a in Digikam::ParkingThread::run (this=0x15c5860) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fdfe28dd32f in QThreadPrivate::start (arg=0x15c5860) at thread/qthread_unix.cpp:349
#5  0x00007fdfdcd7e182 in start_thread (arg=0x7fdfb77fe700) at pthread_create.c:312
#6  0x00007fdfe1afc30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fdfb6684700 (LWP 10257)):
#0  0x00007ffff07b3a1f in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdf867fc700 (LWP 10314)):
#0  0x00007fdfda5e762d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fdfda5e79b9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdfda5a5f91 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdfda5a60ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdfe2a0c7be in QEventDispatcherGlib::processEvents (this=0x7fdf78005660, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fdfe29de0af in QEventLoop::processEvents (this=this@entry=0x7fdf867fbaa0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fdfe29de3a5 in QEventLoop::exec (this=this@entry=0x7fdf867fbaa0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fdfe5755e43 in Digikam::WorkerObjectRunnable::run (this=0x7f8e580) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#8  0x00007fdfe28d0fee in QThreadPoolThread::run (this=0x2d24e60) at concurrent/qthreadpool.cpp:108
#9  0x00007fdfe28dd32f in QThreadPrivate::start (arg=0x2d24e60) at thread/qthread_unix.cpp:349
#10 0x00007fdfdcd7e182 in start_thread (arg=0x7fdf867fc700) at pthread_create.c:312
#11 0x00007fdfe1afc30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fdfe80d9ac0 (LWP 10251)):
[KCrash Handler]
#6  0x00007fdfcc62b6a0 in sqlite3_value_type () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#7  0x00007fdfcc6491f4 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#8  0x00007fdfcc64adac in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#9  0x00007fdfcc64af63 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#10 0x00007fdfcc65f579 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#11 0x00007fdfcc6879c5 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#12 0x00007fdfcc68fed7 in sqlite3_step () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#13 0x00007fdfbc4a811c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x6da3140, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007fdfbc4a8e48 in QSQLiteResult::exec (this=0x7942e70) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007fdfe7d02b7d in QSqlQuery::exec (this=this@entry=0x7ffff079fcc8) at kernel/qsqlquery.cpp:949
#16 0x00007fdfe570fa26 in Digikam::DatabaseCoreBackend::exec (this=0x127eb30, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007fdfe570faac in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x127eb30, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#18 0x00007fdfe5710b50 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x127eb30, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#19 0x00007fdfe5710b99 in Digikam::DatabaseCoreBackend::execSql (this=0x127eb30, sql=..., boundValue1=..., values=values@entry=0x7ffff079fd10, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#20 0x00007fdfe50d442e in Digikam::AlbumDB::getSetting (this=this@entry=0x1284320, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#21 0x00007fdfe50d4d5c in Digikam::AlbumDB::getFilterSettings (this=0x1284320, imageFilter=imageFilter@entry=0x7ffff079ff40, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:1017
#22 0x0000000000639fe6 in Digikam::AlbumSettings::getImageFileFilter (this=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/utils/albumsettings.cpp:915
#23 0x0000000000612758 in Digikam::ImageViewUtilities::openInEditor (this=0x182b840, info=..., allInfosToOpen=..., currentAlbum=currentAlbum@entry=0x3963f30) at /build/buildd/digikam-3.5.0/core/digikam/items/imageviewutilities.cpp:267
#24 0x0000000000601c67 in Digikam::DigikamImageView::openInEditor (this=this@entry=0x17cabe0, info=...) at /build/buildd/digikam-3.5.0/core/digikam/items/digikamimageview.cpp:491
#25 0x0000000000601ccc in Digikam::DigikamImageView::activated (this=0x17cabe0, info=...) at /build/buildd/digikam-3.5.0/core/digikam/items/digikamimageview.cpp:315
#26 0x0000000000607926 in Digikam::ImageCategorizedView::indexActivated (this=0x17cabe0, index=...) at /build/buildd/digikam-3.5.0/core/digikam/items/imagecategorizedview.cpp:630
#27 0x00007fdfe579d5c0 in Digikam::DCategorizedView::slotActivated (this=0x17cabe0, index=...) at /build/buildd/digikam-3.5.0/core/libs/widgets/itemview/dcategorizedview.cpp:401
#28 0x00007fdfe29f387a in QMetaObject::activate (sender=sender@entry=0x17cabe0, m=m@entry=0x7fdfe3e97600 <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffff07a02f0) at kernel/qobject.cpp:3539
#29 0x00007fdfe38c9275 in QAbstractItemView::activated (this=this@entry=0x17cabe0, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:361
#30 0x00007fdfe38c94f0 in QAbstractItemView::mouseReleaseEvent (this=this@entry=0x17cabe0, event=event@entry=0x7ffff07a0d20) at itemviews/qabstractitemview.cpp:1821
#31 0x00007fdfe38f26ce in QListView::mouseReleaseEvent (this=this@entry=0x17cabe0, e=e@entry=0x7ffff07a0d20) at itemviews/qlistview.cpp:799
#32 0x00007fdfe5798ae8 in Digikam::DigikamKCategorizedView::mouseReleaseEvent (this=this@entry=0x17cabe0, event=event@entry=0x7ffff07a0d20) at /build/buildd/digikam-3.5.0/core/libs/widgets/itemview/digikamkcategorizedview.cpp:1326
#33 0x00007fdfe579f304 in Digikam::DCategorizedView::mouseReleaseEvent (this=0x17cabe0, event=0x7ffff07a0d20) at /build/buildd/digikam-3.5.0/core/libs/widgets/itemview/dcategorizedview.cpp:799
#34 0x00007fdfe342150a in QWidget::event (this=this@entry=0x17cabe0, event=event@entry=0x7ffff07a0d20) at kernel/qwidget.cpp:8376
#35 0x00007fdfe37c2fce in QFrame::event (this=0x17cabe0, e=0x7ffff07a0d20) at widgets/qframe.cpp:557
#36 0x00007fdfe38d25b3 in QAbstractItemView::viewportEvent (this=this@entry=0x17cabe0, event=event@entry=0x7ffff07a0d20) at itemviews/qabstractitemview.cpp:1644
#37 0x00007fdfe579f720 in Digikam::DCategorizedView::viewportEvent (this=0x17cabe0, event=0x7ffff07a0d20) at /build/buildd/digikam-3.5.0/core/libs/widgets/itemview/dcategorizedview.cpp:951
#38 0x00007fdfe29df646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x10f6e70, receiver=receiver@entry=0x17cb230, event=event@entry=0x7ffff07a0d20) at kernel/qcoreapplication.cpp:1063
#39 0x00007fdfe33d1e0c in QApplicationPrivate::notify_helper (this=this@entry=0x10f6e70, receiver=receiver@entry=0x17cb230, e=e@entry=0x7ffff07a0d20) at kernel/qapplication.cpp:4563
#40 0x00007fdfe33d85dd in QApplication::notify (this=this@entry=0x7ffff07a1990, receiver=receiver@entry=0x17cb230, e=e@entry=0x7ffff07a0d20) at kernel/qapplication.cpp:4110
#41 0x00007fdfe40dcbaa in KApplication::notify (this=0x7ffff07a1990, receiver=0x17cb230, event=0x7ffff07a0d20) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007fdfe29df4dd in QCoreApplication::notifyInternal (this=0x7ffff07a1990, receiver=receiver@entry=0x17cb230, event=event@entry=0x7ffff07a0d20) at kernel/qcoreapplication.cpp:953
#43 0x00007fdfe33d7d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x17cb230, event=event@entry=0x7ffff07a0d20, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x17cb230, buttonDown=buttonDown@entry=0x7fdfe3eb7318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#45 0x00007fdfe344c9cb in QETWidget::translateMouseEvent (this=this@entry=0x17cb230, event=event@entry=0x7ffff07a10a0) at kernel/qapplication_x11.cpp:4634
#46 0x00007fdfe344c269 in QApplication::x11ProcessEvent (this=0x7ffff07a1990, event=event@entry=0x7ffff07a10a0) at kernel/qapplication_x11.cpp:3627
#47 0x00007fdfe3473b02 in x11EventSourceDispatch (s=0x10fc550, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0x00007fdfda5a5e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fdfda5a6048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fdfda5a60ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fdfe2a0c7a1 in QEventDispatcherGlib::processEvents (this=0x102a1a0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#52 0x00007fdfe3473bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007fdfe29de0af in QEventLoop::processEvents (this=this@entry=0x7ffff07a1470, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007fdfe29de3a5 in QEventLoop::exec (this=this@entry=0x7ffff07a1470, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007fdfe29e3b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#56 0x00007fdfe33d037c in QApplication::exec () at kernel/qapplication.cpp:3828
#57 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

Reported using DrKonqi
Comment 1 caulier.gilles 2014-05-04 06:06:30 UTC

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