[digiKam-users] Crashing writing metadata

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] Crashing writing metadata

digikam-2
DK 5.9.0 appimage

I tried to save the metadata to file and DK crashes

Here's the "log" but starting dk from the command line:

==================================
[froggy@ethelbert ~]$ downloads/appimages/digikam-5.9.0-01-x86-64.appimage
-- digiKam AppImage Bundle
-- Use 'help' as CLI argument to know all available options
digikam.widgets: Breeze icons ressource file found
digikam.general: AlbumWatch use QFileSystemWatcher
digikam.general: Database Parameters:
   Type:                     "QSQLITE"
   DB Core Name:             "/drive-b/photos/digikam4.db"
   DB Thumbs Name:           "/drive-b/photos/thumbnails-digikam.db"
   DB Face Name:             "/drive-b/photos/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:                 ""

digikam.dbengine: Loading SQL code from config file "/tmp/.mount_digikamwcEko/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  10
digikam.database: Creating new Location  "/photos"  uuid  "volumeid:?uuid=48946de2-efca-4e0c-abcc-fcd8b565273b"
digikam.database: location for  "/drive-b/photos"  is available  true
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: TotalRam:  12564938752
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:  "Windows"
digikam.dimg: ("/usr/share/color/icc")
digikam.dimg: No X.org XICC profile installed for screen  0
digikam.general: Camera XML data:  "/home/froggy/.local/share/digikam/cameras.xml"
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "3"
digikam.facedb: Face database: cannot process schema initialization
digikam.facesengine: Failed to initialize face database
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "3"
digikam.facedb: Face database: cannot process schema initialization
digikam.facesengine: Failed to initialize face database
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.geoiface: "setting backend marble"
QtAV 1.12.0(Jan 19 2018, 14:55:02)
Multimedia framework base on Qt and FFmpeg.
Distributed under the terms of LGPLv2.1 or later.
Shanghai University->S3 Graphics->Deepin->PPTV, Shanghai, China Copyright (C) 2012-2016 Wang Bin (aka. Lucas Wang) [hidden email]
Donate: http://qtav.org/donate.html
Source: https://github.com/wang-bin/QtAV
Home page: http://qtav.org
capi::version: 0.6.0
digikam.general: AudioOutput backends: ("OpenAL", "null")
digikam.general: Stacked View Mode :  0
digikam.geoiface: "setting backend marble"
digikam.geoiface: "setting backend marble"
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"
digikam.widgets: Paths to color scheme :  ("/tmp/.mount_digikamwcEko/usr/share/digikam/colorschemes")
digikam.widgets: ""  ::  ""
digikam.widgets: "GrayCard"  ::  "/tmp/.mount_digikamwcEko/usr/share/digikam/colorschemes/graycard.colors"
QFSFileEngine::open: No file name specified
digikam.dimg: Root lens database dir:  "/home/froggy/.local/share/lensfun"
digikam.dimg: variant:  QVariant(Digikam::LensFunIface::DevicePtr, )
digikam.dimg: dev:  AEE DV  ::  AEE DV  ::  6
digikam.dimg: Search for camera  "" - ""  ==> false
digikam.dimg: Search for lens  ""  ==> false
digikam.dimg: updating data
digikam.dimg: updating data
digikam.general: Using  8  CPU core to run threads
digikam.general: new search text settings:  "" : hasResult =  false , validRows =  0
QFSFileEngine::open: No file name specified
digikam.geoiface: ----
digikam.general: Added root album called:  "photos"
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Failed to find parent tag for tag  "chinatown"  with pid  26
digikam.general: Failed to find parent tag for tag  "art gallery"  with pid  26
digikam.general: Failed to find parent tag for tag  "ubc"  with pid  26
digikam.general: Failed to find parent tag for tag  "gastown"  with pid  26
digikam.general: Using  8  CPU core to run threads
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Action Thread run  1  new jobs
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: "ROADMAP"
digikam.geoiface: "ROADMAP"
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.general: One job is done
digikam.general: One job is done
digikam.general: One job is done
digikam.general: One job is done
digikam.general: Cancel Main Thread
digikam.general: One job is done
kf5.kservice.sycoca: Parse error in  "/home/froggy/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"
kf5.kservice.sycoca: Parse error in  "/home/froggy/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"
kf5.kservice.sycoca: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file.
digikam.geoiface: ----
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.geoiface: "setting backend marble"
QFSFileEngine::open: No file name specified
digikam.geoiface: "ROADMAP"
digikam.geoiface: "setting backend marble"
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "3"
digikam.facedb: Face database: cannot process schema initialization
digikam.facesengine: Failed to initialize face database
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "3"
digikam.facedb: Face database: cannot process schema initialization
digikam.facesengine: Failed to initialize face database
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.geoiface: "setting backend marble"
QFSFileEngine::open: No file name specified
digikam.geoiface: "ROADMAP"
digikam.geoiface: "ROADMAP"
digikam.general: Using  8  CPU core to run threads
digikam.general: scan mode: ScanDeferredFiles
digikam.general: Action Thread run  1  new jobs
digikam.general: total scan value :  94672
digikam.dbengine: Database is locked. Waited 0
digikam.dbengine: Database is locked. Waited 250
digikam.dbengine: Database is locked. Waited 500
digikam.dbengine: Database is locked. Waited 750
digikam.dbengine: Database is locked. Waited 1000
digikam.dbengine: Database is locked. Waited 1250
digikam.dbengine: Database is locked. Waited 1500
digikam.dbengine: Database is locked. Waited 1750
digikam.dbengine: Database is locked. Waited 2000
digikam.database: items to tag ()
digikam.database: Complete scan took: 3136 msecs.
digikam.general: Adjusting environment variables for AppImage bundle
digikam.general: Event is dispatched to desktop notifier through DBUS
digikam.general: Nothing to do. Databases are clean.
digikam.general: Adjusting environment variables for AppImage bundle
digikam.general: Event is dispatched to desktop notifier through DBUS
digikam.general: One job is done
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.general: Using  8  CPU core to run threads
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: One job is done
digikam.general: Cancel Main Thread
digikam.general: Action Thread run  8  new jobs
/tmp/.mount_digikamwcEko/AppRun: line 73:  8897 Segmentation fault      (core dumped) digikam $@
[froggy@ethelbert ~]$

