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:

  1. xcdg deutsch
  2. inputwordgraph "Ich bin ein Brot"
  3. newnet
  4. frobbing
  5. In the Tree Editor link the "Brot"-Node to the "ein"-Node (edit the APP-edge) to form a cycle
  6. click Edit->Break Cyles.
  7. click the right-arrow-icon (or alternatively use Edit->Parse again) multiple times
  8. 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

 

 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback