Catching Travis core dumps
#13
Found this nice stackoverflow answer.
gdb starts Cuberite and if Cuberite exits, gdb will run the commands bt, "info threads" and "thread apply all bt". At last it exits with the exit code of Cuberite.

Tested this idea in a commit and it works fine Big Grin

Travis (crash): All runs, clang debug
Travis(no crash): All runs, clang debug

If you like this idea, then I will create a pull request  Smile


Funny side note, now no core dump required Tongue
Reply
Thanks given by:


Messages In This Thread
Catching Travis core dumps - by xoft - 10-01-2015, 11:51 PM
RE: Catching Travis core dumps - by NiLSPACE - 10-01-2015, 11:57 PM
RE: Catching Travis core dumps - by Seadragon91 - 10-02-2015, 12:38 AM
RE: Catching Travis core dumps - by bibo38 - 11-01-2015, 04:17 AM
RE: Catching Travis core dumps - by xoft - 11-01-2015, 07:46 AM
RE: Catching Travis core dumps - by Seadragon91 - 11-01-2015, 05:10 PM
RE: Catching Travis core dumps - by Seadragon91 - 11-01-2015, 07:16 PM
RE: Catching Travis core dumps - by xoft - 11-01-2015, 07:44 PM
RE: Catching Travis core dumps - by Seadragon91 - 11-01-2015, 08:01 PM
RE: Catching Travis core dumps - by Seadragon91 - 11-01-2015, 08:26 PM
RE: Catching Travis core dumps - by worktycho - 11-01-2015, 09:46 PM
RE: Catching Travis core dumps - by Seadragon91 - 11-01-2015, 09:48 PM
RE: Catching Travis core dumps - by Seadragon91 - 03-18-2017, 06:56 AM
RE: Catching Travis core dumps - by xoft - 03-19-2017, 06:22 AM



Users browsing this thread: 12 Guest(s)