From dmurdoch at pair.com  Fri Jul  9 21:57:36 2004
From: dmurdoch at pair.com (dmurdoch@pair.com)
Date: Fri Jul  9 21:58:17 2004
Subject: [Rd] Reproducible Rterm crash. (PR#7072)
Message-ID: <20040709195736.5EB86FC09@slim.kubism.ku.dk>

On Fri,  9 Jul 2004 21:28:45 +0200 (CEST), rmh@temple.edu wrote :

>Reproducible Rterm crash.
>
>I drew a complicated graph, then resized the graphics window.
>
>R reported
>> Insufficient memory for resize. Killing device
>and then killed the device.  It also killed itself.

I just tried your code (after loading lattice so it would run), and
didn't crash.  I think you just ran out of memory.  We try to recover
gracefully from situations like that, but it's hard, and especially
hard to track down when we can't reproduce it.

All I can suggest (and I know it's not much of a suggestion) is that
you recompile R with debug information, then run it under gdb and see
if you can figure out where we've missed some checks.

It's possible that Emacs has something to do with this, but hard to
know.  You might find that running Rterm outside of Emacs works fine
just because more memory is available.

Duncan Murdoch


[Rd] Reproducible Rterm crash. (PR#7072)
dmurdoch@pair.com