https://bugs.kde.org/show_bug.cgi?id=454656
Bug ID: 454656 Summary: When locales not set, crash occurs when opening "Settings -> Configure digikam" Product: digikam Version: 8.0.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Metadata-ExifTool Assignee: digikam-bugs-n...@kde.org Reporter: kristian.hermann.k...@gmail.com Target Milestone: --- SUMMARY When using exiftool, and locales are not set, the output from exiftool messes up(?) the parsing from the tool, and digikam crashes when opening the "Settings _ Configure digikam" STEPS TO REPRODUCE 1. Enable the exiftool 2. If the locales are not properly set. It gives the output like this: krikar@desktop:~$ exiftool perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "", LC_ALL = (unset), LC_ADDRESS = "sv_SE.UTF-8", LC_NAME = "sv_SE.UTF-8", LC_MONETARY = "sv_SE.UTF-8", LC_PAPER = "sv_SE.UTF-8", LC_IDENTIFICATION = "sv_SE.UTF-8", LC_TELEPHONE = "sv_SE.UTF-8", LC_MEASUREMENT = "sv_SE.UTF-8", LC_TIME = "sv_SE.UTF-8", LC_NUMERIC = "sv_SE.UTF-8", LANG = "en_SE.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Syntax: exiftool [OPTIONS] FILE Consult the exiftool documentation for a full list of options. 3. Open "Settings -> Configure digikam" OBSERVED RESULT Digikam crashes while opening the dialog: digikam.general: Event is dispatched to KDE desktop notifier digikam.general: Testing "mysql_install_db" ... digikam.general: Found "mysql_install_db" digikam.general: Testing "mysqladmin" ... digikam.general: Found "mysqladmin" digikam.general: Testing "mysqld" ... digikam.general: Found "mysqld" digikam.avplayer: decoderPriority not changed digikam.qtav: xcb_egl=0 digikam.general: Testing "exiftool" ... digikam.general: "exiftool" help header line: "perl: warning: Setting locale failed." digikam.general: Found "exiftool" version: "" ASSERT: "!isEmpty()" in file /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h, line 363 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = digikam path = /usr/bin pid = 81860 KCrash: Arguments: /usr/bin/digikam QSocketNotifier: Invalid socket 43 and type 'Read', disabling... QSocketNotifier: Invalid socket 45 and type 'Read', disabling... QSocketNotifier: Invalid socket 50 and type 'Read', disabling... KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi EXPECTED RESULT The digikam Configure dialog is displayed SOFTWARE/OS VERSIONS Operating System: Ubuntu 22.04 KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Kernel Version: 5.15.0-33-generic (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-2600K CPU @ 3.40GHz Memory: 15,6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 960/PCIe/SSE2 ADDITIONAL INFORMATION If setting the locales correct, like following the instructions here for example: https://www.thomas-krenn.com/en/wiki/Perl_warning_Setting_locale_failed_in_Debian the output from the exiftool is then the expected, and digikam won't crash when opening the Configure dialog krikar@desktop:~/Downloads$ exiftool Syntax: exiftool [OPTIONS] FILE Consult the exiftool documentation for a full list of options. -- You are receiving this mail because: You are watching all bug changes.