ID: 35140
Updated by: [EMAIL PROTECTED]
Reported By: jfbustarret at tf1 dot fr
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Linux
PHP Version: 5CVS-2005-11-10 (snap)
New Comment:
What MPM do you use with Apache2?
Are you able to reproduce it with prefork MPM?
Previous Comments:
------------------------------------------------------------------------
[2005-11-14 11:34:00] jfbustarret at tf1 dot fr
FYI, I have crashes on a server that loads the oci ext, but does not
connect to oracle.
On this server, the crashes were in a template that uses mysql +
jpgraph v2 + gd.
------------------------------------------------------------------------
[2005-11-14 11:28:00] jfbustarret at tf1 dot fr
> Are you able to reproduce it with PHP CLI?
So far, no crash using CLI.
> Why are you using those CFLAGS?
Legacy shell script... -g -O2 is the default, so CLFAGS is useless.
> Do you really need both ext/mysql && ext/oci8? If not, please remove
at least one of them.
Most servers need both. I'll remove ext/mysql & ext/oci8 where I can.
> Do you use the new OCI8 (from PECL) or the old one?
The new one. Some features of the PECL one are very useful.
------------------------------------------------------------------------
[2005-11-10 17:28:37] [EMAIL PROTECTED]
Are you able to reproduce it with PHP CLI?
Why are you using those CFLAGS?
Do you really need both ext/mysql && ext/oci8? If not, please remove at
least one of them.
Do you use the new OCI8 (from PECL) or the old one?
------------------------------------------------------------------------
[2005-11-10 13:58:21] jfbustarret at tf1 dot fr
With :
'./configure' '--with-apxs2=/usr/sbin/apxs2'
'--with-config-file-path=/etc' '--with-oci8=/soft/ora920'
'--prefix=/soft/php-5-200511100730-20051110-debug'
'--exec-prefix=/soft/php-5-200511100730-20051110-debug'
'--without-pear' '--with-mysql=/usr'
'--with-mysql-sock=/tmp/mysql.sock' 'CFLAGS=-O2 -g'
I get this crash :
#0 0x4070f068 in zend_clear_exception ()
at /soft/sources/php/php5-200511100730/Zend/zend_exceptions.c:68
68 if (!EG(exception)) {
(gdb) bt
#0 0x4070f068 in zend_clear_exception ()
at /soft/sources/php/php5-200511100730/Zend/zend_exceptions.c:68
#1 0x4071050d in zif_exception_getLine ()
at /soft/sources/php/php5-200511100730/Zend/zend_exceptions.c:220
#2 0x4083acf8 in ?? ()
[snip]
#16 0xbf9233e8 in ?? ()
#17 0x40710537 in zif_exception_getFile (ht=137277364,
return_value=0x2,
return_value_ptr=0x3a97, this_ptr=0x0,
return_value_used=137147524)
at /soft/sources/php/php5-200511100730/Zend/zend_exceptions.c:209
#18 0x40710537 in zif_exception_getFile (ht=0, return_value=0x82eafb4,
return_value_ptr=0x2, this_ptr=0x0, return_value_used=860730000)
at /soft/sources/php/php5-200511100730/Zend/zend_exceptions.c:209
#19 0x406e2639 in zendparse () at zend_language_parser.c:4333
[snip]
(gdb) print executor_globals.exception
$1 = (zval *) 0x44238317
(gdb) print *executor_globals.exception
Cannot access memory at address 0x44238317
With more extensions, I have various crashes, like this one :
#0 0x406ed5fd in yy_push_state (new_state=1) at
zend_language_scanner.c:6029
#1 0x406edfe7 in lex_scan (zendlval=0xbf8163d4)
at zend_language_scanner.c:4418
I'll try the same with PHP-5.0.5.
------------------------------------------------------------------------
[2005-11-10 10:52:37] [EMAIL PROTECTED]
Do you load those shared extensions in your php.ini?
Can you try without them? And what is the shortest possible configure
line you can reproduce this with?
------------------------------------------------------------------------
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/35140
--
Edit this bug report at http://bugs.php.net/?id=35140&edit=1