=>Testing Environment: Qemux86 Sato-sdk Image from http://autobuilder03.jf.intel.com/nightly/20110318-2/machines/qemu/qemu86/ poky commit information: 82af8b9fb6d6d1439943fd15b8a75c0e663e4a45 =>Bug Descript In Ltp test,case mq_timedsend01 of syscalls is failed. Host:x86 Target:x86 =>Reproduce Steps: 1.download ltp test suite from http://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20101031/ltp-full-20101031.bz2/download to your host PC; 2.# cd to ltp-full-20101031; 3.# ./configure; 4.# make && make install; 5.# then you find a folder named ltp in /opt; 6.# run qemux86 with "<-m 512>"; 7.# mkdir /opt; 8.# cp ltp folder to qemux86; 9.# cd ltp/testcases/bin; 10.# ./mq_timedsend01 the following you can find on screen: mq_timedsend01 0 TINFO : (case00) START EXPECT: return value(ret)=(N >= 0) errno=0 (Success) RESULT: return value(ret)= 0 errno=0 (Success) mq_timedsend01 0 TINFO : (case00) END => OK mq_timedsend01 0 TINFO : (case01) START EXPECT: return value(ret)=(N >= 0) errno=0 (Success) RESULT: return value(ret)= 0 errno=0 (Success) mq_timedsend01 0 TINFO : (case01) END => OK mq_timedsend01 0 TINFO : (case02) START EXPECT: return value(ret)=(N >= 0) errno=0 (Success) RESULT: return value(ret)= 0 errno=0 (Success) mq_timedsend01 0 TINFO : (case02) END => OK mq_timedsend01 0 TINFO : (case03) START EXPECT: return value(ret)=(N >= 0) errno=0 (Success) RESULT: return value(ret)= 0 errno=0 (Success) mq_timedsend01 0 TINFO : (case03) END => OK mq_timedsend01 0 TINFO : (case04) START EXPECT: return value(ret)=-1 errno=90 (Message too long) RESULT: return value(ret)=-1 errno=90 (Message too long) *** stack smashing detected ***: ./mq_timedsend01 terminated Aborted
Who's our LTP test suite maintainer ? This doesn't look like a kernel issue, but more than likely a test case problem (the stack smashing almost always indicates that). A few questions: - has the version of LTP changes recently. - does this happen on other x86 targets - can we disable stack smashing detection and re-run ?
I found the ltp compiled without toolchain in that test. Tester compiled the ltp of target directly on host. If use toolchain to compile ltp of target, then every case running well. So mark this bug resolved as invalid.
Verified it.
Ltp download from http://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20101031/ltp-full-20101031.bz2/download Ltp version:ltp-full-20101031