From:             
Operating system: RHEL5.3
PHP version:      5.3.10
Package:          OCI8 related
Bug Type:         Bug
Bug description:error : child pid 16289 exit signal Illegal instruction (4) - 
if using SQLT_CHR

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 bug report at https://bugs.php.net/bug.php?id=61142&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=61142&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=61142&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=61142&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=61142&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=61142&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=61142&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=61142&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=61142&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=61142&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=61142&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=61142&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=61142&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=61142&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=61142&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=61142&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61142&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=61142&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=61142&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=61142&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=61142&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=61142&r=mysqlcfg

Reply via email to