Bug 3633

Summary: fstack hangs on funit-child; for frysk.proc.TestProcStopped
Product: frysk Reporter: Chris Moller <cmoller>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2244    

Description Chris Moller 2006-12-04 16:17:32 UTC
After running 

    ./TestRunner -r 10 frysk.proc.TestProcStopped 

in one xterm until it hangs, 

    fstack `pgrep funit-child` 

run from a second xterm also hangs, and stays hung even after TestRunner times
out.  Ctrl-C kills it.
Comment 1 Sami Wagiaalla 2007-09-13 15:38:43 UTC
pstack `pgrep funit-slave
returns nothing.

fstack `pgrep funit-slave`
hangs

fstack 'pgrep fstack'
returns this:
$$ fstack `pgrep fstack`
Task #13895
#0 0x0000003a810ca462 in __GI___select () from /lib64/libc-2.6.so
#1 0x0000000000512a33 in void frysk::sys::Wait::wait(int,
frysk::sys::WaitBuilder*, frysk::sys::SignalBuilder*, long long) () from
/usr/local/bin/fstack
#2 0x00000000005060fd in void frysk::sys::Wait::waitAll(long long,
frysk::sys::WaitBuilder*, frysk::sys::SignalBuilder*) () from /usr/local/bin/fstack
#3 0x00000000004a0ec3 in void frysk::event::WaitEventLoop::block(long long) ()
from /usr/local/bin/fstack
#4 0x00000000004a009b in void frysk::event::EventLoop::runEventLoop(bool) ()
from /usr/local/bin/fstack
#5 0x00000000004a033b in void frysk::event::EventLoop::run() () from
/usr/local/bin/fstack
#6 0x000000000049ed54 in void
frysk::bindir::fstack::stackPid(frysk::proc::ProcId*) () from /usr/local/bin/fstack
#7 0x000000000049ef02 in void
frysk::bindir::fstack::access$2(frysk::proc::ProcId*) () from /usr/local/bin/fstack
#8 0x000000000049e8e1 in void
frysk::bindir::fstack$2::parsePids(JArray<frysk::proc::ProcId*>*) () from
/usr/local/bin/fstack
#9 0x00000000004a7aeb in JArray<java::lang::String*>*
frysk::util::CommandlineParser::doParse(JArray<java::lang::String*>*) () from
/usr/local/bin/fstack
#10 0x00000000004a78d9 in JArray<java::lang::String*>*
frysk::util::CommandlineParser::parse(JArray<java::lang::String*>*) () from
/usr/local/bin/fstack
#11 0x000000000049eeae in void
frysk::bindir::fstack::main(JArray<java::lang::String*>*) () from
/usr/local/bin/fstack
#12 0x0000003a839cce32 in hidden alias for void
gnu::java::lang::MainThread::call_main() () from /usr/lib64/libgcj.so.8rh.0.0
#13 0x0000003a839dd5af in _Jv_ThreadRun(java::lang::Thread*) () from
/usr/lib64/libgcj.so.8rh.0.0
#14 0x0000003a8399ba5d in _Jv_RunMain(_Jv_VMInitArgs*, java::lang::Class*, char
const*, int, char const**, bool) () from /usr/lib64/libgcj.so.8rh.0.0
#15 0x000000000049e703 in main () from /usr/local/bin/fstack
#16 0x0000003a8101dab4 in __libc_start_main () from /lib64/libc-2.6.so
#17 0x000000000049e629 in void java::awt::Component::transferFocusUpCycle() ()
from /usr/local/bin/fstack
Task #13896
#0 0x0000003a8200a486 in __pthread_cond_wait () from /lib64/libpthread-2.6.so
#1 0x0000003a839e56b0 in _Jv_CondWait(_Jv_ConditionVariable_t*, _Jv_Mutex_t*,
long long, int) () from /usr/lib64/libgcj.so.8rh.0.0
#2 0x0000003a839cc591 in hidden alias for void
gnu::gcj::runtime::FinalizerThread::run() () from /usr/lib64/libgcj.so.8rh.0.0
#3 0x0000003a839dd5af in _Jv_ThreadRun(java::lang::Thread*) () from
/usr/lib64/libgcj.so.8rh.0.0
#4 0x0000003a839e4ef7 in really_start(void*) () from /usr/lib64/libgcj.so.8rh.0.0
#5 0x0000003a84276126 in GC_start_routine () from /usr/lib64/libgcj.so.8rh.0.0
#6 0x0000003a820062f7 in start_thread () from /lib64/libpthread-2.6.so
#7 0x0000003a810d0fbd in clone () from /lib64/libc-2.6.so