← Back to team overview

launchpad-dev team mailing list archive

Re: ec2 hangs - backtrace tool?

 

Sending to the list this time, sorry about that!

On 21/04/10 21:15, Max Bowsher wrote:
On 21/04/10 04:42, Tim Penhey wrote:
Hi people,

Today both mwhudson and I had hangs on ec2 where the windmill tests
appeared
to fail, and then the tests hung. The log files didn't contain
complete stack
traces, and when we shelled into the instances their load was zero,
and using
mwhudson's python stack queryer it seems it was just waiting for
connections.

Where does this rather useful sounding tool live? :-)

https://code.edge.launchpad.net/~mwhudson/+junk/pygdb

As the branch description says:

"Hacks to get python backtraces out of core files using some code i found under a rock to talk to gdb's "machine interface"."

It's a bit rough around the edges but it's probably useful. I should polish a bit and announce it somewhere I guess...

To use it, run "python backtrace.py $pid" or "python backtrace.py -c $core".

Cheers,
mwh



Follow ups

References