Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Alex Shinn <alexshinn-Re5JQEeQqe8AvxtiuMwx3w <at> public.gmane.org>
Subject: Re: "Segmentation fault" from "struct addrinfo" finalizer
Newsgroups: gmane.lisp.scheme.chibi
Date: Thursday 6th October 2011 14:54:28 UTC (over 5 years ago)
On Thu, Oct 6, 2011 at 11:12 PM, Alex Shinn
 wrote:
> On Thu, Oct 6, 2011 at 10:32 PM, Lorenzo Campedelli
>  wrote:
>> I got this trying to play with the chibi.net module:
>>
>> chibi-scheme -mchibi.net -e '(get-address-info "127.0.0.1" "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 net.so 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.

-- 
Alex

-- 
You received this message because you are subscribed to the Google Groups
"chibi-scheme" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]gmane.org
For more options, visit this group at http://groups.google.com/group/chibi-scheme?hl=en.
 
CD: 3ms