==================================

--
sknahT

vyS
Reply | Threaded
Open this post in threaded view
|

Re: Crashing writing metadata

Gilles Caulier-4
Run appImage bundle with the "debug" option to run it on GDB and get a backtrace with "bt" command from GDB prompt.

Try to localize the image file responsible to the crash. I suspect a problem with Exiv2 library.

Which kind of metadata settings do you use ? which metadata do you change exactly ?

Gilles Caulier

2018-09-21 21:03 GMT+02:00 <[hidden email]>:
DK 5.9.0 appimage

I tried to save the metadata to file and DK crashes

Here's the "log" but starting dk from the command line:

==================================
[froggy@ethelbert ~]$ downloads/appimages/digikam-5.9.0-01-x86-64.appimage
-- digiKam AppImage Bundle
-- Use 'help' as CLI argument to know all available options
digikam.widgets: Breeze icons ressource file found
digikam.general: AlbumWatch use QFileSystemWatcher
digikam.general: Database Parameters:
   Type:                     "QSQLITE"
   DB Core Name:             "/drive-b/photos/digikam4.db"
   DB Thumbs Name:           "/drive-b/photos/thumbnails-digikam.db"
   DB Face Name:             "/drive-b/photos/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:                 ""

digikam.dbengine: Loading SQL code from config file "/tmp/.mount_digikamwcEko/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  10
digikam.database: Creating new Location  "/photos"  uuid  "volumeid:?uuid=48946de2-efca-4e0c-abcc-fcd8b565273b"
digikam.database: location for  "/drive-b/photos"  is available  true
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: TotalRam:  12564938752
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:  "Windows"
digikam.dimg: ("/usr/share/color/icc")
digikam.dimg: No X.org XICC profile installed for screen  0
digikam.general: Camera XML data:  "/home/froggy/.local/share/digikam/cameras.xml"
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "3"
digikam.facedb: Face database: cannot process schema initialization
digikam.facesengine: Failed to initialize face database
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "3"
digikam.facedb: Face database: cannot process schema initialization
digikam.facesengine: Failed to initialize face database
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.geoiface: "setting backend marble"
QtAV 1.12.0(Jan 19 2018, 14:55:02)
Multimedia framework base on Qt and FFmpeg.
Distributed under the terms of LGPLv2.1 or later.
Shanghai University->S3 Graphics->Deepin->PPTV, Shanghai, China Copyright (C) 2012-2016 Wang Bin (aka. Lucas Wang) [hidden email]
Donate: http://qtav.org/donate.html
Source: https://github.com/wang-bin/QtAV
Home page: http://qtav.org
capi::version: 0.6.0
digikam.general: AudioOutput backends: ("OpenAL", "null")
digikam.general: Stacked View Mode :  0
digikam.geoiface: "setting backend marble"
digikam.geoiface: "setting backend marble"
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"
digikam.widgets: Paths to color scheme :  ("/tmp/.mount_digikamwcEko/usr/share/digikam/colorschemes")
digikam.widgets: ""  ::  ""
digikam.widgets: "GrayCard"  ::  "/tmp/.mount_digikamwcEko/usr/share/digikam/colorschemes/graycard.colors"
QFSFileEngine::open: No file name specified
digikam.dimg: Root lens database dir:  "/home/froggy/.local/share/lensfun"
digikam.dimg: variant:  QVariant(Digikam::LensFunIface::DevicePtr, )
digikam.dimg: dev:  AEE DV  ::  AEE DV  ::  6
digikam.dimg: Search for camera  "" - ""  ==> false
digikam.dimg: Search for lens  ""  ==> false
digikam.dimg: updating data
digikam.dimg: updating data
digikam.general: Using  8  CPU core to run threads
digikam.general: new search text settings:  "" : hasResult =  false , validRows =  0
QFSFileEngine::open: No file name specified
digikam.geoiface: ----
digikam.general: Added root album called:  "photos"
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Failed to find parent tag for tag  "chinatown"  with pid  26
digikam.general: Failed to find parent tag for tag  "art gallery"  with pid  26
digikam.general: Failed to find parent tag for tag  "ubc"  with pid  26
digikam.general: Failed to find parent tag for tag  "gastown"  with pid  26
digikam.general: Using  8  CPU core to run threads
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Action Thread run  1  new jobs
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: "ROADMAP"
digikam.geoiface: "ROADMAP"
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.general: One job is done
digikam.general: One job is done
digikam.general: One job is done
digikam.general: One job is done
digikam.general: Cancel Main Thread
digikam.general: One job is done
kf5.kservice.sycoca: Parse error in  "/home/froggy/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"
kf5.kservice.sycoca: Parse error in  "/home/froggy/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"
kf5.kservice.sycoca: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file.
digikam.geoiface: ----
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.geoiface: "setting backend marble"
QFSFileEngine::open: No file name specified
digikam.geoiface: "ROADMAP"
digikam.geoiface: "setting backend marble"
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "3"
digikam.facedb: Face database: cannot process schema initialization
digikam.facesengine: Failed to initialize face database
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "3"
digikam.facedb: Face database: cannot process schema initialization
digikam.facesengine: Failed to initialize face database
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.geoiface: "setting backend marble"
QFSFileEngine::open: No file name specified
digikam.geoiface: "ROADMAP"
digikam.geoiface: "ROADMAP"
digikam.general: Using  8  CPU core to run threads
digikam.general: scan mode: ScanDeferredFiles
digikam.general: Action Thread run  1  new jobs
digikam.general: total scan value :  94672
digikam.dbengine: Database is locked. Waited 0
digikam.dbengine: Database is locked. Waited 250
digikam.dbengine: Database is locked. Waited 500
digikam.dbengine: Database is locked. Waited 750
digikam.dbengine: Database is locked. Waited 1000
digikam.dbengine: Database is locked. Waited 1250
digikam.dbengine: Database is locked. Waited 1500
digikam.dbengine: Database is locked. Waited 1750
digikam.dbengine: Database is locked. Waited 2000
digikam.database: items to tag ()
digikam.database: Complete scan took: 3136 msecs.
digikam.general: Adjusting environment variables for AppImage bundle
digikam.general: Event is dispatched to desktop notifier through DBUS
digikam.general: Nothing to do. Databases are clean.
digikam.general: Adjusting environment variables for AppImage bundle
digikam.general: Event is dispatched to desktop notifier through DBUS
digikam.general: One job is done
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.general: Using  8  CPU core to run threads
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: Creating a metadata task for synchronizing metadata
digikam.general: One job is done
digikam.general: Cancel Main Thread
digikam.general: Action Thread run  8  new jobs
/tmp/.mount_digikamwcEko/AppRun: line 73:  8897 Segmentation fault      (core dumped) digikam $@
[froggy@ethelbert ~]$

