Wind River Support Network

HomeDefectsLIN5-2003
Fixed

LIN5-2003 : Crashes in pthreads library

Created: Nov 20, 2013    Updated: Dec 19, 2017
Resolved Date: Mar 11, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.13
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async
Host OS: Linux Ubuntu
Architecture: IA32

Description

The pthreads library has a bug and causes applications to crash. This affects many applications, ntpd is an example.

This is the Quark architecture on the Galileo board.

Steps to Reproduce

 /sbin/start-stop-daemon --start -x /usr/sbin/ntpd -- -u ntp:ntp -p /var/run/ntp.pid -g


Program terminated with signal 11, Segmentation fault.
#0  __nptl_setxid (cmdp=0xbf8312ec) at allocatestack.c:1071
1071      lll_lock (stack_cache_lock, LLL_PRIVATE);
(gdb) bt
#0  __nptl_setxid (cmdp=0xbf8312ec) at allocatestack.c:1071
#1  0x4b5af651 in __GI_setgroups (n=1, groups=0x992fe08)
    at ../sysdeps/unix/sysv/linux/i386/setgroups.c:49
#2  0x4b5af588 in initgroups (user=0x991aad0 "ntp", group=992)
    at initgroups.c:225
#3  0x0805a92e in ?? ()

Other Downloads


Live chat
Online