Wind River Support Network

HomeDefectsLIN5-7909
Fixed

LIN5-7909 : [Feature Testing] intel-xeon-core multilib: tcl failures: initialization failed: out of stack space (infinite loop?)

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

Description

# tclsh
application-specific initialization failed: out of stack space (infinite loop?)

# expect
Tcl_Init failed: out of stack space (infinite loop?)

See WIND00408285.

It also affects the runtime test of these packages,

acl	
expect	
mysql	
sysklogd
tcl	

Workaround

Build with -O0. Add this line to the recipe (layers/oe-core/meta/recipes-devtools/tcltk/tcl_8.5.11.bb)

export EXTRA_CFLAGS="-O0"

Steps to Reproduce

1.
clone/pull userspace test layer
git clone git://git.wrs.com/layers/wr-testing

2.
configure --enable-board=intel-xeon-core --enable-kernel=standard --enable-rootfs=glibc_std --with-layer=/buildarea/product/wrlinux-x/layers/wr-features,/buildarea/product/wrlinux-x/layers/wr-security,meta-selinux,/buildarea/wr-testing/userspace

make MLIB=lib32 fs

3. boot target and run
cd /opt/wr-test
 ./main_test.sh
or
cd /opt/wr-test/testcases/userspace/TESTCASE
./<test name>-TEST=01.sh

Other Downloads


Live chat
Online