Bug 497178 - Whole digikam crashes when importing pictures and videos from SD Card
Summary: Whole digikam crashes when importing pictures and videos from SD Card
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Albums (show other bugs)
Version: 8.5.0
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-07 22:25 UTC by Yaakov D.
Modified: 2025-04-12 06:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
attachment-1776017-0.html (10.11 KB, text/html)
2024-12-09 21:29 UTC, Yaakov D.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yaakov D. 2024-12-07 22:25:20 UTC
SUMMARY
Whole digikam crashes when importing pictures and videos from SD Card. The imported pictures and videos were taken using a Fujifilm X-T30ii. The SD Card is a Sandisk 128GB Extreme PRO 200MB/s

STEPS TO REPRODUCE
1. Open digikam
2. Click [Download Photos with digiKam] 
3. Click on a date, it selects the pictures of that date
4. Click [Item]->[Download Selected], select the destination album (on my local disk) 

OBSERVED RESULT
It starts the import then crashes. Import window and main digikam window disappear.
Some pictures are imported in the correct, they have mangled names, e.g. Camera-Allsvv-1721669a.digikamtempfile.DSCF0446.JPG

EXPECTED RESULT
Complete the picture import.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
Operating System: Manjaro Linux 

Kernel Version: 6.6.63-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i7-10700 CPU @ 2.90GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: ASUS
OpenCL:
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.3.2
  ICD loader Profile                              OpenCL 3.0

Wayland:
interface: 'wl_compositor',                              version:  6, name:  1
interface: 'zwp_tablet_manager_v2',                      version:  1, name:  3
interface: 'zwp_keyboard_shortcuts_inhibit_manager_v1',  version:  1, name:  4
interface: 'zxdg_decoration_manager_v1',                 version:  1, name:  5
interface: 'wp_viewporter',                              version:  1, name:  6
interface: 'wp_security_context_manager_v1',             version:  1, name:  7
interface: 'wp_fractional_scale_manager_v1',             version:  1, name:  8
interface: 'wl_shm',                                     version:  1, name:  9
	formats (fourcc):
	0x34324752 = 'RG24'
	0x34324742 = 'BG24'
	0x38344258 = 'XB48'
	0x38344241 = 'AB48'
	0x30334258 = 'XB30'
	0x30334241 = 'AB30'
	0x30335258 = 'XR30'
	0x30335241 = 'AR30'
	         1 = 'XR24'
	         0 = 'AR24'
interface: 'wl_seat',                                    version:  9, name: 10
	name: seat0
	capabilities: pointer keyboard
	keyboard repeat rate: 25
	keyboard repeat delay: 600
interface: 'zwp_pointer_gestures_v1',                    version:  3, name: 11
interface: 'zwp_pointer_constraints_v1',                 version:  1, name: 12
interface: 'zwp_relative_pointer_manager_v1',            version:  1, name: 13
interface: 'wl_data_device_manager',                     version:  3, name: 14
interface: 'zwlr_data_control_manager_v1',               version:  2, name: 15
interface: 'wp_cursor_shape_manager_v1',                 version:  1, name: 16
interface: 'zwp_primary_selection_device_manager_v1',    version:  1, name: 17
interface: 'org_kde_kwin_idle',                          version:  1, name: 18
interface: 'zwp_idle_inhibit_manager_v1',                version:  1, name: 19
interface: 'ext_idle_notifier_v1',                       version:  1, name: 20
interface: 'org_kde_plasma_shell',                       version:  8, name: 21
interface: 'org_kde_kwin_appmenu_manager',               version:  1, name: 22
interface: 'org_kde_kwin_server_decoration_palette_manager', version:  1, name: 23
interface: 'org_kde_plasma_virtual_desktop_management',  version:  2, name: 25
interface: 'org_kde_kwin_shadow_manager',                version:  2, name: 27
interface: 'org_kde_kwin_dpms_manager',                  version:  1, name: 28
interface: 'org_kde_kwin_server_decoration_manager',     version:  1, name: 29
interface: 'kde_output_management_v2',                   version:  9, name: 30
interface: 'zxdg_output_manager_v1',                     version:  3, name: 31
	xdg_output_v1
		output: 64
		name: 'DP-1'
		description: 'Lenovo Group Limited T24v-20/V907D0GG'
		logical_x: 0, logical_y: 0
		logical_width: 1920, logical_height: 1080
