I'm so far unable to replicate this problem in exactly the same way on
FreeBSD 10.1. Still, when I build racketcgc and try to run it in gdb, I
usually get a segfault from free() in a helper thread that Racket
creates on startup.

I don't see why it's a problem, but commenting out the

  free(data);

on line 168 of "mzrt.c" avoids the crash.

Does commenting out that line have any effect on your build?

At Sun, 8 Mar 2015 16:57:20 -0700, "'Nick Sivo' via Racket Developers" wrote:
> I've dug into this a bit more. At first I suspected that version
> checking didn't properly handle the 10 > 9 scenario, but nothing in
> the configure log looks incorrect. The same results are produced on
> FreeBSD 9.3 and 10.1 systems.
> 
> Now I'm starting to suspect it may be differences with clang vs gcc.
> Was anything special required to support clang on OS X? I wasn't able
> to find any special handling of clang vs gcc, but may have missed it.
> 
> On Sat, Mar 7, 2015 at 6:11 PM, Nick Sivo <[email protected]> wrote:
> > Hi,
> >
> > I'm having trouble building Racket on FreeBSD 10.1. I tried both 6.1.1 and
> > the latest code from trunk.
> >
> > A build log (trunk) can be viewed here:
> > https://gist.github.com/kogir/822107d011fe0d9b7518
> >
> > I'm going to try to disable stripping and see where I get with gdb, but it's
> > been ages and I'm not hopeful. Any pointers are welcome.
> >
> > Thanks,
> > Nick
> >
> >
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-dev/CAHuRc-_Zta0S2xrp7MYasPVfhESiT0vcs
> f%3DPNTpGApaXebuzgw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/20150309025003.3BB3B6501B8%40mail-svr1.cs.utah.edu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to