public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] LTP-20100630:tcore.sh test fails
@ 2010-08-02  6:23 Gurudas Pai
  2010-08-02  6:39 ` Garrett Cooper
  0 siblings, 1 reply; 5+ messages in thread
From: Gurudas Pai @ 2010-08-02  6:23 UTC (permalink / raw)
  To: ltp-list

Hi,
tcore.sh test fails , this looks more like testcase issue rather than os 
issue.


  Running tests.......
@ <<<test_start>>>
@ tag=tcore stime=1280375961
@ cmdline="tcore.sh"
@ contacts=""
@ analysis=exit
@ <<<test_output>>>
@ incrementing stop
@ Test Tcore patch
@ /tmp/ltp-IdAZW16626/tmp.JZuvu16728
@ Test whether we can generate the needed core file
@ PASS
@ /tmp/ltp-IdAZW16626/tmp.JZuvu16728
@ Test whether the core support bt,fpu and threads commands
@ spawn gdb ./tcore ./corefile
@ .
@ info register
@ .
@ GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5)
@ Copyright (C) 2009 Free Software Foundation, Inc.
@ License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>This is free software: you are free to 
change and redistribute it.
@ There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
@ and "show warranty" for details.
@ This GDB was configured as "x86_64-redhat-linux-gnu".
@ For bug reporting instructions, please see:
@ <http://www.gnu.org/software/gdb/bugs/>...
@ ./tcore: No such file or directory.
@ [New Thread 16736]
@ [New Thread 16732]
@ Core was generated by `/opt/ltp/testcases/bin//tcore'.
@ Program terminated with signal 11, Segmentation fault.
@ #0  0x000000000040129d in ?? ()
@ (gdb)
@ (gdb) info register
@ rax            0xc      12
@ rbx            0x1e08   7688
@ rcx            0x41ae8ee0       1101958880
@ rdx            0xc      12
@ rsi            0x402b39 4205369
@ rdi            0x41ae8ee0       1101958880
@ rbp            0x415c   0x415c
@ rsp            0x41ae90e0       0x41ae90e0
@ r8             0x0      0
@ r9             0x41ae8658       1101956696
@ r10            0x0      0
@ r11            0x0      0
@ r12            0x41ae9100       1101959424
@ r13            0x41ae90f0       1101959408
@ r14            0x41aea000       1101963264
@ r15            0x1000   4096
@ rip            0x40129d 0x40129d
@ eflags         0x10206  [ PF IF RF ]
@ cs             0x33     51
@ ss             0x2b     43
@ ds             0x0      0
@ es             0x0      0
@ fs             0x63     99
@ gs             0x0      0
@ fctrl          0x37f    895
@ fstat          0x20     32
@ ftag           0xffff   65535
@ fiseg          0x0      0
@ fioff          0x40128b 4199051
@ foseg          0x0      0
@ fooff          0x41ae90e0       1101959392
@ fop            0x33c    828
@ mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
@ (gdb)
@ rax            0xc      12
@ rbx            0x1e08   7688
@ rcx            0x41ae8ee0       1101958880
@ rdx            0xc      12
@ rsi            0x402b39 4205369
@ rdi            0x41ae8ee0       1101958880
@ rbp            0x415c   0x415c
@ rsp            0x41ae90e0       0x41ae90e0
@ r8             0x0      0
@ r9             0x41ae8658       1101956696
@ r10            0x0      0
@ r11            0x0      0
@ r12            0x41ae9100       1101959424
@ r13            0x41ae90f0       1101959408
@ r14            0x41aea000       1101963264
@ r15            0x1000   4096
@ rip            0x40129d 0x40129d
@ eflags         0x10206  [ PF IF RF ]
@ cs             0x33     51
@ ss             0x2b     43
@ ds             0x0      0
@ es             0x0      0
@ fs             0x63     99
@ gs             0x0      0
@ fctrl          0x37f    895
@ fstat          0x20     32
@ ftag           0xffff   65535
@ fiseg          0x0      0
@ fioff          0x40128b 4199051
@ foseg          0x0      0
@ fooff          0x41ae90e0       1101959392
@ fop            0x33c    828
@ mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
@ (gdb) invalid command name "fail"
@     while executing
@ "fail "fail to check the xmm value(timeout)""
@     invoked from within
@ "expect -nobrace -re {xmm5[      ]+{f = .*}+[    ]+{f = .*}} {
@                         set buf $expect_out(0,string)
@                 } timeout {
@                     fail "fail to check the xmm value(..."
@     invoked from within
@ "expect {
@                 -re "xmm$num\[\t \]+\{f \= .*\}+\[\t \]+\{f \= .*\}" {
@                         set buf $expect_out(0,string)
@                 }
@                 timeout {
@                     fail "fail to check t..."
@     (procedure "check_fpu" line 7)
@     invoked from within
@ "check_fpu 5"
@     (file "/opt/ltp/testcases/bin//tcore.exp" line 137)
@ <<<execution_status>>>
@ initiation_status="ok"
@ duration=18 termination_type=exited termination_id=3 corefile=no
@ cutime=8 cstime=634
@ <<<test_end>>>
@ INFO: ltp-pan reported some tests FAIL
@ LTP Version: LTP-20100630



  dmesg:
  tcore[16737]: segfault at 0 ip 000000000040129d sp 0000000041ae90e0 
error 6



Thanks,
-Guru

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] LTP-20100630:tcore.sh test fails
  2010-08-02  6:23 [LTP] LTP-20100630:tcore.sh test fails Gurudas Pai
@ 2010-08-02  6:39 ` Garrett Cooper
  2010-08-02  6:43   ` Gurudas Pai
  0 siblings, 1 reply; 5+ messages in thread
From: Garrett Cooper @ 2010-08-02  6:39 UTC (permalink / raw)
  To: Gurudas Pai; +Cc: ltp-list

On Sun, Aug 1, 2010 at 11:23 PM, Gurudas Pai <gurudas.pai@oracle.com> wrote:
> Hi,
> tcore.sh test fails , this looks more like testcase issue rather than os
> issue.
>
>
>  Running tests.......
> @ <<<test_start>>>
> @ tag=tcore stime=1280375961
> @ cmdline="tcore.sh"
> @ contacts=""
> @ analysis=exit
> @ <<<test_output>>>
> @ incrementing stop
> @ Test Tcore patch
> @ /tmp/ltp-IdAZW16626/tmp.JZuvu16728
> @ Test whether we can generate the needed core file
> @ PASS
> @ /tmp/ltp-IdAZW16626/tmp.JZuvu16728
> @ Test whether the core support bt,fpu and threads commands
> @ spawn gdb ./tcore ./corefile
> @ .
> @ info register
> @ .
> @ GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5)
> @ Copyright (C) 2009 Free Software Foundation, Inc.
> @ License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>This is free software: you are free to
> change and redistribute it.
> @ There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> @ and "show warranty" for details.
> @ This GDB was configured as "x86_64-redhat-linux-gnu".
> @ For bug reporting instructions, please see:
> @ <http://www.gnu.org/software/gdb/bugs/>...
> @ ./tcore: No such file or directory.
> @ [New Thread 16736]
> @ [New Thread 16732]
> @ Core was generated by `/opt/ltp/testcases/bin//tcore'.
> @ Program terminated with signal 11, Segmentation fault.
> @ #0  0x000000000040129d in ?? ()
> @ (gdb)
> @ (gdb) info register
> @ rax            0xc      12
> @ rbx            0x1e08   7688
> @ rcx            0x41ae8ee0       1101958880
> @ rdx            0xc      12
> @ rsi            0x402b39 4205369
> @ rdi            0x41ae8ee0       1101958880
> @ rbp            0x415c   0x415c
> @ rsp            0x41ae90e0       0x41ae90e0
> @ r8             0x0      0
> @ r9             0x41ae8658       1101956696
> @ r10            0x0      0
> @ r11            0x0      0
> @ r12            0x41ae9100       1101959424
> @ r13            0x41ae90f0       1101959408
> @ r14            0x41aea000       1101963264
> @ r15            0x1000   4096
> @ rip            0x40129d 0x40129d
> @ eflags         0x10206  [ PF IF RF ]
> @ cs             0x33     51
> @ ss             0x2b     43
> @ ds             0x0      0
> @ es             0x0      0
> @ fs             0x63     99
> @ gs             0x0      0
> @ fctrl          0x37f    895
> @ fstat          0x20     32
> @ ftag           0xffff   65535
> @ fiseg          0x0      0
> @ fioff          0x40128b 4199051
> @ foseg          0x0      0
> @ fooff          0x41ae90e0       1101959392
> @ fop            0x33c    828
> @ mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
> @ (gdb)
> @ rax            0xc      12
> @ rbx            0x1e08   7688
> @ rcx            0x41ae8ee0       1101958880
> @ rdx            0xc      12
> @ rsi            0x402b39 4205369
> @ rdi            0x41ae8ee0       1101958880
> @ rbp            0x415c   0x415c
> @ rsp            0x41ae90e0       0x41ae90e0
> @ r8             0x0      0
> @ r9             0x41ae8658       1101956696
> @ r10            0x0      0
> @ r11            0x0      0
> @ r12            0x41ae9100       1101959424
> @ r13            0x41ae90f0       1101959408
> @ r14            0x41aea000       1101963264
> @ r15            0x1000   4096
> @ rip            0x40129d 0x40129d
> @ eflags         0x10206  [ PF IF RF ]
> @ cs             0x33     51
> @ ss             0x2b     43
> @ ds             0x0      0
> @ es             0x0      0
> @ fs             0x63     99
> @ gs             0x0      0
> @ fctrl          0x37f    895
> @ fstat          0x20     32
> @ ftag           0xffff   65535
> @ fiseg          0x0      0
> @ fioff          0x40128b 4199051
> @ foseg          0x0      0
> @ fooff          0x41ae90e0       1101959392
> @ fop            0x33c    828
> @ mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
> @ (gdb) invalid command name "fail"
> @     while executing
> @ "fail "fail to check the xmm value(timeout)""
> @     invoked from within
> @ "expect -nobrace -re {xmm5[      ]+{f = .*}+[    ]+{f = .*}} {
> @                         set buf $expect_out(0,string)
> @                 } timeout {
> @                     fail "fail to check the xmm value(..."
> @     invoked from within
> @ "expect {
> @                 -re "xmm$num\[\t \]+\{f \= .*\}+\[\t \]+\{f \= .*\}" {
> @                         set buf $expect_out(0,string)
> @                 }
> @                 timeout {
> @                     fail "fail to check t..."
> @     (procedure "check_fpu" line 7)
> @     invoked from within
> @ "check_fpu 5"
> @     (file "/opt/ltp/testcases/bin//tcore.exp" line 137)
> @ <<<execution_status>>>
> @ initiation_status="ok"
> @ duration=18 termination_type=exited termination_id=3 corefile=no
> @ cutime=8 cstime=634
> @ <<<test_end>>>
> @ INFO: ltp-pan reported some tests FAIL
> @ LTP Version: LTP-20100630
>
>
>
>  dmesg:
>  tcore[16737]: segfault at 0 ip 000000000040129d sp 0000000041ae90e0
> error 6

Try this:

index 1b68291..7f1dc9f 100644
--- a/testcases/misc/tcore_patch_test_suites/tcore.exp
+++ b/testcases/misc/tcore_patch_test_suites/tcore.exp
@@ -43,7 +43,7 @@ proc check_threads {} {
        set buf $expect_out(0,string)
        }
        timeout {
-               fail "timeout while  run info threads"
+               puts stderr "timeout while  run info threads"
                return 1
        }
     }
@@ -111,7 +111,7 @@ proc check_fpu {num} {
                        set buf $expect_out(0,string)
                }
                timeout {
-                   fail "fail to check the xmm value(timeout)"
+                   puts stderr "fail to check the xmm value(timeout)"
                    return 1
                }
        }

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [LTP] LTP-20100630:tcore.sh test fails
  2010-08-02  6:39 ` Garrett Cooper
