From jan@swi.psy.uva.nl Thu Oct 25 14:57:59 2001
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f9PCvxt19910;
	Thu, 25 Oct 2001 14:57:59 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id f9PCvxJ32057;
	Thu, 25 Oct 2001 14:57:59 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: starred <starred@tiscalinet.it>, starred <starred@tiscalinet.it>
Subject: Re: [SWIPL] noticed one thing: is it normal that different agents use the same streams under the same host?
Date: Thu, 25 Oct 2001 14:53:10 +0200
X-Mailer: KMail [version 1.0.29.2]
Content-Type: text/plain
Cc: SWI Prolog Mailing List <prolog@swi.psy.uva.nl>
References: <3BD7F3CF.8010004@tiscalinet.it> <3BD7FA1D.5030406@tiscalinet.it>
In-Reply-To: <3BD7FA1D.5030406@tiscalinet.it>
MIME-Version: 1.0
Message-Id: <01102514575901.30025@gollem>
Content-Transfer-Encoding: 8bit

On Thu, 25 Oct 2001, starred wrote:
>I've noticed that different agents starting on the same host, use 
>streams denoted by the same code, i don't know exactly how streams are 
>used by Windows, in particular i don't know if a stream code is local to 
>the thread that opened it (in this case it should not be a problem) or 
>if it is globally recognized by Windows (in this case it would generate 
>an error when two threads try to use the same stream..)
>
>Another report about my problem: i had the same problem some times ago, 
>the i changed the timer value (see prolog-code below) and it did function.
>Now i made some changes in the coordinator (it is the agent that finds 
>facilities for othr agents in the web) code, and now coordinator (and 
>only it) gives me the trapped signal 11 (general protection fault) error...

Well, it suggests there is a bug somewhere in Prolog or possibly XPCE.
The only way to find out is to recompile the system for debugging and
use a debugger.  On Windows this requires MSVC 5 or 6 and Windows
NT/2000.  If you want to go that way, please contact me.  The other
way is to send the program to me with instructions on what to do.

	Regards --- Jan

