bug-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

seg fault


From: Bowie Owens
Subject: seg fault
Date: Wed, 12 Dec 2001 15:06:08 +1100
User-agent: Mutt/1.2.5i

Hi,

I am getting a seg fault using gprolog 1.2.8 on an Alpha/OSF1 machine
(this problem does not occur under i386/Linux).

| ?- [user].
compiling user for byte code...
ps(L1, L2) :- ps(L1,L2,0).
ps([], [], _).
ps([H1|T1], [H2|T2], P) :- H2 #= H1 + P, ps(T1, T2, H2).



user compiled, 3 lines read - 803 bytes written, 1209 ms

(3 ms) yes
| ?- ps([1,2,3], L).

L = [1,3,6]

(1 ms) yes
| ?- length(BL, 2), ps(BL, SL).
uncaught exception: error(type_error(integer,'A'),bind_variables/2)
| ?- length(BL, 672), ps(BL, SL).

Fatal Error: Segmentation Violation



-- Bowie Owens

CSIRO Mathematical & Information Sciences
phone : +61 3 9545 8055
email : address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]