Re: About x86_64-cs

2008-02-13 Thread Roland McGrath
Thanks, Wenji. I already knew I'd fixed the bug. ;-) The bug in question only ever affected a 32-bit process on a 64-bit kernel. That test as written hits the assert when built for x86_64. Changes to %cs or %ss have no effect on a 64-bit process, so the traced process does not crash as a 32-bit

Re: Some testing on crashers...

2008-02-13 Thread Jan Kratochvil
On Wed, 13 Feb 2008 22:32:18 +0100, Roland McGrath wrote: > > Your utrace-ptrace-compat kernel is not the full utrace implementation which > > the testsuite targets, it is only its `regset' part. Therefore some (all?) > > of the crashers just do not apply to such non-full-utrace kernels. > > That

Re: Some testing on crashers...

2008-02-13 Thread Roland McGrath
> Your utrace-ptrace-compat kernel is not the full utrace implementation which > the testsuite targets, it is only its `regset' part. Therefore some (all?) > of the crashers just do not apply to such non-full-utrace kernels. That is not true, unless I am misunderstanding what you are referring to

Re: About x86_64-cs

2008-02-13 Thread Jan Kratochvil
Hi, On Wed, 13 Feb 2008 08:56:42 +0100, Wenji Huang wrote: ... > The x86_64-cs in utrace wiki page reports that the test could crash kernel. > I verify that in old kernel release 2.6.24. > But in latest kernel 2.6.25-rc1, the problem seems to be resolved. Thanks for the test, http://sourceware.o

Re: Some testing on crashers...

2008-02-13 Thread Jan Kratochvil
On Wed, 13 Feb 2008 16:05:59 +0100, Kris Van Hees wrote: > On Fri, Feb 08, 2008 at 05:27:53PM -0800, Roland McGrath wrote: > > Thanks for the testing. Note that most of the crasher tests are for > > intermittent race bugs that might take a long time to show. They look for > > TESTTIME environment

Re: Some testing on crashers...

2008-02-13 Thread Kris Van Hees
On Fri, Feb 08, 2008 at 05:27:53PM -0800, Roland McGrath wrote: > Thanks for the testing. Note that most of the crasher tests are for > intermittent race bugs that might take a long time to show. They look for > TESTTIME environment variable to set how long to keep trying, and the > defaults are

About x86_64-cs

2008-02-13 Thread Wenji Huang
Hi, The x86_64-cs in utrace wiki page reports that the test could crash kernel. I verify that in old kernel release 2.6.24. But in latest kernel 2.6.25-rc1, the problem seems to be resolved. The call tree : arch_ptrace -> putreg-> set_segment_reg In function set_segment_reg, the relat