> exp-ptrcheck: the 'impossible' happened:
>    unhandled syscall
> ==23257==    at 0x38012EC4: ??? (in 
> /usr/lib64/valgrind/exp-ptrcheck-amd64-linux)
> 
> sched status:
>   running_tid=1
> 
> Thread 1: status = VgTs_Runnable
> ==23257==    at 0x8AA8307: pipe2 (in /lib64/libc-2.10.1.so)
> ==23257==    by 0xCA4F8F3: ??? (in /usr/lib64/libglib-2.0.so.0.2200.4)

Just ignore the second argument to pipe2.  O_NONBLOCK and O_CLOEXEC
are the only defined options.   O_CLOEXEC is a security option only.
O_NONBLOCK is functionality, so your program might fail, but maybe
you will find the bug first.

-----
int
pipe2(int pipefd[2], int flags)
{
        return pipe(pipefd);
}
-----

-- 

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to