chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Segfaults with shared library, foreign code


From: Felix
Subject: Re: [Chicken-users] Segfaults with shared library, foreign code
Date: Tue, 01 Mar 2011 08:55:36 +0100 (CET)

From: Evan Hanson <address@hidden>
Subject: Re: [Chicken-users] Segfaults with shared library, foreign code
Date: Mon, 28 Feb 2011 18:05:04 -0600

> I've attached LD_DEBUG tails for "all" and "libs" as well as a gdb log,
> though at this point I'm fairly sure this is a Clutter issue. What's strange
> to me is that preloading the library works:
> 
>     $ LD_PRELOAD=`pwd`/clutter.so csi
> 
> Admittedly I've no idea why that in particular should work or what that means
> in the context of Chicken's foreign interface.
> 
 
Thanks for the data, Evan. I have no clue what causes this, but you
could try two things: a) run csi with valgrind, and b) compile your
test file as an executable with csc in C++ mode ("-c++").  The
LD_DEBUG output loads the C++ runtime libs, I wonder which library
depends on it.


cheers,
felix



reply via email to

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