[Digikam-users] Digikam 3.5 is crashing

Peter Albrecht peter at crazymonkeys.de
Sat Dec 21 08:53:43 GMT 2013


Hello Jim,

one reason for missing debug symbols under gentoo might be
the stripping, portage does at default.

Just adding "-ggdb" to your CFLAGS is not enough. You also
have to add "nostrip" or "splitdebug" to your FEATURES.

For details see:
> http://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces#Stripping

Regards,
	Peter

On 20.12.2013 18:50, Jim Dory wrote:
> Thanks for info. I've compiled it with the debug use flag so will have to
> research it a bit to see how to get more debugging. Appreciate your work!
> cheers, Jim
> 
> 
> On Fri, Dec 20, 2013 at 12:20 AM, Gilles Caulier
> <caulier.gilles at gmail.com>wrote:
> 
>> It crash in Sqlite Qt driver. There is no reason for that, excepted if
>> binary compatibility is broken due to a recent update of system
>> package... It's the eternal problem under Linux if packager don't take
>> a care enough...
>>
>> Note : your digiKam is not compiled with debug symbols. There is no
>> source code from digiKam printed in GDB...
>>
>> Gilles Caulier
>>
>> 2013/12/20 Jim Dory <james at dorydesign.com>:
>>> I have been very unstable since 3.5. I'm running Gentoo and unstable
>>> settings  ( ~amd_64) but haven't had any problem until this latest
>> digikam
>>> version.  KDE-4.12
>>>
>>> I can work several minutes and then it crashes. Not reproducible other
>> than
>>> just using it for a bit - nothing in particular seems to be the cause.
>>> Program just disappears - closes completely.
>>>
>>> I recompiled it with the debug use flag (compiled in debug) and I'll
>> give a
>>> little backtrace when it crashed - although this time it didn't just
>> close
>>> like usual.. but maybe that was from running it with gdb. This time it
>> just
>>> froze, and I see I had a seg fault. At the time I had just clicked on an
>>> image thumbnail in an album.
>>>
>>> I've also had problems with it not properly reading the thumbnails. I can
>>> fix a few of them by running "rebuild the thumbnails in current album"
>> but
>>> it won't fix them all and sometimes they revert to other image
>> thumbnails.
>>>
>>> I'm running the albums on a network attached storage, though the
>> database is
>>> on my home partition.
>>>
>>> Here's my component list followed by the 'bt':  (hope this helps - let me
>>> know what else you might want)
>>>
>>> digiKam version 3.5.0
>>> Demosaic GPL2 pack support: Yes
>>> Demosaic GPL3 pack support: Yes
>>> Exiv2 can write to Jp2: Yes
>>> Exiv2 can write to Jpeg: Yes
>>> Exiv2 can write to Pgf: Yes
>>> Exiv2 can write to Png: Yes
>>> Exiv2 can write to Tiff: Yes
>>> Exiv2 supports XMP metadata: Yes
>>> LibCImg: 130
>>> LibEigen: 3.1.3
>>> LibExiv2: 0.23
>>> LibJPEG: 62
>>> LibJasper: 1.900.1
>>> LibKDE: 4.12.0
>>> LibKExiv2: 2.3.1
>>> LibKGeoMap: 2.0.0
>>> LibKdcraw: 2.4.2
>>> LibLCMS: 2050
>>> LibLensFun: 0.2.8-0
>>> LibPGF: 6.12.27 - external shared library
>>> LibPNG: 1.6.7
>>> LibQt: 4.8.5
>>> LibRaw: 0.15.4
>>> LibTIFF: LIBTIFF, Version 4.0.3 Copyright (c) 1988-1996 Sam Leffler
>>> Copyright (c) 1991-1996 Silicon Graphics, Inc.
>>> Marble Widget: 0.17.0 (stable version)
>>> Parallelized PGF codec: No
>>> Parallelized demosaicing: Yes
>>> RawSpeed codec support: Yes
>>> Database backend: QSQLITE
>>> Kipi-Plugins: 3.5.0
>>> LibKface: 3.0.0
>>> LibKipi: 2.1.0
>>> LibOpenCV: 2.4.6.1
>>>
>>>
>>>
>>> digikam(13284)/digikam (core) Digikam::DMetadata::getImageHistory:
>> Loading
>>> image history  ""
>>> [Thread 0x7fffb6b02700 (LWP 13427) exited]
>>> [Thread 0x7fff96c89700 (LWP 13428) exited]
>>> [Thread 0x7fffb7677700 (LWP 13429) exited]
>>>
>>> Program received signal SIGSEGV, Segmentation fault.
>>> 0x0000000000000000 in ?? ()
>>> (gdb) bt
>>> #0  0x0000000000000000 in ?? ()
>>> #1  0x00007fffe096fa9e in ?? () from /usr/lib64/libsqlite3.so.0
>>> #2  0x00007fffe096fe30 in ?? () from /usr/lib64/libsqlite3.so.0
>>> #3  0x00007fffe0994bbd in ?? () from /usr/lib64/libsqlite3.so.0
>>> #4  0x00007fffe099d6c5 in ?? () from /usr/lib64/libsqlite3.so.0
>>> #5  0x00007fffe09a5ed6 in sqlite3_step () from /usr/lib64/libsqlite3.so.0
>>> #6  0x00007fffd4a52b4f in ?? () from
>>> /usr/lib64/qt4/plugins/sqldrivers/libqsqlite.so
>>> #7  0x00007fffd4a538ef in ?? () from
>>> /usr/lib64/qt4/plugins/sqldrivers/libqsqlite.so
>>> #8  0x00007ffff7bac687 in QSqlQuery::exec() () from
>>> /usr/lib64/qt4/libQtSql.so.4
>>> #9  0x00007ffff5511c86 in
>>> Digikam::DatabaseCoreBackend::exec(Digikam::SqlQuery&) () from
>>> /usr/lib64/libdigikamcore.so.3
>>> #10 0x00007ffff5511d0c in
>>> Digikam::DatabaseCoreBackend::execQuery(Digikam::SqlQuery&, QVariant
>> const&)
>>> () from /usr/lib64/libdigikamcore.so.3
>>> #11 0x00007ffff5512b80 in Digikam::DatabaseCoreBackend::execQuery(QString
>>> const&, QVariant const&) () from /usr/lib64/libdigikamcore.so.3
>>> #12 0x00007ffff5512bc9 in Digikam::DatabaseCoreBackend::execSql(QString
>>> const&, QVariant const&, QList<QVariant>*, QVariant*) () from
>>> /usr/lib64/libdigikamcore.so.3
>>> #13 0x00007ffff4e7fb6e in Digikam::AlbumDB::getSetting(QString const&) ()
>>> from /usr/lib64/libdigikamdatabase.so.3
>>> #14 0x00007ffff4e804a9 in
>> Digikam::AlbumDB::getFilterSettings(QStringList*,
>>> QStringList*, QStringList*) () from /usr/lib64/libdigikamdatabase.so.3
>>> #15 0x000000000065f9a5 in ?? ()
>>> #16 0x00000000005442e6 in ?? ()
>>> #17 0x0000000000543c54 in ?? ()
>>> #18 0x00007fff9415ae34 in ?? () from
>>> /usr/lib64/kde4/kipiplugin_advancedslideshow.so
>>> #19 0x00007ffff2b5b63f in QMetaObject::activate(QObject*, QMetaObject
>>> const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
>>> #20 0x00007ffff5eb5012 in KIPI::Interface::currentAlbumChanged(bool) ()
>> from
>>> /usr/lib64/libkipi.so.11
>>> #21 0x00007ffff2b5b63f in QMetaObject::activate(QObject*, QMetaObject
>>> const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
>>> #22 0x00000000005bb724 in ?? ()
>>> #23 0x00000000005e39d5 in ?? ()
>>> #24 0x00007ffff35bf75a in QWidget::event(QEvent*) () from
>>> /usr/lib64/qt4/libQtGui.so.4
>>> #25 0x00007ffff397925e in QFrame::event(QEvent*) () from
>>> /usr/lib64/qt4/libQtGui.so.4
>>> #26 0x00007ffff3a9086b in QAbstractItemView::viewportEvent(QEvent*) ()
>> from
>>> /usr/lib64/qt4/libQtGui.so.4
>>> #27 0x00007ffff3ad0816 in QTreeView::viewportEvent(QEvent*) () from
>>> /usr/lib64/qt4/libQtGui.so.4
>>> #28 0x00000000005dad40 in ?? ()
>>> #29 0x00007ffff2b46f65 in
>>> QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*,
>> QEvent*) ()
>>> from /usr/lib64/qt4/libQtCore.so.4
>>> #30 0x00007ffff3571b6c in QApplicationPrivate::notify_helper(QObject*,
>>> QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
>>> #31 0x00007ffff3574e31 in QApplication::notify(QObject*, QEvent*) () from
>>> /usr/lib64/qt4/libQtGui.so.4
>>> #32 0x00007ffff42cf3aa in KApplication::notify(QObject*, QEvent*) () from
>>> /usr/lib64/libkdeui.so.5
>>> #33 0x00007ffff2b46ded in QCoreApplication::notifyInternal(QObject*,
>>> QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
>>> #34 0x00007ffff3577ce2 in QApplicationPrivate::sendMouseEvent(QWidget*,
>>> QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
>>> from /usr/lib64/qt4/libQtGui.so.4
>>> #35 0x00007ffff35ebe9c in ?? () from /usr/lib64/qt4/libQtGui.so.4
>>> #36 0x00007ffff35ea7e1 in QApplication::x11ProcessEvent(_XEvent*) () from
>>> /usr/lib64/qt4/libQtGui.so.4
>>> #37 0x00007ffff36133e2 in ?? () from /usr/lib64/qt4/libQtGui.so.4
>>> #38 0x00007fffeaf5fdf4 in g_main_context_dispatch () from
>>> /usr/lib64/libglib-2.0.so.0
>>> #39 0x00007fffeaf60164 in ?? () from /usr/lib64/libglib-2.0.so.0
>>> #40 0x00007fffeaf6022c in g_main_context_iteration () from
>>> /usr/lib64/libglib-2.0.so.0
>>> #41 0x00007ffff2b75884 in
>>>
>> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
>>> () from /usr/lib64/qt4/libQtCore.so.4
>>> #42 0x00007ffff36134c6 in ?? () from /usr/lib64/qt4/libQtGui.so.4
>>> #43 0x00007ffff2b45a2f in
>>> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
>>> /usr/lib64/qt4/libQtCore.so.4
>>> #44 0x00007ffff2b45d10 in
>>> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
>>> /usr/lib64/qt4/libQtCore.so.4
>>> #45 0x00007ffff2b4afc8 in QCoreApplication::exec() () from
>>> /usr/lib64/qt4/libQtCore.so.4
>>> #46 0x0000000000497a3c in ?? ()
>>> #47 0x00007ffff1b9bb8d in __libc_start_main () from /lib64/libc.so.6
>>> #48 0x000000000049a151 in _start ()
>>> (gdb) quit
>>> A debugging session is active.
>>>
>>>         Inferior 1 [process 13284] will be killed.
>>>
>>>
>>> _______________________________________________
>>> Digikam-users mailing list
>>> Digikam-users at kde.org
>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
> 
> 
> 
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
> 



More information about the Digikam-users mailing list