Bug #76183 [NEW]: 3 Coredumps when running make test on Solaris 11.4/SPARC
| From: | stadtkind2 at gmx dot de | Date: | Wed, 04 Apr 2018 11:09:35 +0000 |
| Subject: | Bug #76183 [NEW]: 3 Coredumps when running make test on Solaris 11.4/SPARC | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-214590@lists.php.net to get a copy of this message | ||
From: stadtkind2 at gmx dot de
Operating system: Solaris 11.4 Beta SPARC
PHP version: 7.2.4
Package: Reproducible crash
Bug Type: Bug
Bug description:3 Coredumps when running make test on Solaris 11.4/SPARC
Description:
------------
First core:
Test -> php-7.2.4/ext/mbstring/tests/mb_ereg_replace-compat-06.php
program terminated by signal SEGV (no mapping at the fault address)
(fault address is just beyond end of stack)
Current function is match_at
2476 STATE_CHECK_VAL(scv, mem);
(dbx) where
=>[1] match_at(reg = 0xb0000015ac12df10, str = 0x1ffe6581070838
"abc+-|=123", end = 0x1ffe6581070842 "", right_range = 0x1ffe6581070842
"", sstart = 0x1ffe6581070838 "abc+-|=123", sprev = 0x1ffe658107083f
"123", msa = 0xfffffe416c062608), line 2476 in "regexec.c"
[2] onig_search(reg = 0xb0000015ac12df10, str = 0x1ffe6581070838
"abc+-|=123", end = 0x1ffe6581070842 "", start = 0x1ffe6581070838
"abc+-|=123", range = 0x1ffe6581070842 "", region = 0xc0000015ac12dc60,
option = 0), line 3655 in "regexec.c"
[3] _php_mb_regex_ereg_replace_exec(execute_data = 0x1ffe658101d090,
return_value = 0x1ffe658101d080, options = 12U, is_callable = 0), line
924 in "php_mbregex.c"
[4] zif_mb_ereg_replace(execute_data = 0x1ffe658101d090, return_value
= 0x1ffe658101d080), line 1067 in "php_mbregex.c"
[5] ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER(execute_data =
0x1ffe658101d030), line 617 in "zend_vm_execute.h"
[6] execute_ex(ex = 0x1ffe658101d030), line 59723 in
"zend_vm_execute.h"
[7] zend_execute(op_array = 0x1ffe65810802a0, return_value = (nil)),
line 63760 in "zend_vm_execute.h"
[8] zend_execute_scripts(type = 8, retval = (nil), file_count = 3, ...
= 0x181066060, ...), line 1496 in "zend.c"
[9] php_execute_script(primary_file = 0xfffffe416c063df8), line 2590
in "main.c"
[10] do_cli(argc = 66, argv = 0x40000015abf339a0), line 1011 in
"php_cli.c"
[11] main(argc = 66, argv = 0x40000015abf339a0), line 1404 in
"php_cli.c"
2nd core:
Test -> php-7.2.4/ext/mbstring/tests/mb_ereg_variation5.php
program terminated by signal SEGV (no mapping at the fault address)
(fault address is just beyond end of stack)
Current function is match_at
2476 STATE_CHECK_VAL(scv, mem);
(dbx) where
=>[1] match_at(reg = 0xb000000242b24190, str = 0x1ffdbbd2c03158 "This is
an English string. 0123456789.", end = 0x1ffdbbd2c0317e "", right_range
= 0x1ffdbbd2c0317e "", sstart = 0x1ffdbbd2c03158 "This is an English
string. 0123456789.", sprev = 0x1ffdbbd2c03171 ". 0123456789.", msa =
0xfffffe5a8e9ae338), line 2476 in "regexec.c"
[2] onig_search(reg = 0xb000000242b24190, str = 0x1ffdbbd2c03158 "This
is an English string. 0123456789.", end = 0x1ffdbbd2c0317e "", start =
0x1ffdbbd2c03158 "This is an English string. 0123456789.", range =
0x1ffdbbd2c03159 "his is an English string. 0123456789.", region =
0xd000000242b239a0, option = 0), line 3655 in "regexec.c"
[3] _php_mb_regex_ereg_exec(execute_data = 0x1ffdbbd2c1d220,
return_value = 0x1ffdbbd2c1d120, icase = 0), line 750 in
"php_mbregex.c"
[4] zif_mb_ereg(execute_data = 0x1ffdbbd2c1d220, return_value =
0x1ffdbbd2c1d120), line 786 in "php_mbregex.c"
[5] ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER(execute_data =
0x1ffdbbd2c1d030), line 617 in "zend_vm_execute.h"
[6] execute_ex(ex = 0x1ffdbbd2c1d030), line 59723 in
"zend_vm_execute.h"
[7] zend_execute(op_array = 0x1ffdbbd2c802a0, return_value = (nil)),
line 63760 in "zend_vm_execute.h"
[8] zend_execute_scripts(type = 8, retval = (nil), file_count = 3, ...
= 0x1d2c66060, ...), line 1496 in "zend.c"
[9] php_execute_script(primary_file = 0xfffffe5a8e9af938), line 2590
in "main.c"
[10] do_cli(argc = 66, argv = 0x6000000242929c20), line 1011 in
"php_cli.c"
[11] main(argc = 66, argv = 0x6000000242929c20), line 1404 in
"php_cli.c"
3rd core:
Test -> php-7.2.4/ext/mbstring/tests/mb_ereg_variation7.php
program terminated by signal SEGV (ADI version 1 mismatch for VA
0x754163855f)
Current function is match_at
2476 STATE_CHECK_VAL(scv, mem);
(dbx) where
=>[1] match_at(reg = 0x3000007541634310, str = 0x1ffd68f746f198
"ÎÏ
ÏÏ ÎµÎ¯Î½Î±Î¹ ελληνικÏ
κείμενο. 0123456789.", end
= 0x1ffd68f746f1d8 "", right_range = 0x1ffd68f746f1d8 "", sstart =
0x1ffd68f746f198 "ÎÏ
ÏÏ ÎµÎ¯Î½Î±Î¹ ελληνικÏ
κείμενο.
0123456789.", sprev = 0x1ffd68f746f1ae "λληνικÏ
κείμενο.
0123456789.", msa = 0xfffffe2a46cc8a78), line 2476 in "regexec.c"
[2] onig_search(reg = 0x3000007541634310, str = 0x1ffd68f746f198
"ÎÏ
ÏÏ ÎµÎ¯Î½Î±Î¹ ελληνικÏ
κείμενο. 0123456789.", end
= 0x1ffd68f746f1d8 "", start = 0x1ffd68f746f198 "ÎÏ
ÏÏ
είναι
ÎµÎ»Î»Î·Î½Î¹ÎºÏ ÎºÎµÎ¯Î¼ÎµÎ½Î¿. 0123456789.", range =
0x1ffd68f746f1c6
"µÃ½Ã¿. 0123456789.", region = 0xb0000075416372a0, option = 0),
line 3655 in "regexec.c"
[3] _php_mb_regex_ereg_exec(execute_data = 0x1ffd68f741d220,
return_value = 0x1ffd68f741d190, icase = 0), line 750 in
"php_mbregex.c"
[4] zif_mb_ereg(execute_data = 0x1ffd68f741d220, return_value =
0x1ffd68f741d190), line 786 in "php_mbregex.c"
[5] ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER(execute_data =
0x1ffd68f741d030), line 617 in "zend_vm_execute.h"
[6] execute_ex(ex = 0x1ffd68f741d030), line 59723 in
"zend_vm_execute.h"
[7] zend_execute(op_array = 0x1ffd68f74802a0, return_value = (nil)),
line 63760 in "zend_vm_execute.h"
[8] zend_execute_scripts(type = 8, retval = (nil), file_count = 3, ...
= 0x1f7466060, ...), line 1496 in "zend.c"
[9] php_execute_script(primary_file = 0xfffffe2a46cca078), line 2590
in "main.c"
[10] do_cli(argc = 66, argv = 0x700000754143a5a0), line 1011 in
"php_cli.c"
[11] main(argc = 66, argv = 0x700000754143a5a0), line 1404 in
"php_cli.c"
--
Edit bug report at https://bugs.php.net/bug.php?id=76183&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76183&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76183&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76183&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76183&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76183&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76183&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76183&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76183&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76183&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76183&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76183&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76183&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76183&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76183&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76183&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76183&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76183&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76183&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76183&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76183&r=mysqlcfg