#28605 [Asn->Fbk]: bug21523.phpt test never end

From: Date: Wed, 06 Apr 2005 14:25:34 +0000
Subject: #28605 [Asn->Fbk]: bug21523.phpt test never end
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-77090@lists.php.net to get a copy of this message
 ID:               28605
 Updated by:       iliaa@php.net
 Reported By:      tbp at poly dot polytechnique dot fr
-Status:           Assigned
+Status:           Feedback
 Bug Type:         Math related
 Operating System: Compaq Tru64 UNIX v5.1
 PHP Version:      4CVS-2005-03-21
 Assigned To:      iliaa
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




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

[2005-03-22 18:36:39] sniper@php.net

Ilia, wasn't it you who added that PHP_ROUND_WITH_FUZZ() ? :)

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

[2005-03-21 22:56:40] tbp at poly dot polytechnique dot fr

[root@poly:/Admin/SRC/Apache/php4-STABLE-200503211130]# gdb
sapi/cli/php
This GDB was configured as "alphaev68-dec-osf5.1"...
(gdb) run ext/standard/tests/math/bug21523.phpt
Starting program:
/Admin/SRC/Apache/php4-STABLE-200503211130/sapi/cli/php
ext/standard/tests/math/bug21523.phpt
--TEST--
Bug #21523 number_format tries to allocate negative amount of memory
--FILE--
warning: (Internal error: pc 0x1200a72b8 in read in psymtab, but not in
symtab.)


Program received signal SIGFPE, Arithmetic exception.
0x00000001200a72b8 in _php_math_number_format (d=2000, dec=2768,
dec_point=46 '.', thousand_sep=44 ',')
    at
/Admin/SRC/Apache/php4-STABLE-200503211130/ext/standard/math.c:1025
1025            PHP_ROUND_WITH_FUZZ(d, dec);
(gdb)

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

[2005-03-21 22:35:46] sniper@php.net

Please provide the GDB backtrace of the crash with the snapshot.

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

[2005-03-21 13:42:14] tbp at poly dot polytechnique dot fr

No hangup anymore, but coredump instead.

[root@poly:/Admin/SRC/Apache/php4-STABLE-200503211130]# sapi/cli/php
ext/standard/tests/math/bug21523.phpt
--TEST--
Bug #21523 number_format tries to allocate negative amount of memory
--FILE--
Floating point exception (core dumped)


FAIL Bug #21523 number_format tries to allocate negative amount of
memory [ext/standard/tests/math/bug21523.phpt]

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

[2005-03-20 17:49:13] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz

The build is fixed now.


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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/28605

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


Thread (28 messages)

« previous php.bugs (#77090) next »