YAP 5.1.2 stable on Windows is broken

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 5.1.2 stable on Windows is broken

Post by Paulo Moura » Fri May 16, 2008 10:53 am

Hi!

The current stable version of YAP 5.1.2 is broken on Windows. This prevents using this version as the Logtalk back-end Prolog compiler. The problem lies on the library "system" as it easy to reproduce:

Code: Select all

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Paulo Moura\Desktop>c:\yap\bin\yap
% Restoring file C:\Yap\lib\Yap\startup
YAP version Yap-5.1.2
  ?- use_module(library(system)).
% reconsulting C:\Yap\share\Yap\system.yap...
 % reconsulting C:\Yap\share\Yap\lists.yap...
 % reconsulted C:\Yap\share\Yap\lists.yap in module lists, 10 msec 15664 bytes
%
%
% YAP OOOPS: likely bug in YAP, segmentation violation.
%
%
995KB of Code Space (00460000--00558C70)
4KB of Global Stack (00562000--00563238)
0KB of Local Stack (0062FC88--00630000)
0KB of Trail (00630004--00630050)
Performed 0 garbage collections

The library "system" is required by Logtalk. The workaround is to use the current YAP CVS version.

Best regards,

Paulo
Paulo Moura
Logtalk developer

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

Re: YAP 5.1.2 stable on Windows is broken

Post by Paulo Moura » Thu May 29, 2008 11:14 am

Paulo Moura wrote: The current stable version of YAP 5.1.2 is broken on Windows. This prevents using this version as the Logtalk back-end Prolog compiler. (...)
The problem seems to be fixed on the beta of YAP 5.1.3 for Windows that I've tested today. The final release is expected shortly. The installer for this version changes the default installation location. The current Logtalk development version have been update to take into account this changes when creating a shortcut for running Logtalk with YAP as a back-end compiler on Windows.

Best regards,

Paulo
Paulo Moura
Logtalk developer

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest