ID: 29652
Updated by: [EMAIL PROTECTED]
Reported By: yannick at agl dot fr
-Status: Feedback
+Status: No Feedback
Bug Type: OCI8 related
Operating System: Linux Redhat 7.3
PHP Version: 4.3.7
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2004-09-20 21:34:39] rvs at angara dot ru
Tony I've sent you an experiment results
in reply to your private email. Hope you
did received it.
------------------------------------------------------------------------
[2004-09-16 18:48:56] rvs at angara dot ru
Well the backtrace is quite simple:
GNU gdb 6.2.1
This GDB was configured as "sparc-sun-solaris2.9"...
Core was generated by `./php ./x.php'.
Program terminated with signal 11, Segmentation fault.
[SKIPPED READING SYMBOLS]
(gdb) bt
#0 0x002c4b74 in shutdown_memory_manager ()
#1 0x0027d3d0 in php_module_shutdown ()
#2 0x0033525c in main ()
------------------------------------------------------------------------
[2004-09-16 14:42:22] [EMAIL PROTECTED]
Please, generate a gdb backtrace, it works fine for me.
------------------------------------------------------------------------
[2004-09-16 14:35:01] rvs at angara dot ru
Yes it works perfectly for FDs but introduces segfault at php shutdown,
when I use the code:
for ($i=0; $i < 200; $i++)
{
$c1 = @ociplogon($valid_user, $valid_password, $db);
}
Note that the credentials are valid here.
It seems that the ENV handle is freed more than once somewhere :-)
------------------------------------------------------------------------
[2004-09-16 14:16:51] [EMAIL PROTECTED]
Well, yes, of course Solaris & Linux clients are different, but initial
report states that this issue was reproduced under Linux.
I updated the patch (revers the old one before applying this), you can
get at the same URL.
Btw, this version of the patch should fix another issue: it reports
memleaks for me with ocilogon() and invalid password/login.
Try it out and tell me if it works under Solaris.
------------------------------------------------------------------------
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/29652
--
Edit this bug report at http://bugs.php.net/?id=29652&edit=1