Nautilus crashes when opening properties for image files

Nautilus is crashing when I open the properties of an image file (.jpg, .png, etc).

My system info:

System:
  Kernel: 6.6.40-1-lts arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
  Desktop: GNOME v: 46.3.1 tk: GTK v: 3.24.43 wm: gnome-shell dm: GDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA507NU_FA577NU
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: FA507NU v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: FA507NU.312 date: 08/11/2023
Battery:
  ID-1: BAT1 charge: 20.3 Wh (26.9%) condition: 75.6/90.2 Wh (83.8%)
    volts: 14.8 min: 15.9 model: ASUS A32-K55 serial: N/A status: discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 7735HS with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3+ rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
  Speed (MHz): avg: 522 high: 1398 min/max: 400/4829 cores: 1: 400 2: 400
    3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400
    13: 400 14: 1398 15: 400 16: 1367 bogomips: 102247
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA AD107M [GeForce RTX 4050 Max-Q / Mobile] vendor: ASUSTeK
    driver: nvidia v: 535.183.01 arch: Lovelace pcie: speed: 2.5 GT/s lanes: 8
    ports: active: none empty: DP-9,HDMI-A-1,eDP-2 bus-ID: 01:00.0
    chip-ID: 10de:28e1
  Device-2: AMD Rembrandt [Radeon 680M] vendor: ASUSTeK driver: amdgpu
    v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports: active: eDP-1
    empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6, DP-7, DP-8 bus-ID: 36:00.0
    chip-ID: 1002:1681 temp: 39.0 C
  Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-4:2 chip-ID: 2b7e:b685
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.1
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia dri: radeonsi
    gpu: amdgpu display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: eDP-1 model: AU Optronics B156HAN15.H res: 1920x1080 dpi: 142
    diag: 394mm (15.5")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: radeonsi
    device: 3 drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11:
    drv: radeonsi inactive: wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.1.4-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon 680M (radeonsi rembrandt
    LLVM 18.1.8 DRM 3.54 6.6.40-1-lts) device-ID: 1002:1681
Audio:
  Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:22be
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 36:00.1 chip-ID: 1002:1640
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
    driver: snd_pci_acp6x v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 36:00.5 chip-ID: 1022:15e2
  Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 36:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.6.40-1-lts status: kernel-api
  Server-1: PipeWire v: 1.2.1 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: e000 bus-ID: 03:00.0 chip-ID: 10ec:8168
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8852BE PCIe 802.11ax Wireless Network
    vendor: AzureWave driver: rtw89_8852be v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 04:00.0 chip-ID: 10ec:b852
  IF: wlan0 state: up mac: <filter>
  Device-3: Lite-On Dell Wireless Device driver: hid-generic,usbhid
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-2:2 chip-ID: 04ca:00ac
  IF-ID-1: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: IMC Networks Bluetooth Radio driver: btusb v: 0.8 type: USB
    rev: 1.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-3:3 chip-ID: 13d3:3571
  Report: btmgmt ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.3 lmp-v: 12
Drives:
  Local Storage: total: 942.7 GiB used: 1.51 TiB (164.2%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT500P1SSD8 size: 465.76 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 42.9 C
  ID-2: /dev/nvme1n1 vendor: Micron model: 2400 MTFDKBA512QFM
    size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 35.9 C
Partition:
  ID-1: / size: 133.51 GiB used: 84.07 GiB (63.0%) fs: ext4
    dev: /dev/nvme1n1p7
  ID-2: /boot/efi size: 256 MiB used: 64.1 MiB (25.0%) fs: vfat
    dev: /dev/nvme1n1p1
Swap:
  ID-1: swap-1 type: partition size: 7.81 GiB used: 773.8 MiB (9.7%)
    priority: -2 dev: /dev/nvme1n1p9
Sensors:
  System Temperatures: cpu: 45.2 C mobo: N/A gpu: amdgpu temp: 39.0 C
  Fan Speeds (rpm): cpu: 2100
Info:
  Memory: total: 16 GiB note: est. available: 14.87 GiB used: 5.06 GiB (34.1%)
  Processes: 408 Power: uptime: 1h 24m wakeups: 0 Init: systemd v: 256
    default: graphical
  Packages: 1216 pm: pacman pkgs: 1185 pm: flatpak pkgs: 31 Compilers:
    gcc: 14.1.1 Shell: Bash v: 5.2.26 running-in: gnome-terminal inxi: 3.3.35

Perhaps you could start your troubleshooting by launching nautilus from a terminal. Then try viewing the properties for some image files and see if you get any error messages in the terminal when nautilus crashes.

Also I will add that I have not been able to reproduce what you are experimenting.

If I run nautilus from terminal and open image properties I get segmentation fault.

$ nautilus 
** Message: 14:02:30.952: Connecting to org.freedesktop.Tracker3.Miner.Files
Segmentation fault (core dumped)

From logs it looks like the crash is occurring in libnautilus-image-properties.so.

Jul 23 14:04:47 laptop systemd[1982]: Started dbus-:1.2-org.gnome.Nautilus@6.service.
Jul 23 14:04:47 laptop nautilus[241617]: Connecting to org.freedesktop.Tracker3.Miner.Files
Jul 23 14:04:48 laptop systemd[1982]: Started dbus-:1.2-org.gnome.NautilusPreviewer@7.service.
Jul 23 14:05:37 laptop kernel: traps: nautilus[241617] general protection fault ip:7a85d32447c5 sp:7fffd3ecad68 error:0 in libc.so.6[7a85d30fd000+16c000]
Jul 23 14:05:37 laptop systemd-coredump[242449]: Process 241617 (nautilus) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Jul 23 14:05:38 laptop systemd-coredump[242450]: Process 241617 (nautilus) of user 1000 dumped core.
                                                          #3  0x00007a85bcf3253d n/a (libnautilus-image-properties.so + 0x253d)
                                                          #4  0x00007a85bcf32a07 n/a (libnautilus-image-properties.so + 0x2a07)
                                                          #5  0x00007a85bcf32f98 n/a (libnautilus-image-properties.so + 0x2f98)
                                                          #13 0x00005e97ceb92c58 n/a (nautilus + 0x28c58)
                                                          #16 0x00005e97ceb92cd5 n/a (nautilus + 0x28cd5)
Jul 23 14:05:38 laptop systemd[1982]: dbus-:1.2-org.gnome.Nautilus@6.service: Main process exited, code=dumped, status=11/SEGV
Jul 23 14:05:38 laptop systemd[1982]: dbus-:1.2-org.gnome.Nautilus@6.service: Failed with result 'core-dump'.
Jul 23 14:05:59 laptop systemd[1982]: Started dbus-:1.2-org.gnome.NautilusPreviewer@8.service.
Jul 23 14:06:44 laptop kernel: traps: nautilus[242775] general protection fault ip:7f4b578827c5 sp:7ffe6605b458 error:0 in libc.so.6[7f4b5773b000+16c000]
Jul 23 14:06:44 laptop systemd-coredump[243623]: Process 242775 (nautilus) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Jul 23 14:06:44 laptop systemd-coredump[243624]: Removed old coredump core.nautilus.1000.8235180498304b25a69035a8ae98b3dd.3380.1720774044000000.zst.
Jul 23 14:06:45 laptop systemd-coredump[243624]: Process 242775 (nautilus) of user 1000 dumped core.
                                                          #3  0x00007f4b393fb53d n/a (libnautilus-image-properties.so + 0x253d)
                                                          #4  0x00007f4b393fba07 n/a (libnautilus-image-properties.so + 0x2a07)
                                                          #5  0x00007f4b393fbf98 n/a (libnautilus-image-properties.so + 0x2f98)
                                                          #13 0x00005bfc565e2c58 n/a (nautilus + 0x28c58)
                                                          #16 0x00005bfc565e2cd5 n/a (nautilus + 0x28cd5)
Jul

This is happening just before. (libc)