PHP4.0.0 Segfault , with float numbers
[email protected] (Olivier ROBLE) Tue, 13 Jun 2000 15:50:50 +0200
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
--=====================_606776979==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
hi,
i have a problem with PHP4.0.0 and float number..
when i compil php and apache into a static executable..
i do :
<?
$test=1.4567;
printf("%f", $test);
?>
and i have :
1.000000
what's wrong in my compilation ??? everything was ok with PHP4.0B2
i do : ./configure --with-mysql --with-apache=../apache_1.3.12
--enable-track-vars --with-dbase for compiling php4
when i do a number_format .. php4 segfault .....
[Tue Jun 13 15:49:45
2000] Script: '/webs/showroom.siriade.fr/comptes/credisir/droite.php3'
---------------------------------------
math.c(674) : Block 0x08222870 status:
Beginning: Overrun (magic=0x16C85C00, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Tue Jun 13 15:49:45
2000] Script: '/webs/showroom.siriade.fr/comptes/credisir/droite.php3'
---------------------------------------
zend_execute_API.c(237) : Block 0x082229D8 status:
zend_variables.c(62) : Actual location (location was relayed)
Beginning: Overrun (magic=0x12F8DC00, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Tue Jun 13 15:49:45
2000] Script: '/webs/showroom.siriade.fr/comptes/credisir/droite.php3'
---------------------------------------
zend_execute_API.c(225) : Block 0x08222838 status:
Beginning: Overrun (magic=0x000004FF, expected=0x7312F8DC)
End: Unknown
---------------------------------------
FATAL: emalloc(): Unable to allocate 572768257 bytes
[Tue Jun 13 15:49:46 2000] [notice] child pid 3440 exit signal Segmentation
fault (11)
help me please !!!!!
_________________________________________________________________
ROBLE Olivier
Responsable Technique
Siriade Informatique
59 rue du lieutenant Andre
71100 Chalon sur Saone
http://www.siriade.fr
mail : [email protected]
Tel.: +33 3 85 97 02 60
Fax.: +33 3 85 97 02 61
--=====================_606776979==_.ALT
Content-Type: text/html; charset="us-ascii"
<html>
hi,<br>
<br>
i have a problem with PHP4.0.0 and float number.. <br>
when i compil php and apache into a static executable..<br>
<br>
i do : <br>
<?<br>
$test=1.4567;<br>
<br>
printf("%f", $test);<br>
<br>
?><br>
<br>
and i have :<br>
<br>
1.000000<br>
<br>
what's wrong in my compilation ??? everything was ok with PHP4.0B2<br>
<br>
i do : ./configure --with-mysql
--with-apache=../apache_1.3.12 --enable-track-vars --with-dbase for
compiling php4<br>
<br>
when i do a number_format .. php4 segfault .....<br>
<br>
[Tue Jun 13 15:49:45 2000] Script:
'/webs/showroom.siriade.fr/comptes/credisir/droite.php3'<br>
---------------------------------------<br>
math.c(674) : Block 0x08222870 status:<br>
Beginning: Overrun (magic=0x16C85C00,
expected=0x7312F8DC)<br>
End:
Unknown<br>
---------------------------------------<br>
[Tue Jun 13 15:49:45 2000] Script:
'/webs/showroom.siriade.fr/comptes/credisir/droite.php3'<br>
---------------------------------------<br>
zend_execute_API.c(237) : Block 0x082229D8 status:<br>
zend_variables.c(62) : Actual location (location was relayed)<br>
Beginning: Overrun (magic=0x12F8DC00,
expected=0x7312F8DC)<br>
End:
Unknown<br>
---------------------------------------<br>
[Tue Jun 13 15:49:45 2000] Script:
'/webs/showroom.siriade.fr/comptes/credisir/droite.php3'<br>
---------------------------------------<br>
zend_execute_API.c(225) : Block 0x08222838 status:<br>
Beginning: Overrun (magic=0x000004FF,
expected=0x7312F8DC)<br>
End:
Unknown<br>
---------------------------------------<br>
FATAL: emalloc(): Unable to allocate 572768257 bytes<br>
[Tue Jun 13 15:49:46 2000] [notice] child pid 3440 exit signal
Segmentation fault (11)<br>
<br>
<br>
help me please !!!!!<br>
<br>
_________________________________________________________________<br>
<b>ROBLE Olivier<br>
</b>Responsable Technique<br>
Siriade Informatique<br>
59 rue du lieutenant Andre<br>
71100 Chalon sur Saone<br>
<a href="http://www.siriade.fr/" eudora="autourl">http://www.siriade.fr</a><br>
mail : [email protected]<br>
Tel.: +33 3 85 97 02 60<br>
Fax.: +33 3 85 97 02 61<br>
</html>
--=====================_606776979==_.ALT--