#30414 [Asn->Csd]: Possible crash fixes
| From: | tony2001@php.net | Date: | Sat, 23 Oct 2004 09:36:03 +0000 |
| Subject: | #30414 [Asn->Csd]: Possible crash fixes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-67983@lists.php.net to get a copy of this message | ||
ID: 30414
Updated by: tony2001@php.net
Reported By: mikael dot suvi at trigger dot ee
-Status: Assigned
+Status: Closed
Bug Type: OCI8 related
Operating System: gentoo
PHP Version: 5.0.2
Assigned To: tony2001
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Committed, thanks!
Previous Comments:
------------------------------------------------------------------------
[2004-10-12 21:50:20] mikael dot suvi at trigger dot ee
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 this bug report at http://bugs.php.net/?id=30414&edit=1