Wind River Support Network

HomeDefectsLIN6-3683
Fixed

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

Created: Mar 20, 2013    Updated: Mar 10, 2016
Resolved Date: Nov 30, 2013
Previous ID: LIN5-7911, LIN6-2959
Found In Version: 6.0
Fix Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
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