Piping to idp results in segfault
Issue #346
resolved
when trying to execute commands like cat solution.idp idpinstance.idp | idp, I get a segfault. Valgrind doesn't tell me where to search for it
Comments (4)
-
-
reporter - changed status to resolved
Fixed piping to idp
When piping to IDP, one of the "active" files is NULL. When checking for new includes, we shouldn"t try to deref this.
This fixes
#346→ <<cset e2eeefe36b1e>>
-
Fixed piping to idp
When piping to IDP, one of the "active" files is NULL. When checking for new includes, we shouldn"t try to deref this.
This fixes
#346→ <<cset 47484b68c774>>
-
Fixed piping to idp
When piping to IDP, one of the "active" files is NULL. When checking for new includes, we shouldn"t try to deref this.
This fixes
#346→ <<cset 7e67afc9c27a>>
- Log in to comment
cat ~/idp/tests/mx/simplemx/doubleneg.idp | ./install/bin/idp -e "print(modelexpand(T,S)[1])" works perfectly for me on the current master.