MSSQL (Sybase-ct) freetds bad query kills httpd

From: Date: Thu, 11 Oct 2001 20:53:50 +0000
Subject: MSSQL (Sybase-ct) freetds bad query kills httpd
Groups: php.general 
Request: Send a blank email to php-general+get-70855@lists.php.net to get a copy of this message
I'm using PHP to talk to SQL-Server 7.0 via Sybase-ct with the Freetds drivers. I downloaded everything PHP-related current as of last week. It sorta works mostly... Except, that sometimes a bad SQL statement will crash an Apache child, so my "connection is terminated" to the browser. The Apache error_log has: FATAL: emalloc(): Unable to allocate -2147483648 bytes in it when this occurs. Presumably, at this point, PHP/Apache are off in the weeds and somebody is trying to emalloc() on a NULL pointer or something silly... Any idea what I could try to do to fix this? Writing perfect SQL every time is not an option :-) -- Like Music? http://nogenre.com Now: R&B, Pop, World Soon: Everything

« previous php.general (#70855) next »