interface: 'wl_subcompositor',                           version:  1, name: 32
interface: 'zxdg_exporter_v2',                           version:  1, name: 33
interface: 'zxdg_importer_v2',                           version:  1, name: 34
interface: 'xdg_activation_v1',                          version:  1, name: 37
interface: 'wp_content_type_manager_v1',                 version:  1, name: 39
interface: 'wp_tearing_control_manager_v1',              version:  1, name: 40
interface: 'xdg_toplevel_drag_manager_v1',               version:  1, name: 41
interface: 'kde_screen_edge_manager_v1',                 version:  1, name: 42
interface: 'frog_color_management_factory_v1',           version:  1, name: 43
interface: 'wp_presentation',                            version:  1, name: 44
	presentation clock id: 1 (CLOCK_MONOTONIC)
interface: 'xx_color_manager_v4',                        version:  1, name: 45
interface: 'xdg_wm_dialog_v1',                           version:  1, name: 46
interface: 'kde_external_brightness_v1',                 version:  1, name: 47
interface: 'wp_alpha_modifier_v1',                       version:  1, name: 48
interface: 'xdg_wm_base',                                version:  6, name: 51
interface: 'zwlr_layer_shell_v1',                        version:  5, name: 52
interface: 'wp_drm_lease_device_v1',                     version:  1, name: 54
	path: /dev/dri/card1
interface: 'kde_output_order_v1',                        version:  1, name: 55
interface: 'zwp_text_input_manager_v1',                  version:  1, name: 56
interface: 'zwp_text_input_manager_v2',                  version:  1, name: 57
interface: 'zwp_text_input_manager_v3',                  version:  1, name: 58
interface: 'wl_drm',                                     version:  2, name: 60
interface: 'zwp_linux_dmabuf_v1',                        version:  4, name: 61
	main device: 0xE280 (/dev/dri/card1 or /dev/dri/renderD128)
	tranche
		target device: 0xE280 (/dev/dri/card1 or /dev/dri/renderD128)
		flags: none
		formats (fourcc) and modifiers (names):
		0x20203852 = 'R8  '; 0x0000000000000000 = LINEAR
		0x20203852 = 'R8  '; 0x0100000000000001 = INTEL_X_TILED
		0x20203852 = 'R8  '; 0x0100000000000002 = INTEL_Y_TILED
		0x20203852 = 'R8  '; 0x00ffffffffffffff = INVALID
		0x38344258 = 'XB48'; 0x0000000000000000 = LINEAR
		0x38344258 = 'XB48'; 0x0100000000000001 = INTEL_X_TILED
		0x38344258 = 'XB48'; 0x0100000000000002 = INTEL_Y_TILED
		0x38344258 = 'XB48'; 0x0100000000000004 = INTEL_Y_TILED_CCS
		0x38344258 = 'XB48'; 0x00ffffffffffffff = INVALID
		0x20363152 = 'R16 '; 0x0000000000000000 = LINEAR
		0x20363152 = 'R16 '; 0x0100000000000001 = INTEL_X_TILED
		0x20363152 = 'R16 '; 0x0100000000000002 = INTEL_Y_TILED
		0x20363152 = 'R16 '; 0x00ffffffffffffff = INVALID
		0x35315241 = 'AR15'; 0x0000000000000000 = LINEAR
		0x35315241 = 'AR15'; 0x0100000000000001 = INTEL_X_TILED
		0x35315241 = 'AR15'; 0x0100000000000002 = INTEL_Y_TILED
		0x35315241 = 'AR15'; 0x00ffffffffffffff = INVALID
		0x48344258 = 'XB4H'; 0x0000000000000000 = LINEAR
		0x48344258 = 'XB4H'; 0x0100000000000001 = INTEL_X_TILED
		0x48344258 = 'XB4H'; 0x0100000000000002 = INTEL_Y_TILED
		0x48344258 = 'XB4H'; 0x0100000000000004 = INTEL_Y_TILED_CCS
		0x48344258 = 'XB4H'; 0x00ffffffffffffff = INVALID
		0x38385247 = 'GR88'; 0x0000000000000000 = LINEAR
		0x38385247 = 'GR88'; 0x0100000000000001 = INTEL_X_TILED
		0x38385247 = 'GR88'; 0x0100000000000002 = INTEL_Y_TILED
		0x38385247 = 'GR88'; 0x00ffffffffffffff = INVALID
		0x36314752 = 'RG16'; 0x0000000000000000 = LINEAR
		0x36314752 = 'RG16'; 0x0100000000000001 = INTEL_X_TILED
		0x36314752 = 'RG16'; 0x0100000000000002 = INTEL_Y_TILED
		0x36314752 = 'RG16'; 0x00ffffffffffffff = INVALID
		0x32335247 = 'GR32'; 0x0000000000000000 = LINEAR
		0x32335247 = 'GR32'; 0x0100000000000001 = INTEL_X_TILED
		0x32335247 = 'GR32'; 0x0100000000000002 = INTEL_Y_TILED
		0x32335247 = 'GR32'; 0x0100000000000004 = INTEL_Y_TILED_CCS
		0x32335247 = 'GR32'; 0x00ffffffffffffff = INVALID
		0x3231564e = 'NV12'; 0x0000000000000000 = LINEAR
		0x3231564e = 'NV12'; 0x0100000000000001 = INTEL_X_TILED
		0x3231564e = 'NV12'; 0x0100000000000002 = INTEL_Y_TILED
		0x3231564e = 'NV12'; 0x00ffffffffffffff = INVALID
		0x48344241 = 'AB4H'; 0x0000000000000000 = LINEAR
		0x48344241 = 'AB4H'; 0x0100000000000001 = INTEL_X_TILED
		0x48344241 = 'AB4H'; 0x0100000000000002 = INTEL_Y_TILED
		0x48344241 = 'AB4H'; 0x0100000000000004 = INTEL_Y_TILED_CCS
		0x48344241 = 'AB4H'; 0x00ffffffffffffff = INVALID
		0x32315241 = 'AR12'; 0x0000000000000000 = LINEAR
		0x32315241 = 'AR12'; 0x0100000000000001 = INTEL_X_TILED
		0x32315241 = 'AR12'; 0x0100000000000002 = INTEL_Y_TILED
		0x32315241 = 'AR12'; 0x00ffffffffffffff = INVALID
		0x38344241 = 'AB48'; 0x0000000000000000 = LINEAR
		0x38344241 = 'AB48'; 0x0100000000000001 = INTEL_X_TILED
		0x38344241 = 'AB48'; 0x0100000000000002 = INTEL_Y_TILED
		0x38344241 = 'AB48'; 0x0100000000000004 = INTEL_Y_TILED_CCS
		0x38344241 = 'AB48'; 0x00ffffffffffffff = INVALID
	tranche
		target device: 0xE280 (/dev/dri/card1 or /dev/dri/renderD128)
		flags: none
		formats (fourcc) and modifiers (names):
		0x34325241 = 'AR24'; 0x0000000000000000 = LINEAR
		0x34325241 = 'AR24'; 0x0100000000000001 = INTEL_X_TILED
		0x34325241 = 'AR24'; 0x0100000000000002 = INTEL_Y_TILED
		0x34325241 = 'AR24'; 0x0100000000000004 = INTEL_Y_TILED_CCS
		0x34325241 = 'AR24'; 0x00ffffffffffffff = INVALID
		0x34324258 = 'XB24'; 0x0000000000000000 = LINEAR
		0x34324258 = 'XB24'; 0x0100000000000001 = INTEL_X_TILED
		0x34324258 = 'XB24'; 0x0100000000000002 = INTEL_Y_TILED
		0x34324258 = 'XB24'; 0x0100000000000004 = INTEL_Y_TILED_CCS
		0x34324258 = 'XB24'; 0x00ffffffffffffff = INVALID
		0x34324241 = 'AB24'; 0x0000000000000000 = LINEAR
		0x34324241 = 'AB24'; 0x0100000000000001 = INTEL_X_TILED
		0x34324241 = 'AB24'; 0x0100000000000002 = INTEL_Y_TILED
		0x34324241 = 'AB24'; 0x0100000000000004 = INTEL_Y_TILED_CCS
		0x34324241 = 'AB24'; 0x00ffffffffffffff = INVALID
		0x34325258 = 'XR24'; 0x0000000000000000 = LINEAR
		0x34325258 = 'XR24'; 0x0100000000000001 = INTEL_X_TILED
		0x34325258 = 'XR24'; 0x0100000000000002 = INTEL_Y_TILED
		0x34325258 = 'XR24'; 0x0100000000000004 = INTEL_Y_TILED_CCS
		0x34325258 = 'XR24'; 0x00ffffffffffffff = INVALID
	tranche
		target device: 0xE280 (/dev/dri/card1 or /dev/dri/renderD128)
		flags: none
		formats (fourcc) and modifiers (names):
		0x30335258 = 'XR30'; 0x0000000000000000 = LINEAR
		0x30335258 = 'XR30'; 0x0100000000000001 = INTEL_X_TILED
		0x30335258 = 'XR30'; 0x0100000000000002 = INTEL_Y_TILED
		0x30335258 = 'XR30'; 0x00ffffffffffffff = INVALID
		0x30335241 = 'AR30'; 0x0000000000000000 = LINEAR
		0x30335241 = 'AR30'; 0x0100000000000001 = INTEL_X_TILED
		0x30335241 = 'AR30'; 0x0100000000000002 = INTEL_Y_TILED
		0x30335241 = 'AR30'; 0x00ffffffffffffff = INVALID
		0x30334241 = 'AB30'; 0x0000000000000000 = LINEAR
		0x30334241 = 'AB30'; 0x0100000000000001 = INTEL_X_TILED
		0x30334241 = 'AB30'; 0x0100000000000002 = INTEL_Y_TILED
		0x30334241 = 'AB30'; 0x00ffffffffffffff = INVALID
