Bug #18301 Updated: crash in ./zend_execute.c:1598
| From: | pailloncy at ifrance dot com | Date: | Sun, 14 Jul 2002 11:28:27 +0000 |
| Subject: | Bug #18301 Updated: crash in ./zend_execute.c:1598 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14131@lists.php.net to get a copy of this message | ||
ID: 18301
Updated by: pailloncy@ifrance.com
Reported By: pailloncy@ifrance.com
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: Solaris 2.5.1
PHP Version: 4.2.1
New Comment:
Test of http://snaps.php.net/php4-latest.tar.gz
#@&" of __eprintf in libgcc that is not configured, and
apache refuse to start with error :
--------------------------------------------------
Syntax error on line 176 of /tdsi2/apache/conf/httpd.conf:
Cannot load /tdsi2/apache/libexec/libphp4.so into server:
ld.so.1: /tdsi2/apache/bin/httpd: fatal: relocation error:
file /tdsi2/apache/libexec/libphp4.so: symbol __eprintf:
referenced symbol not found
/tdsi2/apache/bin/apachectl start: httpd could not be
started
--------------------------------------------------
Add -lgcc to EXTRALIB is ok.
Otherwise, again 'child seg fault' : no fix.
Previous Comments:
------------------------------------------------------------------------
[2002-07-13 22:55:30] sniper@php.net
Try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
------------------------------------------------------------------------
[2002-07-13 06:59:26] pailloncy@ifrance.com
In the widely use phpMyadmin the following files crash :
- in the version 2.2.0 : db_details.php
- in the version 2.3.0rc2 : db_details_structure.php,
tbl_properties_structure.php
and may be some other files.
------------------------------------------------------------------------
[2002-07-12 06:54:05] sander@php.net
Can you provide a simple sample script that reproduces this problem?
------------------------------------------------------------------------
[2002-07-12 06:23:29] pailloncy@ifrance.com
One of my script crashs all the time whatever the config I
use.
I set up php to log, display any error (except warning) :
nothing is log.
I update to the most recent software (apache, php, mysql) :
always crash.
I try to disable most of the apache module : always crash.
So I download gdb (GNU gdb 5.2) and I run apache in
non-fork mode, and here is the report:
OS Version :
# uname -a
SunOS gdr-isis 5.5.1 Generic_103640-35 sun4m sparc
SUNW,SPARCstation-20
version :
apache_1.3.26
php-4.2.1
mysql-3.23.51
php info :
PHP Version 4.2.1
System SunOS gdr-isis 5.5.1 Generic_103640-35 sun4m sparc
SUNW,SPARCstation-20
Build Date Jul 10 2002 14:02:44
Configure Command './configure' '--prefix=/tdsi2/php4'
'--enable-calendar' '--enable-inline-optimization'
'--with-apxs=/tdsi2/apache/bin/apxs' '--enable-trans-sid'
'--enable-track-vars' '--with-pgsql=/tdsi2/pgsql'
'--with-zlib' '--with-mysql=/tdsi2/mysql'
'--enable-memory-limit' '--enable-mbstring' '--enable-wddx'
'--enable-debug' '--with-mnogosearch=/tdsi2/mnogosearch'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /tdsi2/php4/lib/php.ini
Debug Build yes
Thread Safety disabled
This program makes use of the Zend Scripting Language
Engine:
Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend
Technologies
apache/logs/error_log :
[Fri Jul 12 11:01:36 2002] [notice] Apache/1.3.26 (Unix)
mod_gzip/1.3.19.1a AuthMySQL/2.20 mod_perl/1.26 configured
-- resuming normal operations
[Fri Jul 12 11:01:36 2002] [notice] Accept mutex: fcntl
(Default: fcntl)
[Fri Jul 12 11:01:43 2002] [notice] child pid 3419 exit
signal Segmentation Fault (11)
gdb output :
(gdb) run -X -F -f/tdsi2/apache/conf/httpd.conf
Starting program: /tdsi2/apache/bin/httpd -X -F
-f/tdsi2/apache/conf/httpd.conf
[New LWP 1]
[New LWP 2]
Program received signal SIGSEGV, Segmentation fault.
0xef5824b4 in _mp_move () from /usr/lib/libmp.so.1
(gdb) backtrace
#0 0xef5824b4 in _mp_move () from /usr/lib/libmp.so.1
#1 0xef5822dc in pow () from /usr/lib/libmp.so.1
#2 0xee7e01ec in zif_round (ht=1, return_value=0x35d678,
this_ptr=0x0,
return_value_used=1) at math.c:141
#3 0xee6b9820 in execute (op_array=0x1f8880) at
./zend_execute.c:1598
#4 0xee6d2768 in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at zend.c:810
#5 0xee6eecd0 in php_execute_script
(primary_file=0xeffff810) at main.c:1381
#6 0xee6e6e08 in apache_php_module_main (r=0x3558b0,
display_source_mode=0)
at sapi_apache.c:90
#7 0xee6e83e4 in send_php (r=0x3558b0,
display_source_mode=0,
filename=0x356428
"/web/nddesalut.org/site/ecrire/naviguer.php3") at
mod_php4.c:575
#8 0xee6e8468 in send_parsed_php (r=0x3558b0) at
mod_php4.c:590
#9 0x0001d490 in ap_invoke_handler ()
#10 0x0003176c in process_request_internal ()
#11 0x00031b0c in ap_process_request ()
#12 0x00028324 in child_main ()
#13 0x00028588 in make_child ()
#14 0x00028c78 in standalone_main ()
#15 0x00029648 in main ()
(gdb)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18301&edit=1