Skip to content

Null-pointer exception cascade #304

@Pytheas01

Description

@Pytheas01

The following code causes a cascade of null pointer exceptions in SymphonyTool 0.4.0.

channels
tick

class ClockSt = begin
 state
public s: nat

initial
    Init()
     frame wr s
     post s = 0

operations

public increment()
frame wr s
post s = s~ + 1

end

process SimpleClock = begin
state c: ClockSt
 actions
 Ticking = Wait 1; c.increment(); tick -> Skip
 @
 c := new ClockSt(); c.Init(); mu X @ (Ticking; X)
 end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions