Alex Shinn | 6 Oct 16:54 2011

Re: "Segmentation fault" from "struct addrinfo" finalizer

On Thu, Oct 6, 2011 at 11:12 PM, Alex Shinn <alexshinn@...> wrote:
> On Thu, Oct 6, 2011 at 10:32 PM, Lorenzo Campedelli
> <lorenzo.campedelli@...> wrote:
>> I got this trying to play with the module:
>> chibi-scheme -e '(get-address-info "" "8082")'
>> Segmentation fault
>> I tried to debug it a bit and it appears the problem is caused by calling
>> the finalizer for the dynamic library first (sexp_finalize_dl) and the
>> finalizer for the structure later (sexp_freeaddrinfo_stub).
>> When the latter is called, the dynamic library has already been
>> unloaded thus the exception.

OK, fix pushed.  Reclaiming unused types is a lower
priority todo that probably won't make it in 0.5.



You received this message because you are subscribed to the Google Groups "chibi-scheme" group.
To post to this group, send email to chibi-scheme@...
To unsubscribe from this group, send email to chibi-scheme+unsubscribe@...
For more options, visit this group at