We are seeing SIGSEGV related to this in Bionic. lp1815101-0006-network-make-KeepConfiguration-static-drop-DHCP-addr.patch is missing network checks in link_drop_foreign_config
Core was generated by `/lib/systemd/systemd-networkd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000555962aa1c34 in link_drop_foreign_config (link=link@entry=0x555963583f30) at ../src/network/networkd-link.c:2741
2741 ../src/network/networkd-link.c: No such file or directory.
(gdb) bt
#0 0x0000555962aa1c34 in link_drop_foreign_config (link=link@entry=0x555963583f30) at ../src/network/networkd-link.c:2741
#1 0x0000555962aa233d in link_carrier_lost.lto_priv.328 (link=<optimized out>, link=<optimized out>) at ../src/network/networkd-link.c:3462
#2 0x0000555962a8e9b2 in link_update (m=0x5559635702c0, link=<optimized out>) at ../src/network/networkd-link.c:3698
#3 manager_rtnl_process_link (rtnl=<optimized out>, message=0x5559635702c0, userdata=<optimized out>) at ../src/network/networkd-manager.c:713
#4 0x0000555962a48a16 in process_match (m=0x5559635702c0, rtnl=0x55596355d990) at ../src/libsystemd/sd-netlink/sd-netlink.c:388
#5 process_running (ret=0x0, rtnl=0x55596355d990) at ../src/libsystemd/sd-netlink/sd-netlink.c:418
#6 sd_netlink_process (rtnl=0x55596355d990, ret=ret@entry=0x0) at ../src/libsystemd/sd-netlink/sd-netlink.c:452
#7 0x0000555962a48cb3 in time_callback (s=<optimized out>, usec=<optimized out>, userdata=<optimized out>) at ../src/libsystemd/sd-netlink/sd-netlink.c:759
#8 0x0000555962a4dbae in source_dispatch (s=s@entry=0x55596355dce0) at ../src/libsystemd/sd-event/sd-event.c:2311
#9 0x0000555962a4de2a in sd_event_dispatch (e=<optimized out>, e@entry=0x55596355bf70) at ../src/libsystemd/sd-event/sd-event.c:2663
#10 0x0000555962a4dfb9 in sd_event_run (e=<optimized out>, e@entry=0x55596355bf70, timeout=timeout@entry=18446744073709551615) at ../src/libsystemd/sd-event/sd-event.c:2723
#11 0x0000555962a4e1fb in sd_event_loop (e=<optimized out>) at ../src/libsystemd/sd-event/sd-event.c:2744
#12 0x0000555962a223d6 in main (argc=<optimized out>, argv=<optimized out>) at ../src/network/networkd.c:158
We are seeing SIGSEGV related to this in Bionic. lp1815101- 0006-network- make-KeepConfig uration- static- drop-DHCP- addr.patch is missing network checks in link_drop_ foreign_ config
Would it be possible to incorporate this patch from upstream to prevent this? https:/ /github. com/systemd/ systemd/ commit/ b1b0b42e4830313 4731e017a108c6c 334ef5f4c8
----
Core was generated by `/lib/systemd/ systemd- networkd' . foreign_ config (link=link@ entry=0x5559635 83f30) at ../src/ network/ networkd- link.c: 2741 network/ networkd- link.c: No such file or directory. foreign_ config (link=link@ entry=0x5559635 83f30) at ../src/ network/ networkd- link.c: 2741 lost.lto_ priv.328 (link=<optimized out>, link=<optimized out>) at ../src/ network/ networkd- link.c: 3462 network/ networkd- link.c: 3698 rtnl_process_ link (rtnl=<optimized out>, message= 0x5559635702c0, userdata=<optimized out>) at ../src/ network/ networkd- manager. c:713 d990) at ../src/ libsystemd/ sd-netlink/ sd-netlink. c:388 d990) at ../src/ libsystemd/ sd-netlink/ sd-netlink. c:418 5d990, ret=ret@entry=0x0) at ../src/ libsystemd/ sd-netlink/ sd-netlink. c:452 libsystemd/ sd-netlink/ sd-netlink. c:759 0x55596355dce0) at ../src/ libsystemd/ sd-event/ sd-event. c:2311 0x55596355bf70) at ../src/ libsystemd/ sd-event/ sd-event. c:2663 0x55596355bf70, timeout= timeout@ entry=184467440 73709551615) at ../src/ libsystemd/ sd-event/ sd-event. c:2723 libsystemd/ sd-event/ sd-event. c:2744 network/ networkd. c:158
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000555962aa1c34 in link_drop_
2741 ../src/
(gdb) bt
#0 0x0000555962aa1c34 in link_drop_
#1 0x0000555962aa233d in link_carrier_
#2 0x0000555962a8e9b2 in link_update (m=0x5559635702c0, link=<optimized out>) at ../src/
#3 manager_
#4 0x0000555962a48a16 in process_match (m=0x5559635702c0, rtnl=0x55596355
#5 process_running (ret=0x0, rtnl=0x55596355
#6 sd_netlink_process (rtnl=0x5559635
#7 0x0000555962a48cb3 in time_callback (s=<optimized out>, usec=<optimized out>, userdata=<optimized out>) at ../src/
#8 0x0000555962a4dbae in source_dispatch (s=s@entry=
#9 0x0000555962a4de2a in sd_event_dispatch (e=<optimized out>, e@entry=
#10 0x0000555962a4dfb9 in sd_event_run (e=<optimized out>, e@entry=
#11 0x0000555962a4e1fb in sd_event_loop (e=<optimized out>) at ../src/
#12 0x0000555962a223d6 in main (argc=<optimized out>, argv=<optimized out>) at ../src/
(gdb) p link->network
$2 = (struct Network *) 0x0