interface: 'wp_linux_drm_syncobj_manager_v1',            version:  1, name: 62
interface: 'kde_output_device_v2',                       version:  9, name: 63
interface: 'wl_output',                                  version:  4, name: 64
	name: DP-1
	description: Lenovo Group Limited T24v-20/V907D0GG
	x: 0, y: 0, scale: 1,
	physical_width: 527 mm, physical_height: 296 mm,
	make: 'Lenovo Group Limited', model: 'T24v-20/V907D0GG',
	subpixel_orientation: unknown, output_transform: normal,
	mode:
		width: 1920 px, height: 1080 px, refresh: 60.000 Hz,
		flags: current
interface: 'org_kde_kwin_blur_manager',                  version:  1, name: 65
interface: 'org_kde_kwin_slide_manager',                 version:  1, name: 66
Comment 1 caulier.gilles 2024-12-08 04:23:13 UTC
Please provide a GDB backtrace : https://www.digikam.org/contribute/#linux-host-1
Comment 2 Yaakov D. 2024-12-08 18:25:37 UTC
gdb fails (crashes and close) before opening the 1st digikam window.

gdb /usr/bin/digikam                                                                                                                ✔ 
GNU gdb (GDB) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/digikam...

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Reading symbols from /home/yaakov/.cache/debuginfod_client/552267f458f9f617b33bc3a8af7de1c6ce2ca1cb/debuginfo...
(gdb) catch throw
Catchpoint 1 (throw)
(gdb) run
Starting program: /usr/bin/digikam 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Comment 3 Maik Qualmann 2024-12-09 09:09:38 UTC
Hmm, it's strange that it crashes with the debugger.
Can you please test with our AppImage whether the problem can be reproduced during import?

