hashar added a comment.

I have added a gdb script from puppet modules/admin/files/home/hashar/gdbinit . Put it to /mnt/home/jenkins-deploy

Then start gdb and source gdbinit. That gives a bunch of commands that are listed with help user-defined.

So:

integration-slave-trusty-1018:~$ gdb /usr/bin/php5 /var/tmp/core/core.integration-slave-trusty-1018.php5.15464.1473912526

Core was generated by `php5 phpunit.php --log-junit /mnt/jenkins-workspace/workspace/mwext-Wikibase-re'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000070c450 in gc_remove_from_buffer (root=0x224926c0) at /build/php5-i8TFRg/php5-5.5.9+dfsg/Zend/zend_gc.h:189
189	/build/php5-i8TFRg/php5-5.5.9+dfsg/Zend/zend_gc.h: No such file or directory.

(gdb) source gbinit
(gdb) set logging on
Logging to gdb.txt
(gdb) zbacktrace

End result is pages of stack traces with the PHP file and line number. Will paste soonish


TASK DETAIL
https://phabricator.wikimedia.org/T142158

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hashar
Cc: 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, aude, zeljkofilipin, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to