Summary: | Missing type check of array index | ||
---|---|---|---|
Product: | UPPAAL | Reporter: | Paul <paul.milbredt> |
Component: | GUI | Assignee: | Gerd Behrmann <behrmann> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 3.6 Alpha 2 | ||
Hardware: | PC | ||
OS: | All | ||
Architecture: | |||
Attachments: | Example System |
Description
Paul
2005-12-06 17:00:00 CET
The behaviour you describe is a server crash due to some internal fault. I have not been able to reproduce the error from your description. Could you please attach the model triggering this bug to the bug report or email it to me directly. Thanks. Created attachment 81 [details]
Example System
When (incorrectly) using a clock as an index for an array, syntax check is ok,
but using the model leads to "Server connection lost". It's not a bug, but
better error reporting would be great.
(My fault was, i forgot to delete a (local) clock and introduced a global const
with that name, so when i tried to use the const as array index, uppaal tried
to use the clock, which obviously couldn't work)
Thanks, I see the problem now. It is most certainly a bug: The "error message" you describe means the verification server crashed and that should never ever happen. The fact that the crash was triggered by a type error in the input model does not change this. Will be fixed before the release of alpha 3. It seems that the type of array indices is not checked at all. Fixed on the trunk (revision 1334). |