Wind River Support Network

HomeDefectsLIN5-19699
Fixed

LIN5-19699 : [WRL5] a deadlock on malloc() using mallocstress in LTS

Created: Nov 12, 2014    Updated: Dec 19, 2017
Resolved Date: Dec 23, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.22
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

When using mallocstress in LTS, mallocstress01 become FAIL.


Steps to Reproduce

1. Create project.
/home/wrs/WindRiver/wrlinux-5/wrlinux/configure \ --enable-board=intel-atom --enable-bootimage=iso \ --enable-build=production --enable-kernel=preempt-rt \ --enable-rootfs=glibc_std_sato \ --with-template=feature/test,feature/intel-emgd

2. Startup WRLinix5 on Intel-atom board.
  - text login for mallocstress 
   </etc/inittab>
    #The default runlevel
    id:3:initdefault:

3. Execulte mallocstress
cd /opt/ltp/testcases/bin
./mallocstress
    * As a result, it may become a deadlock, when it execute repeatly.

Other Downloads


Live chat
Online