#22091 [Opn->Fbk]: make test crashes with "Bus error"
ID: 22091 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: OpenBSD 3.2 sparc64 PHP Version: 4.3.0 New Comment: PLEASE try this snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz (what is pre-snapshot anyway?) And I asked the output of _ONE_ test, not ALL of them.. Do NOT add any more long texts!! Previous Comments: [2003-02-06 16:19:02] [EMAIL PROTECTED] This is pre-snapshot. I am trying to get that to work. So this output is *still* 4.3.0 [root@sparc64 php-4.3.0]# find . -name *.out -print -exec cat {} \; -exec echo "" \; -exec echo "" \; ./ext/ctype/tests/001.out ctype_lower 26 ctype_upper 26 ctype_alpha 52 ctype_digit 10 ctype_alnum 62 ctype_cntrl 65 ctype_graph 189 ctype_print 191 ctype_punct 127 ctype_space 12 ctype_xdigit 22 ./ext/iconv/tests/ob_iconv_handler.out Bus error (core dumped) ./ext/iconv/tests/translit-utf8.out Bus error (core dumped) ./ext/openssl/tests/001.out Creating private key Export key to file Load key from file - array syntax failed to load key using array syntax ./ext/session/tests/014.out Bus error (core dumped) ./ext/session/tests/015.out Bus error (core dumped) ./ext/session/tests/018.out Bus error (core dumped) ./ext/session/tests/019.out array(2) { ["o1"]=> &object(tfoo)(1) { ["c"]=> int(42) } ["o2"]=> &object(tfoo)(1) { ["c"]=> int(42) } } array(2) { ["o1"]=> &object(tfoo)(1) { ["c"]=> int(44) } ["o2"]=> &object(tfoo)(1) { ["c"]=> int(44) } } php in free(): warning: chunk is already free. ./ext/session/tests/020.out Bus error (core dumped) ./ext/session/tests/021.out Bus error (core dumped) ./ext/standard/tests/file/002.out Bus error (core dumped) ./ext/standard/tests/file/bug21131.out int(6) int(0) Bus error (core dumped) ./ext/standard/tests/math/abs.out 1,1,1,1 Assert failed: -LONG_MIN+1 === abs(LONG_MIN-1) Left: int(-9223372036854775807) Right: int(9223372036854775807) Assert failed: -LONG_MIN === abs(LONG_MIN) Left: int(-9223372036854775808) Right: float(9.2233720368548E+18) ./ext/standard/tests/math/pow.out 1,1,1,1 On failure, please mail result to [EMAIL PROTECTED] Assert failed: LONG_MAX-1 === pow(LONG_MAX-1,1) Left: int(9223372036854775806) Right: int(9223372036854775807) Assert failed: LONG_MIN+1 === pow(LONG_MIN+1,1) Left: int(-9223372036854775807) Right: int(-9223372036854775808) ./ext/standard/tests/math/round.out 1,1,1,1 Assert failed: LONG_MIN-1 ~== round(LONG_MIN - 0.6) Left: int(9223372036854775807) Right: float(-9.2233720368548E+18) Assert failed: LONG_MIN-1 ~== floor(LONG_MIN - 0.5) Left: int(9223372036854775807) Right: float(-9.2233720368548E+18) Assert failed: LONG_MAX+1 ~== ceil(LONG_MAX + 0.5) Left: int(-9223372036854775808) Right: float(9.2233720368548E+18) Assert failed: LONG_MAX+1 ~== round(LONG_MAX + 0.6) Left: int(-9223372036854775808) Right: float(9.2233720368548E+18) ./ext/standard/tests/strings/bug20934.out string(2) "àá" string(1) "à" ./ext/standard/tests/strings/htmlentities01.out string(22) "‚†™" string(19) "€¢£" ./ext/standard/tests/strings/htmlentities10.out cp1252 string(22) "‚†™" string(19) "€¢£" ./ext/standard/tests/strings/htmlentities13.out EUC-JP string(4) "¡¢¡£" ./ext/standard/tests/strings/htmlentities14.out Shift_JIS string(4) "AB" ./ext/standard/tests/strings/strcspn.out string(25) " bbb " string(4) "1234" int(0) int(0) int(0) ./ext/standard/tests/strings/strspn.out string(25) " bbb " string(4) "1234" Memory fault (core dumped) ./ext/xml/tests/xml001.out {?[]}{?[ ]}{?[]}{?[ ]}{?[%incent;]}{?[ ]}{?[]]}{?[>]}{?[ ]}{ROOT ID="elem1"}{CDATA[ ]}{CDATA[ Plain text.]}{CDATA[ ]}{CDATA[ ]}{ELEM1}{CDATA[ ]}{CDATA[ ]}{?[]}{CDATA[ ]}{CDATA[ ]}{ELEM2}{CDATA[ ]}{CDATA[ ]}{
#22091 [Opn->Fbk]: make test crashes with "Bus error"
ID: 22091 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: OpenBSD 3.2 sparc64 PHP Version: 4.3.0 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 Also, if some test still fails, please add one of those .out files here. For example, if test ext/standard/tests/file/003.phpt fails, the file is ext/standard/tests/file/003.out That might give us a clue why the run-tests.php causes that Bus error. Previous Comments: [2003-02-06 11:35:28] [EMAIL PROTECTED] [root@sparc64 php-4.3.0]# make test = CWD : /root/php-4.3.0 PHP : /root/php-4.3.0/sapi/cli/php PHP_SAPI: cli PHP_VERSION : 4.3.0 ZEND_VERSION: 1.3.0 PHP_OS : OpenBSD INI actual : /root/php-4.3.0 More .INIs : Extra dirs : = TIME START 2003-02-06 11:14:28 = PASS EXPECT [tests/run-test/test001.phpt] PASS EXPECTF [tests/run-test/test002.phpt] PASS EXPECTREGEX [tests/run-test/test003.phpt] PASS INI section allows '=' [tests/run-test/test004.phpt] PASS Error message handling [tests/run-test/test005.phpt] PASS Error messages are shown [tests/run-test/test006.phpt] PASS dirname test [tests/run-test/test007.phpt] PASS Trivial "Hello World" test [tests/basic/001.phpt] SKIP Simple POST Method test [tests/basic/002.phpt] SKIP GET and POST Method combined [tests/basic/003.phpt] SKIP Two variables in POST data [tests/basic/004.phpt] SKIP Three variables in POST data [tests/basic/005.phpt] PASS Add 3 variables together and print result [tests/basic/006.phpt] PASS Multiply 3 variables and print result [tests/basic/007.phpt] PASS Divide 3 variables and print result [tests/basic/008.phpt] PASS Subtract 3 variables and print result [tests/basic/009.phpt] PASS Testing | and & operators [tests/basic/010.phpt] SKIP Testing $argc and $argv handling (GET) [tests/basic/011.phpt] PASS Testing $argc and $argv handling (cli) [tests/basic/012.phpt] PASS Bug #20539 (PHP CLI Segmentation Fault) [tests/basic/bug20539.phpt] PASS Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] PASS Classes general test [tests/classes/class_example.phpt] PASS Classes inheritance test [tests/classes/inheritance.phpt] PASS Strlen() function test [tests/func/001.phpt] PASS Static variables in functions [tests/func/002.phpt] PASS General function test [tests/func/003.phpt] PASS General function test [tests/func/004.phpt] PASS Testing register_shutdown_function() [tests/func/005.phpt] PASS Output buffering tests [tests/func/006.phpt] PASS INI functions test [tests/func/007.phpt] PASS Test for buffering in core functions with implicit flush off [tests/func/008.phpt] PASS Test for buffering in core functions with implicit flush on [tests/func/009.phpt] PASS Simple If condition test [tests/lang/001.phpt] PASS Simple While Loop Test [tests/lang/002.phpt] PASS Simple Switch Test [tests/lang/003.phpt] PASS Simple If/Else Test [tests/lang/004.phpt] PASS Simple If/ElseIf/Else Test [tests/lang/005.phpt] PASS Nested If/ElseIf/Else Test [tests/lang/006.phpt] PASS Function call with global and static variables [tests/lang/007.phpt] PASS Testing recursive function [tests/lang/008.phpt] PASS Testing function parameter passing [tests/lang/009.phpt] PASS Testing function parameter passing with a return value [tests/lang/010.phpt] PASS Testing nested functions [tests/lang/011.phpt] PASS Testing stack after early function return [tests/lang/012.phpt] PASS Testing eval function [tests/lang/013.phpt] PASS Testing eval function inside user-defined function [tests/lang/014.phpt] PASS Testing include [tests/lang/015.phpt] PASS Testing user-defined function in included file [tests/lang/016.phpt] PASS Testing user-defined function falling out of an If into another [tests/lang/017.phpt] PASS eval() test [tests/lang/018.phpt] PASS eval() test [tests/lang/019.phpt] PASS Switch test 1 [tests/lang/020.phpt] PASS Switch test 2 [tests/lang/021.phpt] PASS Switch test 3 [tests/lang/022.phpt] PASS Regression test [tests/lang/023.phpt] PASS Looped regression test (may take a while) [tests/lang/024.phpt] PASS Mean recursion test [tests/lang/025.phpt] PASS Testing string scanner confirmance [tests/lang/026.phpt] PASS Testing do-while loop [tests/lang/027.phpt] PASS Testing calling user-level functions from C [tests/lang/028.phpt] SKIP OO Bug Test (Bug #7515) [tests/lang/029.phpt] (reason: Zend Engine 2 needed) PASS $this in constructor test [tests/lang/030.phpt] P