Edit report at https://bugs.php.net/bug.php?id=63055&edit=1

 ID:                 63055
 Comment by:         imprec at gmail dot com
 Reported by:        php at wallbash dot com
 Summary:            Segfault in zend_gc with SF2 testsuite
 Status:             Assigned
 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:

Hello, got the same issue, see backtrace here https://travis-
ci.org/#!/romainneutron/Phraseanet/jobs/2799781

I can provide a debug box,  larue...@php.net are you interested ?


Previous Comments:
------------------------------------------------------------------------
[2012-09-12 03:57:03] larue...@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] larue...@php.net

intl

Internationalization support => enabled
version => 1.1.0
ICU version => 3.6

------------------------------------------------------------------------
[2012-09-11 06:57:39] reeze dot xia at gmail dot com

gdb > zbactrace   --->  gdb > zbacktrace   missing a 'k' :)

------------------------------------------------------------------------
[2012-09-11 06:56:49] reeze dot xia at gmail dot com

Hi wallbash,
  when you got a backtrace, you could source php-src's backtrace of php script

gdb > source path/to/php-src/.gdbinit
gdb > zbactrace 
then you may see a php level script, then we could find where cause the php 
crash

------------------------------------------------------------------------


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

Reply via email to