YAP 6.0.4 bug on Windows

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

Moderator: Paulo Moura

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

YAP 6.0.4 bug on Windows

Post by Paulo Moura » Mon May 03, 2010 4:53 pm

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: 474
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: YAP 6.0.4 bug on Windows

Post by Paulo Moura » Thu May 13, 2010 12:32 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest