From: glillibridge at yahoo dot com Operating system: NT PHP version: 5.2.6 PHP Bug Type: ODBC related Bug description: PHP has encountered an Access Violation at 034F10D0
Description: ------------ This is a repost of 45026, now marked bogus. We loaded php 5.2.6 and still get almost the same problem. The only difference is that the access violation location has changed. We are trying to establish a connection to a MAS200 server (also on NT). This is the actual php line: $crs = odbc_pconnect("dsn=SOTAMAS90;company=LNC;UID=acs;PWD=acsg","",""); Sometimes it works and returns connection identifier. Most times it returns the message: PHP has encountered an Access Violation at 034F10D0 This uses an odbc source identified in the web server, using an internal IP. Reproduce code: --------------- $crs = odbc_pconnect("dsn=SOTAMAS90;company=LNC;UID=acs;PWD=acsg","",""); echo "<br>========" . odbc_error($crs) . "==" . $crs . "========<br>" ; Expected result: ---------------- <br>========S000==========<br> Actual result: -------------- PHP has encountered an Access Violation at 034F10D0 -- Edit bug report at http://bugs.php.net/?id=45051&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45051&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45051&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45051&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45051&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45051&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45051&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45051&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45051&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45051&r=support Expected behavior: http://bugs.php.net/fix.php?id=45051&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45051&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45051&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45051&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45051&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45051&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45051&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45051&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45051&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45051&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45051&r=mysqlcfg