[Digikam-users] Digikam 3.5 is crashing
Jim Dory
james at dorydesign.com
Sun Dec 22 09:39:50 GMT 2013
Thanks Peter for the help. I've tried it again and it output a bit more:
Program received signal SIGSEGV, Segmentation fault.
0x0000007f0000007f in ?? ()
(gdb) bt
#0 0x0000007f0000007f in ?? ()
#1 0x00007fffe09b9a9e in ?? () from /usr/lib64/libsqlite3.so.0
#2 0x00007fffe09b9e30 in ?? () from /usr/lib64/libsqlite3.so.0
#3 0x00007fffe09debbd in ?? () from /usr/lib64/libsqlite3.so.0
#4 0x00007fffe09e76c5 in ?? () from /usr/lib64/libsqlite3.so.0
#5 0x00007fffe09efed6 in sqlite3_step () from /usr/lib64/libsqlite3.so.0
#6 0x00007fffd4a9cb4f in ?? () from
/usr/lib64/qt4/plugins/sqldrivers/libqsqlite.so
#7 0x00007fffd4a9d8ef in ?? () from
/usr/lib64/qt4/plugins/sqldrivers/libqsqlite.so
#8 0x00007ffff7bac687 in QSqlQuery::exec() () from
/usr/lib64/qt4/libQtSql.so.4
#9 0x00007ffff55545e6 in Digikam::DatabaseCoreBackend::exec
(this=0xe3fe70, query=...)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#10 0x00007ffff555466c in Digikam::DatabaseCoreBackend::execQuery
(this=this at entry=0xe3fe70, query=..., boundValue1=...)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#11 0x00007ffff5555760 in Digikam::DatabaseCoreBackend::execQuery
(this=this at entry=0xe3fe70, sql=..., boundValue1=...)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#12 0x00007ffff55557a9 in Digikam::DatabaseCoreBackend::execSql
(this=0xe3fe70, sql=..., boundValue1=..., values=values at entry=0x7fffffffbbd0,
lastInsertId=lastInsertId at entry=0x0)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#13 0x00007ffff4edbbce in Digikam::AlbumDB::getSetting
(this=this at entry=0xde85a0,
keyword=...)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#14 0x00007ffff4edc4fc in Digikam::AlbumDB::getFilterSettings
(this=0xde85a0, imageFilter=imageFilter at entry=0x7fffffffbe20,
videoFilter=videoFilter at entry=0x7fffffffbe40,
audioFilter=audioFilter at entry=0x7fffffffbe30) at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/libs/database/albumdb.cpp:1017
#15 0x00007ffff4ef24ec in Digikam::CollectionScanner::loadNameFilters
(this=this at entry=0x7fffffffc1a0)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/libs/database/collectionscanner.cpp:408
#16 0x00007ffff4ef2c13 in Digikam::CollectionScanner::mainEntryPoint
(this=this at entry=0x7fffffffc1a0, complete=complete at entry=false)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/libs/database/collectionscanner.cpp:806
#17 0x00007ffff4ef5284 in Digikam::CollectionScanner::scanFile
(this=this at entry=0x7fffffffc1a0, fi=..., albumId=albumId at entry=847,
imageId=imageId at entry=-1,
mode=mode at entry=Digikam::CollectionScanner::NormalScan) at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/libs/database/collectionscanner.cpp:767
#18 0x00007ffff4ef929d in Digikam::CollectionScanner::scanFile
(this=this at entry=0x7fffffffc1a0, albumRoot=..., album=..., fileName=...,
mode=mode at entry=Digikam::CollectionScanner::NormalScan) at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/libs/database/collectionscanner.cpp:749
#19 0x00007ffff4ef975b in Digikam::CollectionScanner::scanFile
(this=this at entry=0x7fffffffc1a0, filePath=..., mode=mode at entry
=Digikam::CollectionScanner::NormalScan)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/libs/database/collectionscanner.cpp:718
#20 0x00000000005e2ab0 in Digikam::ScanController::scannedInfo
(this=0xe01b90, filePath=...)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/digikam/database/scancontroller.cpp:555
#21 0x00000000004a2893 in Digikam::ImageWindow::saveAsIsComplete
(this=0x3bbdc40)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/utilities/imageeditor/main/imagewindow.cpp:1013
#22 0x00007ffff5692acc in Digikam::EditorWindow::movingSaveFileFinished
(this=this at entry=0x3bbdc40, successful=successful at entry=true)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/utilities/imageeditor/editor/editorwindow.cpp:1803
#23 0x00007ffff56a092b in Digikam::EditorWindow::moveFile (this=this at entry
=0x3bbdc40)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/utilities/imageeditor/editor/editorwindow.cpp:2627
#24 0x00007ffff56a0f98 in Digikam::EditorWindow::slotSavingFinished
(this=0x3bbdc40, filename=..., success=<optimized out>)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/utilities/imageeditor/editor/editorwindow.cpp:1765
#25 0x00007ffff2bb663f in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007ffff56005d6 in Digikam::Canvas::signalSavingFinished
(this=<optimized out>, _t1=..., _t2=true)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0_build/digikam/canvas.moc:298
#27 0x00007ffff2bb663f in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007ffff56680b6 in Digikam::EditorCore::signalImageSaved
(this=this at entry=0x3aba880, _t1=..., _t2=_t2 at entry=true)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0_build/digikam/editorcore.moc:197
#29 0x00007ffff56702a3 in Digikam::EditorCore::slotImageSaved
(this=0x3aba880, filePath=..., success=<optimized out>)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/utilities/imageeditor/core/editorcore.cpp:451
#30 0x00007ffff2bbb9fe in QObject::event(QEvent*) () from
/usr/lib64/qt4/libQtCore.so.4
#31 0x00007ffff35ccb8c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007ffff35cf5bf in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/qt4/libQtGui.so.4
#33 0x00007ffff432a3aa in KApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libkdeui.so.5
#34 0x00007ffff2ba1ded in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007ffff2ba5420 in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
from /usr/lib64/qt4/libQtCore.so.4
#36 0x00007ffff2bd0713 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#37 0x00007fffeafacdf4 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#38 0x00007fffeafad164 in ?? () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fffeafad22c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#40 0x00007ffff2bd0884 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007ffff366e4c6 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#42 0x00007ffff2ba0a2f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#43 0x00007ffff2ba0d10 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#44 0x00007ffff2ba5fc8 in QCoreApplication::exec() () from
/usr/lib64/qt4/libQtCore.so.4
#45 0x0000000000497988 in main (argc=<optimized out>, argv=<optimized out>)
at
/var/tmp/portage/media-gfx/digikam-3.5.0/work/digikam-3.5.0/core/digikam/main/main.cpp:235
On Fri, Dec 20, 2013 at 11:53 PM, Peter Albrecht <peter at crazymonkeys.de>wrote:
> 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
> >
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20131222/429f5694/attachment.html>
More information about the Digikam-users
mailing list