Ticket #20 (closed defect: invalid)
loading list.lgt put the compiler in an infinite loop with current git of swi-prolog
| Reported by: | victor | Owned by: | pmoura |
|---|---|---|---|
| Priority: | blocker | Milestone: | Logtalk distribution |
| Component: | compiler | Version: | 2.32.1 |
| Keywords: | Cc: |
Description
Hello,
This morning I updated my git source tree of swi-prolog at this revision : http://gollem.science.uva.nl/git/pl.git?a=commit;h=2168ae7145e84a8589f6d878f1441351bfcdb324
And when starting logtalk like this :
consult('configs/swi.config').
consult('compiler/logtalk.pl').
assertz(logtalk_library_path(library, 'library/')).
logtalk_load(library(types_loader), [reload(skip)]).
I get this following ouput :
+++ working on directory /users/stages/noel/Stage/Code/repos/scalogtalk/logtalk/library/
<<< loading source file types_loader...
>>> compiling source file types_loader...
>>> types_loader source file compiled
<<< loading source file termp...
>>> compiling source file termp...
compiling protocol termp... compiled
>>> termp source file compiled
% termp.pl compiled 0.00 sec, 2,008 bytes
<<< termp source file loaded
<<< loading source file term...
>>> compiling source file term...
compiling object term... compiled
>>> term source file compiled
% term.pl compiled 0.01 sec, 10,032 bytes
<<< term source file loaded
<<< loading source file atomic...
>>> compiling source file atomic...
compiling object atomic... compiled
>>> atomic source file compiled
% atomic.pl compiled 0.00 sec, 2,764 bytes
<<< atomic source file loaded
<<< loading source file atom...
>>> compiling source file atom...
compiling object atom... compiled
>>> atom source file compiled
% atom.pl compiled 0.01 sec, 2,744 bytes
<<< atom source file loaded
<<< loading source file callable...
>>> compiling source file callable...
compiling object callable... compiled
>>> callable source file compiled
% callable.pl compiled 0.00 sec, 2,808 bytes
<<< callable source file loaded
<<< loading source file characterp...
>>> compiling source file characterp...
compiling protocol characterp... compiled
>>> characterp source file compiled
% characterp.pl compiled 0.00 sec, 2,800 bytes
<<< characterp source file loaded
<<< loading source file character...
>>> compiling source file character...
compiling object character... compiled
>>> character source file compiled
% character.pl compiled 0.00 sec, 9,096 bytes
<<< character source file loaded
<<< loading source file number...
>>> compiling source file number...
compiling object number... compiled
>>> number source file compiled
% number.pl compiled 0.01 sec, 2,772 bytes
<<< number source file loaded
<<< loading source file float...
>>> compiling source file float...
compiling object float... compiled
>>> float source file compiled
% float.pl compiled 0.00 sec, 2,788 bytes
<<< float source file loaded
<<< loading source file integer...
>>> compiling source file integer...
compiling object integer... compiled
>>> integer source file compiled
% integer.pl compiled 0.00 sec, 3,864 bytes
<<< integer source file loaded
<<< loading source file natural...
>>> compiling source file natural...
compiling object natural... compiled
>>> natural source file compiled
% natural.pl compiled 0.00 sec, 3,180 bytes
<<< natural source file loaded
<<< loading source file compound...
>>> compiling source file compound...
compiling object compound... compiled
>>> compound source file compiled
% compound.pl compiled 0.00 sec, 2,772 bytes
<<< compound source file loaded
<<< loading source file listp...
>>> compiling source file listp...
compiling protocol listp... compiled
>>> listp source file compiled
% listp.pl compiled 0.01 sec, 4,056 bytes
<<< listp source file loaded
<<< loading source file list...
>>> compiling source file list...
And the processing hangs here.
I tried the commit just before of swi-prolog and it worked with no problem.
I am unable to spot the place in the code where there is a problem. I guess it is because of swi-prolog, but since I get this problem with Logtalk, I prefer to tell you first, maybe you will have an idea :)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
