This is a companion discussion topic for the original entry at https://www.digikam.org/news/2022-06-26-7.7.0_release_announcement/
Great work. Love this software. Thanks alot to everyone making this possible.
Nice, thank you. But is still crashes for my *.png files at start-up (generated by qlandkartegt / qt5). So it does not start before these are converted to another format. Happens at least since 7.6.
Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/home/local/Picture/InArbeit/Neu/test.png"
Digikam::DImg::load: "/home/local/Picture/InArbeit/Neu/test.png" : "PNG" file identified
unknown: Opening file "/home/local/Picture/InArbeit/Neu/test.png"
Digikam::ItemScanner::prepareAddImage: Adding new item "/home/local/Picture/InArbeit/Neu/test.png"
unknown: ASSERT: "!isEmpty()" in file ././/include/QtCore/qlist.h, line 363
Thanks, youâre awesome!
Hi & welcome! You should report this in digiKamâs bug tracker, thanks!
Sorry, I was to brief and I do in no case want to be unpolite. The reported (most likely trivial) problem is only a bug example and is more related to release policy. What kind of solid pre-release testing could overlook something like:
convert xxx.jpg -strip xxx.png # make a png without (exif)meta-data
digiKam-7.7.0-x86-64.appimage # and crash on start-up
DigiKam is really a nice open-source program, but a little bit more of testing would make it even better. At least I would be happier with less features, less bugs and a slower release cycle.
In my opinion DigiKam is great, but is releasing too often and should have fewer bugs. Please think about a non-developer user trying out DigiKam, seeing the bug mentioned or one of the many other (trivial and long standing) bugs like bookmark images not being refreshed after renaming, Gmic not handling 16 Bit, Jpeg-2000 bookmarks corrupted, no 16-Bit support for HEIF and so on ⊠Our non-developer user would probably become unhappy and look for another (commercial) software.
Thanks! This is great software and well worth the learning curve. Last year I made a video tutorial on the basics of digiKam here: digiKam Tutorial - YouTube
Just tested here:
[Images]$ exiv2 8464801264.jpg
File name : 8464801264.jpg
File size : 8679300 Bytes
MIME type : image/jpeg
Image size : 4032 x 3024
Thumbnail : None
Camera make : Google
Camera model : Pixel 3 XL
Image timestamp : 2018:10:15 17:32:27
File number :
Exposure time : 0.000724 s
Aperture : F1.8
Exposure bias : 0 EV
Flash : No, compulsory
Flash bias :
Focal length : 4.4 mm
Subject distance: 6.06 m
ISO speed : 57
Exposure mode : Auto
Metering mode : Center weighted average
Macro mode :
Image quality :
White balance : Auto
Copyright :
Exif comment :
[Images]$ convert 8464801264.jpg -strip 8464801264.png
[Images]$ exiv2 8464801264.png
File name : 8464801264.png
File size : 27148713 Bytes
MIME type : image/png
Image size : 4032 x 3024
8464801264.png: No Exif data found in the file
[Images]$ digiKam-7.7.0-x86-64.appimage
===> NO CRASH !!!
-
bookmark images not being refreshed after renaming ==> NOT REPRODUCIBLE HERE under Linux.
-
Gmic not handling 16 Bit ==> We pass 16 bits image data to GmicQt, after that itâs another story releavant of GmicQt. Conversion from Digikam::DImg image container to QMicQt::CImg image container (and vis versa) is done here :
https://github.com/cgilles/gmic-qt/blob/master/src/Host/digiKam/host_digikam.cpp#L66
https://github.com/cgilles/gmic-qt/blob/master/src/Host/digiKam/host_digikam.cpp#L228
As you can see 1§ bits color depth is supported in both cases. -
Jpeg-2000 bookmarks corrupted ==> NOT REPRODUCIBLE HERE using last libjasper codec and libexiv2 0.27-maintenance rolling release (appimage use it).
-
no 16-Bit support for HEIF ==> HEIF is a container which can use different codec to host image data. As i can see, only 12 bits/color/pixels max is supported from libheif interface. See README from https://github.com/strukturag/libheif
I too canât reproduce the crash with the PNG file without metadata. But I would like to fix it. Can you provide a file from QLandkarteGT or email it to me?
The program is no longer being developed and is no longer available here as an RPM package.
Windows 10 Wierd message on install.
I received the following at the end of the install:
Your locale has changed since this album was last opened.
Old locale: System. new locale: windows-1252
If you have recently changed your locale, you need not be concernedâŠand a bunch more with a click YES if you want to continue otherwise NO and correct your locale settings before restarting digiKam.
What is the signifigance of this? I have not changed anything to my knowledge and 7.6.0 was working just fine last time I opened digiKam. As of yet I have not clicked on either of YES or NO and await someones guidance on this.
Thanks
Sher
Thanks
Sher
Hi Maik
thank you very much for your reply. The crash probably happens for all kinds
of png files. But I cannot isolate the problem. Is it something odd in the
database? It all started with 7.6 digikam. Never had such trouble before.
- To get a clean setup I created a new User and initialized digikam
accepting all defaults. - I added a copy of pics used locally.
- And it does not crash with pngs.
- I can even use my digikamrc without a problem.
But still cannot fix the thing for my own user account. I will try the same
procedure as I did for the clean setup. Needless to mention that my data
set has only 4.600 pics (locally) and is using different formats (including
jpeg2000). Color profiles are also used.
I am on Debian Bullseye, using KDE and the digikam app image.
I will report my progress to you
JĂŒrgen
Sorry again, after my last mail a found out that digikam leaves zombies after
the crash. After testing I did âinit 2â to go into minimal console mode. ps
then reported the following:
systemd-±NetworkManagerâ2*[{NetworkManager}]
>-8*[QtWebEngineProc]
>-8*[QtWebEngineProcâQtWebEngineProcâ
QtWebEngineProcâ11*[{QtWebEngineProc}]]
>-acpid
>-3*[agetty]
>-atd
>-avahi-daemonâavahi-daemon
>-centaurimounter-±avahi-browse
> -centaurimounter >-dbus-daemon >-6*[digiKam-7.6.0-x---{digiKam-7.6.0-x}] >-2*[digikam---{digikam}] >-encfs---2*[{encfs}] >-8*[exiftool] >-inetd >-login---bash---pstree >-rpc.gssd >-sssd---sssd_be >-sssd_nss >-sssd_pam >-systemd---(sd-pam) >-systemd-+-(sd-pam) > >-dbus-daemon >
-dconf-serviceâ2*[{dconf-service}]
>-systemd-journal
>-systemd-logind
>-systemd-timesynâ{systemd-timesyn}
>-systemd-udevd
>-unattended-upgrâ{unattended-upgr}
`-wpa_supplicant
As you can see, exiftool is in the list. I still believe that the exiftool
support since 7.6 is related to my problem.
JĂŒrgen
Thanks for testing
I got crashes for whenever I added a png. On the other hand I found that a
fresh digikam setup for a new user could not reproduce this.
I was unable to narrow down the problem, may be it was caused by the database
(not digkamrc). Unfortunately it is not so easy for a user to recreate the
database. But I did and the crash problem is gone.
So at some time when switching to digikam 7.6 something got corrupted.
JĂŒrgen
Please download the latest AppImage with word âdebugâ in the filename from here:
Start the AppImage in the terminal with the âdebugâ option:
./digiKam-7.8.0-20220630T105729-x86-64-debug.appimage debug
It keeps starting when you type ârâ + Enter (r == run)
When the crash happened, type âbtâ + Enter (bt == backtrace), post the output.
Thanks, it worked, trace output attached.
It happens when processing some metadata. And I cannot reproduce it with a
fresh setup of digikam. Only with my existing data-base and config.
For example:
-
save jpg from digikam editor to png (compression level 7)
= no crash -
use a tool that adds no metadata to create a png (qlandkarte)
= crash -
use convert xxx.jpg -strip xxx.png
= crash
JĂŒrgen
trace2.txt (10.7 KB)
Thanks for the good backtrace. With this commit, the problem will be fixed in digiKam-7.8.0.
However, the cause is incorrect advanced metadata settings for the rating. Go to advanced metadata settings in digiKam setup and select Rating and click Reset Defaults.
100% success. It works!
Thank you very much