Mailinglist Archive: opensuse-bugs (4156 mails)

< Previous Next >
[Bug 739931] New: ntpd segfault on NETDEV_UP event after a network restart
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 6 Jan 2012 11:09:13 +0000
  • Message-id: <bug-739931-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=739931

https://bugzilla.novell.com/show_bug.cgi?id=739931#c0


Summary: ntpd segfault on NETDEV_UP event after a network
restart
Classification: openSUSE
Product: openSUSE 12.1
Version: Final
Platform: x86-64
OS/Version: SuSE Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Network
AssignedTo: varkoly@xxxxxxxx
ReportedBy: mt@xxxxxxxx
QAContact: qa@xxxxxxx
Found By: Development
Blocker: ---


while ntp is started, execute ntpd and call rcnetwork restart

network[7232]: Shutting down network interfaces:
network[7232]: eth0 device: Intel Corporation 82567LM-3 Gigabit Network C
ifdown: eth0 device: Intel Corporation 82567LM-3 Gigabit Network C
network[7232]: ..doneShutting down service network . . . . . . . .
..done
network[7657]: Setting up network interfaces:
network[7657]: eth0 device: Intel Corporation 82567LM-3 Gigabit Network C
ifup: eth0 device: Intel Corporation 82567LM-3 Gigabit Network C
kernel: [ 6106.294129] e1000e 0000:00:19.0: irq 49 for MSI/MSI-X
kernel: [ 6106.348052] e1000e 0000:00:19.0: irq 49 for MSI/MSI-X
kernel: [ 6106.348550] ADDRCONF(NETDEV_UP): eth0: link is not ready
kernel: [ 6106.348691] ntpd[7169]: segfault at 8 ip 00007f599a113dee sp
00007fffdf6671d0 error 4 in ntpd[7f599a0f7000+a1000]
ntp[7928]: Shutting down network time protocol daemon (NTPD)..done
kernel: [ 6108.784864] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow
Control: Rx/Tx
kernel: [ 6108.785323] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
ifup-dhcp: eth0 Starting DHCP4+DHCP6 client

Note, that there are two events:
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
but it crashes after the first one...

Backtrace of the ntpd process I've attached:

Program received signal SIGSEGV, Segmentation fault.
0x00007f4a9cf7adee in remove_interface (ep=0x7f4a9d266c80) at ntp_io.c:1098
1098 UNLINK_SLIST(unlinked, *pmclisthead, ep, mclink,
endpt);
(gdb) bt
#0 0x00007f4a9cf7adee in remove_interface (ep=0x7f4a9d266c80) at ntp_io.c:1098
#1 update_interfaces (receiver=0, data=0x0, port=123) at ntp_io.c:2010
#2 0x00007f4a9cf7c185 in interface_update (receiver=<optimized out>,
data=<optimized out>) at ntp_io.c:1617
#3 0x00007f4a9cf982d5 in timer () at ntp_timer.c:394
#4 0x00007f4a9cf8128f in ntpdmain (argc=0, argv=0x7fff2776e428) at ntpd.c:1104
#5 0x00007f4a9cf72179 in main (argc=<optimized out>, argv=<optimized out>) at
ntpd.c:356

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >