Bug 381916 - Digikam crash when add person names
Summary: Digikam crash when add person names
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 5.6.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-02 15:45 UTC by Martin
Modified: 2020-08-10 10:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2017-07-02 15:45:58 UTC
Hello,

in my digikam 5.6 crashes, when I try to set to a detected person a Name. In the terminal the following text shows up:

digikam: tiffcomposite.cpp:749: virtual Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr): Zusicherung »mn_« nicht erfüllt.
digikam.facedb: Checkout compressed histogram  176  for identity  61  with size  9227
Abgebrochen (Speicherabzug geschrieben)

I'm using Antergos with gnome 3.24.2

Best regards,

Martin
Comment 1 caulier.gilles 2017-07-02 15:49:44 UTC
Not sure, but it sound like it crash in Exiv2.

Running digiKam into GDB to get a backtrace will help. Follow instructions given here :

https://www.digikam.org/contribute/

Gilles Caulier
Comment 2 Martin 2017-07-02 16:42:43 UTC
Thank you Gilles!

(gdb) catch throw
Catchpoint 1 (throw)
(gdb) run
Starting program: /usr/bin/digikam 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffbd3c5700 (LWP 21293)]
AudioResampler::Register(..., FFmpeg)
Singleton 0x64adf0 created...
AudioResampler::Register(..., Libav)
AudioOutputBackend::Register(..., OpenAL)
Singleton 0x64af40 created...
AudioOutputBackend::Register(..., Pulse)
VideoDecoder::Register(..., CUDA)
Singleton 0x64b4f0 created...
VideoDecoder::Register(..., VAAPI)
VideoRenderer::Register(..., OpenGLWindow)
Singleton 0x64bb30 created...
SubtitleProcessor::Register(..., LibASS)
Singleton 0x64bc40 created...
SubtitleProcessor::Register(..., FFmpeg)
AudioDecoder::Register(..., FFmpeg)
Singleton 0x64bfc0 created...
AudioEncoder::Register(..., FFmpeg)
Singleton 0x64c090 created...
ImageConverter::Register(..., FFmpeg)
Singleton 0x64c1a0 created...
MediaIO::Register(..., QIODevice)
Singleton 0x64c480 created...
MediaIO::Register(..., QFile)
AudioOutputBackend::Register(..., null)
VideoDecoder::Register(..., FFmpeg)
VideoEncoder::Register(..., FFmpeg)
Singleton 0x64c6d0 created...
registerRenderers...........
VideoRenderer::Register(..., OpenGLWidget)
VideoRenderer::Register(..., QGLWidget2)
VideoRenderer::Register(..., Widget)
VideoRenderer::Register(..., XVideo)
VideoRenderer::Register(..., X11)
VideoRenderer::Register(..., GraphicsItem)
[New Thread 0x7fffbac58700 (LWP 21294)]
qt5ct: using qt5ct plugin
digikam.general: AlbumWatch use QFileSystemWatcher
[New Thread 0x7fffb8adc700 (LWP 21295)]
[New Thread 0x7fffb2170700 (LWP 21296)]
digikam.general: Database Parameters:
   Type:                     "QSQLITE"
   DB Core Name:             "/run/media/martin/Martin1TB/FOTOS/01_Digikam Database/digikam4.db"
   DB Thumbs Name:           "/run/media/martin/Martin1TB/FOTOS/01_Digikam Database/thumbnails-digikam.db"
   DB Face Name:             "/run/media/martin/Martin1TB/FOTOS/01_Digikam Database/recognition.db"
   Connect Options:          ""
   Host Name:                ""
   Host port:                -1
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 ""
   Password:                 ""

