Wind River Support Network

HomeDefectsLIN5-7977
Fixed

LIN5-7977 : wrlinux 5.0.1 ntp generates core dump

Created: Jul 30, 2013    Updated: Dec 19, 2017
Resolved Date: Dec 17, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.11
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

the following coredump was generated by ntp.

(gdb) bt
#0  0x0fd99aa0 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x0fd9e930 in abort () at abort.c:91
#2  0x0fdd83bc in __libc_message (do_abort=2,
    fmt=0xfead338 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#3  0x0fde5428 in malloc_printerr (action=3,
    str=0xfead474 "free(): invalid pointer", ptr=<value optimized out>)
    at malloc.c:5007
#4  0x10007320 in free_config_vars () at ntp_config.c:3265
#5  free_config_tree () at ntp_config.c:426
#6  free_all_config_trees () at ntp_config.c:394
#7  0x0fda02c8 in __run_exit_handlers (status=0, listp=0xfed8d38,
    run_list_atexit=<value optimized out>) at exit.c:78
#8  0x0fda0374 in exit (status=<value optimized out>) at exit.c:100
#9  0x10010fdc in finish (sig=15) at ntpd.c:1222
#10 <signal handler called>
#11 0x0fe42c70 in ___newselect_nocancel ()
   from /repo/ebennik/tmp/pmd-ntpd-1690-2013-07-27-23-21-38/rootfs/lib/libc.so.6
#12 0x100119d4 in ntpdmain (argc=<value optimized out>,
    argv=<value optimized out>) at ntpd.c:1069
#13 0x10002180 in main (argc=<value optimized out>, argv=<value optimized out>)
---Type <return> to continue, or q <return> to quit---
    at ntpd.c:356

Steps to Reproduce

very low reproducer rate.
details from the customer:

"The core-dump happens in normal conditions but very seldom. We have not been able to find any way to reproduce it ourselfs."

Other Downloads


Live chat
Online