freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] dblib assertion crash on connection timeouts
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] dblib assertion crash on connection timeouts
- Date: Fri, 20 Mar 2015 10:21:37 +0000
2015-03-07 18:03 GMT+00:00 Daniel Fazekas <fdsubs AT t-online.hu>:
> I think it would be preferable if dblib in the current development version
> wouldn't just crash the host process with an assertion if a connection
> attempt times out.
> dbutil.c:193: _dblib_check_and_handle_interrupt: Assertion `dbproc !=
> ((void *)0) && !dbdead((dbproc))' failed.
>
> For example, doing a
> bsqldb -S microsoft.com
> or trying any other firewalled or non-responsive address.
>
> Returning INT_CANCEL on DBDEAD in _dblib_check_and_handle_interrupt seems
> to be nicer.
Removed the DBDEAD part and checked, not returns correctly timeout error
Frediano
-
[freetds] dblib assertion crash on connection timeouts,
Daniel Fazekas, 03/07/2015
- Re: [freetds] dblib assertion crash on connection timeouts, Frediano Ziglio, 03/20/2015
Archive powered by MHonArc 2.6.24.