[Haskell-cafe] Re: libefence useful for debugging ghc+ffi programs?

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Tue Oct 19 14:02:05 EDT 2010

some more info on this:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x42773950 (LWP 29449)]
0x00007f717c70e370 in free () from /usr/lib/libefence.so.0
(gdb) where
#0  0x00007f717c70e370 in free () from /usr/lib/libefence.so.0
#1  0x00007f717b931ee9 in conn_free () from /usr/local/lib/libcurl.so.4
#2  0x00007f717b9326fd in Curl_disconnect () from /usr/local/lib/libcurl.so.4
#3  0x00007f717b932865 in ConnectionKillOne () from /usr/local/lib/libcurl.so.4
#4  0x00007f717b9348a8 in Curl_close () from /usr/local/lib/libcurl.so.4
#5  0x0000000004000001 in ?? ()

is curl OK with the threaded runtime? 
I realize might have one curl connection active via hxt,
and another one because I call it directly.


More information about the Haskell-Cafe mailing list