[freetds] FreeTDS 0.64, AIX 5.2, xlc - make check seg fault in ctlib
Luke Bakken
luke.bakken at gmail.com
Fri Jul 28 16:30:07 EDT 2006
> You are now in cs.c, i.e. libct.a. You have those symbols.
>
> 199 *ctx = (CS_CONTEXT *) malloc(sizeof(CS_CONTEXT));
> (gdb) n
> 200 memset(*ctx, '\0', sizeof(CS_CONTEXT));
> (gdb) n
> 201 tds_ctx = tds_alloc_context(*ctx);
> (gdb) s
> Program received signal SIGSEGV, Segmentation fault.
>
> tds_alloc_context() is in libtds, and the fact that you can't
> step into it indicates to me that you're missing libtds symbols. I
> think you'll find that libtds is a *static* library. It might be that
> the symbols are stripped on linking? Or something like that.
Actually the more I look at it the more I think that libtool isn't
linking those commands correctly, or isn't linking libct correctly.
More information about the FreeTDS
mailing list