Bug #69411 [Opn]: Segmentation fault in _pcre_jit_compile
| From: | laruence@php.net | Date: | Fri, 10 Apr 2015 15:05:30 +0000 |
| Subject: | Bug #69411 [Opn]: Segmentation fault in _pcre_jit_compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-191939@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69411&edit=1
ID: 69411
Updated by: laruence@php.net
Reported by: berdir@php.net
Summary: Segmentation fault in _pcre_jit_compile
Status: Open
Type: Bug
Package: PCRE related
Operating System: Linux
PHP Version: master-Git-2015-04-09 (Git)
Block user comment: N
Private report: N
New Comment:
what I got is:
Test summary
------------
Drupal\migrate_drupal\Tests\d6\MigrateDrupal6Test 1 passes 1 exceptions
Previous Comments:
------------------------------------------------------------------------
[2015-04-09 23:09:07] berdir@php.net
See also http://bugs.php.net/bug.php?id=69371 on
how to debug our test runner.
------------------------------------------------------------------------
[2015-04-09 23:07:19] berdir@php.net
Description:
------------
This is part of our efforts to get Drupal 8 green on PHP 7, see https://www.drupal.org/node/2454439.
One of our tests is failing with a segmentation fault. The strange part is that the test passes, and
only after that, the segfault happens:
$ php7 core/scripts/run-tests.sh --url http://d8/ --color --class
"Drupal\migrate_drupal\Tests\d6\MigrateDrupal6Test"
Drupal test run
---------------
Tests to be run:
- Drupal\migrate_drupal\Tests\d6\MigrateDrupal6Test
Test run started:
Thursday, April 9, 2015 - 22:59
Test summary
------------
Drupal\migrate_drupal\Tests\d6\MigrateDrupal6Test 793 passes
Segmentation fault (core dumped)
FATAL Drupal\migrate_drupal\Tests\d6\MigrateDrupal6Test: test runner returned a non-zero error code
(139).
- Found database prefix 'simpletest810509' for test ID 1765.
Test run duration: 20 sec
backtrace/lines with gdb: https://gist.github.com/Berdir/c9f4876f8f4fbd17b2cd
(Those lines do not actually exist in that file, so I guess that's some jit magic? I don't
really understand C). I can provide the core dump if that's useful.
Happy to provide more information if I can.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69411&edit=1