ID: 12912
Updated by: yohgaki
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Reproducible crash
Operating System: Solaris 2.5.1
PHP Version: 4.1.1
New Comment:

Now we need short & complete script that causes this segfault.
Under my Linux

<?php
round(123.123);
?>

does not segfault.
BTW, what is your Apache version?



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

[2002-01-09 17:15:27] [EMAIL PROTECTED]

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 ()


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

[2002-01-09 16:05:16] [EMAIL PROTECTED]

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

Derick

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

[2002-01-09 16:00:35] [EMAIL PROTECTED]

Yep. Just compiled 4.1.1 and still the same problem.

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

[2002-01-06 07:39:15] [EMAIL PROTECTED]

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

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

[2001-08-22 17:55:23] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to