Re: [LTP] [TEST FAILURE] mallocstress testcase is failing on x86_64

2008-11-19 Thread Sharyathi Nagesh
Hei Thanks for making my test case buggy ;) Ya I was able to re-create the problem. Subrata When can we expect the patch provided by Andrew to be part of ltp test suite Thanks Sharyathi Andrew Vagin wrote: We found the reproducer. See the following examples. [EMAIL PROTECTED] ~ $ cat

Re: [LTP] [TEST FAILURE] mallocstress testcase is failing on x86_64

2008-11-19 Thread Subrata Modak
On Wed, 2008-11-19 at 14:49 +0530, Sharyathi Nagesh wrote: Hei Thanks for making my test case buggy ;) Ya I was able to re-create the problem. Subrata When can we expect the patch provided by Andrew to be part of ltp test suite The patch is checked in. Thanks Andrew for providing

Re: [LTP] [TEST FAILURE] mallocstress testcase is failing on x86_64

2008-11-19 Thread Andrew Vagin
We found the reproducer. See the following examples. [EMAIL PROTECTED] ~ $ cat test.c #include stdio.h #include stdlib.h int main() { long *p; p = malloc(1); *p = ~0; free(p); } [EMAIL PROTECTED] ~ $ MALLOC_CHECK_=3 ./a.out malloc: using debugging hooks *** glibc

Re: [LTP] [TEST FAILURE] mallocstress testcase is failing on x86_64

2008-11-19 Thread Andrew Vagin
Sharyathi Nagesh пишет: Hi Andrew While debugging I observed they are allocating memory block of size 1 and freeing it and the problem was noticed while doing that as the pointer is of type long. This problem is noticed only in thread context we have data corruption and any actions

Re: [LTP] [TEST FAILURE] mallocstress testcase is failing on x86_64

2008-11-18 Thread Subrata Modak
On Wed, 2008-11-12 at 13:34 +0300, Andrew Vagin wrote: Hi, All. Rishi, can you attach log from strace -f ./testcases/kernel/mem/mtest07/mallocstress ? Rishikesh, Can you please provide this info to Andrew ? Regards-- Subrata Please find below some problem related to mallocstress

Re: [LTP] [TEST FAILURE] mallocstress testcase is failing on x86_64

2008-11-18 Thread [EMAIL PROTECTED]
Hi, All. Rishikesh K. Rajak wrote: On Wed, 2008-11-12 at 13:34 +0300, Andrew Vagin wrote: Hi, All. Rishi, can you attach log from strace -f ./testcases/kernel/mem/mtest07/mallocstress ? Andrew, Sorry i could not expect this mail to go somewhere else. Attached is the strace output.

Re: [LTP] [TEST FAILURE] mallocstress testcase is failing on x86_64

2008-11-12 Thread Andrew Vagin
Hi, All. Rishi, can you attach log from strace -f ./testcases/kernel/mem/mtest07/mallocstress ? Please find below some problem related to mallocstress testcase failing on x86_64. Let us know if some of you have encountered this. Rishi Reported:

[LTP] [TEST FAILURE] mallocstress testcase is failing on x86_64

2008-11-11 Thread Subrata Modak
Hi, Please find below some problem related to mallocstress testcase failing on x86_64. Let us know if some of you have encountered this. Rishi Reported: mallocstress testcase is failing on: Linux 2.6.27-rc6-7-default #1