Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix Manifest.in
[simgrid.git] / examples / c / actor-exiting / actor-exiting.tesh
index 0ed5c85a7a64245c266435aef8727b0bfcd5246e..4bc56ef830adee1349e1fc6d413dfba4d68d98b6 100644 (file)
@@ -1,4 +1,13 @@
 #!/usr/bin/env tesh
 
-$ ${bindir:=.}/actor-exiting-c ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%P@%h)%e%m%n"
-> [ 10.194200] (A@Tremblay) I stop now
+$ ${bindir:=.}/c-actor-exiting ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%a@%h)%e%m%n" --log=no_loc
+> [  1.000000] (A@Tremblay) I stop now
+> [  3.000000] (C@Ginette) And now, induce a deadlock by waiting for a message that will never come
+>
+>
+> [  3.000000] (maestro@) Oops! Deadlock detected, some activities are still around but will never complete. This usually happens when the user code is not perfectly clean.
+> [  3.000000] (maestro@) 1 actors are still running, waiting for something.
+> [  3.000000] (maestro@) Legend of the following listing: "Actor <pid> (<name>@<host>): <status>"
+> [  3.000000] (maestro@) Actor 3 (C@Ginette): waiting for communication activity 0xdeadbeef () in state WAITING to finish 
+> [  3.000000] (C@Ginette) I was killed!
+> [  3.000000] (C@Ginette) The backtrace would be displayed here if --log=no_loc would not have been passed