php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45026 PHP has encountered an Access Violation at 01C010D0
Submitted: 2008-05-16 23:28 UTC Modified: 2008-05-20 16:11 UTC
From: glillibridge at yahoo dot com Assigned:
Status: Not a bug Package: ODBC related
PHP Version: 5.2.6 OS: MS NT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: glillibridge at yahoo dot com
New email:
PHP Version: OS:

 

 [2008-05-16 23:28 UTC] glillibridge at yahoo dot com
Description:
------------
first, phpinfo says the version is 5.2.3

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 01C010D0

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) . "==========<br>" ;

Expected result:
----------------
<br>========S000==========<br>

Actual result:
--------------
PHP has encountered an Access Violation at 01C010D0

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-18 00:25 UTC] jani@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

And I suggest using PDO ODBC, it actually is working and maintained actively.
 [2008-05-20 16:11 UTC] glillibridge at yahoo dot com
I have loaded php 5.2.6 and rerun my tests. I now get (occasionally) the error

PHP has encountered an Access Violation at 034F10D0
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Feb 18 01:01:26 2020 UTC