- attached bug_ecnf_printer_cp.idp
Segfault when printing cp variables to ECNF
Certain formulas cause a segfault when trying to print them to ECNF format when the CP support is turned on.
Comments (9)
-
reporter -
reporter - attached bug_ecnf_printer_cp.idp
Attached a minimal bug-reproducing file.
For some reason I can't remove the other .idp files from this issue
-
reporter - changed status to open
Commits that fixed this issue have not been pulled into master yet.
-
reporter Fixed bug where ECNF printer segfaults when CP was on
Reason for the segfault is that the Structure::inter(..) procedure returned an object that would be deleted later on. This has been circumvented by providing a Structure::storableInter(..) procedure that does exactly the same, but it returns a clone of the interpretation that is storable.
This fixes bug
#353→ <<cset be53f00b9ecf>>
-
reporter Fixed bug where ECNF printer segfaults when CP was on
Reason for the segfault is that the Structure::inter(..) procedure returned an object that would be deleted later on. This has been circumvented by providing a Structure::storableInter(..) procedure that does exactly the same, but it returns a clone of the interpretation that is storable.
This fixes bug
#353→ <<cset 6032d634698e>>
-
reporter Fixed bug where ECNF printer segfaults when CP was on
Reason for the segfault is that the Structure::inter(..) procedure returned an object that would be deleted later on. This has been circumvented by providing a Structure::storableInter(..) procedure that does exactly the same, but it returns a clone of the interpretation that is storable.
This fixes bug
#353→ <<cset 623c5aa247db>>
-
reporter Fixed bug where ECNF printer segfaults when CP was on
Reason for the segfault is that the Structure::inter(..) procedure returned an object that would be deleted later on. This has been circumvented by providing a Structure::storableInter(..) procedure that does exactly the same, but it returns a clone of the interpretation that is storable.
This is only necessary in the translateTerm() method in GroundTranslator.cpp, because the sortable there might be needed later (e.g. for printing)
This fixes bug
#353→ <<cset bf4b131ad23b>>
-
- changed status to open
Deze bug faalt nog steeds,
De laatste file faalt nog steeds!
CPsupport is niet relevant (crasht zowel met als zonder)
Neline: Ubuntu VM onder windows
-
- changed status to resolved
Nevermind, the issue was not the printing
- Log in to comment
Uploaded more simple theory that also results in bug