#45051 [Opn->Fbk]: odbc_pconnect() crashes

From: Date: Thu, 22 May 2008 08:38:15 +0000
Subject: #45051 [Opn->Fbk]: odbc_pconnect() crashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-125177@lists.php.net to get a copy of this message
ID: 45051 Updated by: jani@php.net -Summary: PHP has encountered an Access Violation at 034F10D0 Reported By: glillibridge at yahoo dot com -Status: Open +Status: Feedback Bug Type: ODBC related Operating System: NT PHP Version: 5.2.6 New Comment: I would guess using odbc_connect() works fine..? Previous Comments: ------------------------------------------------------------------------ [2008-05-20 16:46:01] glillibridge at yahoo dot com 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 this bug report at http://bugs.php.net/?id=45051&edit=1

« previous php.bugs (#125177) next »