Wind River Support Network


LIN7-4826 : CLONE - There is memleaking issue in busybox

Created: Sep 21, 2015    Updated: Sep 8, 2018
Resolved Date: Sep 21, 2015
Previous ID: LIN4-33017
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace


when we run a script to read a file repeatly in ash of busybox. the memory used by ash will increase gradually.

Steps to Reproduce

1. create a project: /WindRiver-4.3/wrlinux-4/wrlinux/../ldat/configure --enable-rootfs=glibc_small --enable-board=fsl_p204x --with-rcpl-version=0027 --with-product-dir=/WindRiver-4.3/wrlinux-4/wrlinux --enable-parallel-pkgbuilds=4 --enable-jobs=4

2. add package 'procps' to project then build project

3. replace busybox's configuration with attached 'busybox_config', then rebuild busybox and project

4. boot wrlinux on board

5. run attached script '', then we can see 'hmemx' increase one by one.

Other Downloads

Live chat