On 01/10/2011 12:08 PM, Julian Seward wrote: > >> My guess would be that stat64 is not marked as a system call that can >> block and that it needs the MayBlock flag adding. > > Yes, that could be it. I guess, normally, a stat64 (etc) call is > completed eventually by the kernel, without the need for any other > thread to run. But in this case a stat64 call might somehow require > some other thread to progress.
In my case it definitely requires another thread to progress. No "might" or "somehow" there :-). > Nikolaus, try adding > > *flags |= SfMayBlock; > > to PRE(sys_stat64) in syswrap-x86-linux.c (I assume this is > 32-bit x86). Does that help? Yes, it's 32bit x86. I'll try this tonight and report back. Thanks for the quick help! Best, -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
