php-groups.com | Post Question | Search | About | Groups | Contact | Register | Login


New in This Group

imap error
6/20/2000 4:58:17 PM

disconnect me from mail list!!!
6/19/2000 2:35:53 AM

compiling php4 with borland
6/16/2000 3:50:11 PM

More session question..
6/15/2000 4:53:28 PM

Session Question
6/14/2000 4:26:24 PM

Good snapshot?
6/13/2000 9:59:37 PM

httpd processes won't die since upgrade to PHP4
6/12/2000 6:13:49 AM

Problem getting binary data over http
6/10/2000 1:34:27 AM

Sessions don't survive redirects...
6/9/2000 4:15:47 PM

Session in MySQL and save_handler...
6/9/2000 4:09:35 PM

PHP4.0.0 Segfault , with float numbers Reply

Group: php.version4 Subscribe Posted:6/13/2000 1:50:50 PM Replies:0 Views:29 Items(0)
--=====================_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 : olivier@siriade.fr
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>
&lt;?<br>
$test=1.4567;<br>
<br>
printf(&quot;%f&quot;, $test);<br>
<br>
?&gt;<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&nbsp; :&nbsp; ./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]&nbsp; Script:&nbsp;
'/webs/showroom.siriade.fr/comptes/credisir/droite.php3'<br>
---------------------------------------<br>
math.c(674) : Block 0x08222870 status:<br>
Beginning:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Overrun (magic=0x16C85C00,
expected=0x7312F8DC)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Unknown<br>
---------------------------------------<br>
[Tue Jun 13 15:49:45 2000]&nbsp; Script:&nbsp;
'/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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Overrun (magic=0x12F8DC00,
expected=0x7312F8DC)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Unknown<br>
---------------------------------------<br>
[Tue Jun 13 15:49:45 2000]&nbsp; Script:&nbsp;
'/webs/showroom.siriade.fr/comptes/credisir/droite.php3'<br>
---------------------------------------<br>
zend_execute_API.c(225) : Block 0x08222838 status:<br>
Beginning:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Overrun (magic=0x000004FF,
expected=0x7312F8DC)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Unknown<br>
---------------------------------------<br>
FATAL:&nbsp; emalloc():&nbsp; 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 : olivier@siriade.fr<br>
Tel.: +33 3 85 97 02 60<br>
Fax.: +33 3 85 97 02 61<br>
</html>

--=====================_606776979==_.ALT--

oliv...@siriade.fr (Olivier ROBLE)
6/13/2000 1:50:50 PM




On Tue, 13 Jun 2000, Olivier ROBLE wrote:
> when i do a number_format .. php4 segfault .....

I fixed number_format() problem yesterday.

-Andrei
* "UNIX, isn't that some archaic form of DOS?" - our job applicant *
and...@ispi.net (Andrei Zmievski)
6/13/2000 1:57:18 PM

At 08:57 13/06/2000 -0500, you wrote:
>On Tue, 13 Jun 2000, Olivier ROBLE wrote:
> > when i do a number_format .. php4 segfault .....
>
>I fixed number_format() problem yesterday.

fine :))))
but how can i do now ? where can i download correct source of number_format
? and all my float numbers problems will be corrected ?


oliv...@siriade.fr (Olivier ROBLE)
6/13/2000 2:05:14 PM

On Tue, 13 Jun 2000, Olivier ROBLE wrote:
> but how can i do now ? where can i download correct source of number_format
> ? and all my float numbers problems will be corrected ?

http://snaps.php.net

-Andrei
* Who is Ray and why would we want to selectively trace him? *
and...@ispi.net (Andrei Zmievski)
6/13/2000 2:11:38 PM


Reply:
| or Email(not shown): Name: | Register | Login

Alert me when someone responds to this posting.











Newest Articles

note 97095 added to soapclient.soapclient
4/1/2010 5:58:19 AM

note 97094 added to function.sqlite-changes
4/1/2010 5:06:46 AM

note 97093 added to function.sqlite-changes
4/1/2010 5:06:21 AM

note 97092 added to ref.xmlrpc
4/1/2010 4:52:18 AM

note 97091 added to function.var-export
4/1/2010 3:32:03 AM