https://files.kde.org/digikam/

Maik
Comment 4 Yaakov D. 2024-12-09 21:29:20 UTC
Created attachment 176467 [details]
attachment-1776017-0.html

Sorry, how to run it? I tried the following:

   ~/Downloads/linux 
./digiKam-8.6.0-20241209T170150-Qt6-x86-64.appimage
                                                            126 ✘
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam
application.
-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.
--        to enable all debug messages on the console, use 'export
QT_LOGGING_RULES="digikam*=true"'.
--        to extract the bundle contents locally, use option
'--appimage-extract' on the command line.
-- Detected host Linux manjarolinux-64-24.2.0
-- AppImage mounted directory: /tmp/.mount_digiKa6DWEok
Check library libudev.so.0
Check library libxcb-dri3.so.0
Check library libcrypto.so.1.1
Check library libssl.so.1.1
Check library libnss3.so
Check library libnssutil3.so
Check library libsmime3.so
Check library libgmodule-2.0.so.0
Check library libgnutls.so.30
Check library libnettle.so.8
-- Preloading shared libs:
:/usr/lib64/libxcb-dri3.so.0:/usr/lib64/libnss3.so:/usr/lib64/libnssutil3.so:/usr/lib64/libsmime3.so:/usr/lib64/libgmodu
le-2.0.so.0:/usr/lib64/libgnutls.so.30:/usr/lib64/libnettle.so.8
digikam: symbol lookup error: /usr/lib64/libgnutls.so.30: undefined symbol:
nettle_rsa_oaep_sha384_decrypt, version HOGWEED_6
   ~/Downloads/linux  dbg
./digiKam-8.6.0-20241209T170150-Qt6-x86-64.appimage
                                                 127 ✘  4s 
zsh: correct 'dbg' to 'rdbg' [nyae]? n
zsh: command not found: dbg
   ~/Downloads/linux  gdb
./digiKam-8.6.0-20241209T170150-Qt6-x86-64.appimage
                                                        127 ✘
GNU gdb (GDB) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
   <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./digiKam-8.6.0-20241209T170150-Qt6-x86-64.appimage...

This GDB supports auto-downloading debuginfo from the following URLs:
 <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to
.gdbinit.
Downloading separate debug info for
/mnt/home_hdd/yaakov/downloads/linux/digiKam-8.6.0-20241209T170150-Qt6-x86-64.appimage
(No debugging symbols found in
./digiKam-8.6.0-20241209T170150-Qt6-x86-64.appimage)

(gdb)



Le lun. 9 déc. 2024 à 11:09, Maik Qualmann <bugzilla_noreply@kde.org> a
écrit :

> https://bugs.kde.org/show_bug.cgi?id=497178
>
> Maik Qualmann <metzpinguin@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |metzpinguin@gmail.com
>
> --- Comment #3 from Maik Qualmann <metzpinguin@gmail.com> ---
> Hmm, it's strange that it crashes with the debugger.
> Can you please test with our AppImage whether the problem can be reproduced
> during import?
>
> https://files.kde.org/digikam/
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 5 caulier.gilles 2025-03-15 15:32:28 UTC
Hi,

digiKam 8.6.0 is just released:

https://www.digikam.org/news/2025-03-15-8.6.0_release_announcement/

Problem still exists with this version?

Thanks in advance

Gilles Caulier
Comment 6 caulier.gilles 2025-04-12 06:13:56 UTC
Yaakov, any feedback here ?