[racket-dev] memory consumption (bug?) on Debian/kFreeBSD-i386

From: David Bremner (bremner at debian.org)
Date: Tue May 10 22:58:07 EDT 2011

On Tue, 10 May 2011 00:14:42 -0300, David Bremner <bremner at debian.org> wrote:
> On Mon, 9 May 2011 06:56:48 -0600, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> > Maybe someone decided that SIGSEGV is the right signal after all for an
> > mprotect() violation (which Rackets catches as a write barrier) instead
> > of SIGBUS.
> I suppose there is a good reason not to catch both signals?
> David

I don't claim to understand all the implications yet, but the following
patch seems to work, i.e. catching both SIGSEGV and SIGBUS with the same

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-on-GNU-kFreeBSD-catch-both-SIGBUS-and-SIGSEGV-from-m.patch
Type: text/x-diff
Size: 1541 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110510/e68e20b3/attachment.bin>

Posted on the dev mailing list.