Paladox added a comment. |
In T142158#2573982, @EBernhardson wrote:dmesg on integration-slave-trusty-1001 reports we are consistently segfaulting at the same instruction pointer:
[12600829.516010] traps: php5[3756] general protection ip:70c450 sp:7ffd02145a28 error:0 in php5[400000+7f3000] [13109969.662961] php5[31621]: segfault at 3 ip 000000000070c450 sp 00007fff7486b2b8 error 6 in php5[400000+7f3000] [13121365.417743] php5[29445]: segfault at 3 ip 000000000070c450 sp 00007ffd296d1a68 error 6 in php5[400000+7f3000] [13126836.791557] traps: php5[2279] general protection ip:70c450 sp:7fff7281d078 error:0 in php5[400000+7f3000] [13138327.663403] php5[28120]: segfault at 3 ip 000000000070c450 sp 00007ffe2d34be48 error 6 in php5[400000+7f3000] [13139900.720581] php5[1421]: segfault at 3 ip 000000000070c450 sp 00007ffca4008a98 error 6 in php5[400000+7f3000]Using addr2line we can see this is in the garbage collector
ebernhardson@integration-slave-trusty-1001:~$ ~/addr2line -e $(which php5) 70c450 /build/php5-i8TFRg/php5-5.5.9+dfsg/Zend/zend_gc.h:189Specifically that bit of code is the first line of this function (from php 5.5.9 sources):
static zend_always_inline void gc_remove_from_buffer(gc_root_buffer *root TSRMLS_DC) { root->next->prev = root->prev; root->prev->next = root->next; root->prev = GC_G(unused); GC_G(unused) = root; GC_BENCH_DEC(root_buf_length); }Checking the php bugtracker there are a few different fatals/errors related to garbage collection and gc_remove_from_buffer. We could try a few of them out, but it would take a bit of effort to test the various patches until we find the relevant patch. As a workaround, i believe we can disable the garbage collector when running tests and things might "just work". Incoming patch that will set this for the mediawiki-extensions-php55 job, and if it does the trick we can also set it elsewhere. refcounted GC should still work with this disabled, only the cycle collector will be disabled.
Other users seem to be having this problem
http://www.serverphorums.com/read.php?7,834007 looks very similar to the line you pointed at.
Cc: aude, Addshore, Tobi_WMDE_SW, Stashbot, Jay8g, hashar, gerritbot, EBernhardson, matmarex, KartikMistry, Nikerabbit, daniel, hoo, bd808, greg, Paladox, dcausse, Legoktm, TerraCodes, Jdforrester-WMF, Luke081515, Krinkle, Aklapper, Lewizho99, Maathavan, D3r1ck01, Liudvikas, Izno, Wikidata-bugs, zeljkofilipin, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs