GithubHelp home page GithubHelp logo

jspin's People

jspin's Issues

SpinSpider (automata): transitions from init to proctype

What steps will reproduce the problem?
1. Open example.pml (attached)
2. SpinSpinner, automata, run 

What is the expected output? 
 There subgraphs for init and proctype dstore should be disjoint

What do you see instead?
 There is a transition from the statement in line 44 (init state 2) to the statement in line 30 (dstore state 7).

What version of the product are you using? 
 5.0

Please provide any additional information below.

 Read.createStatements increments the process number if (s.indexOf("proctype") != -1), but ignores the line that begins with "init". Then two statements may be assigned with the same process number and the same id, and the input to dot is wrong. 


I modified Read as follows:

s=trim();
if (s.startsWith("proctype") || s.startsWith("init")) ...

Original issue reported on code.google.com by [email protected] on 19 Feb 2013 at 4:34

Attachments:

An IO exception

What steps will reproduce the problem?
1. install the tool
2. open an example file (e.g., sem-ch.pml)
3. press "verify"

What is the expected output? What do you see instead?
The tool responses the following alert:

"bin\spin.exe -a sem-ch.pml ... done!
c:\mingw\bin\gcc.exe  -DSAFETY  -o pan pan.c ... done!
C:\jspin\jspin-examples\pan  -m2000 -X ... IO exception
java.io.IOException: CreateProcess: C:\jspin\jspin-examples\pan -m2000 -X 
error=2done!"

What version of the product are you using? On what operating system?
jSpin 5.0, under Windows XP

Please provide any additional information below.
Sorry, I just start using this tool. Perhaps my experience is not sufficient.


Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 7:48

SpinSpider does not create Visualization

What steps will reproduce the problem?
1. copy a promela file like the attached one to an path containing white
spaces e.g. "C:\Users\andi\Documents\Dokumente\Uni\Koblenz\SS2009\Formale
Spezifikation und Verifikation\09-08-05 - Blockkurs
1\examples\lect05\start\interleave01.pml"
2. try to create a visualization with jSpin 4.6 and SpinSpider
3. Nothing is displayed

What is the expected output? What do you see instead?
Expected output is the graph visualization as png immage

What version of the product are you using? On what operating system?
jspin 4.6 on Windows Vista Business x64, SP 2

Please provide any additional information below.
Tests have shown, that the dot file is correctly created, but the png file
is not created at all. Manual tests have shown, that dot.exe is not able to
handle white spaces in path names. Launching dot.exe with the created
dot-file and adding "  " around the path creates the png file correctly. So
the path-variable in SpinSpider should be embraced by ".."

Original issue reported on code.google.com by [email protected] on 5 Aug 2009 at 10:38

Attachments:

Wrong results when there are spaces in directory names

What steps will reproduce the problem?
1. Open a pml file from a directory with a space in its name
2. Check the file
3. Write a false LTL property, translate the property and try to verify it

What is the expected output? What do you see instead?

Expected output is that there is an error. Instead, I see that the property is 
true (0 errors).

What version of the product are you using? On what operating system?

Version 6.3.2. Mac OS.


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 4 Sep 2014 at 12:51

couldn't find java SE runtime environment

What steps will reproduce the problem?
1. trying to run jSpin application
2.
3.

What is the expected output? What do you see instead?
I get an error message saying "couldn't find java SE runtime environment", 
however I should get the application ruuning

What version of the product are you using? On what operating system?
jSpin 5.0

Please provide any additional information below.
I have javaw and jre but I don't know where exactly should I place them.

Thanks

Original issue reported on code.google.com by [email protected] on 31 Dec 2012 at 10:11

file pan not found

What steps will reproduce the problem?
1. start jspin.jar
2. file->open->count.pml (or another file)
3. press "verify"

What is the expected output? What do you see instead?

bin\spin.exe -a count.pml ... done!
c:\mingw\bin\gcc.exe  -DSAFETY  -o pan pan.c ... done!
E:\SPIN\jspin\jspin-examples\pan  -m2000 -X ... IO exception
java.io.IOException: Cannot run program "E:\SPIN\jspin\jspin-examples\pan" (in 
directory "E:\SPIN\jspin\jspin-examples"): CreateProcess error=2, Íå 
óäàåòñÿ íàéòè óêàçàííûé ôàéëdone!

