Break Cycles Seg Fault
Description
When using the "parse again" button on invalid Graphs sometimes a Segfault occures. Invalid Graphs are especially often generated by the "break cycle" routine.
Reproduction of this bug:
- xcdg deutsch
- inputwordgraph "Ich bin ein Brot"
- newnet
- frobbing
- In the Tree Editor link the "Brot"-Node to the "ein"-Node (edit the APP-edge) to form a cycle
- click Edit->Break Cyles.
- click the right-arrow-icon (or alternatively use Edit->Parse again) multiple times
- Segfault
Kilian says:
OK, transform.c 1.46 corrects an initialization order error that segfaults if a ProblemStruct
is deleted very early. That fixes the crash for me; does it work for you?
Comments