Hi,
I am investigating a memcheck's report near a call to epoll_wait().
I am running my program (sorry, not small test case) with
--trace-syscalls=yes.

Usually I get this:
SYSCALL[29628,125](232) sys_epoll_wait ( 62, 0x1540ca30, 1024, 1000 ) -->
[async] ...
SYSCALL[29628,125](232) ... [async] --> Success(0x0:0x0)
I assume these two lines come from PRE(sys_epoll_wait) and
POST(sys_epoll_wait).

But sometimes I get this:
SYSCALL[29628,156](232) sys_epoll_wait ( 96, 0x15948a30, 1024, 417 ) -->
[async] ...
SYSCALL[29628,156]( 15) sys_rt_sigreturn ( ) --> [pre-success] NoWriteResult

So, POST(sys_epoll_wait) does not get called and memcheck thinks that the
second parameter of epoll_wait is uninitialized.

What does this sys_rt_sigreturn mean? Why POST(sys_epoll_wait) is not
called?
Any idea?

Thanks,

--kcc
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to