Re: [LTP] [FIX PATCHE] rt_sigaction

naresh kamboju
2009-07-07T17:26:25Z

Garrett,

On Tue, Jul 7, 2009 at 10:14 PM, Garrett Cooper<yanegomi@gmail.com> wrote:
> On Tue, Jul 7, 2009 at 4:52 AM, naresh kamboju<naresh.kernel@gmail.com> wrote:
>> Hi Garrett Cooper,
>>
>> Thanks for your info.

> expected errno  = EFAULT : Bad address
> rt_sigaction02    0  INFO  :  sa.sa_flags = SA_NOMASK
> rt_sigaction02   15  PASS  :  rt_sigaction02 failure with sig: 36 as
> expected errno  = EFAULT : Bad address
>
> rt_sigaction02    0  INFO  :  sa.sa_flags = SA_RESETHAND|SA_SIGINFO
> rt_sigaction02   16  PASS  :  rt_sigaction02 failure with sig: 37 as
> expected errno  = EFAULT : Bad address
> rt_sigaction02    0  INFO  :  sa.sa_flags = SA_RESETHAND
> rt_sigaction02   17  PASS  :  rt_sigaction02 failure with sig: 37 3 as
> expected errno  = EFAULT : Bad address
> gcooper@orangebox /scratch/ltp-vanilla/ltp $ gdb
> testcases/kernel/syscalls/rt_sigaction/rt_sigaction01
> GNU gdb 6.8
> Copyright (C) 2008 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-pc-linux-gnu"...
> (gdb) r
> Starting program:
> /scratch/ltp-vanilla/ltp/testcases/kernel/syscalls/rt_sigaction/rt_sigaction01
> rt_sigaction01    0  INFO  :  signal: 34
> rt_sigaction01    1  PASS  :  rt_sigaction call succeeded: result = 0
> rt_sigaction01    0  INFO  :  sa.sa_flags = SA_RESETHAND|SA_SIGINFO
>
> Program received signal SIG34, Real-time event 34.
> 0x00007f770ba0b4f7 in kill () from /lib/libc.so.6
> (gdb) where
> #0  0x00007f770ba0b4f7 in kill () from /lib/libc.so.6
> #1  0x0000000000401c3e in main ()
> (gdb)
>

/lib/libc.so.6 :

This could be issue with glibc.
Are you using 2.9 glibc?

please Investigate.

Best regards,
Naresh Kamboju

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry