SUMMARY I moved and renamed some folders containing images in the folder where digikam manages my gallery. Digikam wasn't open and I understand (now) that this isn't supposed to be done. When digikam was opened it crashed immediately. I removed the database files and tried again, same. I reinstalled and removed the database files and tried again, same. I did the above step and removed the digikamrc file in .config, same. I tried to set up a different folder with different pictures for the digikam gallery but same. STEPS TO REPRODUCE 1. Move and/or rename subfolders in Digikam managed folder externally (without digikam being open). 2. Open Digikam OBSERVED RESULT Whenever digikam opens the UI appears but is not interactive and digikam crashes after a moment. Below is the terminal output from starting digikam. $ digikam ALSA lib pcm_dsnoop.c:567:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib pcm_a52.c:1001:(_snd_pcm_a52_open) a52 is only for playback ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock kf.xmlgui: Unhandled container to remove : Digikam::DigikamApp Segmentation fault (core dumped) EXPECTED RESULT No crash, or no crash after reinstalling Digikam SOFTWARE/OS VERSIONS Ubuntu 24.04.4 LTS Gnome Version 46 X11 Linux 6.17.0-19-generic ADDITIONAL INFORMATION Here is the backtrace (I tried to install all packages for debug symbols, but some seem to be missing): Thread 7 "Digikam::ScanCo" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7d3432dfe6c0 (LWP 15192)] 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00007d3465930c7d in Digikam::MetaEngine::load (this=this@entry=0x7d341c056b90, filePath=..., backend=backend@entry=0x0) at /usr/src/digikam-4:8.2.0-0ubuntu6.2/core/libs/metadataengine/engine/metaengine_fileio.cpp:164 #2 0x00007d34659652e3 in Digikam::DMetadata::load (this=this@entry=0x7d341c056b90, filePath=..., backend=backend@entry=0x0) at /usr/src/digikam-4:8.2.0-0ubuntu6.2/core/libs/metadataengine/dmetadata/dmetadata_fileio.cpp:59 #3 0x00007d346654eeb7 in Digikam::ItemScanner::loadFromDisk (this=this@entry=0x7d3432dfc0d8) at /usr/src/digikam-4:8.2.0-0ubuntu6.2/core/libs/database/item/scanner/itemscanner.cpp:122 #4 0x00007d3466552ab6 in Digikam::ItemScanner::newFile (this=this@entry=0x7d3432dfc0d8, albumId=albumId@entry=1) at /usr/src/digikam-4:8.2.0-0ubuntu6.2/core/libs/database/item/scanner/itemscanner_database.cpp:109 #5 0x00007d3466486cd1 in Digikam::CollectionScanner::scanNewFile (this=this@entry=0x7d3432dfc4c0, info=..., albumId=1) at /usr/src/digikam-4:8.2.0-0ubuntu6.2/core/libs/database/collection/collectionscanner_scan.cpp:1061 #6 0x00007d3466488ade in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7d3432dfc4c0, location=..., album=..., checkDate=checkDate@entry=false) at /usr/src/digikam-4:8.2.0-0ubuntu6.2/core/libs/database/collection/collectionscanner_scan.cpp:792 #7 0x00007d3466489404 in Digikam::CollectionScanner::scanAlbumRoot (this=this@entry=0x7d3432dfc4c0, location=...) at /usr/src/digikam-4:8.2.0-0ubuntu6.2/core/libs/database/collection/collectionscanner_scan.cpp:467 #8 0x00007d346648a45b in Digikam::CollectionScanner::completeScan (this=this@entry=0x7d3432dfc4c0) at /usr/src/digikam-4:8.2.0-0ubuntu6.2/core/libs/database/collection/collectionscanner_scan.cpp:87 #9 0x00007d3466b11598 in Digikam::ScanController::run (this=0x7d3467071c20 <Digikam::(anonymous namespace)::Q_QGS_creator::innerFunction()::holder>) at /usr/src/digikam-4:8.2.0-0ubuntu6.2/core/libs/database/utils/scan/scancontroller.cpp:241 #10 0x00007d3463edb674 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x00007d346369caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447 #12 0x00007d3463729c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Problem already reported and fixed with bug 517766. It's a binary incompatibility issue with the Exiv2 package. The Snap bundle must be recompiled. See also bug 517733 : digiKam is not alone to be affected.