Bug #65687 [Fbk->Opn]: oci_connect() fails with "segmentation fault" signal
Edit report at https://bugs.php.net/bug.php?id=65687&edit=1
ID: 65687
User updated by: grig-siren at rambler dot ru
Reported by: grig-siren at rambler dot ru
Summary: oci_connect() fails with "segmentation fault" signal
-Status: Feedback
+Status: Open
Type: Bug
Package: Oracle related
Operating System: Linux
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Sorry, but I can't do so. To do so I need DBA access rights to Oracle to restore user's
password life time and make this password expired. But I don't have such rights.
But I'm sure the problem is located inside oci_connect() call and execution. To locate it I
have put debugging trigger_error() calls in my script in different places. And when I put
trigger_error() call just before call to oci_connect() and another just after it - then I have got
'before' print in '/var/log/httpd/error_log' and fauilure message just after it.
BTW, when I tried to connect to the same database with another tools (such as SQLDeveloper or
SQL*Plus), I have got message ORA-2800x (sorry, I don't remember the last digit). I think,
oci_connect() receives the same message, but don't expect it, and that's the reason of
failure.
Previous Comments:
------------------------------------------------------------------------
[2013-09-17 21:47:56] felipe@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2013-09-17 10:15:34] grig-siren at rambler dot ru
Description:
------------
I have tried to connect to Oracle database after user's password has expired. And result was:
failure of PHP with message "child pid ... exit signal Segmentation fault(11)" in
'/var/log/httpd/error_log' file.
Then I asked Oracle DBA to modify user's profile and set password life time to
"unlimited" - and after that all my scripts again work correctly.
As I understand, the reason of such situation is warning message about password expiration issued by
database during connection process. I think, this message is a big surprise for function
oci_connect().
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65687&edit=1
Thread (7 messages)