← Back to team overview

launchpad-dev team mailing list archive

Re: Hung test process

 

On 28/04/10 01:10, Max Bowsher wrote:
On 27/04/10 13:44, Gavin Panella wrote:
I have a hung test process on my local machine.

Command: bin/test -vvct 'check-?watch|bug-?watch|bug-?track'
Michael Hudson Trace: http://pastebin.ubuntu.com/423333/

"Michael Hudson Trace", heh heh.

Judging by the presence of spawn_layer_in_subprocess and the general
appearance of the stacks to be that of waiting on stdio, I'd suggest
that this process is just waiting for communications from the subprocess?

GDB Trace: http://pastebin.ubuntu.com/423334/

Only for the main thread - remember to do 'thread apply all backtrace'
(or 'thr a a bt').

In gdb, pystack and pystackv never completed (they hung too).

I've never got these to work, either. I'd be interested to know if they
ever work.

They work with a debug build of 2.5 or a release build of 2.4, but they won't work with a release build of 2.5[1]. This is why I wrote the backtrace.py tool!

Cheers,
mwh


[1] IIRC too much code gets inlined for the macros to find a particular
    function by address comparisons of other functions.  Or something
    like that.



References