it's a result of run dir on \jspin-exaples\
 ’®¬ ў гбва®©б⢥ E ­Ґ Ё¬ҐҐв ¬ҐвЄЁ.
 ‘ҐаЁ©­л© ­®¬Ґа ⮬ : DC63-A61D

 ‘®¤Ґа¦Ё¬®Ґ Ї ЇЄЁ E:\SPIN\jspin\jspin-examples

19.03.2011  02:42    <DIR>          .
19.03.2011  02:42    <DIR>          ..
15.12.2010  09:27               980 barz.pml
07.03.2010  08:59               476 count.pml
19.03.2011  02:38               161 count.spd
09.12.2010  17:54             1я021 dekker.pml
08.12.2010  23:35               664 fourth.pml
09.12.2010  18:10             1я787 frogs.pml
19.03.2011  02:39               777 pan.b
19.03.2011  02:39           287я756 pan.c
19.03.2011  02:39            11я148 pan.h
19.03.2011  02:39             3я076 pan.m
19.03.2011  02:39            19я110 pan.t
07.03.2010  08:59               426 second.pml
07.03.2010  08:59               248 sem-busy.pml
07.03.2010  08:59               470 sem-ch.pml
07.03.2010  08:59               417 third.pml
              17 д ©«®ў        328я530 Ў ©в
               2 Ї Ї®Є   9я511я649я280 Ў ©в бў®Ў®¤­®

What version of the product are you using? On what operating system?

5.0

Please provide any additional information below.

sorry for the stupid or questions, please

Original issue reported on code.google.com by [email protected] on 18 Mar 2011 at 7:47

Peterson Algorithm and "Non-progress" Verification causes "pan: non-progress cycle (at depth 12)"

Given the Peterson algorithm implementation (taken from p.92 "Principles of
the Spin model checker"), jSpin (4-6) reports a non-progress cycle although
Peterson is supposed to be starvation free (p. 161):

pan: non-progress cycle (at depth 12)
pan: wrote peterson-over.pml.trail
(Spin Version 5.2.4 -- 2 December 2009)
Warning: Search not completed
    + Partial Order Reduction
Full statespace search for:
    never claim             +
    assertion violations    + (if within scope of claim)
    non-progress cycles     + (fairness enabled)
    invalid end states  - (disabled by never claim)
State-vector 36 byte, depth reached 35, ••• errors: 1 •••
       14 states, stored (19 visited)
        3 states, matched
       22 transitions (= visited+matched)
        0 atomic steps
hash conflicts:         0 (resolved)
    4.195   memory usage (Mbyte)
pan: elapsed time 0.01 seconds

Java is:
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)

Original issue reported on code.google.com by [email protected] on 25 Jan 2010 at 4:28

Attachments:

GUI look and feel does not match platform

*What steps will reproduce the problem?
1. Start the program 

*What is the expected output? What do you see instead?
I expect a windows look and feel GUI, but i see a standard swing GUI (and they 
are not very pretty :) )

*What version of the product are you using? On what operating system?
5.0 (windows exe-installer)

*Please provide any additional information below.
Just add:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
in the start of the constructor of the "master" JFrame :)

Original issue reported on code.google.com by [email protected] on 30 Sep 2011 at 5:37

Verify error

What steps will reproduce the problem?
1. Open a jspin example
2. Do Verify
3.

What is the expected output? What do you see instead?
I don't really know what to expect. Here's whar I see:
"bin\spin.exe -a fourth.pml ... done!
c:\mingw\bin\gcc.exe  -DSAFETY  -o pan pan.c ... done!
C:\jspin\jspin-examples\pan  -m2000 -X ... IO exception
java.io.IOException: Cannot run program "C:\jspin\jspin-examples\pan" (in 
directory "C:\jspin\jspin-examples"): CreateProcess error=2, The system cannot 
find the file specifieddone!"

What version of the product are you using? On what operating system?
5.0 on Windows 8

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 14 Oct 2013 at 12:29

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.