[systemd-devel] [212] systemd-networkd crashes with simple network config

Tom Gundersen teg at jklm.no
Sun Mar 30 08:14:41 PDT 2014


On Sun, Mar 30, 2014 at 4:47 PM, Kai Krakow <hurikhan77 at gmail.com> wrote:
> Hello list!
>
> I've tried switching from NetworkManager to systemd-networkd on Gentoo.
> These were the steps I did:
>
> # systemctl enable systemd-networkd.service
> # cat /etc/systemd/network/80-dhcp.network
> [Match]
> Name=en*
>
> [Network]
> DHCP=yes
>
> After starting systemd-networkd.service, it crashes with the following
> backtrace:
>
> Thread 1 (Thread 0x7ffff7fab780 (LWP 21475)):
> #0  0x0000003c49a82a7d in __libc_calloc (n=<optimized out>,
> elem_size=<optimized out>) at malloc.c:3172
>         av = 0x3c49da9640 <main_arena>
>         oldtop = 0x6884d0
>         p = <optimized out>
>         bytes = 88
>         sz = 88
>         csz = <optimized out>
>         oldtopsize = 23344
>         mem = 0x6715f0
>         clearsize = <optimized out>
>         nclears = <optimized out>
>         d = <optimized out>
>         hook = <optimized out>
>         __func__ = "__libc_calloc"
> #1  0x000000000043a453 in ?? ()
> No symbol table info available.
> #2  0x0000000000448313 in ?? ()
> No symbol table info available.
> #3  0x0000000000448d40 in ?? ()
> No symbol table info available.
> #4  0x0000000000415c9e in ?? ()
> No symbol table info available.
> #5  0x0000000000416501 in ?? ()
> No symbol table info available.
> #6  0x0000000000416a48 in ?? ()
> No symbol table info available.
> #7  0x000000000040401c in ?? ()
> No symbol table info available.
> #8  0x0000003c49a24ca5 in __libc_start_main (main=0x403ea0, argc=1,
> ubp_av=0x7fffffffd778, init=<optimized out>, fini=<optimized out>,
> rtld_fini=<optimized out>,
>     stack_end=0x7fffffffd768) at libc-start.c:258
>         result = <optimized out>
>         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 2663647926081501019,
> 4211336, 140737488344944, 0, 0, -2663647926914697381, 2634534217126590299},
> mask_was_saved = 0}}, priv = {
>             pad = {0x0, 0x0, 0x7fffffffd788, 0x3c49823188}, data = {prev =
> 0x0, cleanup = 0x0, canceltype = -10360}}}
>         not_first_call = <optimized out>
> #9  0x00000000004042b1 in ?? ()
> No symbol table info available.
>
> Starting it from command line shows:
>
> # /usr/lib/systemd/systemd-networkd
> enp4s0: link is up
> enp4s0: carrier on
> segmentation fault (core dumped)

If you could reproduce this with debug symbols included, that would be
very helpful (I cannot reproduce it here).

Cheers,

Tom


More information about the systemd-devel mailing list