2016-12-06 15:39 GMT+00:00 Radoslaw Kujawa <kuj...@9livesdata.com>:

> Hi everyone,
>
> we're trying to run valgrind on a multi-threaded binary that uses fuse to 
> emulate a filesystem. We've found --sim-hints=fuse-compatible flag, which is 
> great (resolves some problems with deadlocks), but then valgrind fails on an 
> assert:
>
> vg_assert(0 == (sci->flags & ~(SfPollAfter | SfYieldAfter | 
> SfNoWriteResult))); (in syswrap_main.c)
>
> In our case (sci->flags & SfMayBlock) is true. When we added SfMayBlock to 
> acceptable flags, and recompiled valgrind, everything worked fine.
>
> Do you have and idea what we can do to run our binary in a simple way 
> (without any hacks in assertions...)? Is it some configuration issue to allow 
> blocking operations or maybe it is a bug in valgrind itself?
>
>
Can you isolate this problem in a very simple program so there is a
reproducible test case?
Alternatively, please provide output of running Valgrind with
'--trace-syscalls=yes'.
I.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to