[plt-scheme] Debugging a Bus Error in mzscheme?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Aug 24 08:18:55 EDT 2005

At Tue, 23 Aug 2005 15:10:41 -0700 (PDT), Danny Yoo wrote:
> What's most worrisome to me is that I can get mzscheme itself to crash in
> certain situations

Yes, that is worrisome.

> Is there a standard mechanism in the mzscheme C source to define
> assertions, or is it ok to just use the standard <assert.h>?

The standard assert should work fine.

> I can run mzscheme through gdb and get a stack trace out of the system,
> but what other kind of debugging information can I provide?

A stack trace is often sufficient for me to see the problem. If that
doesn't work, the best next step is to send me something that I can run
myself to see the crash.

Thanks,
Matthew



Posted on the users mailing list.