[racket-dev] seeing segfaults on build on 64-bit ubuntu

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Jul 26 15:43:54 EDT 2012

At Thu, 26 Jul 2012 15:17:09 -0400, Danny Yoo wrote:
> On Wed, Jul 25, 2012 at 7:07 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> > This looks like a crash that I've seen, but only a couple of times over
> > months. For the crash I saw, control was in libpixman via libcairo
> > during the rendering of the Plot manual, but I haven't been able to
> > replicate it to investigate further.
> >
> > Are you seeing the crash frequently? Can you get a core file and/or
> > stack trace?
> I'll try to get both tonight when I come home.  To get a core file and
> a good stack trace during 'make install', what do I need to do?

To enable core files, it's usually `ulimit -c unlimited' or `unlimit
core', depending on your shell. Then, `gdb <racket> <corefile>' opens
the core file in gdb, and `where' in gdb should give you a stack trace.

Posted on the dev mailing list.