guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help needed debugging segfault with Guile 1.8.7


From: Peter TB Brett
Subject: Re: Help needed debugging segfault with Guile 1.8.7
Date: Wed, 10 Nov 2010 21:35:52 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Peter TB Brett <address@hidden> writes:

> I've added a testsuite for the libgeda Scheme API.  In one commit [2],
> the testsuite succeeds.  In the following commit [3], a test which does
> not touch any of the changed code starts causing a segfault in the Guile
> interpreter.
>
> [snip]
>
> Valgrind / Memcheck wasn't very helpful either.  Is there a way to make
> Guile zero each new heap page it requests before using it in order to
> reduce the number of false positives the gc generates in Memcheck?
>
> In fact, *none* of the ways I've found of running the test without the
> segfault occurring have given me *any* clue as to how to fix it
> "properly".
>
> I'd really appreciate any suggestions that anyone might be able to give
> me on figuring out how I've managed to break things.  At the moment, I'm
> at a complete loss.

So far, as far as I can tell the problem is due to freelist corruption
in the garbage collector, and I'm not sufficiently au fait with Guile
internals to be able to diagnose what's going on.  Is this a known
issue?

                              Peter


-- 
Peter Brett <address@hidden>
Remote Sensing Research Group
Surrey Space Centre

Attachment: pgpcCbjm1q52m.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]