Bug 355950 - Crash on changing metadata
Summary: Crash on changing metadata
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (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-11-26 15:56 UTC by Luc Sierens
Modified: 2020-07-26 12:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Sierens 2015-11-26 15:56:12 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Linux Mint 17.1 Rebecca

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

Digikam crashes when saving changed metadata (original date).

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 0x7fdd28132ac0 (LWP 17420))]

Thread 5 (Thread 0x7fdd04397700 (LWP 17421)):
#0  0x00007fdd2122512d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdd08d9e248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fdd1d6b8182 in start_thread (arg=0x7fdd04397700) at pthread_create.c:312
#3  0x00007fdd2123247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fdcfac5f700 (LWP 17422)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdd22f23816 in wait (time=18446744073709551615, this=0x260b0e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x260aff0, mutex=mutex@entry=0x260afe8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0x260ad60) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fdd22f2332f in QThreadPrivate::start (arg=0x260ad60) at thread/qthread_unix.cpp:349
#5  0x00007fdd1d6b8182 in start_thread (arg=0x7fdcfac5f700) at pthread_create.c:312
#6  0x00007fdd2123247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fdcfa45e700 (LWP 17423)):
#0  0x00007fff5b8008c8 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdcf9c5d700 (LWP 17425)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdd22f23816 in wait (time=18446744073709551615, this=0x26cbb60) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2910220, mutex=mutex@entry=0x2910218, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdd257778aa in Digikam::ParkingThread::run (this=0x2910200) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fdd22f2332f in QThreadPrivate::start (arg=0x2910200) at thread/qthread_unix.cpp:349
#5  0x00007fdd1d6b8182 in start_thread (arg=0x7fdcf9c5d700) at pthread_create.c:312
#6  0x00007fdd2123247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fdd28132ac0 (LWP 17420)):
[KCrash Handler]
#6  0x0000000605730000 in ?? ()
#7  0x00007fdd0d10fe5c in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#8  0x00007fdd0d110013 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#9  0x00007fdd0d1246b9 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#10 0x00007fdd0d14ca75 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#11 0x00007fdd0d154f87 in sqlite3_step () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#12 0x00007fdcf925811c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x59e7220, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#13 0x00007fdcf9258e48 in QSQLiteResult::exec (this=0x59c7460) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#14 0x00007fdd27d58b7d in QSqlQuery::exec (this=this@entry=0x7fff5b793618) at kernel/qsqlquery.cpp:949
#15 0x00007fdd25730a46 in Digikam::DatabaseCoreBackend::exec (this=0x2631bf0, query=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1415
#16 0x00007fdd25730acc in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2631bf0, query=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1057
#17 0x00007fdd25731b70 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2631bf0, sql=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1006
#18 0x00007fdd25731bb9 in Digikam::DatabaseCoreBackend::execSql (this=0x2631bf0, sql=..., boundValue1=..., values=values@entry=0x7fff5b793660, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:903
#19 0x00007fdd250f2e2e in Digikam::AlbumDB::getSetting (this=this@entry=0x2621530, keyword=...) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:972
#20 0x00007fdd250f375c in Digikam::AlbumDB::getFilterSettings (this=0x2621530, imageFilter=imageFilter@entry=0x7fff5b7938b0, videoFilter=videoFilter@entry=0x7fff5b7938d0, audioFilter=audioFilter@entry=0x7fff5b7938c0) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:1017
#21 0x00007fdd25108eaa in Digikam::CollectionScanner::loadNameFilters (this=this@entry=0x7fff5b793ab0) at /build/buildd/digikam-4.0.0/core/libs/database/collectionscanner.cpp:408
#22 0x00007fdd251095e3 in Digikam::CollectionScanner::mainEntryPoint (this=this@entry=0x7fff5b793ab0, complete=complete@entry=false) at /build/buildd/digikam-4.0.0/core/libs/database/collectionscanner.cpp:806
#23 0x00007fdd2510bc64 in Digikam::CollectionScanner::scanFile (this=this@entry=0x7fff5b793ab0, fi=..., albumId=355, imageId=imageId@entry=48217, mode=mode@entry=Digikam::CollectionScanner::NormalScan) at /build/buildd/digikam-4.0.0/core/libs/database/collectionscanner.cpp:767
#24 0x00007fdd2510be93 in Digikam::CollectionScanner::scanFile (this=this@entry=0x7fff5b793ab0, info=..., mode=Digikam::CollectionScanner::NormalScan) at /build/buildd/digikam-4.0.0/core/libs/database/collectionscanner.cpp:762
#25 0x00000000005e315d in Digikam::ScanController::scannedInfo (this=0x260ad60, filePath=...) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:560
#26 0x00000000005343da in Digikam::KipiImageInfo::KipiImageInfo (this=0x26590d0, interface=<optimized out>, url=...) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiimageinfo.cpp:85
#27 0x000000000053d1ee in Digikam::KipiInterface::info (this=0x2cebaf0, url=...) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:175
#28 0x00007fdcd45ccd2a in setAttribute (value=..., name=..., this=0x5817710) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:85
#29 KIPIPlugins::KPImageInfo::setDescription (this=this@entry=0x7fff5b793c80, desc=...) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:159
#30 0x00007fdccc15e76b in KIPIMetadataEditPlugin::EXIFEditWidget::apply (this=0x5700cc0) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/metadataedit/exif/exifeditwidget.cpp:252
#31 0x00007fdccc15bf28 in KIPIMetadataEditPlugin::MetadataEditDialog::slotApply (this=this@entry=0x56ee4c0) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/metadataedit/plugin/metadataedit.cpp:221
#32 0x00007fdccc15cbf9 in KIPIMetadataEditPlugin::MetadataEditDialog::slotOk (this=0x56ee4c0) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/metadataedit/plugin/metadataedit.cpp:208
#33 0x00007fdd2303987a in QMetaObject::activate (sender=sender@entry=0x56ee4c0, m=m@entry=0x7fdd23e783e0 <KDialog::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#34 0x00007fdd239db6e3 in KDialog::okClicked (this=this@entry=0x56ee4c0) at ./kdialog.moc:271
#35 0x00007fdd239dbdd0 in KDialog::slotButtonClicked (this=0x56ee4c0, button=4) at ../../kdeui/dialogs/kdialog.cpp:884
#36 0x00007fdd239dd66f in KDialog::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./kdialog.moc:166
#37 0x00007fdd2303987a in QMetaObject::activate (sender=sender@entry=0x56fbc00, m=m@entry=0x7fdd23386d60 <QSignalMapper::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff5b793fb0) at kernel/qobject.cpp:3539
#38 0x00007fdd23040fbe in QSignalMapper::mapped (this=this@entry=0x56fbc00, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:114
#39 0x00007fdd230410c6 in QSignalMapper::map (this=0x56fbc00, sender=0x56ff760) at kernel/qsignalmapper.cpp:266
#40 0x00007fdd2303987a in QMetaObject::activate (sender=sender@entry=0x56ff760, m=m@entry=0x7fdd22c0d2a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff5b794120) at kernel/qobject.cpp:3539
#41 0x00007fdd22788172 in QAbstractButton::clicked (this=this@entry=0x56ff760, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#42 0x00007fdd224eba63 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x56ffcb0) at widgets/qabstractbutton.cpp:548
#43 0x00007fdd224ecbd3 in QAbstractButtonPrivate::click (this=this@entry=0x56ffcb0) at widgets/qabstractbutton.cpp:541
#44 0x00007fdd224eccbc in QAbstractButton::mouseReleaseEvent (this=0x56ff760, e=0x7fff5b794610) at widgets/qabstractbutton.cpp:1123
#45 0x00007fdd2218951a in QWidget::event (this=0x56ff760, event=0x7fff5b794610) at kernel/qwidget.cpp:8376
#46 0x00007fdd22139e2c in QApplicationPrivate::notify_helper (this=this@entry=0x233c730, receiver=receiver@entry=0x56ff760, e=e@entry=0x7fff5b794610) at kernel/qapplication.cpp:4567
#47 0x00007fdd221405dd in QApplication::notify (this=this@entry=0x7fff5b7962a0, receiver=receiver@entry=0x56ff760, e=e@entry=0x7fff5b794610) at kernel/qapplication.cpp:4110
#48 0x00007fdd23a79cca in KApplication::notify (this=0x7fff5b7962a0, receiver=0x56ff760, event=0x7fff5b794610) at ../../kdeui/kernel/kapplication.cpp:311
#49 0x00007fdd230254dd in QCoreApplication::notifyInternal (this=0x7fff5b7962a0, receiver=receiver@entry=0x56ff760, event=event@entry=0x7fff5b794610) at kernel/qcoreapplication.cpp:953
#50 0x00007fdd2213fd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#51 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x56ff760, event=event@entry=0x7fff5b794610, alienWidget=alienWidget@entry=0x56ff760, nativeWidget=nativeWidget@entry=0x56ee4c0, buttonDown=buttonDown@entry=0x7fdd22c1f318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#52 0x00007fdd221b49eb in QETWidget::translateMouseEvent (this=this@entry=0x56ee4c0, event=event@entry=0x7fff5b794990) at kernel/qapplication_x11.cpp:4634
#53 0x00007fdd221b4289 in QApplication::x11ProcessEvent (this=0x7fff5b7962a0, event=event@entry=0x7fff5b794990) at kernel/qapplication_x11.cpp:3627
#54 0x00007fdd221dbb32 in x11EventSourceDispatch (s=0x233ad00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x00007fdd1a198e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007fdd1a199048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007fdd1a1990ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007fdd230527be in QEventDispatcherGlib::processEvents (this=0x2262890, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#59 0x00007fdd221dbbe6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007fdd230240af in QEventLoop::processEvents (this=this@entry=0x7fff5b794d70, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007fdd230243a5 in QEventLoop::exec (this=this@entry=0x7fff5b794d70, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007fdd225e106c in QDialog::exec (this=0x56ee4c0) at dialogs/qdialog.cpp:562
#63 0x00007fdccc151f12 in KIPIMetadataEditPlugin::Plugin_MetadataEdit::slotEditAllMetadata (this=<optimized out>) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/metadataedit/plugin/plugin_metadataedit.cpp:182
#64 0x00007fdd2303987a in QMetaObject::activate (sender=sender@entry=0x4473db0, m=m@entry=0x7fdd22be3de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5b794f30) at kernel/qobject.cpp:3539
#65 0x00007fdd22133a62 in QAction::triggered (this=this@entry=0x4473db0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#66 0x00007fdd22135433 in QAction::activate (this=this@entry=0x4473db0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#67 0x00007fdd22563509 in QMenuPrivate::activateCausedStack (this=this@entry=0x44ce7b0, causedStack=..., action=action@entry=0x4473db0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#68 0x00007fdd22567a39 in QMenuPrivate::activateAction (this=0x44ce7b0, action=0x4473db0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#69 0x00007fdd2256b405 in QMenu::mouseReleaseEvent (this=this@entry=0x3c9afb0, e=e@entry=0x7fff5b795660) at widgets/qmenu.cpp:2372
#70 0x00007fdd23b30615 in KMenu::mouseReleaseEvent (this=0x3c9afb0, e=0x7fff5b795660) at ../../kdeui/widgets/kmenu.cpp:464
#71 0x00007fdd2218951a in QWidget::event (this=this@entry=0x3c9afb0, event=event@entry=0x7fff5b795660) at kernel/qwidget.cpp:8376
#72 0x00007fdd2256b83b in QMenu::event (this=0x3c9afb0, e=0x7fff5b795660) at widgets/qmenu.cpp:2481
#73 0x00007fdd22139e2c in QApplicationPrivate::notify_helper (this=this@entry=0x233c730, receiver=receiver@entry=0x3c9afb0, e=e@entry=0x7fff5b795660) at kernel/qapplication.cpp:4567
#74 0x00007fdd221405dd in QApplication::notify (this=this@entry=0x7fff5b7962a0, receiver=receiver@entry=0x3c9afb0, e=e@entry=0x7fff5b795660) at kernel/qapplication.cpp:4110
#75 0x00007fdd23a79cca in KApplication::notify (this=0x7fff5b7962a0, receiver=0x3c9afb0, event=0x7fff5b795660) at ../../kdeui/kernel/kapplication.cpp:311
#76 0x00007fdd230254dd in QCoreApplication::notifyInternal (this=0x7fff5b7962a0, receiver=receiver@entry=0x3c9afb0, event=event@entry=0x7fff5b795660) at kernel/qcoreapplication.cpp:953
#77 0x00007fdd2213fd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#78 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x3c9afb0, event=event@entry=0x7fff5b795660, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x3c9afb0, buttonDown=buttonDown@entry=0x7fdd22c1f318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#79 0x00007fdd221b4d1c in QETWidget::translateMouseEvent (this=this@entry=0x3c9afb0, event=event@entry=0x7fff5b7959b0) at kernel/qapplication_x11.cpp:4568
#80 0x00007fdd221b4289 in QApplication::x11ProcessEvent (this=0x7fff5b7962a0, event=event@entry=0x7fff5b7959b0) at kernel/qapplication_x11.cpp:3627
#81 0x00007fdd221dbb32 in x11EventSourceDispatch (s=0x233ad00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#82 0x00007fdd1a198e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#83 0x00007fdd1a199048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#84 0x00007fdd1a1990ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#85 0x00007fdd230527be in QEventDispatcherGlib::processEvents (this=0x2262890, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#86 0x00007fdd221dbbe6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#87 0x00007fdd230240af in QEventLoop::processEvents (this=this@entry=0x7fff5b795d80, flags=...) at kernel/qeventloop.cpp:149
#88 0x00007fdd230243a5 in QEventLoop::exec (this=this@entry=0x7fff5b795d80, flags=...) at kernel/qeventloop.cpp:204
#89 0x00007fdd23029b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#90 0x00007fdd2213837c in QApplication::exec () at kernel/qapplication.cpp:3828
#91 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 355903, bug 352313, bug 351521, bug 351374, bug 350130.

Reported using DrKonqi
Comment 1 caulier.gilles 2015-11-26 17:13:08 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2020-07-26 12:39:44 UTC
Fixed with #329697