[New Thread 0x7fffb196f700 (LWP 21297)]
[Thread 0x7fffb196f700 (LWP 21297) exited]
digikam.dbengine: Loading SQL code from config file "/usr/share/digikam/database/dbconfig.xml"
digikam.dbengine: Checking XML version ID => expected:  3  found:  3
digikam.coredb: Core database: running schema update
digikam.coredb: Core database: have a structure version  8
digikam.coredb: Core database: makeUpdates  8  to  8
digikam.database: Creating new Location  "/FOTOS"  uuid  "volumeid:?uuid=0653b79e268f5ffd"
digikam.database: location for  "/run/media/martin/Martin1TB/FOTOS"  is available  true
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: TotalRam:  8289349632
digikam.general: Allowing a cache size of 200 MB
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: Thumbs database: have a structure version  "3"
digikam.general: Thumbnails database ready for use
digikam.general: Switch to widget style:  ""
digikam.dimg: ("/usr/share/color/icc", "/home/martin/.local/share/icc")
digikam.dimg: No X.org XICC profile installed for screen  0
[New Thread 0x7fffb196f700 (LWP 21302)]
digikam.general: Camera XML data:  "/home/martin/.local/share/digikam/cameras.xml"
[New Thread 0x7fffa2d55700 (LWP 21304)]
[New Thread 0x7fffa2554700 (LWP 21305)]
[New Thread 0x7fffa1d53700 (LWP 21306)]
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "2"
digikam.facesengine: Face database ready for use
[New Thread 0x7fffa1552700 (LWP 21307)]
[New Thread 0x7fffa0d51700 (LWP 21308)]
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
[New Thread 0x7fff8bfff700 (LWP 21309)]
[New Thread 0x7fff8b7fe700 (LWP 21310)]
[New Thread 0x7fff8affd700 (LWP 21311)]
[New Thread 0x7fff8a7fc700 (LWP 21312)]
[New Thread 0x7fff89ffb700 (LWP 21313)]
digikam.facesengine: Face database ready for use
[New Thread 0x7fff897fa700 (LWP 21314)]
[New Thread 0x7fff88ff9700 (LWP 21315)]
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
qt5ct: D-Bus system tray: no
[New Thread 0x7fff2b3ff700 (LWP 21316)]
[New Thread 0x7fff2abfe700 (LWP 21317)]
[New Thread 0x7fff2a3fd700 (LWP 21318)]
digikam.geoiface: "setting backend marble"
AudioOutputBackend::id("Pulse")
digikam.general: AudioOutput backends: ("Pulse", "OpenAL", "null")
digikam.general: Stacked View Mode :  0
digikam.geoiface: "setting backend marble"
[New Thread 0x7fff29bfc700 (LWP 21319)]
[New Thread 0x7fff293fb700 (LWP 21320)]
digikam.geoiface: "setting backend marble"
[New Thread 0x7fff28bfa700 (LWP 21321)]
digikam.general: "browse_album"
digikam.general: "browse_tag"
digikam.general: "browse_labels"
digikam.general: "browse_date"
digikam.general: "browse_timeline"
digikam.general: "browse_search"
digikam.general: "browse_fuzzysearch"
digikam.general: "browse_gpssearch"
digikam.general: "browse_people"
[New Thread 0x7fff13fff700 (LWP 21323)]
[New Thread 0x7fff127ff700 (LWP 21327)]
digikam.widgets: Paths to color scheme :  ("/usr/share/digikam/colorschemes")
digikam.widgets: ""  ::  ""
digikam.widgets: ""  ::  ""
qt5ct: D-Bus global menu: no
Icon theme "breeze" not found.
QFSFileEngine::open: No file name specified
digikam.dimg: Root lens database dir:  "/usr/share/lensfun"
digikam.dimg: Load lens database file:  "6x6.xml"
digikam.dimg: Load lens database file:  "actioncams.xml"
digikam.dimg: Load lens database file:  "compact-canon.xml"
digikam.dimg: Load lens database file:  "compact-casio.xml"
digikam.dimg: Load lens database file:  "compact-fujifilm.xml"
digikam.dimg: Load lens database file:  "compact-kodak.xml"
digikam.dimg: Load lens database file:  "compact-konica-minolta.xml"
digikam.dimg: Load lens database file:  "compact-leica.xml"
digikam.dimg: Load lens database file:  "compact-nikon.xml"
digikam.dimg: Load lens database file:  "compact-olympus.xml"
digikam.dimg: Load lens database file:  "compact-panasonic.xml"
digikam.dimg: Load lens database file:  "compact-pentax.xml"
digikam.dimg: Load lens database file:  "compact-ricoh.xml"
digikam.dimg: Load lens database file:  "compact-samsung.xml"
digikam.dimg: Load lens database file:  "compact-sigma.xml"
digikam.dimg: Load lens database file:  "compact-sony.xml"
digikam.dimg: Load lens database file:  "contax.xml"
digikam.dimg: Load lens database file:  "generic.xml"
digikam.dimg: Load lens database file:  "mil-canon.xml"
digikam.dimg: Load lens database file:  "mil-fujifilm.xml"
digikam.dimg: Load lens database file:  "mil-nikon.xml"
digikam.dimg: Load lens database file:  "mil-olympus.xml"
digikam.dimg: Load lens database file:  "mil-panasonic.xml"
digikam.dimg: Load lens database file:  "mil-pentax.xml"
digikam.dimg: Load lens database file:  "mil-samsung.xml"
digikam.dimg: Load lens database file:  "mil-samyang.xml"
digikam.dimg: Load lens database file:  "mil-sigma.xml"
digikam.dimg: Load lens database file:  "mil-sony.xml"
digikam.dimg: Load lens database file:  "mil-tamron.xml"
digikam.dimg: Load lens database file:  "mil-zeiss.xml"
digikam.dimg: Load lens database file:  "misc.xml"
digikam.dimg: Load lens database file:  "rf-leica.xml"
digikam.dimg: Load lens database file:  "slr-canon.xml"
digikam.dimg: Load lens database file:  "slr-hasselblad.xml"
digikam.dimg: Load lens database file:  "slr-konica-minolta.xml"
digikam.dimg: Load lens database file:  "slr-leica.xml"
digikam.dimg: Load lens database file:  "slr-nikon.xml"
digikam.dimg: Load lens database file:  "slr-olympus.xml"
digikam.dimg: Load lens database file:  "slr-panasonic.xml"
digikam.dimg: Load lens database file:  "slr-pentax.xml"
digikam.dimg: Load lens database file:  "slr-ricoh.xml"
digikam.dimg: Load lens database file:  "slr-samsung.xml"
digikam.dimg: Load lens database file:  "slr-samyang.xml"
digikam.dimg: Load lens database file:  "slr-schneider.xml"
digikam.dimg: Load lens database file:  "slr-sigma.xml"
digikam.dimg: Load lens database file:  "slr-soligor.xml"
digikam.dimg: Load lens database file:  "slr-sony.xml"
digikam.dimg: Load lens database file:  "slr-tamron.xml"
digikam.dimg: Load lens database file:  "slr-tokina.xml"
digikam.dimg: Load lens database file:  "slr-ussr.xml"
digikam.dimg: Load lens database file:  "slr-vivitar.xml"
digikam.dimg: Load lens database file:  "slr-zeiss.xml"
digikam.dimg: variant:  QVariant(Digikam::LensFunIface::DevicePtr, )
digikam.dimg: dev:  AEE  ::  AEE DV  ::  6
digikam.dimg: Search for camera  "" - ""  ==> false
digikam.dimg: Search for lens  ""  ==> false
digikam.dimg: updating data
[New Thread 0x7fff109ef700 (LWP 21328)]
[New Thread 0x7ffefffff700 (LWP 21329)]
[New Thread 0x7ffeff7fe700 (LWP 21330)]
[New Thread 0x7ffefeffd700 (LWP 21331)]
[New Thread 0x7ffefe7fc700 (LWP 21332)]
[New Thread 0x7ffefdffb700 (LWP 21333)]
[New Thread 0x7ffefd7fa700 (LWP 21334)]
[New Thread 0x7ffefcff9700 (LWP 21335)]
[New Thread 0x7ffee7fff700 (LWP 21336)]
[New Thread 0x7ffee77fe700 (LWP 21337)]
[New Thread 0x7ffee6ffd700 (LWP 21338)]
[New Thread 0x7ffee67fc700 (LWP 21339)]
[New Thread 0x7ffee5ffb700 (LWP 21340)]
[New Thread 0x7ffee57fa700 (LWP 21341)]
[New Thread 0x7ffee4ff9700 (LWP 21342)]
[New Thread 0x7ffedffff700 (LWP 21343)]
[New Thread 0x7ffedf7fe700 (LWP 21344)]
[New Thread 0x7ffedeffd700 (LWP 21345)]
[New Thread 0x7ffede7fc700 (LWP 21346)]
[New Thread 0x7ffeddffb700 (LWP 21347)]
[New Thread 0x7ffedd7fa700 (LWP 21348)]
[New Thread 0x7ffedcff9700 (LWP 21349)]
[New Thread 0x7ffedc7f8700 (LWP 21350)]
[New Thread 0x7ffedbff7700 (LWP 21351)]
[New Thread 0x7ffedb7f6700 (LWP 21352)]
[New Thread 0x7ffedaff5700 (LWP 21353)]
[New Thread 0x7ffeda7f4700 (LWP 21354)]
[New Thread 0x7ffed9ff3700 (LWP 21355)]
[New Thread 0x7ffed97f2700 (LWP 21356)]
[New Thread 0x7ffed8ff1700 (LWP 21357)]
[New Thread 0x7ffed87f0700 (LWP 21358)]
[New Thread 0x7ffed7fef700 (LWP 21359)]
[New Thread 0x7ffed77ee700 (LWP 21360)]
digikam.dimg: updating data
[New Thread 0x7ffed6fed700 (LWP 21361)]
[New Thread 0x7ffed67ec700 (LWP 21362)]
[New Thread 0x7ffed5feb700 (LWP 21363)]
[New Thread 0x7ffed57ea700 (LWP 21364)]
digikam.general: Using  4  CPU core to run threads
digikam.general: new search text settings:  "" : hasResult =  false , validRows =  0
qt5ct: D-Bus global menu: no
QFSFileEngine::open: No file name specified
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Added root album called:  "FOTOS"
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7ffed4fe9700 (LWP 21365)]
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7ffed47e8700 (LWP 21366)]
digikam.general: Action Thread run  1  new jobs
digikam.database: " ( (Images.id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)  ) ) "
digikam.database: Search query:
 "SELECT DISTINCT Images.id, Images.name, Images.album,        Albums.albumRoot,        ImageInformation.rating, Images.category,        ImageInformation.format, ImageInformation.creationDate,        Images.modificationDate, Images.fileSize,        ImageInformation.width, ImageInformation.height,        ImagePositions.latitudeNumber, ImagePositions.longitudeNumber  FROM Images        LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid        LEFT  JOIN ImageMetadata    ON Images.id=ImageMetadata.imageid        LEFT  JOIN VideoMetadata    ON Images.id=VideoMetadata.imageid        LEFT  JOIN ImagePositions   ON Images.id=ImagePositions.imageid        INNER JOIN Albums           ON Albums.id=Images.album WHERE Images.status=1 AND (  ( (Images.id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)  ) )  );" 
 (QVariant(qlonglong, 22598), QVariant(qlonglong, 22587), QVariant(qlonglong, 22586), QVariant(qlonglong, 22591), QVariant(qlonglong, 22590), QVariant(qlonglong, 22585), QVariant(qlonglong, 22588), QVariant(qlonglong, 22524), QVariant(qlonglong, 22525), QVariant(qlonglong, 22584), QVariant(qlonglong, 22526), QVariant(qlonglong, 22527), QVariant(qlonglong, 22581), QVariant(qlonglong, 22529), QVariant(qlonglong, 22583), QVariant(qlonglong, 22570), QVariant(qlonglong, 22579), QVariant(qlonglong, 22582), QVariant(qlonglong, 22578), QVariant(qlonglong, 22528), QVariant(qlonglong, 22571), QVariant(qlonglong, 22533), QVariant(qlonglong, 22580), QVariant(qlonglong, 22532), QVariant(qlonglong, 22577), QVariant(qlonglong, 22576), QVariant(qlonglong, 22574), QVariant(qlonglong, 22531), QVariant(qlonglong, 22573), QVariant(qlonglong, 22572), QVariant(qlonglong, 22575), QVariant(qlonglong, 22530), QVariant(qlonglong, 22534), QVariant(qlonglong, 22535), QVariant(qlonglong, 22569), QVariant(qlonglong, 22568), QVariant(qlonglong, 22566), QVariant(qlonglong, 22563), QVariant(qlonglong, 22567), QVariant(qlonglong, 22565), QVariant(qlonglong, 22564), QVariant(qlonglong, 22539), QVariant(qlonglong, 22537), QVariant(qlonglong, 22560), QVariant(qlonglong, 22536), QVariant(qlonglong, 22538), QVariant(qlonglong, 22541), QVariant(qlonglong, 22540), QVariant(qlonglong, 22562), QVariant(qlonglong, 22561), QVariant(qlonglong, 22558), QVariant(qlonglong, 22542), QVariant(qlonglong, 22545), QVariant(qlonglong, 22544), QVariant(qlonglong, 22543), QVariant(qlonglong, 22559), QVariant(qlonglong, 22557), QVariant(qlonglong, 22556), QVariant(qlonglong, 22554), QVariant(qlonglong, 22547), QVariant(qlonglong, 22546), QVariant(qlonglong, 22555), QVariant(qlonglong, 22553), QVariant(qlonglong, 22552), QVariant(qlonglong, 22550), QVariant(qlonglong, 22548), QVariant(qlonglong, 22551), QVariant(qlonglong, 22549))