@ 2010-08-02  6:43   ` Gurudas Pai
  2010-08-02  7:15     ` Garrett Cooper
  0 siblings, 1 reply; 5+ messages in thread
From: Gurudas Pai @ 2010-08-02  6:43 UTC (permalink / raw)
  To: Garrett Cooper; +Cc: ltp-list

> Try this:
> 
> index 1b68291..7f1dc9f 100644
> --- a/testcases/misc/tcore_patch_test_suites/tcore.exp
> +++ b/testcases/misc/tcore_patch_test_suites/tcore.exp
> @@ -43,7 +43,7 @@ proc check_threads {} {
>         set buf $expect_out(0,string)
>         }
>         timeout {
> -               fail "timeout while  run info threads"
> +               puts stderr "timeout while  run info threads"
>                 return 1
>         }
>      }
> @@ -111,7 +111,7 @@ proc check_fpu {num} {
>                         set buf $expect_out(0,string)
>                 }
>                 timeout {
> -                   fail "fail to check the xmm value(timeout)"
> +                   puts stderr "fail to check the xmm value(timeout)"
>                     return 1
>                 }
>         }

Hi Garrett,

Thanks for the patch !


Running tests.......
<<<test_start>>>
tag=tcore stime=1280710300
cmdline="tcore.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
Test Tcore patch
/tmp/ltp-bNMTB13033/tmp.elSZn13135
Test whether we can generate the needed core file
PASS
/tmp/ltp-bNMTB13033/tmp.elSZn13135
Test whether the core support bt,fpu and threads commands
spawn gdb ./tcore ./corefile

