YAP 6.0.4 bug on Windows

Tips and tricks when running Logtalk using YAP as the back-end compiler

Moderator: Paulo Moura

Locked
Paulo Moura
Logtalk developer
Posts: 533
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

YAP 6.0.4 bug on Windows

Post by Paulo Moura »

The YAP 6.0.4 stable version have a bug on Windows that results in write_canonical/2 writing terms that cannot be read back using read_term/3. This bug manifests e.g. when loading the Logtalk library "rbtrees". It can be reproduced easily by typing:

Code: Select all

% Restoring file C:\Program Files (x86)\Yap\lib\startup.yss
YAP 6.0.4 (i686-mingw32): Fri Apr 30 16:31:40 GMTDT 2010
   ?- write_canonical(a(-inf, +inf)).
a(-1.#INF,1.#INF)
yes
The bug have been reported to YAP developers and a fix is expected soon.
Paulo Moura
Logtalk developer

Paulo Moura
Logtalk developer
Posts: 533
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: YAP 6.0.4 bug on Windows

Post by Paulo Moura »

This bug is fixed in the YAP 6.0.5 stable version.
Paulo Moura
Logtalk developer

Locked