Bug 82589

Summary: segmentation fault in link_config_get->ether_aton
Product: systemd Reporter: master.nosferatu
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: quick segfault fix

Description master.nosferatu 2014-08-13 22:48:58 UTC
Created attachment 104592 [details]
quick segfault fix

Backtrace:
Program terminated with signal SIGSEGV, Segmentation fault
#0  0x00007ffff70b439d in ether_aton_r () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff70b439d in ether_aton_r () from /lib64/libc.so.6
#1  0x00005555555758fc in link_config_get (ctx=0x5555555beb00, device=0x5555555dd7b0, ret=0x7fffffff8868) at /var/tmp/portage/sys-fs/udev-215-r1/work/systemd-215/src/udev/net/link-config.c:254
#2  0x000055555557213a in builtin_net_setup_link (dev=0x5555555dd7b0, argc=1, argv=0x7fffffff88c0, test=false) at /var/tmp/portage/sys-fs/udev-215-r1/work/systemd-215/src/udev/udev-builtin-net_setup_link.c:43
#3  0x000055555556ed59 in udev_builtin_run (dev=0x5555555dd7b0, cmd=UDEV_BUILTIN_NET_LINK, command=0x7fffffff96d0 "net_setup_link", test=false) at /var/tmp/portage/sys-fs/udev-215-r1/work/systemd-215/src/udev/udev-builtin.c:137
#4  0x000055555556bc67 in udev_rules_apply_to_event (rules=0x5555555beba0, event=0x5555555d0710, sigmask=0x5555555bd1c0 <sigmask_orig>) at /var/tmp/portage/sys-fs/udev-215-r1/work/systemd-215/src/udev/udev-rules.c:2108
#5  0x0000555555564279 in udev_event_execute_rules (event=0x5555555d0710, rules=0x5555555beba0, sigmask=0x5555555bd1c0 <sigmask_orig>) at /var/tmp/portage/sys-fs/udev-215-r1/work/systemd-215/src/udev/udev-event.c:811
#6  0x000055555555e1f9 in worker_new (event=0x5555555ddfd0) at /var/tmp/portage/sys-fs/udev-215-r1/work/systemd-215/src/udev/udevd.c:316
#7  0x000055555555e8a9 in event_run (event=0x5555555ddfd0) at /var/tmp/portage/sys-fs/udev-215-r1/work/systemd-215/src/udev/udevd.c:451
#8  0x000055555555edc3 in event_queue_start (udev=0x5555555be010) at /var/tmp/portage/sys-fs/udev-215-r1/work/systemd-215/src/udev/udevd.c:592
#9  0x0000555555561988 in main (argc=2, argv=0x7fffffffe118) at /var/tmp/portage/sys-fs/udev-215-r1/work/systemd-215/src/udev/udevd.c:1481

In my case this happens when network adapter of dvb card (dvb_net).
Attached patch fix my problem
Comment 1 Tom Gundersen 2014-08-13 23:38:10 UTC
Thanks for the report! Should be fixed in git now.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.