A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new entry in Release_Notes.
[simgrid.git]
/
examples
/
sthread
/
stdobject
/
stdobject.tesh
diff --git
a/examples/sthread/stdobject/stdobject.tesh
b/examples/sthread/stdobject/stdobject.tesh
index
37d6d25
..
602c3f4
100644
(file)
--- a/
examples/sthread/stdobject/stdobject.tesh
+++ b/
examples/sthread/stdobject/stdobject.tesh
@@
-4,9
+4,7
@@
# We ignore the LD_PRELOAD lines from the expected output because they contain the build path
! ignore .*LD_PRELOAD.*
# We ignore the LD_PRELOAD lines from the expected output because they contain the build path
! ignore .*LD_PRELOAD.*
-$ ${bindir:=.}/../../../bin/simgrid-mc --cfg=model-check/sleep-set:true --cfg=model-check/setenv:LD_PRELOAD=${libdir:=.}/libsgmalloc.so:${libdir:=.}/libsthread.so ${bindir:=.}/stdobject "--log=root.fmt:[%11.6r]%e(%a@%h)%e%m%n" --log=no_loc
-> [ 0.000000] (maestro@) Configuration change: Set 'model-check/sleep-set' to 'true'
-> [ 0.000000] (maestro@) Starting the simulation.
+$ $VALGRIND_NO_TRACE_CHILDREN ${bindir:=.}/../../../bin/simgrid-mc --cfg=model-check/setenv:LD_PRELOAD=${libdir:=.}/libsthread.so ${bindir:=.}/stdobject "--log=root.fmt:[%11.6r]%e(%a@%h)%e%m%n" --log=no_loc
> starting two helpers...
> waiting for helpers to finish...
> [ 0.000000] (maestro@) Start a DFS exploration. Reduction is: dpor.
> starting two helpers...
> waiting for helpers to finish...
> [ 0.000000] (maestro@) Start a DFS exploration. Reduction is: dpor.
@@
-17,12
+15,12
@@
$ ${bindir:=.}/../../../bin/simgrid-mc --cfg=model-check/sleep-set:true --cfg=mo
> v = { 1, 2, 3, 5, 8, 13, 21, 21, };
> [ 0.000000] (maestro@) thread 1 takes &v
> [ 0.000000] (maestro@) thread 2 takes &v
> v = { 1, 2, 3, 5, 8, 13, 21, 21, };
> [ 0.000000] (maestro@) thread 1 takes &v
> [ 0.000000] (maestro@) thread 2 takes &v
-> [ 0.000000] (maestro@) Unprotected concurent access to &v: thread 1 vs thread 2 (locations hidden because of --log=no_loc).
+> [ 0.000000] (maestro@) Unprotected concurent access to &v: thread 1
from 1 location
vs thread 2 (locations hidden because of --log=no_loc).
> [ 0.000000] (maestro@) **************************
> [ 0.000000] (maestro@) *** PROPERTY NOT VALID ***
> [ 0.000000] (maestro@) **************************
> [ 0.000000] (maestro@) Counter-example execution trace:
> [ 0.000000] (maestro@) **************************
> [ 0.000000] (maestro@) *** PROPERTY NOT VALID ***
> [ 0.000000] (maestro@) **************************
> [ 0.000000] (maestro@) Counter-example execution trace:
-> [ 0.000000] (maestro@)
2:
BeginObjectAccess(&v)
-> [ 0.000000] (maestro@)
3:
BeginObjectAccess(&v)
+> [ 0.000000] (maestro@)
Actor 2 in simcall
BeginObjectAccess(&v)
+> [ 0.000000] (maestro@)
Actor 3 in simcall
BeginObjectAccess(&v)
> [ 0.000000] (maestro@) You can debug the problem (and see the whole details) by rerunning out of simgrid-mc with --cfg=model-check/replay:'2;3'
> [ 0.000000] (maestro@) You can debug the problem (and see the whole details) by rerunning out of simgrid-mc with --cfg=model-check/replay:'2;3'
-> [ 0.000000] (maestro@) DFS exploration ended. 7 unique states visited; 1 backtracks (
9 transition replays, 1
states visited overall)
+> [ 0.000000] (maestro@) DFS exploration ended. 7 unique states visited; 1 backtracks (
1 transition replays, 9
states visited overall)