#30485 [Opn]: CLI Error
ID: 30485
Updated by: helly@php.net
Reported By: jcastro at elnuevodia dot com
Status: Open
Bug Type: Reproducible crash
Operating System: Windows Xp
PHP Version: 5.0.2
New Comment:
The short answer is don't use persistent connection in CLI.
The long answer: It matters because the persistent connection layer
gets initialized. Maybe there is a problem in reusing or storing the
persistent connection. So most probably this is no direct CLI problem.
Previous Comments:
------------------------------------------------------------------------
[2004-10-19 20:22:50] jcastro at elnuevodia dot com
Description:
------------
I am using adodb to make an update in sqlserver. the script uses 2
connections . One of them is not even use in the exmaple. If I
uncomment the connection that is use, the program crash
I GET IN EVENT VIEWER
Faulting application php.exe, version 5.0.2.2,faulting module
php5ts.dll, version 5.0.2.2, fault address 0x0003f640.
ALSO IF I CHANGE THE PCONNECT INSIDE connectSybase() to a connect, IT
DOES NOT CRASH.
WHY WILL IT MATTER IF I AM NOT EVEN USING THE CONNECTION?
Also if I change to php 4.3.9 it works , NO problems.
Reproduce code:
---------------
http://www.eldiainc.com/temp/debug.htm
Actual result:
--------------
Window with CLI encounter an error
Faulting application php.exe, version 5.0.2.2,faulting module
php5ts.dll, version 5.0.2.2, fault address 0x0003f640.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30485&edit=1
Thread (5 messages)