From:             [EMAIL PROTECTED]
Operating system: any WINDOWS 
PHP version:      4.0.5
PHP Bug Type:     Reproducible crash
Bug description:  Crash on script timeout with ODBC functions

There is script. Replace sdczal in odbc_connect with any ODBC alias and PLC_CLHPRESS 
with any table from alias.

<?php

$db = odbc_connect("sdczal", "", "");

while(1){
$res = odbc_exec($db, "select * from PLC_CLHPRESS;");

};

odbc_close($db);
?>

There is related directives from php.ini:
max_execution_time = 10     ; Maximum execution time of each script, in seconds
memory_limit = 50M      ; Maximum amount of memory a script may consume (8MB)

When execution time exceed PHP crash with Access violation.




-- 
Edit Bug report at: http://bugs.php.net/?id=10854&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to