Hello,

I am trying to use valgrind to debug a FUSE program, i.e. a program that
implements a file system in user space.

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.

Is that correct? Is there a way to work around the problem?


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

Reply via email to