SUMMARY On importing my collection, digikam segfaults. I have turned off aslr: kern.elf32.aslr.enable=0 kern.elf64.aslr.enable=0 It crashed with: Program terminated with signal SIGSEGV, Segmentation fault. Address not mapped to object. STEPS TO REPRODUCE 1. ensure digikam database files do not exist 2. start digikam 3. import collection 4. observe segfault OBSERVED RESULT segfault / crash EXPECTED RESULT digikam successfully imports collection and works without crashing SOFTWARE/OS VERSIONS digikam-8.2.0_2 Name : digikam Version : 8.2.0_2 Installed on : Thu Jan 25 06:32:57 2024 EST Origin : graphics/digikam Architecture : FreeBSD:14:amd64 Prefix : /usr/local Categories : kde graphics Licenses : GPLv2 Maintainer : kde@FreeBSD.org WWW : https://www.digikam.org/ Comment : KDE digital photo management application Options : FACEDETECT : off KDEPIM : on MEDIAPLAYER : on MYSQL : on MYSQL_INTERNAL : off NLS : on OPENAL : on PORTAUDIO : off PULSEAUDIO : off SQLITE3 : on Shared Libs required: libxslt.so.1 libxml2.so.2 libx265.so.200 libtiff.so.5 libswscale.so.7 libswresample.so.4 libpng16.so.16 libopencv_objdetect.so.406 libopencv_ml.so.406 libopencv_imgproc.so.406 libopencv_imgcodecs.so.406 libopencv_flann.so.406 libopencv_features2d.so.406 libopencv_dnn.so.406 libopencv_core.so.406 libopencv_calib3d.so.406 libopenal.so.1 libmarblewidget-qt5.so.28 liblensfun.so.2 liblcms2.so.2 libjpeg.so.8 libjasper.so.7 libheif.so.1 libgphoto2_port.so.12 libgphoto2.so.6 libglib-2.0.so.0 libexslt.so.0 libexpat.so.1 libexiv2.so.28 libavutil.so.58 libavformat.so.60 libavfilter.so.9 libavdevice.so.60 libavcodec.so.60 libass.so.9 libXv.so.1 libXext.so.6 libX11.so.6 libSM.so.6 libQt5XmlPatterns.so.5 libQt5Xml.so.5 libQt5X11Extras.so.5 libQt5Widgets.so.5 libQt5WebEngineWidgets.so.5 libQt5WebEngineCore.so.5 libQt5WebChannel.so.5 libQt5Sql.so.5 libQt5Quick.so.5 libQt5QmlModels.so.5 libQt5Qml.so.5 libQt5PrintSupport.so.5 libQt5Positioning.so.5 libQt5OpenGL.so.5 libQt5NetworkAuth.so.5 libQt5Network.so.5 libQt5Gui.so.5 libQt5DBus.so.5 libQt5Core.so.5 libQt5Concurrent.so.5 libOpenGL.so.0 libMagickWand-7.so.10 libMagickCore-7.so.10 libMagick++-7.so.5 libKPim5GrantleeTheme.so.5 libKPim5AkonadiWidgets.so.5 libKPim5AkonadiCore.so.5 libKPim5AkonadiContact.so.5 libKF5XmlGui.so.5 libKF5WindowSystem.so.5 libKF5WidgetsAddons.so.5 libKF5ThreadWeaver.so.5 libKF5SonnetUi.so.5 libKF5SonnetCore.so.5 libKF5Solid.so.5 libKF5Service.so.5 libKF5Sane.so.5 libKF5NotifyConfig.so.5 libKF5Notifications.so.5 libKF5KIOWidgets.so.5 libKF5KIOGui.so.5 libKF5KIOCore.so.5 libKF5JobWidgets.so.5 libKF5ItemModels.so.5 libKF5IconThemes.so.5 libKF5I18n.so.5 libKF5FileMetaData.so.3 libKF5CoreAddons.so.5 libKF5Contacts.so.5 libKF5ConfigWidgets.so.5 libKF5ConfigGui.so.5 libKF5ConfigCore.so.5 libKF5Completion.so.5 libKF5Codecs.so.5 libKF5CalendarCore.so.5 libKF5AuthCore.so.5 libKF5Auth.so.5 libICE.so.6 libGrantlee_Templates.so.5 libGLX.so.0 libGLU.so.1 libEGL.so.1 Shared Libs provided: libdigikamgui.so.8.2.0 libdigikamdatabase.so.8.2.0 libdigikamcore.so.8.2.0 Annotations : FreeBSD_version: 1400097 build_timestamp: 2024-01-23T21:40:36+0000 built_by : poudriere-git-3.4.1 port_checkout_unclean: no port_git_hash : 1ad517b45 ports_top_checkout_unclean: no ports_top_git_hash: ace2a2997 repo_type : binary repository : FreeBSD ADDITIONAL INFORMATION I am using digikam installed from pkg on an amd64 system.
I have a coredump, but it is 1.5 GB in size. If there is a way for me to cut that down where it can still be useful, please let me know.
Please create a simple GDB backtrace as described here: https://www.digikam.org/contribute/ Maik
Git commit 2fcf896234e692ead19a3bb14aab8f16c2e621d3 by Maik Qualmann. Committed on 26/01/2024 at 22:36. Pushed by mqualmann into branch 'master'. switch to QMutex to protect album child cache and protect the correct parent child cache. Related: bug 480373 FIXED-IN: 8.3.0 M +1 -1 NEWS M +15 -11 core/libs/album/engine/album.cpp M +2 -2 core/libs/album/engine/album.h https://invent.kde.org/graphics/digikam/-/commit/2fcf896234e692ead19a3bb14aab8f16c2e621d3
Git commit d92bb3d84dc8634a7c5634e2626fee6f932c7e4d by Maik Qualmann. Committed on 27/01/2024 at 11:41. Pushed by mqualmann into branch 'master'. revert to QReadWriteLocker and protect the right parent child cache Related: bug 480373 M +11 -15 core/libs/album/engine/album.cpp M +2 -2 core/libs/album/engine/album.h https://invent.kde.org/graphics/digikam/-/commit/d92bb3d84dc8634a7c5634e2626fee6f932c7e4d
@a52ca063, digiKam 8.3.0 stable version is released and available at usual place : https://www.digikam.org/download/ Can you reproduce the dysfunction on your computer ? Thanks in advance Gilles Caulier
Hi, digiKam 8.5.0. is out with many fixes and improvements. https://www.digikam.org/news/2024-11-16-8.5.0_release_announcement/ This report still valid with this version? Thanks in advance Gilles Caulier
I tested this in 8.4.0 and am no longer encountering this issue. Whatever changed between 8.2.0 and 8.4.0 resolved the issue for me. Many thanks, Walter