Bug #12912 Updated: Call to round() crashes process (DSO only)

From: Date: Wed, 09 Jan 2002 22:15:27 +0000
Subject: Bug #12912 Updated: Call to round() crashes process (DSO only)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76389@lists.php.net to get a copy of this message
ID: 12912
User updated by: raunn@volterra.com
Reported By: raunn@volterra.com
Old Status: Feedback
Status: Open
Bug Type: Reproducible crash
Operating System: Solaris 2.5.1
Old PHP Version: 4.0.6
PHP Version: 4.1.1
New Comment:

Here you go:

#0  0xef1b7be0 in zif_get_defined_vars (ht=980160,
return_value=0xffffffff, 
    this_ptr=0xffffffff, return_value_used=0) at
zend_builtin_functions.c:916
#1  0x47380 in ap_clear_pool ()
#2  0x47410 in ap_destroy_pool ()
#3  0x47368 in ap_clear_pool ()
#4  0x47410 in ap_destroy_pool ()
#5  0x5c354 in clean_parent_exit ()
#6  0x60188 in standalone_main ()
#7  0x60968 in main ()



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

[2002-01-09 16:05:16] derick@php.net

Can you make a static apache module, compiled with --enable-debug
(non-stripped) and provide a backtrace?

Derick

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

[2002-01-09 16:00:35] raunn@volterra.com

Yep. Just compiled 4.1.1 and still the same problem.

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

[2002-01-06 07:39:15] sander@php.net

Does this problem still occur with 4.1.1 and/or the latest CVS?

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

[2001-08-22 17:55:23] raunn@volterra.com

Using Apache 1.3.20, PHP 4.0.6 as a module, on Solaris 2.5.1.

Everything else seems to work except the round() function. Any call to
round() seg faults the Apache process. Backtrace:

#0  0xef7324b4 in _mp_move ()
#1  0xef7322dc in pow ()
#2  0xeede8438 in ?? () from /usr/local/apache/libexec/libphp4.so
#3  0xeecfe470 in ?? () from /usr/local/apache/libexec/libphp4.so
#4  0xeed16abc in ?? () from /usr/local/apache/libexec/libphp4.so
#5  0xeed3cc1c in ?? () from /usr/local/apache/libexec/libphp4.so
#6  0xeed360b4 in ?? () from /usr/local/apache/libexec/libphp4.so
#7  0xeed37494 in ?? () from /usr/local/apache/libexec/libphp4.so
#8  0xeed374d8 in ?? () from /usr/local/apache/libexec/libphp4.so
#9  0x42ffc in ap_invoke_handler ()
#10 0x6009c in process_request_internal ()
#11 0x60120 in ap_process_request ()
#12 0x536b0 in child_main ()
#13 0x53944 in make_child ()
#14 0x53b60 in startup_children ()
#15 0x54550 in standalone_main ()
#16 0x5514c in main ()


The CGI standalone PHP executable, built from the same code, works
fine.

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



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



Thread (7 messages)

« previous php.dev (#76389) next »