← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2085314] Re: systemd-networkd segfault (question #819069)

 

I submitted an full report. What information do You need more?
I don't know whitch *element* of systemd-networkd causes an error in dmesg.
It appears occasionally and looks very randomly.

My dmesg:

#v+
root@libreqos-amd:~# dmesg -T | grep segfault
[Mon Dec  2 15:05:13 2024] systemd-network[16421]: segfault at 7ffd8b0e8ff8 ip 00007b2eda5bbb9c sp 00007ffd8b0e9000 error 6 in libsystemd-shared-255.so[1bbb9c,7b2eda46a000+247000] likely on CPU 2 (core 2, socket 0)
[Mon Dec  2 15:09:43 2024] systemd-network[17485]: segfault at 7ffc6e981ff8 ip 000079534f5bb897 sp 00007ffc6e982000 error 6 in libsystemd-shared-255.so[1bb897,79534f46a000+247000] likely on CPU 10 (core 10, socket 0)
[Wed Feb 19 16:42:34 2025] systemd-network[1775793]: segfault at 7ffdd6ae6ff8 ip 000076b587fc412a sp 00007ffdd6ae7000 error 6 in libsystemd-shared-255.so[1c412a,76b587e6a000+247000] likely on CPU 6 (core 6, socket 0)
[Fri Apr 11 15:23:41 2025] systemd-network[1559106]: segfault at 7ffd87eadff8 ip 000077a6f4bbb893 sp 00007ffd87eae000 error 6 in libsystemd-shared-255.so[1bb893,77a6f4a6a000+247000] likely on CPU 11 (core 11, socket 0)
[Tue Jun  3 12:15:54 2025] systemd-network[1484704]: segfault at 7ffdbff21ff8 ip 000079e46cfc4122 sp 00007ffdbff22000 error 6 in libsystemd-shared-255.so[1c4122,79e46ce6a000+247000] likely on CPU 2 (core 2, socket 0)
[Tue Jun 10 10:40:25 2025] systemd-network[3036763]: segfault at 7ffe43270ff8 ip 000079347c3bbb9c sp 00007ffe43271000 error 6 in libsystemd-shared-255.so[1bbb9c,79347c26a000+247000] likely on CPU 8 (core 8, socket 0)
[Sat Jun 21 12:51:34 2025] systemd-network[1551329]: segfault at 7ffd20eedff8 ip 00007f586e1bb8a7 sp 00007ffd20eee000 error 6 in libsystemd-shared-255.so[1bb8a7,7f586e06a000+247000] likely on CPU 11 (core 11, socket 0)
[Thu Jul 10 11:21:30 2025] systemd-network[1862698]: segfault at 7ffd66c72ff8 ip 00007721873c4128 sp 00007ffd66c73000 error 6 in libsystemd-shared-255.so[1c4128,77218726a000+247000] likely on CPU 15 (core 15, socket 0)
#v-

root@libreqos-amd:~# uptime
 10:37:18 up 224 days, 19:39,  1 user,  load average: 3.01, 2.62, 2.05

I see in: journal -u systemd-networkd

Such a thing:
May 08 10:41:14 libreqos-amd systemd[1]: systemd-networkd.service: Main process exited, code=dumped, status=6/ABRT
May 08 10:41:14 libreqos-amd systemd[1]: systemd-networkd.service: Failed with result 'core-dump'.
May 08 10:41:14 libreqos-amd systemd[1]: systemd-networkd.service: Scheduled restart job, restart counter is at 564.
May 08 10:41:14 libreqos-amd systemd[1]: Starting systemd-networkd.service - Network Configuration...
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: lo: Link UP
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: lo: Gained carrier
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: enp14s0f0: Link UP
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: enp14s0f0: Gained carrier
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: enp1s0np0: Link UP
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: enp1s0np0: Gained carrier
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: enp18s0np0: Link UP
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: enp18s0np0: Gained carrier
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: enp14s0f0: Gained IPv6LL
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: enp1s0np0: Gained IPv6LL
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: enp18s0np0: Gained IPv6LL
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: Enumeration completed
May 08 10:41:14 libreqos-amd systemd[1]: Started systemd-networkd.service - Network Configuration.
May 08 10:41:14 libreqos-amd systemd-networkd[3774330]: Assertion 'e->key == i->next_key' failed at src/basic/hashmap.c:670, function hashmap_iterate_in_internal_order(). Aborting.


On the same machine:
I tested Ubuntu 25.04 with v257 there is no such errors.

If you consider this bug as important please update systemd package in
24.04. I could test package before going to 'noble-proposed'.

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

Title:
  systemd-networkd segfault (question #819069)

Status in systemd:
  Fix Released
Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Noble:
  Incomplete
Status in systemd source package in Plucky:
  Fix Released

Bug description:
  [545051.196840] systemd-network[1395597]: segfault at 7ffd0b106ff8 ip 0000732937dbbb9c sp 00007ffd0b107000 error 6 in libsystemd-shared-255.so[1bbb9c,732937c6a000+247000] likely on CPU 15 (core 15, socket 0)
  [545051.196849] Code: 49 01 c1 41 f6 c1 07 75 7d 49 8b 01 49 89 42 08 48 83 c4 08 89 d0 5b 41 5c 41 5d 5d c3 90 83 e1 04 0f 84 97 00 00 00 8b 77 28 <e8> af e5 ff ff 41 89 02 89 c2 41 89 41 28 83 fa ff 74 31 41 0f b6

  [270850.754339] systemd-network[700716]: segfault at 7ffd54bfbff8 ip 0000717ac19bb897 sp 00007ffd54bfc000 error 6 in libsystemd-shared-255.so[1bb897,717ac186a000+247000] likely on CPU 10 (core 10, socket 0)
  [270850.754347] Code: 00 00 b8 f4 ff ff ff e9 45 ff ff ff 0f 1f 80 00 00 00 00 49 89 f2 48 85 ff 0f 84 54 04 00 00 55 49 89 f9 48 89 e5 41 55 41 54 <53> 48 83 ec 08 0f b6 4f 2f 89 c8 83 e0 03 3c 01 0f 84 13 01 00 00

  [292219.943345] systemd-network[755659]: segfault at 7fff00f4eff8 ip 00007442d3fc4118 sp 00007fff00f4f000 error 6 in libsystemd-shared-255.so[1c4118,7442d3e6a000+247000] likely on CPU 2 (core 2, socket 0)
  [292219.943350] Code: 35 53 eb 0f 00 48 8d 3d 36 d2 12 00 e8 41 64 00 00 e8 3c a2 ea ff e8 17 fd ff ff 0f 1f 80 00 00 00 00 f3 0f 1e fa 55 48 89 e5 <41> 55 49 89 d5 41 54 49 89 cc 53 48 89 fb 48 83 ec 08 e8 51 77 ff

  [296437.649671] systemd-network[766382]: segfault at 7ffc7a3a5ff8 ip 00007d1ca4dc4122 sp 00007ffc7a3a6000 error 6 in libsystemd-shared-255.so[1c4122,7d1ca4c6a000+247000] likely on CPU 5 (core 5, socket 0)
  [296437.649677] Code: 12 00 e8 41 64 00 00 e8 3c a2 ea ff e8 17 fd ff ff 0f 1f 80 00 00 00 00 f3 0f 1e fa 55 48 89 e5 41 55 49 89 d5 41 54 49 89 cc <53> 48 89 fb 48 83 ec 08 e8 51 77 ff ff 83 f8 ff 0f 84 88 00 00 00

  More and more segfaults.

  Please update systemd package in 24.04 LTS.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: systemd 255.4-1ubuntu8.4 [modified: usr/lib/systemd/system/rc-local.service]
  Uname: Linux 6.11.3-x64v4-xanmod2 x86_64
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CloudArchitecture: x86_64
  CloudID: none
  CloudName: none
  CloudPlatform: none
  CloudSubPlatform: config
  Date: Tue Oct 22 06:40:50 2024
  InstallationDate: Installed on 2024-10-08 (14 days ago)
  InstallationMedia: Ubuntu-Server 22.04.5 LTS "Jammy Jellyfish" - Release amd64 (20240911.4)
  MachineType: Gigabyte Technology Co., Ltd. X670 GAMING X AX V2
  ProcEnviron:
   LANG=C.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.11.3-x64v4-xanmod2 root=/dev/mapper/ubuntu--vg-ubuntu--lv ro mitigations=off nosmt amd_pstate=disable
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: systemd
  UpgradeStatus: Upgraded to noble on 2024-10-08 (14 days ago)
  dmi.bios.date: 05/22/2024
  dmi.bios.release: 5.34
  dmi.bios.vendor: American Megatrends International, LLC.
  dmi.bios.version: F30
  dmi.board.asset.tag: Default string
  dmi.board.name: X670 GAMING X AX V2
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF30:bd05/22/2024:br5.34:svnGigabyteTechnologyCo.,Ltd.:pnX670GAMINGXAXV2:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnX670GAMINGXAXV2:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
  dmi.product.family: X670 MB
  dmi.product.name: X670 GAMING X AX V2
  dmi.product.sku: Default string
  dmi.product.version: Default string
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.
  modified.conffile..etc.init.d.apport: [modified]
  mtime.conffile..etc.init.d.apport: 2024-07-22T16:59:07

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