ID: 22403 Updated by: [EMAIL PROTECTED] Reported By: cesararnold at yahoo dot com dot br Status: Open -Bug Type: Reproducible crash +Bug Type: Sybase-ct (ctlib) related Operating System: Win2000 -PHP Version: 4.3.1 +PHP Version: 4.3.2-dev New Comment:
Assuming this is sybase related..plus correct PHP version. Previous Comments: ------------------------------------------------------------------------ [2003-02-24 15:38:45] cesararnold at yahoo dot com dot br Hi, we are using PHP 4.3.2 (latest STABLE version) and found a possible bug when trying to execute a sql command (a procedure). the procedure needs 1 (one) argument and does not accept null values when is called. On our case, the variable $varID was infortunatelly = NULL. after ran the code we got two strange behaviors: 1) using pear object $cmd_sql = "exec procedure_name " . $varID; if (DB::isError($query_proc = $db_conn->query($cmd_sql))) { // get the native backend error // and the last query exit($query_proc->getMessage()); } the system crashes and stops the web server! restarting the web server, evething restarts to work. 2) using native functions like @sybase_query( $cmd_sql, $db_conn ); the system crashes but does NOT stop the web server. for both cases php gives the message: "PHP has encountered an Access Violation at 01E436B9" I know that this can be fixed just sending a non-null value to the procedure, but PHP could not crash, on my single oppinion. Is there some fix to this case? Thanks a lot. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22403&edit=1