Unison-gui crashes

Hmmm… unison-gui crashes after running four-five seconds. The text-style unison command works correctly (thanks $DEITY).

Mar 06 18:16:50 ramoth kernel: unison-gui[3247]: segfault at 40100002 ip 000055fe9db121eb sp 00007fff95ab3760 error 4 in unison-gui[55fe9d883000+2a>
Mar 06 18:16:50 ramoth kernel: Code: 39 ee 72 2e 48 39 c1 73 09 4c 39 e9 0f 83 a5 00 00 00 48 8d 04 16 48 89 01 49 8b 44 24 10 48 89 f1 48 8d 71 30>
Mar 06 18:16:50 ramoth systemd[1]: Created slice Slice /system/systemd-coredump.
stack trace
Mar 06 18:16:53 ramoth systemd-coredump[3559]: [🡕] Process 3247 (unison-gui) of user 1153 dumped core.
                                               
                                               Stack trace of thread 3247:
                                               #0  0x000055fe9db121eb caml_try_realloc_stack (unison-gui + 0x3a51eb)
                                               #1  0x000055fe9db2f5ac caml_call_realloc_stack (unison-gui + 0x3c25ac)
                                               #2  0x000055fe9d94246f camlFileinfo.fun_1229 (unison-gui + 0x1d546f)
                                               #3  0x000055fe9dccfe48 camlFileinfo.gc_roots (unison-gui + 0x562e48)
                                               #4  0x000055fe9d94246f camlFileinfo.fun_1229 (unison-gui + 0x1d546f)
                                               #5  0x000055fe9dccfe48 camlFileinfo.gc_roots (unison-gui + 0x562e48)
                                               #6  0x000055fe9d8eef55 camlFiles.fun_2969 (unison-gui + 0x181f55)
                                               #7  0x000055fe9d9635d5 camlLwt_util.fun_612 (unison-gui + 0x1f65d5)
                                               #8  0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #9  0x000055fe9d9634e8 camlLwt_util.run_in_region_1_454 (unison-gui + 0x1f64e8)
                                               #10 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #11 0x000055fe9d963fd2 camlLwt.fun_551 (unison-gui + 0x1f6fd2)
                                               #12 0x000055fe9da71564 camlStdlib__List.iter_365 (unison-gui + 0x304564)
                                               #13 0x000055fe9d963a3d camlLwt.restart_283 (unison-gui + 0x1f6a3d)
                                               #14 0x000055fe9d9633e3 camlLwt_util.leave_region_448 (unison-gui + 0x1f63e3)
                                               #15 0x000055fe9d96354a camlLwt_util.fun_621 (unison-gui + 0x1f654a)
                                               #16 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #17 0x000055fe9d9634e8 camlLwt_util.run_in_region_1_454 (unison-gui + 0x1f64e8)
                                               #18 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #19 0x000055fe9d963fd2 camlLwt.fun_551 (unison-gui + 0x1f6fd2)
                                               #20 0x000055fe9da71564 camlStdlib__List.iter_365 (unison-gui + 0x304564)
                                               #21 0x000055fe9d963a3d camlLwt.restart_283 (unison-gui + 0x1f6a3d)
                                               #22 0x000055fe9d9633e3 camlLwt_util.leave_region_448 (unison-gui + 0x1f63e3)
                                               #23 0x000055fe9d96354a camlLwt_util.fun_621 (unison-gui + 0x1f654a)
                                               #24 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #25 0x000055fe9d9634e8 camlLwt_util.run_in_region_1_454 (unison-gui + 0x1f64e8)
                                               #26 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #27 0x000055fe9d963fd2 camlLwt.fun_551 (unison-gui + 0x1f6fd2)
                                               #28 0x000055fe9da71564 camlStdlib__List.iter_365 (unison-gui + 0x304564)
                                               #29 0x000055fe9d963a3d camlLwt.restart_283 (unison-gui + 0x1f6a3d)
                                               #30 0x000055fe9d9633e3 camlLwt_util.leave_region_448 (unison-gui + 0x1f63e3)
                                              #31 0x000055fe9d96354a camlLwt_util.fun_621 (unison-gui + 0x1f654a)
                                               #32 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #33 0x000055fe9d9634e8 camlLwt_util.run_in_region_1_454 (unison-gui + 0x1f64e8)
                                               #34 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #35 0x000055fe9d963fd2 camlLwt.fun_551 (unison-gui + 0x1f6fd2)
                                               #36 0x000055fe9da71564 camlStdlib__List.iter_365 (unison-gui + 0x304564)
                                               #37 0x000055fe9d963a3d camlLwt.restart_283 (unison-gui + 0x1f6a3d)
                                               #38 0x000055fe9d9633e3 camlLwt_util.leave_region_448 (unison-gui + 0x1f63e3)
                                               #39 0x000055fe9d96354a camlLwt_util.fun_621 (unison-gui + 0x1f654a)
                                               #40 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #41 0x000055fe9d9634e8 camlLwt_util.run_in_region_1_454 (unison-gui + 0x1f64e8)
                                               #42 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #43 0x000055fe9d963fd2 camlLwt.fun_551 (unison-gui + 0x1f6fd2)
                                               #44 0x000055fe9da71564 camlStdlib__List.iter_365 (unison-gui + 0x304564)
                                               #45 0x000055fe9d963a3d camlLwt.restart_283 (unison-gui + 0x1f6a3d)
                                               #46 0x000055fe9d9633e3 camlLwt_util.leave_region_448 (unison-gui + 0x1f63e3)
                                               #47 0x000055fe9d96354a camlLwt_util.fun_621 (unison-gui + 0x1f654a)
                                               #48 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #49 0x000055fe9d9634e8 camlLwt_util.run_in_region_1_454 (unison-gui + 0x1f64e8)
                                               #50 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #51 0x000055fe9d963fd2 camlLwt.fun_551 (unison-gui + 0x1f6fd2)
                                               #52 0x000055fe9da71564 camlStdlib__List.iter_365 (unison-gui + 0x304564)
                                               #53 0x000055fe9d963a3d camlLwt.restart_283 (unison-gui + 0x1f6a3d)
                                               #54 0x000055fe9d9633e3 camlLwt_util.leave_region_448 (unison-gui + 0x1f63e3)
                                               #55 0x000055fe9d96354a camlLwt_util.fun_621 (unison-gui + 0x1f654a)
                                               #56 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #57 0x000055fe9d9634e8 camlLwt_util.run_in_region_1_454 (unison-gui + 0x1f64e8)
                                               #58 0x000055fe9d963cb1 camlLwt.apply_361 (unison-gui + 0x1f6cb1)
                                               #59 0x000055fe9d963fd2 camlLwt.fun_551 (unison-gui + 0x1f6fd2)
                                               #60 0x000055fe9da71564 camlStdlib__List.iter_365 (unison-gui + 0x304564)
                                               #61 0x000055fe9d963a3d camlLwt.restart_283 (unison-gui + 0x1f6a3d)
                                               #62 0x000055fe9d9633e3 camlLwt_util.leave_region_448 (unison-gui + 0x1f63e3)
                                               #63 0x000055fe9d96354a camlLwt_util.fun_621 (unison-gui + 0x1f654a)
                                               
                                               Stack trace of thread 3251:
                                               #0  0x00007f542a9aa0bf __poll (libc.so.6 + 0xff0bf)
                                               #1  0x00007f542ad0a2f6 n/a (libglib-2.0.so.0 + 0xb82f6)
                                               #2  0x00007f542acaa162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                                               #3  0x00007f542acaa1b2 n/a (libglib-2.0.so.0 + 0x581b2)
                                               #4  0x00007f542acdda45 n/a (libglib-2.0.so.0 + 0x8ba45)
                                               #5  0x00007f542a93a55a n/a (libc.so.6 + 0x8f55a)
                                               #6  0x00007f542a9b7a3c n/a (libc.so.6 + 0x10ca3c)
                                               
                                               Stack trace of thread 3253:
                                               #0  0x00007f542a9aa0bf __poll (libc.so.6 + 0xff0bf)
                                               #1  0x00007f542ad0a2f6 n/a (libglib-2.0.so.0 + 0xb82f6)
                                               #2  0x00007f542acacb97 g_main_loop_run (libglib-2.0.so.0 + 0x5ab97)
                                               #3  0x00007f542a41c19c n/a (libgio-2.0.so.0 + 0x11219c)
                                               #4  0x00007f542acdda45 n/a (libglib-2.0.so.0 + 0x8ba45)
                                               #5  0x00007f542a93a55a n/a (libc.so.6 + 0x8f55a)
                                               #6  0x00007f542a9b7a3c n/a (libc.so.6 + 0x10ca3c)
                                               
                                               Stack trace of thread 3254:
                                               #0  0x00007f542a9aa0bf __poll (libc.so.6 + 0xff0bf)
                                               #1  0x00007f542ad0a2f6 n/a (libglib-2.0.so.0 + 0xb82f6)
                                               #2  0x00007f542acaa162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                                               #3  0x00007f542961dfde n/a (libdconfsettings.so + 0x5fde)
                                               #4  0x00007f542acdda45 n/a (libglib-2.0.so.0 + 0x8ba45)
                                               #5  0x00007f542a93a55a n/a (libc.so.6 + 0x8f55a)
                                               #6  0x00007f542a9b7a3c n/a (libc.so.6 + 0x10ca3c)
                                               
                                               Stack trace of thread 3250:
                                               #0  0x00007f542a9b588d syscall (libc.so.6 + 0x10a88d)
                                               #1  0x00007f542ad05337 g_cond_wait (libglib-2.0.so.0 + 0xb3337)
                                               #2  0x00007f542ac771b4 n/a (libglib-2.0.so.0 + 0x251b4)
                                               #3  0x00007f542acdface n/a (libglib-2.0.so.0 + 0x8dace)
                                               #4  0x00007f542acdda45 n/a (libglib-2.0.so.0 + 0x8ba45)
                                               #5  0x00007f542a93a55a n/a (libc.so.6 + 0x8f55a)
                                               #6  0x00007f542a9b7a3c n/a (libc.so.6 + 0x10ca3c)
                                               
                                               Stack trace of thread 3255:
                                               #0  0x00007f542a9b588d syscall (libc.so.6 + 0x10a88d)
                                               #1  0x00007f542ad05337 g_cond_wait (libglib-2.0.so.0 + 0xb3337)
                                               #2  0x00007f542ac771b4 n/a (libglib-2.0.so.0 + 0x251b4)
                                               #3  0x00007f542ac7721c g_async_queue_pop (libglib-2.0.so.0 + 0x2521c)
                                               #4  0x00007f542a2eac48 n/a (libpangoft2-1.0.so.0 + 0x8c48)
                                               #5  0x00007f542acdda45 n/a (libglib-2.0.so.0 + 0x8ba45)
                                               #6  0x00007f542a93a55a n/a (libc.so.6 + 0x8f55a)
                                               #7  0x00007f542a9b7a3c n/a (libc.so.6 + 0x10ca3c)
                                               ELF object binary architecture: AMD x86-64

I did not have time to explore it further (too late here).

Details of the program:

pacman -Qi
pacman -Qi unison                                                ✔ 
Name            : unison
Version         : 2.53.4-2
Description     : File-synchronization tool
Architecture    : x86_64
URL             : https://github.com/bcpierce00/unison/
Licenses        : GPL2
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : gtk3: graphical interface [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 11.91 MiB
Packager        : Caleb Maclennan <alerque@archlinux.org>
Build Date      : Thu 22 Feb 2024 13:47:46
Install Date    : Wed 06 Mar 2024 18:12:25
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature
inxi -v4
System:
  Host: ramoth Kernel: 6.6.19-1-MANJARO arch: x86_64 bits: 64 compiler: gcc
    v: 13.2.1
  Desktop: GNOME v: 45.4 Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: N/A model: HX90 serial: <superuser required>
    UEFI: American Megatrends LLC. v: 5.19 date: 10/11/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard
    charge: 55% (should be ignored) status: discharging
CPU:
  Info: 8-core model: AMD Ryzen 9 5900HX with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
  Speed (MHz): avg: 527 high: 1449 min/max: 400/4680 cores: 1: 400 2: 1449
    3: 400 4: 400 5: 400 6: 1397 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400
    13: 400 14: 400 15: 400 16: 400 bogomips: 105441
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel arch: GCN-5 bus-ID: 04:00.0 temp: 38.0 C
  Device-2: Creative Live! Cam Sync 1080p V2 driver: snd-usb-audio,uvcvideo
    type: USB bus-ID: 1-2.3:5
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: X: loaded: amdgpu
    unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu resolution:
    1: 2560x1440~60Hz 2: 1920x1080~60Hz
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.2-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    renoir LLVM 16.0.6 DRM 3.54 6.6.19-1-MANJARO)
Network:
  Device-1: Intel Ethernet I225-V driver: igc v: kernel port: N/A
    bus-ID: 02:00.0
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: 1c:83:41:29:f5:5a
  Device-2: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e v: kernel
    bus-ID: 03:00.0
  IF: wlp3s0 state: up mac: 10:6f:d9:3c:ab:cd
Drives:
  Local Storage: total: 3.64 TiB used: 1.36 TiB (37.4%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD Green SN350 2TB
    size: 1.82 TiB temp: 34.9 C
  ID-2: /dev/sda vendor: Seagate model: ST2000LX001-1RG174 size: 1.82 TiB
Partition:
  ID-1: / size: 1.82 TiB used: 841.17 GiB (45.2%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 576 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 1.82 TiB used: 841.17 GiB (45.2%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-4: /var/log size: 1.82 TiB used: 841.17 GiB (45.2%) fs: btrfs
    dev: /dev/nvme0n1p2
Info:
  Memory: total: 32 GiB note: est. available: 30.78 GiB used: 6.81 GiB (22.1%)
  Processes: 437 Uptime: 3h 54m Init: systemd
  Packages: 2359 Compilers: clang: 16.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9
    inxi: 3.3.33

It seems (although I cannot be 100% sure — the crash was a bit random) that forcing the reinstall of the unison package solved the problem.

Puzzling.

I’m having the same problem with Unison. Tried reinstalling as you suggested, but the problem continues. Might try downgrading as temporary solution.

Downgraded to version 2.53.3 and everything seems to be working as it should.

1 Like

Thanks for commenting… I do not have any more crashes with 2.53.4-2, but it’s also true that I haven’t had a big sync since that.

To be more precise, what I did after the crash was:

  1. running unison -i -auto on a terminal to perform the sync I needed;
  2. reinstalled the package.

Maybe step 1 managed to fix some internal mismatch in the state files… no idea really.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.