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

Kai Krakow hurikhan77 at gmail.com
Sun Mar 30 07:47:22 PDT 2014


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)


Running it without any config brings up the service without any crash - but 
that is not very usefull because no device will be configured.

-- 
Replies to list only preferred.



More information about the systemd-devel mailing list