On Wed, 2003-04-02 at 04:50, Giacomo wrote:
> Hello.
> I'm using the freeTDS driver (0.61) and the DBD::Sybase (0.95) module on
> Solaris (and Linux) to connect to a MS SQL-Server 7 database on a Windows
> machine.
> It works mostly fine but I have problems when the connection to the DB 
> Server
> goes down.
> If I stop the DB Server or if the TCP/IP conn goes down, the application
> freezes until the connection comes up again and I get an error like:
> 
> Message String: Read from SQL server failed.
> DBD::Sybase::st execute failed: OpenClient message: LAYER = (0) ORIGIN = (0)
> SEVERITY = (78) NUMBER = (36)
> 
> This would make me happy since all the code in inside an eval {}
> and I catch it, and of course I would try and reconnect.
> Unfortunately, immediately after that message I get a segmentation fault.
> This happens both on Solaris and Linux, the only difference being that
> on Linux my program often seems to recover, work for some 20,30 seconds more
> and then seg fault.

I would bring this up on the FreeTDS mailing list.

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
[EMAIL PROTECTED]                 http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions - http://www.mbay.net/~mpeppler/resume.html

Reply via email to