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: Evan Hanson
Subject: Re: [Chicken-users] Segfaults with shared library, foreign code
Date: Sat, 5 Mar 2011 13:56:03 -0600

Just to follow up, one of either a kernel update or new nouveau video
drivers fixed this issue.

Thanks,

Evan

On Tue, Mar 1, 2011 at 1:55 AM, Felix
<address@hidden> wrote:
> 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]