Bug 337839 - I experience many crashes, without precise action
Summary: I experience many crashes, without precise action
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 4.1.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-27 15:26 UTC by philippe.quaglia
Modified: 2019-12-25 15:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description philippe.quaglia 2014-07-27 15:26:04 UTC
I had many (12 or more) crashes while rating and tagging images. I was not able to see a specific behaviour. Therefore, I have launched Digikam in gdb to get a backtrace. Here it is below:

(gdb) bt
#0  0x00007fffde043da9 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#1  0x00007fffde043f63 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#2  0x00007fffde058579 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#3  0x00007fffde0809c5 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#4  0x00007fffde088ed7 in sqlite3_step ()
   from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#5  0x00007fffb1d8811c in QSQLiteResultPrivate::fetchNext (
    this=this@entry=0x3bbf020, values=..., idx=idx@entry=0, 
    initialFetch=initialFetch@entry=true)
    at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#6  0x00007fffb1d88e48 in QSQLiteResult::exec (this=0x57e8c30)
    at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#7  0x00007ffff7babb7d in QSqlQuery::exec (this=this@entry=0x7fffffffc868)
    at kernel/qsqlquery.cpp:949
#8  0x00007ffff55acf16 in Digikam::DatabaseCoreBackend::exec (this=0xfadc40, 
    query=...)
    at /build/buildd/digikam-4.1.0/core/libs/database/core/databasecorebackend.cpp:1415
#9  0x00007ffff55ad042 in Digikam::DatabaseCoreBackend::execQuery (
    this=this@entry=0xfadc40, query=..., boundValue1=..., boundValue2=...)
    at /build/buildd/digikam-4.1.0/core/libs/database/core/databasecorebackend.cpp:1065
#10 0x00007ffff55ae0fc in Digikam::DatabaseCoreBackend::execQuery (
---Type <return> to continue, or q <return> to quit---
    this=this@entry=0xfadc40, sql=..., boundValue1=..., boundValue2=...)
    at /build/buildd/digikam-4.1.0/core/libs/database/core/databasecorebackend.cpp:1014
#11 0x00007ffff55ae14c in Digikam::DatabaseCoreBackend::execSql (
    this=0xfadc40, sql=..., boundValue1=..., boundValue2=..., 
    values=values@entry=0x7fffffffc8b0, lastInsertId=lastInsertId@entry=0x0)
    at /build/buildd/digikam-4.1.0/core/libs/database/core/databasecorebackend.cpp:911
#12 0x00007ffff4f6331b in Digikam::AlbumDB::getImageProperty (this=0xf56e30, 
    imageID=imageID@entry=9794, property=...)
    at /build/buildd/digikam-4.1.0/core/libs/database/albumdb.cpp:2093
#13 0x00007ffff4fa07a9 in Digikam::ImageExtendedProperties::readProperty (
    this=this@entry=0x7fffffffca40, property=...)
    at /build/buildd/digikam-4.1.0/core/libs/database/imageextendedproperties.cpp:139
#14 0x00007ffff4fa094a in Digikam::ImageExtendedProperties::location (
    this=this@entry=0x7fffffffca40)
    at /build/buildd/digikam-4.1.0/core/libs/database/imageextendedproperties.cpp:115
#15 0x00007ffff4fa4cb0 in Digikam::ImageInfo::metadataTemplate (
    this=this@entry=0x35c90b8)
    at /build/buildd/digikam-4.1.0/core/libs/database/imageinfo.cpp:1503
#16 0x000000000062a1cc in Digikam::MetadataHub::load (this=0x26ef860, info=...)
---Type <return> to continue, or q <return> to quit---bt
    at /build/buildd/digikam-4.1.0/core/digikam/fileaction/metadatahub.cpp:183
#17 0x00000000004babec in Digikam::ImageDescEditTab::setInfos (
    this=this@entry=0x26ef2c0, infos=...)
    at /build/buildd/digikam-4.1.0/core/libs/imageproperties/imagedescedittab.cpp:770
#18 0x00000000004bae1d in Digikam::ImageDescEditTab::setItem (this=0x26ef2c0, 
    info=...)
    at /build/buildd/digikam-4.1.0/core/libs/imageproperties/imagedescedittab.cpp:734
#19 0x00000000004aab31 in Digikam::ImagePropertiesSideBarDB::slotChangedTab (
    this=this@entry=0x25c3830, tab=0x26ef2c0)
    at /build/buildd/digikam-4.1.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:298
#20 0x00000000004a7c8a in Digikam::ImagePropertiesSideBarDB::itemChanged (
    this=this@entry=0x25c3830, infos=..., rect=..., img=img@entry=0x0, 
    history=...)
    at /build/buildd/digikam-4.1.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:199
#21 0x00000000004a7d3c in Digikam::ImagePropertiesSideBarDB::itemChanged (
    this=0x25c3830, infos=...)
    at /build/buildd/digikam-4.1.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:175
#22 0x000000000067ea5e in Digikam::DigikamView::slotDispatchImageSelected (
---Type <return> to continue, or q <return> to quit---
    this=0x1e5aab0)
    at /build/buildd/digikam-4.1.0/core/digikam/views/digikamview.cpp:1304
#23 0x0000000000682b3b in Digikam::DigikamView::qt_static_metacall (
    _o=0x1e5aab0, _c=14, _id=69770680, _a=0xe)
    at /build/buildd/digikam-4.1.0/obj-x86_64-linux-gnu/core/digikam/digikamview.moc:340
#24 0x00007ffff1fb687a in QMetaObject::activate (sender=0x29fe890, 
    m=<optimized out>, local_signal_index=<optimized out>, argv=0x0)
    at kernel/qobject.cpp:3539
#25 0x00007ffff1fbaa31 in QObject::event (this=0x29fe890, e=<optimized out>)
    at kernel/qobject.cpp:1156
#26 0x00007ffff2994e2c in QApplicationPrivate::notify_helper (
    this=this@entry=0xce28d0, receiver=receiver@entry=0x29fe890, e=e@entry=
    0x7fffffffd510) at kernel/qapplication.cpp:4567
#27 0x00007ffff299b4a0 in QApplication::notify (
    this=this@entry=0x7fffffffdca0, receiver=receiver@entry=0x29fe890, 
    e=e@entry=0x7fffffffd510) at kernel/qapplication.cpp:4353
#28 0x00007ffff369fd1a in KApplication::notify (this=0x7fffffffdca0, 
    receiver=0x29fe890, event=0x7fffffffd510)
    at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007ffff1fa24dd in QCoreApplication::notifyInternal (this=
    0x7fffffffdca0, receiver=0x29fe890, event=0x7fffffffd510)
    at kernel/qcoreapplication.cpp:953
---Type <return> to continue, or q <return> to quit---
#30 0x00007ffff1fd2323 in sendEvent (event=<optimized out>, 
    receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QTimerInfoList::activateTimers (this=0xce2cf0)
    at kernel/qeventdispatcher_unix.cpp:621
#32 0x00007ffff1fcf629 in timerSourceDispatch (source=<optimized out>)
    at kernel/qeventdispatcher_glib.cpp:193
#33 idleTimerSourceDispatch (source=<optimized out>)
    at kernel/qeventdispatcher_glib.cpp:240
#34 0x00007fffea08ae04 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fffea08b048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fffea08b0ec in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff1fcf7a1 in QEventDispatcherGlib::processEvents (this=0xc0bf20, 
    flags=...) at kernel/qeventdispatcher_glib.cpp:434
