Open jodavies opened 4 months ago
One of our save files causes an infinite loop in TermRenumber. It seems that term[0] and term[1] are 0, so *term does not match any of the cases, and t is set to term here: https://github.com/vermaseren/form/blob/b1f9041b7bb6f5dd4a149c87e70922ad9914b291/sources/store.c#L2502 Then term is set back to t again here: https://github.com/vermaseren/form/blob/b1f9041b7bb6f5dd4a149c87e70922ad9914b291/sources/store.c#L2559 and around we go again.
save
TermRenumber
term[0]
term[1]
*term
t
term
The save file is 100MB, so probably it is not to useful to attach it here...
Presumably the bug is in the saving rather than the loading. Possibly related to #420 ?
One of our
save
files causes an infinite loop inTermRenumber
. It seems thatterm[0]
andterm[1]
are 0, so*term
does not match any of the cases, andt
is set toterm
here: https://github.com/vermaseren/form/blob/b1f9041b7bb6f5dd4a149c87e70922ad9914b291/sources/store.c#L2502 Thenterm
is set back tot
again here: https://github.com/vermaseren/form/blob/b1f9041b7bb6f5dd4a149c87e70922ad9914b291/sources/store.c#L2559 and around we go again.The save file is 100MB, so probably it is not to useful to attach it here...
Presumably the bug is in the saving rather than the loading. Possibly related to #420 ?