digikam.geoiface: ----
digikam.database: Search result: 952
digikam.general: Cancel Main Thread
digikam.geoiface: ----
[Thread 0x7ffed47e8700 (LWP 21366) exited]
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7ffed47e8700 (LWP 21367)]
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: "ROADMAP"
digikam.geoiface: "setting backend googlemaps"
digikam.geoiface: "ROADMAP"
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.general: One job is done
digikam.general: One job is done
[Thread 0x7ffed4fe9700 (LWP 21365) exited]
digikam.general: Cancel Main Thread
digikam.general: One job is done
[Thread 0x7ffed47e8700 (LWP 21367) exited]
digikam.geoiface: ----
digikam.geoiface: "setting backend marble"
[New Thread 0x7ffed47e8700 (LWP 21368)]
qt5ct: D-Bus global menu: no
QFSFileEngine::open: No file name specified
digikam.geoiface: "ROADMAP"
digikam.geoiface: "setting backend marble"
[New Thread 0x7ffed4fe9700 (LWP 21373)]
[New Thread 0x7ffed3fe7700 (LWP 21374)]
[New Thread 0x7ffed37e6700 (LWP 21375)]
[New Thread 0x7ffed2fe5700 (LWP 21376)]
digikam.facesengine: Face database ready for use
[New Thread 0x7ffed27e4700 (LWP 21377)]
[New Thread 0x7ffed1fe3700 (LWP 21378)]
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
[New Thread 0x7ffed17e2700 (LWP 21379)]
[New Thread 0x7ffed0fe1700 (LWP 21380)]
[New Thread 0x7ffed07e0700 (LWP 21381)]
digikam.facesengine: Face database ready for use
[New Thread 0x7ffecffdf700 (LWP 21382)]
[New Thread 0x7ffecf7de700 (LWP 21383)]
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.geoiface: "setting backend marble"
[New Thread 0x7ffecefdd700 (LWP 21384)]
qt5ct: D-Bus global menu: no
QFSFileEngine::open: No file name specified
digikam.geoiface: "ROADMAP"
digikam.geoiface: "ROADMAP"
digikam.dimg: "/run/media/martin/Martin1TB/FOTOS/2017/2017-07-02 Münchner Sommerfest/IMG_20170702_104147.jpg"  : JPEG file identified
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2017-07-02 10:41:48.000 CEST Qt::TimeSpec(LocalTime))
digikam.metaengine: "/run/media/martin/Martin1TB/FOTOS/2017/2017-07-02 Münchner Sommerfest/IMG_20170702_104147.jpg"  ==> Read Iptc Keywords:  ()
[New Thread 0x7ffece7dc700 (LWP 21389)]
[New Thread 0x7ffecdfdb700 (LWP 21390)]
[New Thread 0x7ffecd7da700 (LWP 21391)]
digikam.general: scan mode: ScanDeferredFiles
digikam.general: total scan value :  16648
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7ffeccfd9700 (LWP 21406)]
digikam.geoiface: ----
digikam.general: Cancel Main Thread
digikam.geoiface: ----
digikam.general: Stacked View Mode :  0
digikam.geoiface: ----
digikam.database: items to tag ()
digikam.database: Complete scan took: 1449 msecs.
digikam.general: Event is dispatched to desktop notifier through DBUS
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
[New Thread 0x7ffecc7d8700 (LWP 21426)]
digikam.general: Action Thread run  1  new jobs
digikam.database: " ( ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) ) "
digikam.database: Search query:
 "SELECT DISTINCT Images.id, Images.name, Images.album,        Albums.albumRoot,        ImageInformation.rating, Images.category,        ImageInformation.format, ImageInformation.creationDate,        Images.modificationDate, Images.fileSize,        ImageInformation.width,  ImageInformation.height,        ImageTagProperties.value, ImageTagProperties.property, ImageTagProperties.tagid  FROM Images        INNER JOIN ImageTagProperties ON ImageTagProperties.imageid=Images.id        LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid        INNER JOIN Albums           ON Albums.id=Images.album WHERE Images.status=1 AND (  ( ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) )  );" 
 (QVariant(int, 38), QVariant(int, 38), QVariant(QString, "autodetectedPerson"), QVariant(int, 38), QVariant(int, 38), QVariant(QString, "autodetectedFace"), QVariant(int, 38), QVariant(int, 38), QVariant(QString, "tagRegion"))
