ID:               35552
 Updated by:       [EMAIL PROTECTED]
 Reported By:      humbads at alum dot mit dot edu
-Status:           Open
+Status:           Feedback
-Bug Type:         Reproducible crash
+Bug Type:         ODBC related
 Operating System: Windows XP SP2
 PHP Version:      5.1.1
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.





Previous Comments:
------------------------------------------------------------------------

[2005-12-05 06:15:31] humbads at alum dot mit dot edu

Description:
------------
PHP crashes with a memory exception when running any query with invalid
syntax.  The driver is PDO-ODBC-Visual Foxpro on Windows XP SP2.  The
folder has full control permission for IUSR to the directory containing
the Foxpro DBF files.

The exception dialog shows:
php-cgi.exe - Application Error
The instruction at "0x7c80a258" reference memory at "0x0000000c". The
memory could not be "written".

Using the out-of-the box install of PHP 5.1.1 with pdo and pdo_odbc
extensions loaded via php.ini.  Latest Visual Foxpro ODBC driver was
downloaded from Microsoft website.


Reproduce code:
---------------
<?php
$db = new PDO("odbc:Driver={Microsoft Visual FoxPro
Driver};SourceType=DBF;SourceDB=C:\\temp\\;Exclusive=No");
$db->query("any query with invalid syntax");
?>

Expected result:
----------------
Should give a proper error message, no?



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35552&edit=1

Reply via email to