ID:               43340
 Updated by:       [EMAIL PROTECTED]
 Reported By:      marplatense at ubuntu dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         OCI8 related
 Operating System: Centos 4 64 bits
 PHP Version:      5.2.5
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.


+-----------------------------------------------------------------
| After looking at the testcases, I'm going to close this bug as
| a duplicate of http://bugs.php.net/bug.php?id=42841
+-----------------------------------------------------------------


Previous Comments:
------------------------------------------------------------------------

[2007-12-11 20:03:55] [EMAIL PROTECTED]

I reproduced the crash.  The quick fix was to change the PL/SQL package
so the cursor is IN OUT instead of just OUT.

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

[2007-12-05 14:11:44] marplatense at ubuntu dot com

Hi Michael, I read your bug and I can confirm this bug does not exist
in php 5.2.3 (we're using that version while we wait for a fix).
We too agree that the problem is related to a double execution of a
procedure returning a ref cursor (at least that's how we could reproduce
it).
I couldn't find time to test Christian's suggestion to see if it works
for me but I will try to do it asap.

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

[2007-12-05 13:42:09] michael dot virnstein at brodos dot de

The fix didn't work for me. I also have filed the bug (Bug #43449),
because haven't found this one.
The problem doesn't occure when you run a page two times. It occures 
when you try to call a PL/SQL-Function which returns a ref cursor more
than once in a PHP-script. See bug Bug #43449 for more details.

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

[2007-12-03 15:53:20] marplatense at ubuntu dot com

Christian, thanks for your input.
I will give it a try and let you guys know the results.

Regards.

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

[2007-12-03 15:05:53] christian at elmerot dot se

Reverting the following patch fixed the segfault for us on executing
the same page twice. Might be worth trying to see if it fixes your issue
too

--- main.c      2007/09/21 14:12:52     1.640.2.23.2.56
+++ main.c      2007/09/24 11:53:40     1.640.2.23.2.57
@@ -18,7 +18,7 @@
   
+----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.640.2.23.2.56 2007/09/21 14:12:52 tony2001 Exp $
*/
+/* $Id: main.c,v 1.640.2.23.2.57 2007/09/24 11:53:40 dmitry Exp $ */
 
 /* {{{ includes
  */
@@ -1298,6 +1298,8 @@
        } zend_catch {
                retval = FAILURE;
        } zend_end_try();
+
+       SG(sapi_started) = 1;
 
        return retval;
 }

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/43340

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

Reply via email to