info register

GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
./tcore: No such file or directory.
[New Thread 13143]
[New Thread 13139]
Core was generated by `/opt/ltp/testcases/bin//tcore'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000040129d in ?? ()
(gdb)
(gdb) info register
rax            0xc      12
rbx            0x1e08   7688
rcx            0x41776ee0       1098346208
rdx            0xc      12
rsi            0x402b39 4205369
rdi            0x41776ee0       1098346208
rbp            0x3353   0x3353
rsp            0x417770e0       0x417770e0
r8             0x0      0
r9             0x41776658       1098344024
r10            0x0      0
r11            0x0      0
r12            0x41777100       1098346752
r13            0x417770f0       1098346736
r14            0x41778000       1098350592
r15            0x1000   4096
rip            0x40129d 0x40129d
eflags         0x10206  [ PF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x63     99
gs             0x0      0
fctrl          0x37f    895
fstat          0x20     32
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x40128b 4199051
foseg          0x0      0
fooff          0x417770e0       1098346720
fop            0x33c    828
mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
(gdb)
rax            0xc      12
rbx            0x1e08   7688
rcx            0x41776ee0       1098346208
rdx            0xc      12
rsi            0x402b39 4205369
rdi            0x41776ee0       1098346208
rbp            0x3353   0x3353
rsp            0x417770e0       0x417770e0
r8             0x0      0
r9             0x41776658       1098344024
r10            0x0      0
r11            0x0      0
r12            0x41777100       1098346752
r13            0x417770f0       1098346736
r14            0x41778000       1098350592
r15            0x1000   4096
rip            0x40129d 0x40129d
eflags         0x10206  [ PF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x63     99
gs             0x0      0
fctrl          0x37f    895
fstat          0x20     32
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x40128b 4199051
foseg          0x0      0
fooff          0x417770e0       1098346720
fop            0x33c    828
mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
(gdb) fail to check the xmm value(timeout)
spawn gdb ./tcore ./corefile
info threads
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
./tcore: No such file or directory.
[New Thread 13143]
[New Thread 13139]
Core was generated by `/opt/ltp/testcases/bin//tcore'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000040129d in ?? ()
(gdb) info threads
   3 Thread 13139  0x0000003fc2807b35 in ?? ()
   2 Thread 13143  0x0000003fc280aee9 in ?? ()
