Jiri Palecek wrote:
> This is caused by bad description of chroot in the callTable. See:
> 
> [EMAIL PROTECTED]:/usr/src/ltp-git$ grep chroot \ 
> testcases/ballista/ballista/callTable*
> testcases/ballista/ballista/callTable.all:unistd.h      function        int 
> chroot b_ptr_buf
> 
> The b_ptr_buf is causing problems. Given that chroot accepts directory names, 
> it should be replaced with b_fname. See the contents of templates/ directory 
> for the list of datatypes possible.
> 
> Regards
>     Jiri Palecek
> 
> 

Thanks for the tip. It did compile this time. However still there are 
errors (excerpt bellow). I understand from a previous email from Subrata 
ballista is undergoing a revision process. I wonder whether it is worth 
going through the failing tests to try to figure out why they fail or 
I'd better wait for a while until this revision process is complete.

Regards.

Elder.


**************************************
* Currently testing "chroot"
*** glibc detected *** ./ballista: corrupted double-linked list: 
0x0805ab08 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7d3f68e]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7d42e30]
./mut.out(_ZN9b_ptr_buf7cleanupEPc+0x5d)[0xb7f6df6d]
./mut.out(_ZN10b_ptr_char7cleanupEPc+0x44)[0xb7f6f308]
./mut.out(_ZN7b_fname7cleanupEPc+0x44)[0xb7f705c6]
./mut.out(execute_test_case+0x210)[0xb7f6ca3e]
./ballista(_ZN21Selfhost_test_manager11manage_testEPA33_A255_clPciPiS3_iS3_i+0x36a)[0x80507fc]
./ballista(_Z10ballista_1PKcPcidiPSt6vectorI4lineSaIS3_EE+0x4bc)[0x804d938]
./ballista(main+0x7e5)[0x804e5e9]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7cedebc]
./ballista(__gxx_personality_v0+0x81)[0x804c8e1]
======= Memory map: ========
08048000-08056000 r-xp 00000000 08:13 3406370 
/root/ltp/ltp-cvs-081024a/testcases/ballista/ballista/ballista
08056000-08057000 rw-p 0000d000 08:13 3406370 
/root/ltp/ltp-cvs-081024a/testcases/ballista/ballista/ballista
08057000-0807a000 rw-p 08057000 00:00 0          [heap]
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7cbf000-b7cc6000 r-xp 00000000 08:13 1571104 
/lib/tls/i686/cmov/librt-2.5.so
b7cc6000-b7cc8000 rw-p 00006000 08:13 1571104 
/lib/tls/i686/cmov/librt-2.5.so
b7cd6000-b7cd8000 rw-p b7cd6000 00:00 0
b7cd8000-b7e13000 r-xp 00000000 08:13 1571074 
/lib/tls/i686/cmov/libc-2.5.so
b7e13000-b7e14000 r--p 0013b000 08:13 1571074 
/lib/tls/i686/cmov/libc-2.5.so
b7e14000-b7e16000 rw-p 0013c000 08:13 1571074 
/lib/tls/i686/cmov/libc-2.5.so
b7e16000-b7e19000 rw-p b7e16000 00:00 0
b7e19000-b7e24000 r-xp 00000000 08:13 1537152    /lib/libgcc_s.so.1
b7e24000-b7e25000 rw-p 0000a000 08:13 1537152    /lib/libgcc_s.so.1
b7e25000-b7e4a000 r-xp 00000000 08:13 1571082 
/lib/tls/i686/cmov/libm-2.5.so
b7e4a000-b7e4c000 rw-p 00024000 08:13 1571082 
/lib/tls/i686/cmov/libm-2.5.so
b7e4c000-b7f2b000 r-xp 00000000 08:13 656045     /usr/lib/libstdc++.so.6.0.8
b7f2b000-b7f2e000 r--p 000de000 08:13 656045     /usr/lib/libstdc++.so.6.0.8
b7f2e000-b7f30000 rw-p 000e1000 08:13 656045     /usr/lib/libstdc++.so.6.0.8
b7f30000-b7f36000 rw-p b7f30000 00:00 0
b7f36000-b7f49000 r-xp 00000000 08:13 1571085 
/lib/tls/i686/cmov/libnsl-2.5.so
b7f49000-b7f4b000 rw-p 00012000 08:13 1571085 
/lib/tls/i686/cmov/libnsl-2.5.so
b7f4b000-b7f4e000 rw-p b7f4b000 00:00 0
b7f4e000-b7f50000 r-xp 00000000 08:13 1571080 
/lib/tls/i686/cmov/libdl-2.5.so
b7f50000-b7f52000 rw-p 00001000 08:13 1571080 
/lib/tls/i686/cmov/libdl-2.5.so
b7f52000-b7f65000 r-xp 00000000 08:13 1571100 
/lib/tls/i686/cmov/libpthread-2.5.so
b7f65000-b7f67000 rw-p 00013000 08:13 1571100 
/lib/tls/i686/cmov/libpthread-2.5.so
b7f67000-b7f69000 rw-p b7f67000 00:00 0
b7f69000-b7f75000 r-xp 00000000 08:13 3404451 
/root/ltp/ltp-cvs-081024a/testcases/ballista/ballista/mut.out
b7f75000-b7f76000 rw-p 0000b000 08:13 3404451 
/root/ltp/ltp-cvs-081024a/testcases/ballista/ballista/mut.out
b7f76000-b7f79000 rw-p b7f76000 00:00 0
b7f79000-b7f92000 r-xp 00000000 08:13 1537109    /lib/ld-2.5.so
b7f92000-b7f94000 rw-p 00019000 08:13 1537109    /lib/ld-2.5.so
bf83f000-bf8ad000 rw-p bf83f000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
*** stack smashing detected ***: ./ballista terminated
*** stack smashing detected ***: ./ballista terminated
*** stack smashing detected ***: ./ballista terminated
*** stack smashing detected ***: ./ballista terminated
*** stack smashing detected ***: ./ballista terminated
*** stack smashing detected ***: ./ballista terminated
*** stack smashing detected ***: ./ballista terminated
*** stack smashing detected ***: ./ballista terminated
* chroot has failed at least once
**************************************

Compling...
Function                    Num. tests   (#Setup Fail)  |  Restart 
Abort        Total
--------                    ----------   -------------  | --------- 
---------    ---------
chroot                             378   (         82)  |   0.0000% 
0.3378%      0.3378%

-----------------------------------------------------------------------------------------------
OVERALL FAILURE RATE:              296   (         82)  |   0.0000% 
0.3378%      0.3378%

Tests which failed to properly setup are not included in the above 
percentages
Ballista OS Robustness Test Suite complete   <<<execution_status>>>
duration=5 termination_type=exited termination_id=0 corefile=no
cutime=142 cstime=165
<<<test_end>>>
INFO: pan reported all tests PASS
LTP Version: LTP-20080930

        ###############################################################"

             Done executing testcases."
             LTP Version:  LTP-20080930
        ###############################################################"

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to