From Lesta@t-online.de  Fri Aug 25 14:46:46 2000
Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id OAA14381
	for <prolog@swi.psy.uva.nl>; Fri, 25 Aug 2000 14:46:46 +0200 (MET DST)
Received: from fwd07.sul.t-online.com 
	by mailout02.sul.t-online.com with smtp 
	id 13SIsg-000542-00; Fri, 25 Aug 2000 14:46:46 +0200
Received: from t-online.de (05121269112-0001@[62.156.47.106]) by fwd07.sul.t-online.com
	with esmtp id 13SIsW-0EMfPUC; Fri, 25 Aug 2000 14:46:36 +0200
Message-ID: <39A66ABF.838227BE@t-online.de>
Date: Fri, 25 Aug 2000 14:46:55 +0200
From: Lesta@t-online.de (Uwe Lesta)
Organization: Lesta
X-Mailer: Mozilla 4.7 [de]C-DT  (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: swi prolog mailing list <prolog@swi.psy.uva.nl>
Subject: C++ interface : frame.rewind()   (possible Bug)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: 05121269112-0001@t-dialin.net

Hello to all of you, hello Jan

I have a problem with frame.rewind() when calling a complex prolog goal from C++.
The program crashes with 'Access Violation' in the first statment of discardFrame.

Call Stack:
    discardFrame(localFrame * 0x09a2879c) line 1364 + 6 bytes
    discardChoicesAfter(localFrame * 0x09a28158) line 1414 + 9 bytes
    PL_next_solution(unsigned long 52) line 2509 + 9 bytes
    0012fc90()

On some goals it works fine.
I olso had rebuild an older project where frame.rewind() works. (think it was with
version 3.3.4)
After the rebuild with version 3.3.7 the program crashes as above.

Any hints are welcome.

-- 


Regards

Uwe
Lesta@t-online.de

