[Bug 2098861] Re: systemd 255.4-1ubuntu8.5 crashing on arm64 (Azure v6 VM sizes)

Chris Patterson 2098861 at bugs.launchpad.net
Wed Feb 19 17:15:14 UTC 2025


Here is a crash dump for a case that doesn't appear to be due to reload:

warning: 39     ../sysdeps/unix/sysv/linux/aarch64/syscall.S: No such file or directory
[Current thread is 1 (LWP 1171)]
(gdb) bt
#0  syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:39
#1  0x0000f4676c1df8e4 in propagate_signal () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-shared-255.so
#2  0x0000beefbde2e9bc [PAC] in ?? ()
#3  <signal handler called>
#4  __GI_strcmp () at ../sysdeps/aarch64/strcmp.S:136
#5  0x0000f4676c224d1c in ?? () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-shared-255.so
#6  0x0000f4676c1c04b8 [PAC] in ?? () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-shared-255.so
#7  0x0000f4676c1c2260 [PAC] in _hashmap_remove () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-shared-255.so
#8  0x0000f4676c230a30 [PAC] in bus_slot_disconnect () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-shared-255.so
#9  0x0000f4676c235588 [PAC] in ?? () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-shared-255.so
#10 0x0000f4676c240338 [PAC] in ?? () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-shared-255.so
#11 0x0000f4676c241924 [PAC] in ?? () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-shared-255.so
#12 0x0000f4676c29d4c4 [PAC] in ?? () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-shared-255.so
#13 0x0000f4676c29d730 [PAC] in sd_event_dispatch () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-shared-255.so
#14 0x0000f4676c29ed94 [PAC] in sd_event_run () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-shared-255.so
#15 0x0000f4676c4dd6a8 [PAC] in manager_loop () from /usr/lib/aarch64-linux-gnu/systemd/libsystemd-core-255.so
#16 0x0000beefbde271d8 [PAC] in ?? ()
#17 0x0000f4676be684c4 [PAC] in __libc_start_call_main (main=main at entry=0xbeefbde26a80, argc=argc at entry=1, argv=argv at entry=0xffffd1b27e78) at ../sysdeps/nptl/libc_start_call_main.h:58
#18 0x0000f4676be68598 in __libc_start_main_impl (main=0xbeefbde26a80, argc=1, argv=0xffffd1b27e78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:360
#19 0x0000beefbde299f0 in ?? ()

** Attachment added: "crash dump not during reload"
   https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2098861/+attachment/5858791/+files/not-reload_usr_lib_systemd_systemd.0.crash

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2098861

Title:
  systemd 255.4-1ubuntu8.5 crashing on arm64 (Azure v6 VM sizes)

Status in systemd package in Ubuntu:
  New

Bug description:
  Systemd appears to crash often on Azure v6 arm64 VM sizes during
  initial (provisioning) boot.  I caught the crash on my first attempt
  to repro on Standard_D2pds_v6 with canonical:ubuntu-24_04-lts:server-
  arm64:latest.

  [   14.082815] temp-vm-cpatterson-eastus2-t02190915031 systemd[1]: Reloading requested from client PID 1208 ('systemctl') (unit walinuxagent.service)...
  [   14.082982] temp-vm-cpatterson-eastus2-t02190915031 systemd[1]: Reloading...
  [   14.096465] temp-vm-cpatterson-eastus2-t02190915031 systemd[1]: Caught <SEGV> from PID -535718928.
  ...
  [  108.535662] temp-vm-cpatterson-eastus2-t02190915031 systemd[1]: Caught <SEGV>, dumped core as pid 1227.
  [  108.536032] temp-vm-cpatterson-eastus2-t02190915031 systemd[1]: Freezing execution.
  ...
  [  184.052078] temp-vm-cpatterson-eastus2-t02190915031 systemd-journald[136]: Failed to send WATCHDOG=1 notification message: Connection refused

  (gdb) bt
  #0  syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:39
  #1  0x0000e14d999df8e4 in missing_rt_tgsigqueueinfo (info=0xffffddda1ca0, sig=11, tid=<optimized out>, tgid=1227) at ../src/basic/missing_syscall.h:384
  #2  propagate_signal (sig=sig at entry=11, siginfo=siginfo at entry=0xffffddda1ca0) at ../src/basic/signal-util.c:301
  #3  0x0000bb509f70e9bc [PAC] in crash (sig=11, siginfo=0xffffddda1ca0, context=<optimized out>) at ../src/core/crash-handler.c:94
  #4  <signal handler called>
  #5  0x0000e14d99d2944c in unit_active_state (u=u at entry=0xbb50c8aeeb10) at ../src/core/unit.c:941
  #6  0x0000e14d99d2d454 in unit_may_gc (u=0xbb50c8aeeb10) at ../src/core/unit.c:465
  #7  0x0000e14d99d2e7d8 [PAC] in unit_add_to_gc_queue (u=u at entry=0xbb50c8aeeb10) at ../src/core/unit.c:535
  #8  0x0000e14d99d2efe0 [PAC] in unit_clear_dependencies (u=0xbb50c8b0a7c0) at ../src/core/unit.c:656
  #9  unit_free (u=0xbb50c8b0a7c0) at ../src/core/unit.c:797
  #10 0x0000e14d99ce228c [PAC] in manager_clear_jobs_and_units.part.0.lto_priv.0 (m=m at entry=0xbb50c8acf790) at ../src/core/manager.c:1594
  #11 0x0000e14d99ce2624 [PAC] in manager_clear_jobs_and_units (m=0xbb50c8acf790) at ../src/core/manager.c:1591
  #12 manager_reload (m=m at entry=0xbb50c8acf790) at ../src/core/manager.c:3568
  #13 0x0000bb509f709338 [PAC] in invoke_main_loop (ret_error_message=0xffffddda3178, ret_switch_root_init=<synthetic pointer>, ret_switch_root_dir=<synthetic pointer>, ret_fds=0xffffddda3168, ret_retval=<synthetic pointer>,
      saved_rlimit_memlock=0xffffddda31a0, saved_rlimit_nofile=0xffffddda31b0, m=0xbb50c8acf790) at ../src/core/main.c:1982
  #14 main (argc=1, argv=0xffffddda3668) at ../src/core/main.c:3106

  In this particular case the reload was requested by WALinuxAgent, but
  I have evidence of other crashes when cloud-init request the reload:

  2025-01-02T10:18:03.007621+00:00 localhost systemd[1]: Reloading requested from client PID 871 ('systemctl') (unit cloud-init-local.service)...
  2025-01-02T10:18:03.007662+00:00 localhost systemd[1]: Reloading...
  2025-01-02T10:18:03.010753+00:00 localhost systemd[1]: Caught <SEGV>, from unknown sender process.

  In some cases I don't even see a reload but I will see if I can get a
  crash dump for those cases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2098861/+subscriptions




More information about the foundations-bugs mailing list