Re: [Valgrind-users] Using System Call in a Valgrind Tool

2012-08-03 Thread Philippe Waroquiers
On Thu, 2012-08-02 at 18:21 -0400, Wonjoon Song wrote: ... valgrind: the 'impossible' happened: Killed by fatal signal ==24479==at 0x38059A25: vgPlain_do_syscall (m_syscall.c:72) ==24479==by 0x3808E5E1: handle_syscall (scheduler.c:1057) ... I tried to search for examples using

[Valgrind-users] Using System Call in a Valgrind Tool

2012-08-02 Thread Wonjoon Song
Hello All I am trying to build a new tool using valgrind. I'm also trying to use mmap system call to get huge memory block in my tool. When I use do_syscall in my tool I get an error message like this. I tried several other calls (getpid, etc) and every time I get this segmentation fault