Bug 286133 - digikam crashed writing geo tags
Summary: digikam crashed writing geo tags
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Workflow (show other bugs)
Version: 2.3.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 20:06 UTC by René Fritz
Modified: 2020-08-29 15:09 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (19.56 KB, text/plain)
2012-05-16 15:32 UTC, Mauro Catarzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Fritz 2011-11-08 20:06:10 UTC
Application: digikam (2.3.0)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic x86_64
Distribution: Ubuntu 11.10

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

I've edited geo tags/locations. This worked a dozen times and for no specific reason digikam crashed while writing the geo tags to the files (jpg). There were also cr2 raw files in the list but that wasn't a problem before - just a message that data couldn't be written into the files.

This happend after ~2 hours. 

I restarted digikam and the geo location is displayed correctly to the possition I just added to the files. No idea if the location is really written into the files.

kubuntu
kde 2.7.3
digikam package: 2:2.3.0-oneiric~ppa1

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb00d18ba20 (LWP 5013))]

Thread 10 (Thread 0x7fafea78e700 (LWP 5014)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb0076821ab in wait (time=18446744073709551615, this=0x10d6de0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x10c04b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005c8400 in ?? ()
#4  0x00007fb007681d05 in QThreadPrivate::start (arg=0x110c1a0) at thread/qthread_unix.cpp:331
#5  0x00007fb0022a8efc in start_thread (arg=0x7fafea78e700) at pthread_create.c:304
#6  0x00007fb00692489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fafe9f8d700 (LWP 5015)):
#0  0x00007fb006918773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fafffd33f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fafffd34429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb007793f3e in QEventDispatcherGlib::processEvents (this=0x10c30a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fb007767cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb007767ef7 in QEventLoop::exec (this=0x7fafe9f8cb30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fb00767f27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fb00774acbf in QInotifyFileSystemWatcherEngine::run (this=0x105ffc0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb007681d05 in QThreadPrivate::start (arg=0x105ffc0) at thread/qthread_unix.cpp:331
#9  0x00007fb0022a8efc in start_thread (arg=0x7fafe9f8d700) at pthread_create.c:304
#10 0x00007fb00692489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fafe978c700 (LWP 5017)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb0076821ab in wait (time=18446744073709551615, this=0x120c060) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x11f4d18, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb00aa55a67 in ?? () from /usr/lib/libdigikamcore.so.2
#4  0x00007fb007681d05 in QThreadPrivate::start (arg=0x11f4d00) at thread/qthread_unix.cpp:331
#5  0x00007fb0022a8efc in start_thread (arg=0x7fafe978c700) at pthread_create.c:304
#6  0x00007fb00692489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fafd9375700 (LWP 5018)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fafd9374850 in ?? ()
#2  0x00007fff159ff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x7fafaef77700 (LWP 5545)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fafaef768a0 in ?? ()
#2  0x00007fff159ff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x7fafae776700 (LWP 6729)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fafae775850 in ?? ()
#2  0x00007fff159ff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7fafbffff700 (LWP 7986)):
#0  0x00007fafffd3310d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fafffd33dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fafffd34429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb007793f3e in QEventDispatcherGlib::processEvents (this=0xed74b20, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fb007767cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb007767ef7 in QEventLoop::exec (this=0x7fafbfffeb30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fb00767f27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fb00774acbf in QInotifyFileSystemWatcherEngine::run (this=0x10306000) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb007681d05 in QThreadPrivate::start (arg=0x10306000) at thread/qthread_unix.cpp:331
#9  0x00007fb0022a8efc in start_thread (arg=0x7fafbffff700) at pthread_create.c:304
#10 0x00007fb00692489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fafaffff700 (LWP 12010)):
#0  0x00007fb00687dee1 in __GI_getenv (name=0x7fb007cf3346 "NGUAGE") at getenv.c:90
#1  0x00007fb00767830c in qgetenv (varName=<optimized out>) at global/qglobal.cpp:2578
#2  0x00007fb007c5b59c in KCatalogPrivate::setupGettextEnv (this=0x5dec680) at ../../kdecore/localization/kcatalog.cpp:179
#3  0x00007fb007c5c0c5 in KCatalog::translateStrict (this=0x5dec780, msgctxt=0x7fafe873b6b4 "QSQLiteResult", msgid=0x7fafe873b771 "Unable to fetch row") at ../../kdecore/localization/kcatalog.cpp:262
#4  0x00007fb007c7183c in KLocalePrivate::translateRawFrom (this=<optimized out>, catname=0x0, msgctxt=0x7fafe873b6b4 "QSQLiteResult", msgid=0x7fafe873b771 "Unable to fetch row", msgid_plural=0x0, n=0, language=0x7fafafffdd70, translation=0x7fafafffdd60) at ../../kdecore/localization/klocale_kde.cpp:957
#5  0x00007fb007c6e898 in KLocalePrivate::translateQt (this=0x1119be0, context=<optimized out>, sourceText=0x7fafe873b771 "Unable to fetch row", comment=0x0) at ../../kdecore/localization/klocale_kde.cpp:1022
#6  0x00007fb007c68311 in KLocale::translateQt (this=<optimized out>, context=<optimized out>, sourceText=<optimized out>, comment=<optimized out>) at ../../kdecore/localization/klocale.cpp:199
#7  0x00007fb007bea20c in KDETranslator::translate (this=<optimized out>, context=0x7fafe873b6b4 "QSQLiteResult", sourceText=0x7fafe873b771 "Unable to fetch row", message=<optimized out>) at ../../kdecore/kernel/kglobal_p.h:52
#8  0x00007fb007785bfc in QTranslator::translate (this=<optimized out>, context=<optimized out>, sourceText=<optimized out>, disambiguation=<optimized out>, n=<optimized out>) at kernel/qtranslator.cpp:806
#9  0x00007fb00776915e in QCoreApplication::translate (context=0x7fafe873b6b4 "QSQLiteResult", sourceText=0x7fafe873b771 "Unable to fetch row", disambiguation=0x0, encoding=QCoreApplication::CodecForTr, n=-1) at kernel/qcoreapplication.cpp:1823
#10 0x00007fb00776952f in QCoreApplication::translate (context=<optimized out>, sourceText=<optimized out>, disambiguation=<optimized out>, encoding=<optimized out>) at kernel/qcoreapplication.cpp:1738
#11 0x00007fafe8739c74 in QSQLiteResultPrivate::fetchNext (this=0x7faf8d472e80, values=<optimized out>, idx=0, initialFetch=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:276
#12 0x00007fafe873aacf in QSQLiteResult::exec (this=0x7faf9f0fdbc0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:410
#13 0x00007fb00cdb5135 in QSqlQuery::exec (this=0x7fafafffe398) at kernel/qsqlquery.cpp:943
#14 0x00007fb00a9ea301 in Digikam::DatabaseCoreBackend::exec(Digikam::SqlQuery&) () from /usr/lib/libdigikamcore.so.2
#15 0x00007fb00a9ea4eb in Digikam::DatabaseCoreBackend::execQuery(Digikam::SqlQuery&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib/libdigikamcore.so.2
#16 0x00007fb00a9ea55a in Digikam::DatabaseCoreBackend::execQuery(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib/libdigikamcore.so.2
#17 0x00007fb00a9ec325 in Digikam::DatabaseCoreBackend::execSql(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QList<QVariant>*, QVariant*) () from /usr/lib/libdigikamcore.so.2
#18 0x00007fb00a9f7a13 in Digikam::ThumbnailDB::insertThumbnail(Digikam::DatabaseThumbnailInfo const&, QVariant*) () from /usr/lib/libdigikamcore.so.2
#19 0x00007fb00aa2ccb8 in Digikam::ThumbnailCreator::storeInDatabase(Digikam::ThumbnailInfo const&, Digikam::ThumbnailImage const&) const () from /usr/lib/libdigikamcore.so.2
#20 0x00007fb00aa32399 in Digikam::ThumbnailCreator::load(QString const&, QRect const&, bool) const () from /usr/lib/libdigikamcore.so.2
#21 0x00007fb00aa32df2 in Digikam::ThumbnailCreator::load(QString const&) const () from /usr/lib/libdigikamcore.so.2
#22 0x00007fb00aa423d7 in ?? () from /usr/lib/libdigikamcore.so.2
#23 0x00007fb00aa12446 in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.2
#24 0x00007fb00aa5716e in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib/libdigikamcore.so.2
#25 0x00007fb007676795 in QThreadPoolThread::run (this=0x54f28c0) at concurrent/qthreadpool.cpp:106
#26 0x00007fb007681d05 in QThreadPrivate::start (arg=0x54f28c0) at thread/qthread_unix.cpp:331
#27 0x00007fb0022a8efc in start_thread (arg=0x7fafaffff700) at pthread_create.c:304
#28 0x00007fb00692489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fafad8fe700 (LWP 12016)):
#0  0x00007fb002c293b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007fb002c27ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007fb0022a8efc in start_thread (arg=0x7fafad8fe700) at pthread_create.c:304
#3  0x00007fb00692489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb00d18ba20 (LWP 5013)):
[KCrash Handler]
#6  0x00007fb008161b80 in size (this=0x4cc9970) at ../../include/QtCore/../../src/corelib/tools/qlist.h:94
#7  count (this=0x4cc9970) at ../../include/QtCore/../../src/corelib/tools/qlist.h:267
#8  QActionPrivate::setShortcutEnabled (this=0x4cc9880, enable=false, map=...) at kernel/qaction.cpp:190
#9  0x00007fb008162add in QAction::setEnabled (this=<optimized out>, b=false) at kernel/qaction.cpp:1122
#10 0x00007fb00859bd2b in QMenu::changeEvent (this=0x15dbd430, e=0x7fff15846050) at widgets/qmenu.cpp:2325
#11 0x00007fb0081b977f in QWidget::event (this=0x15dbd430, event=0x7fff15846050) at kernel/qwidget.cpp:8585
#12 0x00007fb0085a47fb in QMenu::event (this=0x15dbd430, e=0x7fff15846050) at widgets/qmenu.cpp:2405
#13 0x00007fb008169424 in notify_helper (e=0x7fff15846050, receiver=0x15dbd430, this=0xe91100) at kernel/qapplication.cpp:4486
#14 QApplicationPrivate::notify_helper (this=0xe91100, receiver=0x15dbd430, e=0x7fff15846050) at kernel/qapplication.cpp:4458
#15 0x00007fb00816e291 in QApplication::notify (this=0x7fff15846fe0, receiver=0x15dbd430, e=0x7fff15846050) at kernel/qapplication.cpp:4365
#16 0x00007fb008e7d126 in KApplication::notify (this=0x7fff15846fe0, receiver=0x15dbd430, event=0x7fff15846050) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007fb007768afc in QCoreApplication::notifyInternal (this=0x7fff15846fe0, receiver=0x15dbd430, event=0x7fff15846050) at kernel/qcoreapplication.cpp:787
#18 0x00007fb0081bb523 in sendEvent (event=0x7fff15846050, receiver=0x15dbd430) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QWidgetPrivate::setEnabled_helper (this=<optimized out>, enable=false) at kernel/qwidget.cpp:3374
#20 0x00007fb0081bb47c in QWidgetPrivate::setEnabled_helper (this=0xcdbabc0, enable=false) at kernel/qwidget.cpp:3348
#21 0x00007fb0081bb47c in QWidgetPrivate::setEnabled_helper (this=0x25da0b0, enable=false) at kernel/qwidget.cpp:3348
#22 0x00007fb0081bb47c in QWidgetPrivate::setEnabled_helper (this=0x25d9b30, enable=false) at kernel/qwidget.cpp:3348
#23 0x00007fb0081bb47c in QWidgetPrivate::setEnabled_helper (this=0x25d9430, enable=false) at kernel/qwidget.cpp:3348
#24 0x00007fb00aaf6240 in Digikam::ImagePropertiesGPSTab::setCurrentURL(KUrl const&) () from /usr/lib/libdigikamcore.so.2
#25 0x000000000049f6eb in ?? ()
#26 0x000000000049cb1a in ?? ()
#27 0x000000000049e4db in ?? ()
#28 0x000000000064d1c7 in ?? ()
#29 0x000000000064f67c in ?? ()
#30 0x00007fb00777beba in QMetaObject::activate (sender=0x2a82820, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#31 0x00007fb00777f789 in QObject::event (this=0x2a82820, e=<optimized out>) at kernel/qobject.cpp:1181
#32 0x00007fb008169424 in notify_helper (e=0x7fff15846bd0, receiver=0x2a82820, this=0xe91100) at kernel/qapplication.cpp:4486
#33 QApplicationPrivate::notify_helper (this=0xe91100, receiver=0x2a82820, e=0x7fff15846bd0) at kernel/qapplication.cpp:4458
#34 0x00007fb00816e291 in QApplication::notify (this=0x7fff15846fe0, receiver=0x2a82820, e=0x7fff15846bd0) at kernel/qapplication.cpp:4365
#35 0x00007fb008e7d126 in KApplication::notify (this=0x7fff15846fe0, receiver=0x2a82820, event=0x7fff15846bd0) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x00007fb007768afc in QCoreApplication::notifyInternal (this=0x7fff15846fe0, receiver=0x2a82820, event=0x7fff15846bd0) at kernel/qcoreapplication.cpp:787
#37 0x00007fb007795d62 in sendEvent (event=0x7fff15846bd0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QTimerInfoList::activateTimers (this=0xe96fd0) at kernel/qeventdispatcher_unix.cpp:603
#39 0x00007fb007793514 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#40 0x00007fafffd33a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fafffd34258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fafffd34429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fb007793ed6 in QEventDispatcherGlib::processEvents (this=0xe36fc0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007fb00821107e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007fb007767cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007fb007767ef7 in QEventLoop::exec (this=0x7fff15846e60, flags=...) at kernel/qeventloop.cpp:201
#47 0x00007fb00776c789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#48 0x000000000048b6dd in ?? ()
#49 0x00007fb00686430d in __libc_start_main (main=0x48a5f0, argc=5, ubp_av=0x7fff15847808, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff158477f8) at libc-start.c:226
#50 0x000000000048ceb5 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2011-11-09 08:28:56 UTC
The backtrace do not show any digiKam source code. Can you reproduce the crash with a better backtrace. Try to run digiKam in GDB and get backtrace with "bt" command when it come.

http://www.digikam.org/drupal/contrib

Gilles Caulier
Comment 2 René Fritz 2011-11-11 17:46:47 UTC
Unfortunately I didn't have debug symbols installed. I try to reproduce the crash but it didn't happen again until now.
Comment 3 Mauro Catarzi 2012-05-16 15:32:21 UTC
Created attachment 71143 [details]
New crash information added by DrKonqi

digikam (2.5.0) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:
I was closing geo tags.
OS Version: Linux 3.2.0-24-generic-tuxonice #37~ppa3-Ubuntu SMP Sat Apr 28 13:01:35 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux.

-- Backtrace (Reduced):
#6  0x00007f8cc61ec150 in size (this=0x57d0d48) at ../../include/QtCore/../../src/corelib/tools/qlist.h:98
#7  count (this=0x57d0d48) at ../../include/QtCore/../../src/corelib/tools/qlist.h:280
#8  QActionPrivate::setShortcutEnabled (this=0x57d0c60, enable=false, map=...) at kernel/qaction.cpp:190
#9  0x00007f8cc61ed0ad in QAction::setEnabled (this=<optimized out>, b=false) at kernel/qaction.cpp:1122
#10 0x00007f8cc663dcbb in QMenu::changeEvent (this=0x5a4df40, e=0x7fffc4c9cba0) at widgets/qmenu.cpp:2389
Comment 4 caulier.gilles 2020-08-29 15:09:32 UTC
Not reproducible with 7.1.0