Wind River Support Network

HomeDefectsLIN6-3707
Not to be fixed

LIN6-3707 : [Feature Testing] A few gmp tests failed and cause segment fault on ti_omap3530evm

Created: Jan 11, 2013    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN5-6765, LIN6-2971
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: BSP

Description

Problem Description
======================
A few gmp tests failed and cause segment fault on ti_omap3530evm, and for an uniq  failure, it's 100% reproducable, but each time there are always a few (arund 5~8) of all 126 cases failed with segment fault

Expected Behavior
======================
The test pass on all bsps

Observed Behavior
======================
Here we only part of the log and errors, please see RTH for the detail log

...
------------------
Start gmp test:
------------------
Testing: bit     Please wait...
gmp test 1 passes: Testing: bit
Testing: convert     Please wait...
./gmp-TEST-01.sh: line 26:  1924 Segmentation fault      ./$i
*** gmp test 2 fails: Testing: convert ***
Testing: dive     Please wait...
Wrong results:
  got     =0x-84121945DEA246E09C68070A07F6C7F96E681EBFE4D0A18C56F33
  want    =0x-3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
  dividend=0x-3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
  divisor =0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
./gmp-TEST-01.sh: line 26:  1926 Aborted                 ./$i
*** gmp test 3 fails: Testing: dive ***
Testing: dive_ui     Please wait...
gmp test 4 passes: Testing: dive_ui
Testing: io     Please wait...
gmp test 5 passes: Testing: io
Testing: logic     Please wait...
...

Workaround

configure with:
 --enable-kernel=<ktype>+features/cortex-a8/err-430973.scc

Where <ktype> is standard, cgl, preempt-rt (or etc)

Steps to Reproduce

1. configure --enable-board=ti-omap3 --enable-kernel=standard --enable-rootfs=glibc_std --with-layer=/buildarea/product/LX15_12SP_501/wrlinux-5/layers/wr-features,/buildarea/wr-testing/userspace

make fs

2. boot target and run

Other Downloads


Live chat
Online