Bug #63407 [Opn->Fbk]: segmentation fault in zval_mark_grey()
| From: | laruence@php.net | Date: | Thu, 01 Nov 2012 02:23:19 +0000 |
| Subject: | Bug #63407 [Opn->Fbk]: segmentation fault in zval_mark_grey() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-174457@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63407&edit=1
ID: 63407
Updated by: laruence@php.net
Reported by: berdir@php.net
Summary: segmentation fault in zval_mark_grey()
-Status: Open
+Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: linux
PHP Version: 5.4.8
Block user comment: N
Private report: N
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.4-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
there is a knew issue of segfault caused by traits alias.
please try with the 5.4-snapshot
Previous Comments:
------------------------------------------------------------------------
[2012-10-31 22:55:43] berdir@php.net
Description:
------------
I'm experiencing segfaults in the mentioned function while working on Drupal 8.
Here's what I found out so far:
- Happens both with the default ubuntu 12.04 php 5.3.10 and php 5.4.8 from
https://launchpad.net/~ondrej/+archive/php5
- See http://drupal.org/node/512026#comment-6673974
for the backtrace
- Happens both on my local installation and our automated testbots
- The segfault does not happen if zend.enable_gc is Off.
It's non-trivial to set up, see "script" below, so just tell me what commands to
run in gdb to give you additional information if required.
Test script:
---------------
git clone git@git.drupal.org:project/drupal.git --branch=8.x
# Install Drupal, enable Testing module.
wget http://drupal.org/files/form-state-keyvalue-512026-98.patch
git apply form-state-keyvalue-512026-98.patch
php core/scripts/run-tests.sh --class "Drupal\views\Tests\Handler\FilterStringTest"
Expected result:
----------------
Drupal test run
---------------
Tests to be run:
- (Drupal\views\Tests\Handler\FilterStringTest)
Test run started:
Wednesday, October 31, 2012 - 23:50
Test summary
------------
Filter: String n passes, 0 fails, and 0 exception
Test run duration: n sec
Actual result:
--------------
Drupal test run
---------------
Tests to be run:
- (Drupal\views\Tests\Handler\FilterStringTest)
Test run started:
Wednesday, October 31, 2012 - 23:50
Test summary
------------
Segmentation fault (core dumped)
FATAL Drupal\views\Tests\Handler\FilterStringTest: test runner returned a non-
zero error code (139).
- Found database prefix 'simpletest916618' for test ID 372.
- Removed test files directory.
- Removed 43 leftover tables.
Test run duration: 11 sec
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63407&edit=1