Created attachment 181476 [details] Log (journalctl -e) SUMMARY KPhotoAlbum crashes randomly at startup. STEPS TO REPRODUCE 1. Open KPhotoAlbum OBSERVED RESULT It crashes with output: fish: Job 1, 'kphotoalbum' terminated by signal SIGSEGV (Address boundary error) EXPECTED RESULT It should not crash. SOFTWARE/OS VERSIONS KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.14.0 Qt Version: 6.9.0
Hi Jonas, Thanks for the bug report. Unfortunately the crash log does not contain the debug symbols that I need to interpret it. Can you try installing the debug symbols for kphotoalbum and recreate the stack trace then? I'm not really familiar with Arch Linux, but maybe the info here is useful to you: https://wiki.archlinux.org/title/Debugging/Getting_traces For the stack trace to be (potentially) useful to me, there needs to be some information in place of the "n/a" entries that are currently displayed in the trace output lines for /usr/bin/kphotoalbum. Cheers, Johannes
Hi Johannes, After running KPhotoAlbum using gdb, I have got the following: Thread 1 "kphotoalbum" received signal SIGSEGV, Segmentation fault. DB::ImageDateCollection::count (this=0x0, range=...) at /usr/src/debug/kphotoalbum/kphotoalbum-6.0.1/DB/ImageDateCollection.cpp:82 82 in /usr/src/debug/kphotoalbum/kphotoalbum-6.0.1/DB/ImageDateCollection.cpp I hope that will be useful, Jonas
Git commit 9aa361dbb0493974462655a045d02dffcfada31a by Johannes Zarl-Zierl. Committed on 19/05/2025 at 19:42. Pushed by johanneszarl into branch 'master'. Fix potential crash if DateBarWidget isn't properly initialized. M +2 -0 DateBar/DateBarWidget.cpp https://invent.kde.org/graphics/kphotoalbum/-/commit/9aa361dbb0493974462655a045d02dffcfada31a
Hi Jonas, I think I identified and fixed the issue at play. Are you able to compile kphotoalbum from source to check if the solution works for you? Cheers, Johannes
Have tried the new build, please see here: https://bugs.kde.org/show_bug.cgi?id=504777