Tom Hughes <[email protected]> writes:
> 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.

Can you give me specific instructions how to add the flag? Then I can
recompile valgrind and test it.


Thanks,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C


------------------------------------------------------------------------------
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