Bug #69411 [Opn]: Segmentation fault in _pcre_jit_compile

From: Date: Sat, 11 Apr 2015 01:42:03 +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-191953@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 about if you add -d pcre.jit=0 to it? let's make sure it's not a pcre jit issue first.. thanks Previous Comments: ------------------------------------------------------------------------ [2015-04-11 01:42:01] laruence@php.net what about if you add -d pcre.jit=0 to it? let's make sure it's not a pcre jit issue first.. thanks ------------------------------------------------------------------------ [2015-04-10 21:51:42] berdir@php.net Had a similar segfault, this time inside apache while running a different test, this one doesn't always happen. Test is Drupal\system\Tests\Installer\InstallerTranslationTest. I'm guessing it is related because it also happens inside _pcre_jit_compile() backtrace: https://gist.githubusercontent.com/Berdir/3fdfe825cfdda9e091f1/raw/1f3a0f988c35179a204f5de14d6e05129c437ae7/gistfile1.txt ------------------------------------------------------------------------ [2015-04-10 16:24:35] berdir@php.net Right, what happens if you add --verbose there? It should print out the exact exception that you get then. Might be a missing extension or something like that that prevents it from running the test. Can you run other tests? ------------------------------------------------------------------------ [2015-04-10 15:17:18] laruence@php.net here is what the commmand I run: '/home/huixinchen/local/php-trunk/bin/php' './core/scripts/run-tests.sh' --url 'http://d8/' --sqlite '/tmp/test.sqlite' --dburl 'sqlite://tmp/db.sqlite' --php '/home/huixinchen/local/php-trunk/bin/php' --test-id 1 --color --execute-test 'Drupal\migrate_drupal\Tests\d6\MigrateDrupal6Test' ------------------------------------------------------------------------ [2015-04-10 15:10:04] berdir@php.net The segfault only happens at the end of the test for me. Can you add a --verbose --color to see what exception you get? Sounds like it's failing on something and never gets far enough. Thanks for looking into this! I can join an IRC channel, or you can find me in #drupal-contribute to discuss this. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=69411 -- Edit this bug report at https://bugs.php.net/bug.php?id=69411&edit=1

« previous php.bugs (#191953) next »