* 1 Thread 13144  0x000000000040129d in ?? ()
(gdb) timeout while  run info threads
spawn gdb ./tcore ./corefile
check bt in coredump successfully<<<execution_status>>>
initiation_status="ok"
duration=23 termination_type=exited termination_id=3 corefile=no
cutime=6 cstime=12
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: LTP-20100630



Test is still failing , do you think this is an os issue ?


Thanks,
-Guru

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] LTP-20100630:tcore.sh test fails
  2010-08-02  7:15     ` Garrett Cooper
@ 2010-08-02  7:07       ` Gurudas Pai
  0 siblings, 0 replies; 5+ messages in thread
From: Gurudas Pai @ 2010-08-02  7:07 UTC (permalink / raw)
  To: Garrett Cooper; +Cc: ltp-list

>>
>> Test is still failing , do you think this is an os issue ?
> 
> Don't know. Some more digging would need to be done in terms of
> whether or not the binary is properly SSE compiled (because XMM
> appears to be an SSE register according to a quick google search), and
> you should probably check with the binutils/gdb/redhat folks for more
> details about changes to the binutils, gdb, and/or libelf packages.
> 
Thanks, will look into this and update.

Thanks a lot for your time and effort :)

-Guru

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] LTP-20100630:tcore.sh test fails
  2010-08-02  6:43   ` Gurudas Pai
@ 2010-08-02  7:15     ` Garrett Cooper
  2010-08-02  7:07       ` Gurudas Pai
  0 siblings, 1 reply; 5+ messages in thread
From: Garrett Cooper @ 2010-08-02  7:15 UTC (permalink / raw)
  To: Gurudas Pai; +Cc: ltp-list

On Sun, Aug 1, 2010 at 11:43 PM, Gurudas Pai <gurudas.pai@oracle.com> wrote:
>> Try this:
>>
>> index 1b68291..7f1dc9f 100644
>> --- a/testcases/misc/tcore_patch_test_suites/tcore.exp
>> +++ b/testcases/misc/tcore_patch_test_suites/tcore.exp
>> @@ -43,7 +43,7 @@ proc check_threads {} {
>>        set buf $expect_out(0,string)
>>        }
>>        timeout {
>> -               fail "timeout while  run info threads"
>> +               puts stderr "timeout while  run info threads"
>>                return 1
>>        }
>>     }
>> @@ -111,7 +111,7 @@ proc check_fpu {num} {
>>                        set buf $expect_out(0,string)
>>                }
>>                timeout {
>> -                   fail "fail to check the xmm value(timeout)"
>> +                   puts stderr "fail to check the xmm value(timeout)"
>>                    return 1
>>                }
>>        }
>
> Hi Garrett,
>
> Thanks for the patch !
>
>
> Running tests.......
> <<<test_start>>>
> tag=tcore stime=1280710300
> cmdline="tcore.sh"
> contacts=""
> analysis=exit
> <<<test_output>>>
> incrementing stop
> Test Tcore patch
> /tmp/ltp-bNMTB13033/tmp.elSZn13135
> Test whether we can generate the needed core file
> PASS
> /tmp/ltp-bNMTB13033/tmp.elSZn13135
> Test whether the core support bt,fpu and threads commands
> spawn gdb ./tcore ./corefile
>
> info register
>
> GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5)
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> ./tcore: No such file or directory.
> [New Thread 13143]
> [New Thread 13139]
> Core was generated by `/opt/ltp/testcases/bin//tcore'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x000000000040129d in ?? ()
> (gdb)
> (gdb) info register
> rax            0xc      12
> rbx            0x1e08   7688
> rcx            0x41776ee0       1098346208
> rdx            0xc      12
> rsi            0x402b39 4205369
> rdi            0x41776ee0       1098346208
> rbp            0x3353   0x3353
> rsp            0x417770e0       0x417770e0
> r8             0x0      0
> r9             0x41776658       1098344024
> r10            0x0      0
> r11            0x0      0
> r12            0x41777100       1098346752
> r13            0x417770f0       1098346736
> r14            0x41778000       1098350592
> r15            0x1000   4096
> rip            0x40129d 0x40129d
> eflags         0x10206  [ PF IF RF ]
> cs             0x33     51
> ss             0x2b     43
> ds             0x0      0
> es             0x0      0
> fs             0x63     99
> gs             0x0      0
> fctrl          0x37f    895
> fstat          0x20     32
> ftag           0xffff   65535
> fiseg          0x0      0
> fioff          0x40128b 4199051
> foseg          0x0      0
> fooff          0x417770e0       1098346720
> fop            0x33c    828
> mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
> (gdb)
> rax            0xc      12
> rbx            0x1e08   7688
> rcx            0x41776ee0       1098346208
> rdx            0xc      12
> rsi            0x402b39 4205369
> rdi            0x41776ee0       1098346208
> rbp            0x3353   0x3353
> rsp            0x417770e0       0x417770e0
> r8             0x0      0
> r9             0x41776658       1098344024
> r10            0x0      0
> r11            0x0      0
> r12            0x41777100       1098346752
> r13            0x417770f0       1098346736
> r14            0x41778000       1098350592
> r15            0x1000   4096
> rip            0x40129d 0x40129d
> eflags         0x10206  [ PF IF RF ]
> cs             0x33     51
> ss             0x2b     43
> ds             0x0      0
> es             0x0      0
> fs             0x63     99
> gs             0x0      0
> fctrl          0x37f    895
> fstat          0x20     32
> ftag           0xffff   65535
> fiseg          0x0      0
> fioff          0x40128b 4199051
> foseg          0x0      0
> fooff          0x417770e0       1098346720
> fop            0x33c    828
> mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
> (gdb) fail to check the xmm value(timeout)
> spawn gdb ./tcore ./corefile
> info threads
> GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5)
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> ./tcore: No such file or directory.
> [New Thread 13143]
> [New Thread 13139]
> Core was generated by `/opt/ltp/testcases/bin//tcore'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x000000000040129d in ?? ()
> (gdb) info threads
>  3 Thread 13139  0x0000003fc2807b35 in ?? ()
>  2 Thread 13143  0x0000003fc280aee9 in ?? ()
> * 1 Thread 13144  0x000000000040129d in ?? ()
> (gdb) timeout while  run info threads
> spawn gdb ./tcore ./corefile
> check bt in coredump successfully<<<execution_status>>>
> initiation_status="ok"
> duration=23 termination_type=exited termination_id=3 corefile=no
> cutime=6 cstime=12
> <<<test_end>>>
> INFO: ltp-pan reported some tests FAIL
> LTP Version: LTP-20100630
>
>
>
> Test is still failing , do you think this is an os issue ?

Don't know. Some more digging would need to be done in terms of
whether or not the binary is properly SSE compiled (because XMM
appears to be an SSE register according to a quick google search), and
you should probably check with the binutils/gdb/redhat folks for more
details about changes to the binutils, gdb, and/or libelf packages.

HTH,
-Garrett

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-02  7:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02  6:23 [LTP] LTP-20100630:tcore.sh test fails Gurudas Pai
2010-08-02  6:39 ` Garrett Cooper
2010-08-02  6:43   ` Gurudas Pai
2010-08-02  7:15     ` Garrett Cooper
2010-08-02  7:07       ` Gurudas Pai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox