Bug #69411 [NEW]: Segmentation fault in _pcre_jit_compile
| From: | berdir@php.net | Date: | Thu, 09 Apr 2015 23:07:20 +0000 |
| Subject: | Bug #69411 [NEW]: Segmentation fault in _pcre_jit_compile | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-191922@lists.php.net to get a copy of this message | ||
From: berdir
Operating system: Linux
PHP version: master-Git-2015-04-09 (Git)
Package: PCRE related
Bug Type: Bug
Bug description:Segmentation fault in _pcre_jit_compile
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 bug report at https://bugs.php.net/bug.php?id=69411&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69411&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69411&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69411&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69411&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69411&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69411&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69411&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69411&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69411&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69411&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69411&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69411&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69411&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69411&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69411&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69411&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69411&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69411&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69411&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69411&r=mysqlcfg