Last modified: 2013-04-10 08:48:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49069, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47069 - MediaWiki phpunit code coverage segfault on gallium
MediaWiki phpunit code coverage segfault on gallium
Status: RESOLVED DUPLICATE of bug 43972
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-10 08:24 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-04-10 08:48 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
full log of my gdb session (for information) (8.55 KB, text/plain)
2013-04-10 08:34 UTC, Antoine "hashar" Musso (WMF)
Details
GDB backtrace using Zend tools (3.87 KB, text/plain)
2013-04-10 08:35 UTC, Antoine "hashar" Musso (WMF)
Details

Description Antoine "hashar" Musso (WMF) 2013-04-10 08:24:46 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
Comment 1 Antoine "hashar" Musso (WMF) 2013-04-10 08:34:49 UTC
Created attachment 12069 [details]
full log of my gdb session (for information)
Comment 2 Antoine "hashar" Musso (WMF) 2013-04-10 08:35:59 UTC
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()
Comment 3 Antoine "hashar" Musso (WMF) 2013-04-10 08:46:50 UTC
(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 ***
Comment 4 Antoine "hashar" Musso (WMF) 2013-04-10 08:48:28 UTC
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
...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links