digikam.database: Search result: 5775
digikam.general: Cancel Main Thread
digikam.general: One job is done
[Thread 0x7ffecc7d8700 (LWP 21426) exited]
digikam.dimg: "/run/media/martin/Martin1TB/FOTOS/2017/2017-06-25 London/CIMG7623.JPG"  : JPEG file identified
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2017-06-21 20:30:10.000 CEST Qt::TimeSpec(LocalTime))
digikam.general: Found FacesEngine identity 56 for tag 84
digikam.general: Scheduled to write
digikam.general: No write to baloo +++++++++++++++++++++++++++++++++++++
digikam.facesengine: Training  1  images for identity  56
digikam.facedb: Loading LBPH model
digikam.general: Writting tags
digikam.general: -------------------------- New Keywords ("Günther Marmsoler", "Martin Marmsoler")
digikam.metaengine: xmlACDSee "<Categories><Category Assigned=\"0\">Personen<Category Assigned=\"1\">Günther Marmsoler</Category><Category Assigned=\"1\">Martin Marmsoler</Category></Category></Categories>"
digikam.metaengine: "/run/media/martin/Martin1TB/FOTOS/2017/2017-06-25 London/CIMG7625.JPG"  ==> Read Iptc Keywords:  ()
digikam.metaengine: "/run/media/martin/Martin1TB/FOTOS/2017/2017-06-25 London/CIMG7625.JPG"  ==> New Iptc Keywords:  ("Martin Marmsoler", "Günther Marmsoler")
digikam.metaengine: MetaEngine::metadataWritingMode 0
digikam.metaengine: Will write Metadata to file "/run/media/martin/Martin1TB/FOTOS/2017/2017-06-25 London/CIMG7625.JPG"
digikam.facedb: Found model id 1
digikam.facedb: Checkout compressed histogram  1  for identity  20  with size  8659
digikam.facedb: Checkout compressed histogram  2  for identity  1  with size  7460
digikam.facedb: Checkout compressed histogram  3  for identity  19  with size  8852
digikam.facedb: Checkout compressed histogram  4  for identity  19  with size  9778
digikam.facedb: Checkout compressed histogram  5  for identity  48  with size  9822
digikam.facedb: Checkout compressed histogram  6  for identity  5  with size  7357
digikam.facedb: Checkout compressed histogram  7  for identity  48  with size  7760
digikam.facedb: Checkout compressed histogram  8  for identity  3  with size  9349
digikam.facedb: Checkout compressed histogram  9  for identity  2  with size  9650
digikam.facedb: Checkout compressed histogram  10  for identity  2  with size  8752
digikam.facedb: Checkout compressed histogram  11  for identity  42  with size  8639
digikam.facedb: Checkout compressed histogram  12  for identity  5  with size  10198
digikam.facedb: Checkout compressed histogram  13  for identity  5  with size  9475
digikam.facedb: Checkout compressed histogram  14  for identity  5  with size  10038
digikam.facedb: Checkout compressed histogram  15  for identity  8  with size  9024
digikam.facedb: Checkout compressed histogram  16  for identity  13  with size  8853
digikam.facedb: Checkout compressed histogram  17  for identity  8  with size  8492
digikam.facedb: Checkout compressed histogram  18  for identity  13  with size  8456
digikam.facedb: Checkout compressed histogram  19  for identity  5  with size  9451
digikam.facedb: Checkout compressed histogram  20  for identity  5  with size  10012
digikam.dimg: "/run/media/martin/Martin1TB/FOTOS/2017/2017-06-25 London/CIMG7623.JPG"  : JPEG file identified
digikam.metaengine: wroteComment:  true
digikam.facedb: Checkout compressed histogram  21  for identity  1  with size  10211
digikam.metaengine: wroteEXIF:  true
digikam.metaengine: wroteIPTC:  true
digikam.metaengine: wroteXMP:  true
digikam.facedb: Checkout compressed histogram  22  for identity  1  with size  10002
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2017-06-21 20:30:10.000 CEST Qt::TimeSpec(LocalTime))
digikam.facedb: Checkout compressed histogram  23  for identity  1  with size  9703
digikam.facedb: Checkout compressed histogram  24  for identity  1  with size  10181
digikam.facedb: Checkout compressed histogram  25  for identity  5  with size  9272
digikam.facedb: Checkout compressed histogram  26  for identity  5  with size  9317
digikam.facedb: Checkout compressed histogram  27  for identity  5  with size  8749
digikam.facedb: Checkout compressed histogram  28  for identity  5  with size  9597
digikam.facedb: Checkout compressed histogram  29  for identity  11  with size  8046
digikam.facedb: Checkout compressed histogram  30  for identity  8  with size  8792
digikam.facedb: Checkout compressed histogram  31  for identity  5  with size  10129
digikam.facedb: Checkout compressed histogram  32  for identity  5  with size  9190
digikam.facedb: Checkout compressed histogram  33  for identity  5  with size  9003
digikam.facedb: Checkout compressed histogram  34  for identity  5  with size  9003
digikam.facedb: Checkout compressed histogram  35  for identity  1  with size  8014
digikam.facedb: Checkout compressed histogram  36  for identity  24  with size  8439
digikam.facedb: Checkout compressed histogram  37  for identity  5  with size  8385
digikam.facedb: Checkout compressed histogram  38  for identity  5  with size  8328
digikam.facedb: Checkout compressed histogram  39  for identity  5  with size  9662
digikam: tiffcomposite.cpp:749: virtual Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr): Zusicherung »mn_« nicht erfüllt.
digikam.facedb: Checkout compressed histogram  40  for identity  5  with size  9597
digikam.facedb: Checkout compressed histogram  41  for identity  8  with size  8792
digikam.facedb: Checkout compressed histogram  42  for identity  8  with size  9919
digikam.facedb: Checkout compressed histogram  43  for identity  11  with size  8046
digikam.facedb: Checkout compressed histogram  44  for identity  11  with size  7974
digikam.facedb: Checkout compressed histogram  45  for identity  24  with size  8164

