Segfaults and double free errors using getaddrinfo_a

Wed Jul 11 08:25:00 GMT 2012

While using getaddrinfo_a through the luajit ffi
( I keep getting segfaults or double
free errors.
The errors seems to disappear if I use LD_PRELOAD=/lib/
I've been unable to reduce the code down to a C test case, so all I
can show is some luajit code:

Example backtrace:

*** glibc detected *** luajit: double free or corruption (out):
0x00007fc000000940 ***
======= Backtrace: =========

More information about the Libc-help mailing list