Edit report at https://bugs.php.net/bug.php?id=61142&edit=1

 ID:                 61142
 User updated by:    hinaresh2000 at gmail dot com
 Reported by:        hinaresh2000 at gmail dot com
 Summary:            error : child pid 16289 exit signal Illegal
                     instruction (4) - if using SQLT_CHR
 Status:             Open
 Type:               Bug
 Package:            OCI8 related
 Operating System:   RHEL5.3
 PHP Version:        5.3.10
 Block user comment: N
 Private report:     N

 New Comment:

Also i have tested it on another box having php 5.3.9 - (built: Jan 12 2012 
15:14:33) then i saw below error in log:
"child pid 7758 exit signal Segmentation fault (11)"


Previous Comments:
------------------------------------------------------------------------
[2012-02-20 11:26:19] hinaresh2000 at gmail dot com

Description:
------------
---
>From manual page: 
>http://www.php.net/function.oci-bind-array-by-name#refsect1-function.oci-bind-array-by-name-returnvalues
---
Hi, 
I am testing my application on Amazon Cloud Box where PHP 5.3.9 is installed on 
RHEL5.3
Below is my php source code line :
oci_bind_array_by_name($stmt, "filter_permissions", $filter_permissions_array, 
10000,-1,SQLT_STR);

here $filter_permissions may or may not contain any value.
The above code line shows error in /var/log/httpd/error_log file that
"child pid 16289 exit signal Illegal instruction (4)" 
and browser stops and shows blank page.

The same line is working fine with PHP 5.1.6 and showing results perfectly. 
Also if it fails somewhere on any version then i have replaced SQLT_STR with 
SQLT_CHR and it works fine. In that case i am not in a position to fix this 
issue in 5.3.9.
Is this a PHP issue or the OCI one?
help me resolving this issue. 

Thanks in Advance
Naresh K.

Test script:
---------------
Below is my php source code line :
oci_bind_array_by_name($stmt, "filter_permissions", $filter_permissions_array, 
10000,-1,SQLT_STR);

here $filter_permissions may or may not contain any value.
The above code line shows error in /var/log/httpd/error_log file that
"child pid 16289 exit signal Illegal instruction (4)" 
and browser stops and shows blank page.


Expected result:
----------------
It should run without any error in log and doesn't stop the functionlity of 
page at browser. 


Actual result:
--------------
Error in log -
"child pid 16289 exit signal Illegal instruction (4)" 
and browser stops and shows blank page. 



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



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

Reply via email to