Thread 54 "Thread (pooled)" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffeda7f4700 (LWP 21354)]
0x00007ffff3122670 in raise () from /usr/lib/libc.so.6
(gdb) quit
Comment 3 caulier.gilles 2017-07-02 18:05:17 UTC
No. In the prompt of GDB, instead to enter "quit", use "bt" to get the backtrace...

Gilles Caulier
Comment 4 Martin 2017-07-02 18:11:09 UTC
Sorry.

(gdb) bt
#0  0x00007ffff3122670 in raise () at /usr/lib/libc.so.6
#1  0x00007ffff3123d00 in abort () at /usr/lib/libc.so.6
#2  0x00007ffff311b45a in __assert_fail_base () at /usr/lib/libc.so.6
#3  0x00007ffff311b4d2 in  () at /usr/lib/libc.so.6
#4  0x00007fffedc2591e in  () at /usr/lib/libexiv2.so.14
#5  0x00007fffedc20072 in  () at /usr/lib/libexiv2.so.14
#6  0x00007fffedc20b07 in  () at /usr/lib/libexiv2.so.14
#7  0x00007fffedc20072 in  () at /usr/lib/libexiv2.so.14
#8  0x00007fffedc255bb in  () at /usr/lib/libexiv2.so.14
#9  0x00007fffedc20072 in  () at /usr/lib/libexiv2.so.14
#10 0x00007fffedc20b07 in  () at /usr/lib/libexiv2.so.14
#11 0x00007fffedc20072 in  () at /usr/lib/libexiv2.so.14
#12 0x00007fffedc3dd9c in  () at /usr/lib/libexiv2.so.14
#13 0x00007fffedc2bf3d in  () at /usr/lib/libexiv2.so.14
#14 0x00007fffedbbd5c6 in Exiv2::ExifParser::encode(std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned char const*, unsigned int, Exiv2::ByteOrder, Exiv2::ExifData const&) () at /usr/lib/libexiv2.so.14
#15 0x00007fffedbd80df in  () at /usr/lib/libexiv2.so.14
#16 0x00007fffedbd94a9 in Exiv2::JpegBase::writeMetadata() ()
    at /usr/lib/libexiv2.so.14
