Edit report at https://bugs.php.net/bug.php?id=63055&edit=1
ID: 63055
Updated by: laruence@php.net
Reported by: php at wallbash dot com
Summary: Segfault in zend_gc with SF2 testsuite
-Status: Assigned
+Status: Closed
Type: Bug
Package: *General Issues
Operating System: CentOS 6.3
PHP Version: 5.4.6
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ccc519b7a92bfe4b191c0e2e3869516171247ac2
Log: Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite)
Previous Comments:
------------------------------------------------------------------------
[2012-10-18 07:18:02] laruence@php.net
FINALLY, I am able to make a reproduce script, thanks very much for your box
@imprec ..
------------------------------------------------------------------------
[2012-10-15 18:19:05] imprec at gmail dot com
Hello, got the same issue, see backtrace here https://travis-
ci.org/#!/romainneutron/Phraseanet/jobs/2799781
I can provide a debug box, laruence@php.net are you interested ?
------------------------------------------------------------------------
[2012-09-12 03:57:03] laruence@php.net
still can not reproduce it,
php at wallbash.com , could you give me a access to your testing box? that will
be useful.. :)
------------------------------------------------------------------------
[2012-09-11 14:28:16] php at wallbash dot com
Fixed reproduce instructions: https://gist.github.com/3690351; Maybe that helps you
laruence.
I've misspelled the phpunit mock object dependency and it doesn't work with newer versions
(as it, i assume, involves object cloning that newer versions have turned off). Any other minor
versions don't lead to the segfault.
@reeze,
(gdb) zbacktrace
(gdb) [0x7ff1428d4ea8]
preg_match_all("/@requires\s+(?P<name>function|extension)\s(?P<value>([^\40]+))\r?$/m",
"/**\12\40*\40Note\40that\40there\40are\40some\40values\40written\40like\40-2147483647\40-\401.\40This\40is\40the\40lower\4032bit\40int\40max\40and\40is\40a\40known\12\40*\40behavior\40of\40PHP.\12\40*/\12/**\12\40\40\40\40\40*\40@dataProvider\40formatCurrencyWithCurrencyStyleBrazilianRealRoundingProvider\12\40\40\40\40\40*/",
array(7)[0x14916c30]) /usr/share/pear/PHPUnit/Util/Test.php:126
[0x7ff1428d4ab0]
getRequirements("Symfony\Component\Locale\Tests\Stub\StubNumberFormatterTest",
"testFormatCurrencyWithCurrencyStyleBrazilianRealRoundingStub")
/usr/share/pear/PHPUnit/Framework/TestCase.php:558
[0x7ff1428d4378] setRequirementsFromAnnotation() /usr/share/pear/PHPUnit/Framework/TestCase.php:586
[0x7ff1428d31b0] checkRequirements() /usr/share/pear/PHPUnit/Framework/TestCase.php:823
[0x7ff1428d1d38] runBare() /usr/share/pear/PHPUnit/Framework/TestResult.php:649
[0x7ff1428d0dd8] run(object[0x747e368]) /usr/share/pear/PHPUnit/Framework/TestCase.php:770
[0x7ff1428d0cd8] run(object[0xa6fcfe0]) /usr/share/pear/PHPUnit/Framework/TestSuite.php:776
[0x7ff1428cf980] runTest(object[0x747e368], object[0xa6fcfe0])
/usr/share/pear/PHPUnit/Framework/TestSuite.php:746
[0x7ff1428ce610] run(object[0xa6fcfe0], false, array(0)[0xa6fa9e8], array(1)[0xa7390a8], false)
/usr/share/pear/PHPUnit/Framework/TestSuite.php:706
[0x7ff1428cd2a0] run(object[0xa6fcfe0], false, array(0)[0x14735b38], array(1)[0x14735cf0], false)
/usr/share/pear/PHPUnit/Framework/TestSuite.php:706
[0x7ff1428caea0] run(object[0xa6fcfe0], false, array(0)[0xab473f0], array(1)[0xab475a8], false)
/usr/share/pear/PHPUnit/TextUI/TestRunner.php:325
[0x7ff1428ca528] doRun(object[0x7ff13c2c3ed8], array(5)[0xab48718])
/usr/share/pear/PHPUnit/TextUI/Command.php:177
[0x7ff1428ca360] run(array(1)[0x6b7c498], true) /usr/share/pear/PHPUnit/TextUI/Command.php:130
[0x7ff1428ca0e8] main() /usr/bin/phpunit:46
(gdb)
Hope that helps :)
------------------------------------------------------------------------
[2012-09-11 08:48:58] laruence@php.net
intl
Internationalization support => enabled
version => 1.1.0
ICU version => 3.6
------------------------------------------------------------------------
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=63055
--
Edit this bug report at https://bugs.php.net/bug.php?id=63055&edit=1