0

I am using ispin and got an error stating spin: trails end after 10 steps and transition fail.

How can I prevent this error from happening?

Anthon
  • 69,918
  • 32
  • 186
  • 246
  • 3
    Please provide more detail, like what the exact error is and what you have tried. – dove Mar 06 '15 at 20:06
  • Include the code that fails by editing your question. I have not seen [anyone](http://unix.stackexchange.com/users/104307/anyone) on this site, so the answer to your original question was probably "No she can't". Yes/no answerable questions (easily checked) are seldom good questions here. – Anthon Mar 07 '15 at 07:44

2 Answers2

0

You prevent the error from happening in one of two ways:

  1. fix your Promela model - you have a bug in your Promela that needs to be removed
  2. you've found an error in the system that you are modeling. Congratulations. You now report the error to the person in charge of the system that you are modeling.

In practice, when you have a trail indicating an error, you next perform

spin -p -t <name of the model>.pml

which will print out the step by step model executions that lead to the error. You scour them to confirm that they are correct - if so, see #2 above; if not correct, see #1.

GoZoner
  • 67,920
  • 20
  • 95
  • 145
0

I had the same problem and it is fixed after putting -DVECTORSZ :

compile-option

in the advanced parameters settings window of verification tab.I have also increased the physical memory to 2048.

Marialena
  • 817
  • 8
  • 31