From jan@swi.psy.uva.nl  Tue Oct 24 17:40:42 2000
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id RAA08961
	for <prolog@swi.psy.uva.nl>; Tue, 24 Oct 2000 17:40:42 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id RAA28546
	for prolog; Tue, 24 Oct 2000 17:41:32 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: prolog@gollem.swi.psy.uva.nl
Subject: Windows 95/98 crash-on-halt: atempted solution (3.4.1)
Date: Tue, 24 Oct 2000 17:34:30 +0200
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <00102417413206.12902@gollem.swi.psy.uva.nl>
Content-Transfer-Encoding: 8bit

Hi,

I've uploaded SWI-Prolog 3.4.1 to

	ftp://swi.psy.uva.nl/pub/SWI-Prolog/BETA/w32pl341.exe

Most likely, this will fix the long-standing crashes of Prolog
and/or Windows when leaving plwin.exe.  I've made the new laptop
of a colleque crash many times but finally the diagnosis is
that shutting down the window-thread caused a new ExitProcess()
while the process was already terminating.  Appearently Windows-NT
can handle that, but 95 and 98 not.  Whether this condition happens
depends on timing, hence the problems reproducing it.

Sofar the theory and tests on one machine.  Try it on yours and
let me know whether it helps (NO WARRANTEE!)

For people liking the source: the source is in the ftp-archive, but
not on the web-page until I get some positive feedback.

	Regards --- Jan

