sccinfo: fix generation of self-loop accepting runs

Reported by Juraj Major.

* spot/twaalgos/sccinfo.cc (scc_info::get_accepting_run): Do not
assume TRACK_STATES is enabled.
* tests/core/autcross5.test: New file.
* tests/Makefile.am: Add it.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2020-03-12 17:00:16 +01:00
parent e2ec711c40
commit 7aec23f019
4 changed files with 239 additions and 26 deletions

6
NEWS
View file

@ -12,6 +12,12 @@ New in spot 2.8.6.dev (not yet released)
- autfilt --uniq was not considering differences in acceptance
conditions or number of states when discarding automata.
- In an automaton with acceptance condition containing some Fin, and
whose accepting cycle could be reduced to a self-loop in an
otherwise larger SCC, the generation of an accepting run could be
wrong. This could in turn cause segfaults or infinite loops while
running autcross or autfilt --stats=%w.
New in spot 2.8.6 (2020-02-19)
Bugs fixed: