#28605 [Fbk->Opn]: bug21523.phpt test never end
ID: 28605 User updated by: tbp at poly dot polytechnique dot fr Reported By: tbp at poly dot polytechnique dot fr -Status: Feedback +Status: Open Bug Type: Math related Operating System: Compaq Tru64 UNIX v5.1 PHP Version: 4CVS-2005-02-10 New Comment: Sorry, but again build problem: [EMAIL PROTECTED]:/Admin/SRC/Apache/php4-STABLE-200503161130]# make gcc -Iext/ctype/ -I/Admin/SRC/Apache/php4-STABLE-200503161130/ext/ctype/ -DPHP_ATOM_INC -I/Admin/SRC/Apache/php4-STABLE-200503161130/include -I/Admin/SRC/Apache/php4-STABLE-200503161130/main -I/Admin/SRC/Apache/php4-STABLE-200503161130 -I/Admin/SRC/Apache/php4-STABLE-200503161130/Zend -I/Admin/SRC/Apache/php4-STABLE-200503161130/ext/xml/expat-g -O2 -c /Admin/SRC/Apache/php4-STABLE-200503161130/ext/ctype/ctype.c -o ext/ctype/ctype.o && echo > ext/ctype/ctype.lo In file included from /Admin/SRC/Apache/php4-STABLE-200503161130/Zend/zend_alloc.h:26, from /Admin/SRC/Apache/php4-STABLE-200503161130/Zend/zend.h:223, from /Admin/SRC/Apache/php4-STABLE-200503161130/main/php.h:34, from /Admin/SRC/Apache/php4-STABLE-200503161130/ext/ctype/ctype.c:23: /Admin/SRC/Apache/php4-STABLE-200503161130/TSRM/TSRM.h:18:26: tsrm_config.h: No such file or directory In file included from /Admin/SRC/Apache/php4-STABLE-200503161130/ext/ctype/ctype.c:23: /Admin/SRC/Apache/php4-STABLE-200503161130/main/php.h:393:30: tsrm_virtual_cwd.h: No such file or directory So, just for testing purpose I have done: CFLAGS=-I/Admin/SRC/Apache/php4-STABLE-200503161130/TSRM ./configure and: [EMAIL PROTECTED]:/Admin/SRC/Apache/php4-STABLE-200503161130]# 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) make: *** [ext/ctype/ctype.lo] Error 1 Previous Comments: [2005-03-16 07:44:16] [EMAIL PROTECTED] 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 [2005-02-11 01:34:24] tbp at poly dot polytechnique dot fr Compilation ok, but initial problem persists. New trace: [EMAIL PROTECTED]:/Admin/SRC/Apache/php4-STABLE-200502102330]# sapi/cli/php ext/standard/tests/math/bug21523.phpt --TEST-- Bug #21523 number_format tries to allocate negative amount of memory --FILE-- [EMAIL PROTECTED]:/Admin/SRC/Apache/php4-STABLE-200502102330]# gdb sapi/cli/php GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "alphaev68-dec-osf5.1"... (gdb) run ext/standard/tests/math/bug21523.phpt Starting program: /Admin/SRC/Apache/php4-STABLE-200502102330/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 0x12010e784 in read in psymtab, but not in symtab.) Program received signal SIGINT, Interrupt. 0x00012010e784 in ap_php_cvt (arg=0, ndigits=78, decpt=0x11fff9ac8, sign=0x0, eflag=0, buf=0x11fff9ad0 '0' ) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/snprintf.c:317 317 fj = modf(fi / 10, &fi); (gdb) bt #0 0x00012010e784 in ap_php_cvt (arg=0, ndigits=78, decpt=0x11fff9ac8, sign=0x0, eflag=0, buf=0x11fff9ad0 '0' ) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/snprintf.c:317 warning: (Internal error: pc 0x12010e628 in read in psymtab, but not in symtab.) #1 0x00012010e628 in ap_php_conv_fp (format=102 'f', num=0, add_dp=NO, precision=2768, is_negative=0x11fff9dc0, buf=0x11fff9bb1 "", len=0x11fff9ba8) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/snprintf.c:176 warning: (Internal error: pc 0x1201104fc in read in psymtab, but not in symtab.) #2 0x0001201104fc in xbuf_format_converter (xbuf=0x11fff9e38, fmt=0x14002f7d9 "f", ap={__base = 0x11fff9eb8, __offset = 40}) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/spprintf.c:461 warning: (Internal error: pc 0x120110cb8 in read in psymtab, but not in symtab.) #3 0x000120110cb8 in vspprintf (pbuf=0x11fff9f48, max_len=4831812304, format=0x14002f7d6 "%.*f", ap={__base = 0x11fff9eb8, __offset = 24}) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/spprintf.c:638 warning: (Internal error: pc 0x120110d80 in read in psymtab, but not in symtab.) #4 0x000120110d80 in spprintf (pbuf=0x11fff9ad2, max_len=4831812304, format=0x4d "") at /Admin/SRC/Apache/php4-STABLE-200502102330/main/spp
#28605 [Fbk->Opn]: bug21523.phpt test never end
ID: 28605 User updated by: tbp at poly dot polytechnique dot fr Reported By: tbp at poly dot polytechnique dot fr -Status: Feedback +Status: Open Bug Type: Math related Operating System: Compaq Tru64 UNIX v5.1 PHP Version: 4CVS-2005-03-21 Assigned To: iliaa New Comment: No coredump anymore, but hangup again. [EMAIL PROTECTED]:/Admin/SRC/Apache/php4-STABLE-200504061830]# gdb sapi/cli/php GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "alphaev68-dec-osf5.1"... (gdb) run ext/standard/tests/math/bug21523.phpt Starting program: /Admin/SRC/Apache/php4-STABLE-200504061830/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 0x12010e444 in read in psymtab, but not in symtab.) Program received signal SIGINT, Interrupt. 0x00012010e444 in ap_php_cvt (arg=0, ndigits=78, decpt=0x11fff9ac8, sign=0x0, eflag=0, buf=0x11fff9ad0 '0' ) at /Admin/SRC/Apache/php4-STABLE-200504061830/main/snprintf.c:317 317 fj = modf(fi / 10, &fi); (gdb) bt #0 0x00012010e444 in ap_php_cvt (arg=0, ndigits=78, decpt=0x11fff9ac8, sign=0x0, eflag=0, buf=0x11fff9ad0 '0' ) at /Admin/SRC/Apache/php4-STABLE-200504061830/main/snprintf.c:317 warning: (Internal error: pc 0x12010e2e8 in read in psymtab, but not in symtab.) #1 0x00012010e2e8 in ap_php_conv_fp (format=102 'f', num=0, add_dp=NO, precision=2768, is_negative=0x11fff9dc0, buf=0x11fff9bb1 "", len=0x11fff9ba8) at /Admin/SRC/Apache/php4-STABLE-200504061830/main/snprintf.c:176 warning: (Internal error: pc 0x1201101bc in read in psymtab, but not in symtab.) #2 0x0001201101bc in xbuf_format_converter (xbuf=0x11fff9e38, fmt=0x14002f3c9 "f", ap={__base = 0x11fff9eb8, __offset = 40}) at /Admin/SRC/Apache/php4-STABLE-200504061830/main/spprintf.c:461 warning: (Internal error: pc 0x120110978 in read in psymtab, but not in symtab.) #3 0x000120110978 in vspprintf (pbuf=0x11fff9f48, max_len=4831812308, format=0x14002f3c6 "%.*f", ap={__base = 0x11fff9eb8, __offset = 24}) at /Admin/SRC/Apache/php4-STABLE-200504061830/main/spprintf.c:638 warning: (Internal error: pc 0x120110a40 in read in psymtab, but not in symtab.) #4 0x000120110a40 in spprintf (pbuf=0x11fff9b1f, max_len=4831812308, format=0x11fff9ad6 '0' ) at /Admin/SRC/Apache/php4-STABLE-200504061830/main/spprintf.c:658 warning: (Internal error: pc 0x1200afea8 in read in psymtab, but not in symtab.) #5 0x0001200afea8 in _php_math_number_format (d=0, dec=536845880, dec_point=46 '.', thousand_sep=44 ',') at /Admin/SRC/Apache/php4-STABLE-200504061830/ext/standard/math.c:1027 warning: (Internal error: pc 0x1200b02d8 in read in psymtab, but not in symtab.) #6 0x0001200b02d8 in zif_number_format (ht=1074697624, return_value=0x1400e9458, this_ptr=0x11fff9ad6, return_value_used=0) at /Admin/SRC/Apache/php4-STABLE-200504061830/ext/standard/math.c:1123 warning: (Internal error: pc 0x12015aaa8 in read in psymtab, but not in symtab.) #7 0x00012015aaa8 in execute (op_array=0x2c) at /Admin/SRC/Apache/php4-STABLE-200504061830/Zend/zend_execute.c:1654 Previous frame inner to this frame (corrupt stack?) (gdb) Previous Comments: [2005-04-06 16:25:33] [EMAIL PROTECTED] 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 [2005-03-22 18:36:39] [EMAIL PROTECTED] 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 [EMAIL PROTECTED]:/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. 0x0001200a72b8 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 1025PHP_ROUND_WITH_FUZZ(d, dec); (gdb) -
#28605 [Fbk->Opn]: bug21523.phpt test never end
ID: 28605 User updated by: tbp at poly dot polytechnique dot fr Reported By: tbp at poly dot polytechnique dot fr -Status: Feedback +Status: Open Bug Type: Math related Operating System: Compaq Tru64 UNIX v5.1 PHP Version: 4CVS-2005-03-21 New Comment: [EMAIL PROTECTED]:/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. 0x0001200a72b8 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 1025PHP_ROUND_WITH_FUZZ(d, dec); (gdb) Previous Comments: [2005-03-21 22:35:46] [EMAIL PROTECTED] 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. [EMAIL PROTECTED]:/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] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz The build is fixed now. [2004-07-11 21:43:33] [EMAIL PROTECTED] run the single test like this: # gdb sapi/cli/php (gdb) run ext/standard/tests/math/bug21523.phpt And if/when it hangs, press ctrl+c and then type: (gdb) bt And paste output here. [2004-06-01 22:21:01] tbp at poly dot polytechnique dot fr Description: I was upgrading my apache/mod-ssl/php to latest version and I have now trouble to do make test: I expect make test to give me some results in minute or some, but it continue running for hours. But I could stop it with CTRL-C Same results for php 4.3.6/4.3.7RC1/php4-STABLE-200406011430 php 4.3.4 works fine. My tests shows that php go in to some kind of loop while it try to execute number_format(-2000, 2768): [EMAIL PROTECTED]:/Admin/SRC/Apache/php-4.3.4]# ps auxwwa | grep php root 468861 97.9 0.0 6.38M 1.1M pts/5R + 22:04:31 0:08.71 sapi/cli/php bug21523.phpt Configure: ./configure --with-apache=../apache_1.3.31 --with-ssl=/Local/ssl --prefix=/Local/php --enable-memory-limit --with-zlib=/Local --with-zlib-dir=/Local --with-mysql=/Local/mysql --with-pgsql=/Local/pgsql --enable-ftp Problem is irrelevant to php.ini (I have also done all tests without any php.ini) Reproduce code: --- make test Expected result: with php-4.3.4 I have somesing like: PASS GetImageSize() for compressed swf files [ext/standard/tests/image/getimagesize_swc.phpt] PASS image_type_to_mime_type() [ext/standard/tests/image/image_type_to_mime_type.phpt] FAIL Simple math tests [ext/standard/tests/math/abs.phpt] PASS Bug #21523 number_format tries to allocate negative amount of memory [ext/standard/tests/math/bug21523.phpt] PASS Bug #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt] Actual result: -- make test on php 4.3.6/4.3.7RC1/php4-STABLE-200406011430: PASS image_type_to_mime_type() [ext/standard/tests/image/image_type_to_mime_type.phpt] PASS Simple math tests [ext/standard/tests/math/abs.phpt] make: *** [test] Interrupt (By CTRL-C) <- it was me who stop it -- Edit this bug report at http://bugs.php.net/?id=28605&edit=1
#28605 [Fbk->Opn]: bug21523.phpt test never end
ID: 28605 User updated by: tbp at poly dot polytechnique dot fr Reported By: tbp at poly dot polytechnique dot fr -Status: Feedback +Status: Open Bug Type: Math related Operating System: Compaq Tru64 UNIX v5.1 PHP Version: 4CVS-2005-02-10 New Comment: No hangup anymore, but coredump instead. [EMAIL PROTECTED]:/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] Previous Comments: [2005-03-20 17:49:13] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz The build is fixed now. [2005-03-16 14:08:22] tbp at poly dot polytechnique dot fr Sorry, but again build problem: [EMAIL PROTECTED]:/Admin/SRC/Apache/php4-STABLE-200503161130]# make gcc -Iext/ctype/ -I/Admin/SRC/Apache/php4-STABLE-200503161130/ext/ctype/ -DPHP_ATOM_INC -I/Admin/SRC/Apache/php4-STABLE-200503161130/include -I/Admin/SRC/Apache/php4-STABLE-200503161130/main -I/Admin/SRC/Apache/php4-STABLE-200503161130 -I/Admin/SRC/Apache/php4-STABLE-200503161130/Zend -I/Admin/SRC/Apache/php4-STABLE-200503161130/ext/xml/expat-g -O2 -c /Admin/SRC/Apache/php4-STABLE-200503161130/ext/ctype/ctype.c -o ext/ctype/ctype.o && echo > ext/ctype/ctype.lo In file included from /Admin/SRC/Apache/php4-STABLE-200503161130/Zend/zend_alloc.h:26, from /Admin/SRC/Apache/php4-STABLE-200503161130/Zend/zend.h:223, from /Admin/SRC/Apache/php4-STABLE-200503161130/main/php.h:34, from /Admin/SRC/Apache/php4-STABLE-200503161130/ext/ctype/ctype.c:23: /Admin/SRC/Apache/php4-STABLE-200503161130/TSRM/TSRM.h:18:26: tsrm_config.h: No such file or directory In file included from /Admin/SRC/Apache/php4-STABLE-200503161130/ext/ctype/ctype.c:23: /Admin/SRC/Apache/php4-STABLE-200503161130/main/php.h:393:30: tsrm_virtual_cwd.h: No such file or directory So, just for testing purpose I have done: CFLAGS=-I/Admin/SRC/Apache/php4-STABLE-200503161130/TSRM ./configure and: [EMAIL PROTECTED]:/Admin/SRC/Apache/php4-STABLE-200503161130]# 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) make: *** [ext/ctype/ctype.lo] Error 1 [2005-03-16 07:44:16] [EMAIL PROTECTED] 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 [2005-02-11 01:34:24] tbp at poly dot polytechnique dot fr Compilation ok, but initial problem persists. New trace: [EMAIL PROTECTED]:/Admin/SRC/Apache/php4-STABLE-200502102330]# sapi/cli/php ext/standard/tests/math/bug21523.phpt --TEST-- Bug #21523 number_format tries to allocate negative amount of memory --FILE-- [EMAIL PROTECTED]:/Admin/SRC/Apache/php4-STABLE-200502102330]# gdb sapi/cli/php GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "alphaev68-dec-osf5.1"... (gdb) run ext/standard/tests/math/bug21523.phpt Starting program: /Admin/SRC/Apache/php4-STABLE-200502102330/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 0x12010e784 in read in psymtab, but not in symtab.) Program received signal SIGINT, Interrupt. 0x00012010e784 in ap_php_cvt (arg=0, ndigits=78, decpt=0x11fff9ac8, sign=0x0, eflag=0, buf=0x11fff9ad0 '0' ) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/snprintf.c:317 317 fj = modf(fi / 10, &fi); (gdb) bt #0 0x00012010e784 in ap_php_cvt (arg=0, ndigits=78, decpt=0x11fff9ac8, sign=0x0, eflag=0, buf=0x11fff9ad0 '0' ) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/snprintf.c:317 warning: (Internal error: pc 0x12010e628 in read in psymtab, but not in symtab.) #1 0x00012010e628 in ap_php_conv_fp (format=102 'f', num=0, add_dp=NO, precision=2768, is_negative=0x11fff9dc0, buf=0x11fff9bb1 "", len=0x11fff9ba8) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/snprintf.c:176 warning: (Internal error: pc 0x1201104fc in
#28605 [Fbk->Opn]: bug21523.phpt test never end
ID: 28605 User updated by: tbp at poly dot polytechnique dot fr Reported By: tbp at poly dot polytechnique dot fr -Status: Feedback +Status: Open Bug Type: Math related Operating System: Compaq Tru64 UNIX v5.1 PHP Version: 4CVS-2004-06-01 (stable) Assigned To: derick New Comment: Compilation ok, but initial problem persists. New trace: [EMAIL PROTECTED]:/Admin/SRC/Apache/php4-STABLE-200502102330]# sapi/cli/php ext/standard/tests/math/bug21523.phpt --TEST-- Bug #21523 number_format tries to allocate negative amount of memory --FILE-- [EMAIL PROTECTED]:/Admin/SRC/Apache/php4-STABLE-200502102330]# gdb sapi/cli/php GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "alphaev68-dec-osf5.1"... (gdb) run ext/standard/tests/math/bug21523.phpt Starting program: /Admin/SRC/Apache/php4-STABLE-200502102330/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 0x12010e784 in read in psymtab, but not in symtab.) Program received signal SIGINT, Interrupt. 0x00012010e784 in ap_php_cvt (arg=0, ndigits=78, decpt=0x11fff9ac8, sign=0x0, eflag=0, buf=0x11fff9ad0 '0' ) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/snprintf.c:317 317 fj = modf(fi / 10, &fi); (gdb) bt #0 0x00012010e784 in ap_php_cvt (arg=0, ndigits=78, decpt=0x11fff9ac8, sign=0x0, eflag=0, buf=0x11fff9ad0 '0' ) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/snprintf.c:317 warning: (Internal error: pc 0x12010e628 in read in psymtab, but not in symtab.) #1 0x00012010e628 in ap_php_conv_fp (format=102 'f', num=0, add_dp=NO, precision=2768, is_negative=0x11fff9dc0, buf=0x11fff9bb1 "", len=0x11fff9ba8) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/snprintf.c:176 warning: (Internal error: pc 0x1201104fc in read in psymtab, but not in symtab.) #2 0x0001201104fc in xbuf_format_converter (xbuf=0x11fff9e38, fmt=0x14002f7d9 "f", ap={__base = 0x11fff9eb8, __offset = 40}) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/spprintf.c:461 warning: (Internal error: pc 0x120110cb8 in read in psymtab, but not in symtab.) #3 0x000120110cb8 in vspprintf (pbuf=0x11fff9f48, max_len=4831812304, format=0x14002f7d6 "%.*f", ap={__base = 0x11fff9eb8, __offset = 24}) at /Admin/SRC/Apache/php4-STABLE-200502102330/main/spprintf.c:638 warning: (Internal error: pc 0x120110d80 in read in psymtab, but not in symtab.) #4 0x000120110d80 in spprintf (pbuf=0x11fff9ad2, max_len=4831812304, format=0x4d "") at /Admin/SRC/Apache/php4-STABLE-200502102330/main/spprintf.c:658 warning: (Internal error: pc 0x1200afe18 in read in psymtab, but not in symtab.) #5 0x0001200afe18 in _php_math_number_format (d=0, dec=536845880, dec_point=46 '.', thousand_sep=44 ',') at /Admin/SRC/Apache/php4-STABLE-200502102330/ext/standard/math.c:1027 warning: (Internal error: pc 0x1200b0248 in read in psymtab, but not in symtab.) #6 0x0001200b0248 in zif_number_format (ht=1074705624, return_value=0x1400eb498, this_ptr=0x4d, return_value_used=0) at /Admin/SRC/Apache/php4-STABLE-200502102330/ext/standard/math.c:1123 warning: (Internal error: pc 0x12015aaf8 in read in psymtab, but not in symtab.) #7 0x00012015aaf8 in execute (op_array=0x2c) at /Admin/SRC/Apache/php4-STABLE-200502102330/Zend/zend_execute.c:1651 Previous frame inner to this frame (corrupt stack?) Previous Comments: [2005-02-10 23:18:55] [EMAIL PROTECTED] 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 [2004-12-13 16:58:51] tbp at poly dot polytechnique dot fr Account created, details send to you by mail [2004-12-13 09:11:33] [EMAIL PROTECTED] I'll gladly fix it if I have access to a Tru64 box. This works just fine on any system that I tried. [2004-12-13 01:24:25] [EMAIL PROTECTED] Derick, fix the compile error? [2004-12-13 01:22:55] [EMAIL PROTECTED] I accidently deleted your previous comment: gcc -IZend/ -I/Admin/SRC/Apache/php4-STABLE-200412122330/Zend/ -DPHP_ATOM_INC -I/Admin/SRC/Apache/php4-STABLE-200412122330/include -I/Admin/SRC/Apache/php4-STABLE-200412122330/main -I/Ad
#28605 [Fbk->Opn]: bug21523.phpt test never end
ID: 28605 User updated by: tbp at poly dot polytechnique dot fr Reported By: tbp at poly dot polytechnique dot fr -Status: Feedback +Status: Open Bug Type: Math related Operating System: Compaq Tru64 UNIX v5.1 PHP Version: 4CVS-2004-06-01 (stable) New Comment: gcc -IZend/ -I/Admin/SRC/Apache/php4-STABLE-200412122330/Zend/ -DPHP_ATOM_INC -I/Admin/SRC/Apache/php4-STABLE-200412122330/include -I/Admin/SRC/Apache/php4-STABLE-200412122330/main -I/Admin/SRC/Apache/php4-STABLE-200412122330 -I/Admin/SRC/Apache/php4-STABLE-200412122330/Zend -I/Local/include -I/Local/mysql/include/mysql -I/Local/pgsql/include -I/Admin/SRC/Apache/php4-STABLE-200412122330/ext/xml/expat -I/Admin/SRC/Apache/php4-STABLE-200412122330/TSRM -g -O2 -c /Admin/SRC/Apache/php4-STABLE-200412122330/Zend/zend_strtod.c -o Zend/zend_strtod.o && echo > Zend/zend_strtod.lo /Admin/SRC/Apache/php4-STABLE-200412122330/Zend/zend_strtod.c:235: error: parse error before "u_int32_t" /Admin/SRC/Apache/php4-STABLE-200412122330/Zend/zend_strtod.c:235: warning: no semicolon at end of struct or union /Admin/SRC/Apache/php4-STABLE-200412122330/Zend/zend_strtod.c:236: warning: data definition has no type or storage class /Admin/SRC/Apache/php4-STABLE-200412122330/Zend/zend_strtod.c:382: error: parse error before "u_int32_t" /Admin/SRC/Apache/php4-STABLE-200412122330/Zend/zend_strtod.c:382: warning: no semicolon at end of struct or union make: *** [Zend/zend_strtod.lo] Error 1 Previous Comments: [2004-12-12 23:45:17] [EMAIL PROTECTED] 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 [2004-07-19 17:59:57] tbp at poly dot polytechnique dot fr I have no solution. Since this issue does not disturb my applications for a moment I leave it as it is [2004-07-19 17:21:55] edreddy at gmail dot com I am able reproduce the same bug on Redhat Enterprise Linux Advanced Server 3.0 in php version-4.3.8. Is there any solution found so far. If so, please pass on to me [2004-07-11 22:48:01] tbp at poly dot polytechnique dot fr [EMAIL PROTECTED]:/Admin/SRC/Apache/php-4.3.7]# gdb sapi/cli/php GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "alphaev68-dec-osf5.1"... (gdb) run ext/standard/tests/math/bug21523.phpt Starting program: /Admin/SRC/Apache/php-4.3.7/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 0x12010bb14 in read in psymtab, but not in symtab.) Program received signal SIGINT, Interrupt. 0x00012010bb14 in ap_php_cvt (arg=0, ndigits=78, decpt=0x11fff9ac8, sign=0x0, eflag=0, buf=0x11fff9ad0 '0' ) at /Admin/SRC/Apache/php-4.3.7/main/snprintf.c:317 317 fj = modf(fi / 10, &fi); (gdb) bt #0 0x00012010bb14 in ap_php_cvt (arg=0, ndigits=78, decpt=0x11fff9ac8, sign=0x0, eflag=0, buf=0x11fff9ad0 '0' ) at /Admin/SRC/Apache/php-4.3.7/main/snprintf.c:317 warning: (Internal error: pc 0x12010b9b8 in read in psymtab, but not in symtab.) #1 0x00012010b9b8 in ap_php_conv_fp (format=102 'f', num=0, add_dp=NO, precision=2768, is_negative=0x11fff9dc0, buf=0x11fff9bb1 "", len=0x11fff9ba8) at /Admin/SRC/Apache/php-4.3.7/main/snprintf.c:176 warning: (Internal error: pc 0x12010d88c in read in psymtab, but not in symtab.) #2 0x00012010d88c in xbuf_format_converter (xbuf=0x11fff9e38, fmt=0x14002f659 "f", ap={__base = 0x11fff9eb8, __offset = 40}) at /Admin/SRC/Apache/php-4.3.7/main/spprintf.c:461 warning: (Internal error: pc 0x12010e048 in read in psymtab, but not in symtab.) #3 0x00012010e048 in vspprintf (pbuf=0x11fff9f48, max_len=4831812308, format=0x14002f656 "%.*f", ap={__base = 0x11fff9eb8, __offset = 24}) at /Admin/SRC/Apache/php-4.3.7/main/spprintf.c:638 warning: (Internal error: pc 0x12010e110 in read in psymtab, but not in symtab.) #4 0x00012010e110 in spprintf (pbuf=0x11fff9b1f, max_len=4831812308, format=0x11fff9ad6 '0' ) at /Admin/SRC/Apache/php-4.3.7/main/spprintf.c:658 warning: (Internal error: pc 0x1200ae738 in read in psymtab, but not in symtab.) #5 0x0001200ae738 in _php_math_number_format (d=0, dec=536845880, dec_point=46 '.', thousand_sep=44 ',') at /Admin/SRC/Apache/php-4.3.7/ext/standar