#38 0x00007ffff2a36bb6 in QGuiEventDispatcherGlib::processEvents (
    this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007ffff1fa10af in QEventLoop::processEvents (this=this@entry=
    0x7fffffffd780, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007ffff1fa13a5 in QEventLoop::exec (this=this@entry=0x7fffffffd780, 
    flags=...) at kernel/qeventloop.cpp:204
#41 0x00007ffff1fa6b79 in QCoreApplication::exec ()
---Type <return> to continue, or q <return> to quit---
    at kernel/qcoreapplication.cpp:1225
#42 0x00007ffff299337c in QApplication::exec () at kernel/qapplication.cpp:3828
#43 0x0000000000494fd0 in main (argc=<optimized out>, argv=<optimized out>)
    at /build/buildd/digikam-4.1.0/core/digikam/main/main.cpp:236
Comment 1 philippe.quaglia 2014-07-27 15:43:06 UTC
Another crash few minutes later gives the following backtrace:
(gdb) bt
#0  0x00000000060c6ca0 in ?? ()
#1  0x00007fffde043dac in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#2  0x00007fffde043f63 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#3  0x00007fffde058579 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#4  0x00007fffde0809c5 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#5  0x00007fffde088ed7 in sqlite3_step ()
   from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#6  0x00007fffb1d8811c in QSQLiteResultPrivate::fetchNext (
    this=this@entry=0x61e4bc0, values=..., idx=idx@entry=0, 
    initialFetch=initialFetch@entry=true)
    at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#7  0x00007fffb1d88e48 in QSQLiteResult::exec (this=0x3dbdc00)
    at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#8  0x00007ffff7babb7d in QSqlQuery::exec (this=this@entry=0x7fffffffc898)
    at kernel/qsqlquery.cpp:949
#9  0x00007ffff55acf16 in Digikam::DatabaseCoreBackend::exec (this=0x104cea0, 
    query=...)
    at /build/buildd/digikam-4.1.0/core/libs/database/core/databasecorebackend.cpp:1415
#10 0x00007ffff55ad042 in Digikam::DatabaseCoreBackend::execQuery (
    this=this@entry=0x104cea0, query=..., boundValue1=..., boundValue2=...)
    at /build/buildd/digikam-4.1.0/core/libs/database/core/databasecorebackend.cpp:1065
---Type <return> to continue, or q <return> to quit---
#11 0x00007ffff55ae0fc in Digikam::DatabaseCoreBackend::execQuery (
    this=this@entry=0x104cea0, sql=..., boundValue1=..., boundValue2=...)
    at /build/buildd/digikam-4.1.0/core/libs/database/core/databasecorebackend.cpp:1014
#12 0x00007ffff55ae14c in Digikam::DatabaseCoreBackend::execSql (
    this=0x104cea0, sql=..., boundValue1=..., boundValue2=..., 
    values=values@entry=0x7fffffffc8e0, lastInsertId=lastInsertId@entry=0x0)
    at /build/buildd/digikam-4.1.0/core/libs/database/core/databasecorebackend.cpp:911
#13 0x00007ffff4f6331b in Digikam::AlbumDB::getImageProperty (this=0xf639c0, 
    imageID=imageID@entry=10369, property=...)
    at /build/buildd/digikam-4.1.0/core/libs/database/albumdb.cpp:2093
#14 0x00007ffff4fa07a9 in Digikam::ImageExtendedProperties::readProperty (
    this=this@entry=0x7fffffffca70, property=...)
    at /build/buildd/digikam-4.1.0/core/libs/database/imageextendedproperties.cpp:139
#15 0x00007ffff4fa094a in Digikam::ImageExtendedProperties::location (
    this=this@entry=0x7fffffffca70)
    at /build/buildd/digikam-4.1.0/core/libs/database/imageextendedproperties.cpp:115
#16 0x00007ffff4fa4cb0 in Digikam::ImageInfo::metadataTemplate (
    this=this@entry=0x628e468)
    at /build/buildd/digikam-4.1.0/core/libs/database/imageinfo.cpp:1503
---Type <return> to continue, or q <return> to quit---
#17 0x000000000062a1cc in Digikam::MetadataHub::load (this=0x26ef070, info=...)
    at /build/buildd/digikam-4.1.0/core/digikam/fileaction/metadatahub.cpp:183
#18 0x00000000004babec in Digikam::ImageDescEditTab::setInfos (
    this=this@entry=0x26eead0, infos=...)
    at /build/buildd/digikam-4.1.0/core/libs/imageproperties/imagedescedittab.cpp:770
#19 0x00000000004bae72 in Digikam::ImageDescEditTab::setItems (
    this=this@entry=0x26eead0, infos=...)
    at /build/buildd/digikam-4.1.0/core/libs/imageproperties/imagedescedittab.cpp:740
#20 0x00000000004aa6a5 in Digikam::ImagePropertiesSideBarDB::slotChangedTab (
    this=this@entry=0x25c30b0, tab=0x26eead0)
    at /build/buildd/digikam-4.1.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:343
