[systemd-devel] [212] systemd-networkd crashes with simple network config
Tom Gundersen
teg at jklm.no
Sun Mar 30 12:42:01 PDT 2014
On Sun, Mar 30, 2014 at 9:30 PM, Tom Gundersen <teg at jklm.no> wrote:
> On Sun, Mar 30, 2014 at 6:07 PM, Kai Krakow <hurikhan77 at gmail.com> wrote:
>> Tom Gundersen <teg at jklm.no> schrieb:
>>
>>>> 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).
>>
>> I managed to get at least this backtrace. Somehow gdb did not autoload the
>> symbols for systemd from /usr/lib/debug/usr/lib/systemd...
>>
>> It is probably more helpful now (at least I hope).
>>
>> #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"
>
> Hm, so the segfault happens in glibc... It is triggered by us calling
> calloc(1, 88), which I think is a supported thing to do ;) At least as
> far as I can tell this is not a bug on our side...
Out of interest, what precise glibc version are you using?
-t
>> #1 0x000000000043a453 in dhcp_lease_new (ret=0x7fffffffd2f8) at
>> /var/tmp/portage/sys-apps/systemd-212/work/systemd-212/src/libsystemd-
>> network/sd-dhcp-lease.c:276
>> lease = 0x0
>> #2 0x00000000006751f0 in ?? ()
>> No symbol table info available.
>> #3 0x0000000000448313 in client_handle_ack (len=303, ack=0x66dc5c,
>> client=<optimized out>)
>> at /var/tmp/portage/sys-
>> apps/systemd-212/work/systemd-212/src/libsystemd-network/sd-dhcp-
>> client.c:724
>> lease = 0x0
>> r = <optimized out>
>> #4 client_handle_message (client=0x7fffffffd2f8, message=0x66dc5c, len=303)
>> at /var/tmp/portage/sys-apps/systemd-212/work/systemd-212/src/libsystemd-
>> network/sd-dhcp-client.c:993
>> r = 0
>> notify_event = 0
>> __PRETTY_FUNCTION__ = "client_handle_message"
>> __func__ = "client_handle_message"
>> #5 0x00000000006843ec in ?? ()
>> No symbol table info available.
>> #6 0x000000000066d0c0 in ?? ()
>> No symbol table info available.
>> #7 0x0000000000000000 in ?? ()
>> No symbol table info available.
>>
>>
>> --
>> Replies to list only preferred.
>>
>> _______________________________________________
>> systemd-devel mailing list
>> systemd-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
More information about the systemd-devel
mailing list