Skip to Content.
Sympa Menu

freetds - Re: [freetds] FreeTDS 0.64, AIX 5.2, xlc - make check seg fault in ctlib

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Luke Bakken" <luke.bakken AT gmail.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] FreeTDS 0.64, AIX 5.2, xlc - make check seg fault in ctlib
  • Date: Fri, 28 Jul 2006 13:30:07 -0700

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.




Archive powered by MHonArc 2.6.24.

Top of Page