From:             mikael dot suvi at trigger dot ee
Operating system: gentoo
PHP version:      5.0.2
PHP Bug Type:     OCI8 related
Bug description:  Possible crash fixes

Description:
------------
After experiencing several mysterious segfaults with
php-5.0.2/apache2/oracle combination under heavy load I have made the
following modifications to oci8.c file and the crashes have happily
vanished for my case.

diff oci8.c oci8.c.new
1019c1019
<       if (connection->session) {
---
>       if (connection->session && connection->session->explicit) {
2909c2909
<       return sess1->num = sess2->num;
---
>       return sess1->num == sess2->num;


-- 
Edit bug report at http://bugs.php.net/?id=30414&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30414&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30414&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30414&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30414&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30414&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30414&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30414&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30414&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30414&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30414&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30414&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30414&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30414&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30414&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30414&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30414&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30414&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30414&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30414&r=mysqlcfg

Reply via email to