==================================

--
sknahT

vyS

Reply | Threaded
Open this post in threaded view
|

Re: Crashing writing metadata

digikam-2
On Sat, 22 Sep 2018 08:10:16 +0200
Gilles Caulier <[hidden email]> wrote:

> Run appImage bundle with the "debug" option to run it on GDB and
> get a backtrace with "bt" command from GDB prompt.

1. Just installed gdb (manjaro)
2. run
gdb env LD_PRELOAD="/usr/lib/libfreetype.so"
downloads/appimages/digikam-5.9.0-01-x86-64.appimage

and I get:

> gdb: error while loading shared libraries: libpython3.7m.so.1.0:
> cannot open shared object file: No such file or directory

I'm not yet on python 3.7, I'm still on python: 3.6.6.
3.7 crashes some of my "other stuff"

>
> Try to localize the image file responsible to the crash. I suspect a
> problem with Exiv2 library.
>
> Which kind of metadata settings do you use ? which metadata do you
> change exactly ?

I ran the quality sorter, and now I'm going album by album and
removing most of the flags. When I'm done with the album, then I
write the metadata to file.

I have found that:

* if I have the lazy synchronize: ON then it will crash every time
* if I have the lazy synchronize: OFF then it crashes occasionally

I tried dk6 beta. It took 7 hours for the database conversion to the
new file structure: 45000 images and no videos.

AMDFX8350 (8cores-4Mhz), 12GB RAM, plenty of disc space.

DK6beta: I had the lazy synchronize: OFF and it didn't crash but
DK6beta is slow and I'm missing 1 row from the thumbnail window, so I
removed DK6beta and restored my DK5.9.0 dbs.

Merci

Syv


>
> Gilles Caulier
>
> 2018-09-21 21:03 GMT+02:00 <[hidden email]>:
>
> > DK 5.9.0 appimage
> >
> > I tried to save the metadata to file and DK crashes
> >
> > Here's the "log" but starting dk from the command line:
> >
> > ==================================
> > [froggy@ethelbert ~]$
> > downloads/appimages/digikam-5.9.0-01-x86-64.appimage
[...]
> > digikam.general: Cancel Main Thread digikam.general: Action
> > Thread run  8  new jobs /tmp/.mount_digikamwcEko/AppRun: line
> > 73:  8897 Segmentation fault (core dumped) digikam $@
> > [froggy@ethelbert ~]$
> >
> > ==================================


--
sknahT

vyS