Last modified: 2013-04-10 08:48:28 UTC
MediaWiki code coverage is segfaulting on gallium: php tests/phpunit/phpunit.php --exclude-group Dump,Broken,ParserFuzz,Stub --coverage-html /srv/org/wikimedia/integration/cover/mediawiki-core/master/php Eventually get us a: 16913 Segmentation fault php tests/phpunit/phpunit.php --exclude-group Dump,Broken,ParserFuzz,Stub --coverage-html /srv/org/wikimedia/integration/cover/mediawiki-core/master/php https://integration.wikimedia.org/ci/job/mediawiki-core-code-coverage/40/console
Created attachment 12069 [details] full log of my gdb session (for information)
Created attachment 12070 [details] GDB backtrace using Zend tools Seems to be a bug in PCRE this time, we end up having a preg_match_all()
(gdb) frame 0 #0 zval_mark_grey (pz=0x15b001d8) at /root/wikimedia/php5/php5-5.3.10/Zend/zend_gc.c:368 368 in /root/wikimedia/php5/php5-5.3.10/Zend/zend_gc.c (gdb) Turns out to be a duplicate of bug 43972 *** This bug has been marked as a duplicate of bug 43972 ***
The partial GDB backtrace: (gdb) bt #0 zval_mark_grey (pz=0x15b001d8) at /root/wikimedia/php5/php5-5.3.10/Zend/zend_gc.c:368 #1 0x00000000006b73ac in zval_mark_grey (pz=<optimized out>) at /root/wikimedia/php5/php5-5.3.10/Zend/zend_gc.c:379 #2 0x00000000006b7e75 in gc_mark_roots () at /root/wikimedia/php5/php5-5.3.10/Zend/zend_gc.c:435 #3 gc_collect_cycles () at /root/wikimedia/php5/php5-5.3.10/Zend/zend_gc.c:664 #4 0x00000000006b8174 in gc_zval_possible_root (zv=<optimized out>) at /root/wikimedia/php5/php5-5.3.10/Zend/zend_gc.c:166 #5 0x00000000006a7e30 in zend_hash_destroy (ht=0x15b00478) at /root/wikimedia/php5/php5-5.3.10/Zend/zend_hash.c:729 #6 0x00000000006994df in _zval_dtor_func (zvalue=0x15b00010) at /root/wikimedia/php5/php5-5.3.10/Zend/zend_variables.c:46 #7 0x0000000000473c08 in _zval_dtor (zvalue=0x15b00010) at /root/wikimedia/php5/php5-5.3.10/Zend/zend_variables.h:35 #8 php_pcre_match_impl (pce=0xb434200, subject=0x15b01a48 "\n * @group ContentHandler\n * @group Database\n *\n * @note: We don't make assumptions about the main namespace.\n * But we do expect the Help namespace to contain Wikitext.\n *\n \n\n\t * @dataProvider"..., subject_len=706, return_value=0x15b00578, subpats=0x15b00010, global=1, use_flags=0, flags=0, start_offset=0) at /root/wikimedia/php5/php5-5.3.10/ext/pcre/php_pcre.c:549 ...