#17 0x00007ffff64da802 in  () at /usr/lib/libdigikamcore.so.5.6.0
#18 0x00007ffff64dd21a in  () at /usr/lib/libdigikamcore.so.5.6.0
#19 0x00007ffff64d5c8c in Digikam::MetaEngine::save(QString const&) const ()
---Type <return> to continue, or q <return> to quit---
    at /usr/lib/libdigikamcore.so.5.6.0
#20 0x00007ffff64d6a41 in Digikam::MetaEngine::applyChanges() const ()
    at /usr/lib/libdigikamcore.so.5.6.0
#21 0x00007ffff651a62b in Digikam::DMetadata::applyChanges() const ()
    at /usr/lib/libdigikamcore.so.5.6.0
#22 0x00007ffff76c71b4 in  () at /usr/lib/libdigikamgui.so.5.6.0
#23 0x00007ffff76d69a7 in  () at /usr/lib/libdigikamgui.so.5.6.0
#24 0x00007ffff76dfa6c in  () at /usr/lib/libdigikamgui.so.5.6.0
#25 0x00007ffff40e7e72 in QObject::event(QEvent*) ()
    at /usr/lib/libQt5Core.so.5
#26 0x00007ffff4de346c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007ffff4deacf4 in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff40b8b98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#29 0x00007ffff40bb02d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#30 0x00007ffff4110a63 in  () at /usr/lib/libQt5Core.so.5
#31 0x00007fffe6ee8a47 in g_main_context_dispatch ()
    at /usr/lib/libglib-2.0.so.0
