Hi Philippe,

After applying patch shmat is working fine.

Does this patch will be included in the next valgrind release?


Thanks and regards,
Adishesh


On Wed, Aug 15, 2012 at 11:17 PM, Adishesh  M <adishes...@gmail.com> wrote:
> Hi,
>
> i will test using patch and update the test results soon.
>
> Since previous mail  was mangled, resending it.
>
> I have used below program for testing. Below are the steps I have followed.
> Compile: gcc -g3 test_shm.c -o test_shm
> Create shared memory: ./test_shm –c
> Get shared memory without valgrind: ./test_shm –g ( this works fine)
> Get with valgrind: /usr/bin/valgrind --tool=memcheck --leak-check=full
> --track-origins=yes --log-file=/tmp/val_log /home/rtp99/test_shm –g
> With valgrind shmat command fails.
>
> Total shared memory segments active on the my system is 320.
> My process will attach to 40 shared memory segments. Shmat will fails
> when tested with 14 shared memory attach also.
> Total RAM available on my system is 124GB. I am using HP C7000 blade
> hardware with RHEL6.2 OS.
> I am using 64bit binary. 'file test_shm' command output is
> test_shm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
> dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not
> stripped
>
> Thanks and regards,
> Adishesh
>

>
>>Can you try again after applying the attached patch ?
>
>>Thanks
>
>>Philippe

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to