#21 0x00000000004a7c8a in Digikam::ImagePropertiesSideBarDB::itemChanged (
    this=this@entry=0x25c30b0, infos=..., rect=..., img=img@entry=0x0, 
    history=...)
    at /build/buildd/digikam-4.1.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:199
#22 0x00000000004a7d3c in Digikam::ImagePropertiesSideBarDB::itemChanged (
    this=0x25c30b0, infos=...)
    at /build/buildd/digikam-4.1.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:175
---Type <return> to continue, or q <return> to quit---
#23 0x000000000067ea5e in Digikam::DigikamView::slotDispatchImageSelected (
    this=0x1e5bf10)
    at /build/buildd/digikam-4.1.0/core/digikam/views/digikamview.cpp:1304
#24 0x0000000000682b3b in Digikam::DigikamView::qt_static_metacall (
    _o=0x1e5bf10, _c=14, _id=84668104, _a=0xe)
    at /build/buildd/digikam-4.1.0/obj-x86_64-linux-gnu/core/digikam/digikamview.moc:340
#25 0x00007ffff1fb687a in QMetaObject::activate (sender=0x2a0a620, 
    m=<optimized out>, local_signal_index=<optimized out>, argv=0x0)
    at kernel/qobject.cpp:3539
#26 0x00007ffff1fbaa31 in QObject::event (this=0x2a0a620, e=<optimized out>)
    at kernel/qobject.cpp:1156
#27 0x00007ffff2994e2c in QApplicationPrivate::notify_helper (
    this=this@entry=0xce28d0, receiver=receiver@entry=0x2a0a620, e=e@entry=
    0x7fffffffd510) at kernel/qapplication.cpp:4567
#28 0x00007ffff299b4a0 in QApplication::notify (
    this=this@entry=0x7fffffffdca0, receiver=receiver@entry=0x2a0a620, 
    e=e@entry=0x7fffffffd510) at kernel/qapplication.cpp:4353
#29 0x00007ffff369fd1a in KApplication::notify (this=0x7fffffffdca0, 
    receiver=0x2a0a620, event=0x7fffffffd510)
    at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007ffff1fa24dd in QCoreApplication::notifyInternal (this=
    0x7fffffffdca0, receiver=0x2a0a620, event=0x7fffffffd510)
---Type <return> to continue, or q <return> to quit---
    at kernel/qcoreapplication.cpp:953
#31 0x00007ffff1fd2323 in sendEvent (event=<optimized out>, 
    receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QTimerInfoList::activateTimers (this=0xce2cf0)
    at kernel/qeventdispatcher_unix.cpp:621
#33 0x00007ffff1fcf629 in timerSourceDispatch (source=<optimized out>)
    at kernel/qeventdispatcher_glib.cpp:193
#34 idleTimerSourceDispatch (source=<optimized out>)
    at kernel/qeventdispatcher_glib.cpp:240
#35 0x00007fffea08ae04 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fffea08b048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fffea08b0ec in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff1fcf7a1 in QEventDispatcherGlib::processEvents (this=0xc0bf20, 
    flags=...) at kernel/qeventdispatcher_glib.cpp:434
#39 0x00007ffff2a36bb6 in QGuiEventDispatcherGlib::processEvents (
    this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007ffff1fa10af in QEventLoop::processEvents (this=this@entry=
    0x7fffffffd780, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007ffff1fa13a5 in QEventLoop::exec (this=this@entry=0x7fffffffd780, 
    flags=...) at kernel/qeventloop.cpp:204
---Type <return> to continue, or q <return> to quit---
#42 0x00007ffff1fa6b79 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:1225
#43 0x00007ffff299337c in QApplication::exec () at kernel/qapplication.cpp:3828
#44 0x0000000000494fd0 in main (argc=<optimized out>, argv=<optimized out>)
    at /build/buildd/digikam-4.1.0/core/digikam/main/main.cpp:236
(gdb)
Comment 2 Christoph Feck 2014-07-27 16:39:49 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 3 caulier.gilles 2019-12-25 15:45:33 UTC
Not reproducible using digiKam 7.0.0 beta1.