[freetds] crash in libct build with -O2

Frediano Ziglio freddy77 at gmail.com
Fri May 8 09:11:44 EDT 2009

2009/5/7 Jarek <jarek at poczta.srv.pl>:
> Hello!
> I've build latest snapshot of freetds, configured with
> --with-gnutls --enable-krb5
> and it crashes in ct_fetch. I've spend a lot of time debugging code, but
> didn't find anything. After all I've configured freetds with CFLAGS=-O0
> (to make debugging easier), and all problems disappeard.
> I'm using gcc 4.3.2 on debian lenny. But problem can be reproduced also
> on sid with gcc 4.3.3.
> Has someone meet simmilar problem ?

Which platform are you using? Have you tried with valgrind (if
possible) ? Could you post a test program?


More information about the FreeTDS mailing list