[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] swig, Chicken and double free errors
From: |
Dan |
Subject: |
[Chicken-users] swig, Chicken and double free errors |
Date: |
Tue, 7 Nov 2006 07:10:49 -0800 (PST) |
Hi all,
I have a project that wraps some C library using Swig.
The library is called from Chicken scheme code. The
library has functions to allocate certain objects,
operate on them, and free them:
t1 *t1_alloc ();
void t1_mod (t1 *x);
void t1_free (t1 *x);
There are no special Swig wrappers; the swig.i file
simply imports the C headers.
This project used to work before Chicken 2.41, but now
it produces an abundance of double-free crashes, as in
*** glibc detected *** double free or corruption (out)
***
What could be the cause, and what's the easiest fix ?
-- Dan
__________________________________________________________________________________________
Sponsored Link
Talk more and pay less. Vonage can save you up to $300 a year on your phone
bill.
Sign up now. http://www.vonage.com/startsavingnow/
- [Chicken-users] swig, Chicken and double free errors,
Dan <=