#32 0x00007fffe6ee8c78 in  () at /usr/lib/libglib-2.0.so.0
#33 0x00007fffe6ee8d0c in g_main_context_iteration ()
---Type <return> to continue, or q <return> to quit---
    at /usr/lib/libglib-2.0.so.0
#34 0x00007ffff4110e7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#35 0x00007ffff40b721a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#36 0x00007ffff65beed3 in  () at /usr/lib/libdigikamcore.so.5.6.0
#37 0x00007ffff3eda171 in  () at /usr/lib/libQt5Core.so.5
#38 0x00007ffff3eddcbd in  () at /usr/lib/libQt5Core.so.5
#39 0x00007fffee6ce297 in start_thread () at /usr/lib/libpthread.so.0
#40 0x00007ffff31dc1ef in clone () at /usr/lib/libc.so.6
Comment 5 caulier.gilles 2017-07-02 18:15:39 UTC
Confirmed. A JPEG image parsed by Exiv2 to write metadata in Exif crash digiKam.

You can easily identify the image as you want to tag people inside. The face tags are written in Exif and XMP.

Before to report the problem to Exiv2, Please try to reproduce the problem with current AppImage Linux bundle.

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 6 Martin 2017-07-02 18:24:33 UTC
Thank you Gilles,

the crash isn't in this version.
Comment 7 caulier.gilles 2017-07-02 21:06:32 UTC
ok.

I suspected that. The problem is that you use an older Exiv2 version, as 0.25. The AppImage use Exiv 0.26 which come with more than 200 bugfixes.

I recommend to report this problem to your distro team to update Exiv2 quickly.

Gilles Caulier
Comment 8 Martin 2017-07-03 05:47:41 UTC
In the arch linux repository exiv2 0.25 was already flagged as outdatet. SO I think it will take not so much time they replace them with 0.26.

Thank you Gilles for your help!