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

2011-04-28 Thread David Bremner
On Thu, 28 Apr 2011 19:37:42 -0600, Matthew Flatt wrote: > > > But then I had a bus error, as before. > > A stack trace might be helpful. Otherwise, I guess I'll have to set up > a kFreeBSD virtual machine. > I couldn't find any documentation on fpsetmask so far, but here is a traceback from

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

2011-04-28 Thread Matthew Flatt
I think I'm asking the wrong question. I should instead ask: What does the man page for fpsetmask() say should be #included? (The switch to #include was based on a FreeBSD man page.) At Thu, 28 Apr 2011 21:01:11 -0300, David Bremner wrote: > On Thu, 28 Apr 2011 09:07:28 -0600, Matthew Flatt wr

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

2011-04-28 Thread Matthew Flatt
At Thu, 28 Apr 2011 21:00:24 -0300, David Bremner wrote: > On Thu, 28 Apr 2011 07:00:46 -0600, Matthew Flatt wrote: > > > To make 3m work right, "src/racket/gc2/sighand.c" needs a > > __FreeBSD_kernel__ on line 128: > > > > #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || > defined(__

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

2011-04-28 Thread David Bremner
On Thu, 28 Apr 2011 07:00:46 -0600, Matthew Flatt wrote: > To make 3m work right, "src/racket/gc2/sighand.c" needs a > __FreeBSD_kernel__ on line 128: > > #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || > defined(__NetBSD__) || defined(__OpenBSD__) > > Does that avoid the bus error

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

2011-04-28 Thread David Bremner
On Thu, 28 Apr 2011 09:07:28 -0600, Matthew Flatt wrote: > Looks like it should really be > > #ifdef FREEBSD_CONTROL_387 > #include > #endif > > Does that work on your machine? It works with the additional patch >From a8be877b89891a0c19a99b37a6218057e04f5456 Mon Sep 17 00:00:00 2001 From:

[racket-dev] thanks, drdr!

2011-04-28 Thread John Clements
DrDr is awesome. Many thanks. John smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

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

2011-04-28 Thread Matthew Flatt
At Wed, 27 Apr 2011 21:42:05 -0300, David Bremner wrote: > --- a/src/racket/src/number.c > +++ b/src/racket/src/number.c > @@ -183,6 +183,8 @@ READ_ONLY Scheme_Object *scheme_single_inf_object, > *scheme_single_minus_inf_obje > > > #ifdef FREEBSD_CONTROL_387 > +#include > +#include > #incl

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

2011-04-28 Thread Matthew Flatt
Looking back at previous messages reminds me that you may be using `--enable-cgcdefault'. Is that still the case? If so, the memory problem makes sense, because conservative GC has problems at the scale of `raco setup'. To make 3m work right, "src/racket/gc2/sighand.c" needs a __FreeBSD_kernel__

Re: [racket-dev] An occasional newline in the PLaneT install Log?

2011-04-28 Thread Robby Findler
On Thu, Apr 28, 2011 at 1:32 AM, Neil Van Dyke wrote: > John Clements wrote at 04/28/2011 02:09 AM: > > On Apr 27, 2011, at 12:10 PM, Robby Findler wrote: > > > There actually are newlines there in some ways the log is viewed. So > something looks buggy somewhere to me. > > > I'm not quite sure wh

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

2011-04-28 Thread David Bremner
On Wed, 27 Apr 2011 18:48:51 -0600, Matthew Flatt wrote: > > Do you have any process limits set? (My impression is memory is often > limited by default on FreeBSD systems.) > There was a limit of 512M on data segment size, which I raised to 2G, but it doesn't seem to change much. Resident set s