[freetds] tdsdump SIGSEGV with mt apps

liam at inodes.org liam at inodes.org
Fri Apr 15 05:17:01 EDT 2005


On Wed, Apr 13, 2005 at 10:37:43AM -0400, James K. Lowden wrote:

> but what we really lack is someone steeped in unix tcp/ip idiom.  

It's not only just that, things like 'timeout' and 'query timeout'
specified in the configuration are not even passed into TDSSOCKET.

I've set 'timeout = 5' and 'query timeout = 5' both globally and
for each DSN in freetds.conf. Looking in goodread() I have:

	(gdb) inspect tds->timeout
	There is no member named timeout.
	(gdb) inspect tds->query_timeout
	$3 = 0

This information appears to be gathered from tds_read_config_info()
at dblib.c:946 but then promptly destroyed at dblib.c:971 without
transfering it to TDSSOCKET or DBPROCESS!

If you're happy for me to go through and amend all this, please
let me know and I'll send through a patch.

Thanks.



More information about the FreeTDS mailing list