From dmurdoch at pair.com  Wed Nov 19 03:47:59 2003
From: dmurdoch at pair.com (Duncan Murdoch)
Date: Wed Nov 19 03:46:51 2003
Subject: [Rd] plot, plot, methods, crash (PR#5173)
In-Reply-To: <20031118230606.5B709EDEC@slim.kubism.ku.dk>
References: <20031118230606.5B709EDEC@slim.kubism.ku.dk>
Message-ID: <m0mlrvo51mncf42k6f6absicc7o8r7dldt@4ax.com>

On Wed, 19 Nov 2003 00:06:06 +0100 (CET), you wrote:

>On Tue, 18 Nov 2003 17:23:53 +0000 (GMT), you wrote:
>
>>As you suspected it does not happen for me on Windows XP.
>
>I get it in Win98, but not in XP.
>
>>Any chance you could get some useful debugging information from Dr MinGW 
>>(see the rw-FAQ)?
>
>I'll see if I can work out what's happening.

I think I've got it.  The timer event to draw buffered graphics to the
screen was being triggered after the graphics window had closed, and
was getting a junk bitmap handle to work with.  I've patched devga.c
to prevent this, and it seems to work here.  I need to do a regular
(non-debug) build now and make sure this doesn't break something else,
then I'll commit the change.

Duncan Murdoch


[Rd] plot, plot, methods, crash (PR#5173)
Duncan Murdoch