|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30414 Possible crash fixes
Submitted: 2004-10-12 21:50 UTC Modified: 2004-10-23 11:36 UTC
From: mikael dot suvi at trigger dot ee Assigned: tony2001 (profile)
Status: Closed Package: OCI8 related
PHP Version: 5.0.2 OS: gentoo
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mikael dot suvi at trigger dot ee
New email:
PHP Version: OS:


 [2004-10-12 21:50 UTC] mikael dot suvi at trigger dot ee
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
<       if (connection->session) {
>       if (connection->session && connection->session->explicit) {
<       return sess1->num = sess2->num;
>       return sess1->num == sess2->num;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-23 11:36 UTC]
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
Thank you for the report, and for helping us make PHP better.

Committed, thanks!
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 19 14:01:31 2024 UTC