On 10/01/11 01:13, Nikolaus Rath wrote:

> The problem is that the program deadlocks when running under Valgrind.
> More precisely, it deadlocks in a stat64() syscall of the mountpoint.
>
> My guess is that Valgrind is not expecting that a syscall may call back
> into a different thread of the program that valgrind runs, and that some
> valgrind internal lock prevents that the callback is handled before the
> syscall itself has finished - deadlock.

My guess would be that stat64 is not marked as a system call that can 
block and that it needs the MayBlock flag adding.

Tom

-- 
Tom Hughes ([email protected])
http://compton.nu/

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to