From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4266 invoked by alias); 14 Nov 2007 16:16:44 -0000 Received: (qmail 4045 invoked by uid 48); 14 Nov 2007 16:16:28 -0000 Date: Wed, 14 Nov 2007 16:16:00 -0000 Message-ID: <20071114161628.4044.qmail@sourceware.org> From: "mark at klomp dot org" To: frysk-bugzilla@sourceware.org In-Reply-To: <20071114161350.5327.mark@klomp.org> References: <20071114161350.5327.mark@klomp.org> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/5327] attaching fhpd to a running fhpd hangs X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00175.txt.bz2 List-Id: ------- Additional Comments From mark at klomp dot org 2007-11-14 16:16 ------- The fstack output in the description is from a x86_64 fedora 8 box (2.6.23.1-49.fc8). On a x86 fedora 8 box (2.6.23.1-49.fc8) the result of the fstack is: Task #28610 #0 0x00110402 in __kernel_vsyscall () from [vdso] #1 0x003715d5 in __pthread_cond_wait () from /lib/libpthread-2.7.so #2 0x04c27380 in _Jv_CondWait(_Jv_ConditionVariable_t*, _Jv_Mutex_t*, long long, int) () from /usr/lib/libgcj.so.8rh.0.0 #3 0x04c19b6e in void java::lang::Object::wait(long long, int) () from /usr/lib/libgcj.so.8rh.0.0 #4 0x04c27563 in void java::lang::Object::wait() () from /usr/lib/libgcj.so.8rh.0.0 #5 0x080e38d7 in void frysk::event::Request$Handler::request() () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #6 0x080e39a4 in void frysk::event::Request$Handler::access$1(frysk::event::Request$Handler*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #7 0x080e3792 in void frysk::event::Request::request() () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #8 0x08163584 in int frysk::proc::live::AddressSpaceByteBuffer$PeeksRequest::request(long long, JArray*, int, int) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #9 0x08163136 in int frysk::proc::live::AddressSpaceByteBuffer::peek(long long, JArray*, int, int) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #10 0x081181f2 in int frysk::proc::live::LogicalMemoryBuffer::peek(long long, JArray*, int, int) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #11 0x08173cfc in void inua::eio::ByteBuffer::peekFully(long long, JArray*, int, int) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #12 0x08174db2 in inua::eio::ByteBuffer* inua::eio::ByteBuffer::get(long long, JArray*, int, int) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #13 0x08174e82 in int inua::eio::ByteBuffer::safeGet(long long, JArray*, int, int) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #14 0x08198f54 in read_proc_memory(void*, void*, unsigned long long, unsigned int, unsigned int) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #15 0x084106fb in elf_from_remote_memory () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #16 0x08198ecf in dwfl_frysk_proc_find_elf(Dwfl_Module*, void**, char const*, unsigned long long, char**, Elf**) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #17 0x0840eb18 in find_file () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #18 0x0840ed63 in find_symtab () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #19 0x0840eeea in dwfl_module_getsymtab () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #20 0x081a4264 in hidden alias for void lib::dwfl::DwflModule::getSymbolByName(java::lang::String*, lib::dwfl::SymbolBuilder*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #21 0x08128847 in java::util::LinkedList* frysk::symtab::SymbolFactory::getSymbol(frysk::proc::Task*, java::lang::String*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #22 0x08122dc7 in void frysk::rt::BreakpointManager::manageProcess(frysk::proc::Proc*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #23 0x080c6d89 in void frysk::hpd::CLI::doAttach(frysk::proc::Proc*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #24 0x080e8a46 in void frysk::hpd::AttachCommand::interpret(frysk::hpd::CLI*, frysk::hpd::Input*, java::lang::Object*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #25 0x080efe17 in void frysk::hpd::ParameterizedCommand::interpret(frysk::hpd::CLI*, frysk::hpd::Input*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #26 0x080ef5a5 in void frysk::hpd::MultiLevelCommand::interpret(frysk::hpd::CLI*, frysk::hpd::Input*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #27 0x080c7163 in java::lang::String* frysk::hpd::CLI::execCommand(java::lang::String*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #28 0x080c67a0 in void frysk::bindir::fhpd::main(JArray*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #29 0x04c0b3d1 in void gnu::java::lang::MainThread::call_main() () from /usr/lib/libgcj.so.8rh.0.0 #30 0x04c84987 in void gnu::java::lang::MainThread::run() () from /usr/lib/libgcj.so.8rh.0.0 #31 0x04c1db63 in _Jv_ThreadRun(java::lang::Thread*) () from /usr/lib/libgcj.so.8rh.0.0 #32 0x04bc98ea in _Jv_RunMain(_Jv_VMInitArgs*, java::lang::Class*, char const*, int, char const**, bool) () from /usr/lib/libgcj.so.8rh.0.0 #33 0x04bc9aa4 in _Jv_RunMain(java::lang::Class*, char const*, int, char const**, bool) () from /usr/lib/libgcj.so.8rh.0.0 #34 0x04bc9b2b in JvRunMain () from /usr/lib/libgcj.so.8rh.0.0 #35 0x080c60e1 in main () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #36 0x001f1390 in __libc_start_main () from /lib/libc-2.7.so #37 0x080c5fe1 in void java::awt::Component::transferFocusUpCycle() () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd Task #28615 #0 0x00110402 in __kernel_vsyscall () from [vdso] #1 0x003715d5 in __pthread_cond_wait () from /lib/libpthread-2.7.so #2 0x04c27380 in _Jv_CondWait(_Jv_ConditionVariable_t*, _Jv_Mutex_t*, long long, int) () from /usr/lib/libgcj.so.8rh.0.0 #3 0x04c0aa3f in void gnu::gcj::runtime::FinalizerThread::run() () from /usr/lib/libgcj.so.8rh.0.0 #4 0x04c1db63 in _Jv_ThreadRun(java::lang::Thread*) () from /usr/lib/libgcj.so.8rh.0.0 #5 0x0984d350 in [unknown] from Unknown #6 0x0ac26ef4 in [unknown] from Unknown #7 0x0036d50b in start_thread () from /lib/libpthread-2.7.so #8 0x002aeb2e in __clone () from /lib/libc-2.7.so Task #28616 #0 0x00110402 in __kernel_vsyscall () from [vdso] #1 0x003715d5 in __pthread_cond_wait () from /lib/libpthread-2.7.so #2 0x04c27380 in _Jv_CondWait(_Jv_ConditionVariable_t*, _Jv_Mutex_t*, long long, int) () from /usr/lib/libgcj.so.8rh.0.0 #3 0x04c19639 in _Jv_MonitorEnter () from /usr/lib/libgcj.so.8rh.0.0 #4 0x08118016 in int frysk::proc::live::LogicalMemoryBuffer::peek(long long, JArray*, int, int) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #5 0x08173cfc in void inua::eio::ByteBuffer::peekFully(long long, JArray*, int, int) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #6 0x08174db2 in inua::eio::ByteBuffer* inua::eio::ByteBuffer::get(long long, JArray*, int, int) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #7 0x08163ca9 in int frysk::stack::LibunwindAddressSpace::accessMem(long long, JArray*, bool) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #8 0x0819fa08 in access_mem(unw_addr_space*, unsigned int, unsigned int*, int, void*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #9 0x0819ea86 in hidden alias for lib::unwind::ElfImage* lib::unwind::UnwindX86::createElfImageFromVDSO(lib::unwind::AddressSpace*, long long, long long, long long) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #10 0x081646f3 in lib::unwind::ElfImage* frysk::stack::LibunwindAddressSpace::getElfImage(long long) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #11 0x081641cb in lib::unwind::ProcInfo* frysk::stack::LibunwindAddressSpace::findProcInfo(long long, bool) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #12 0x0819ee83 in find_proc_info(unw_addr_space*, unsigned int, unw_proc_info*, int, void*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #13 0x0842be00 in fetch_proc_info () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #14 0x084284ed in _Ux86_get_proc_info () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #15 0x0819f664 in hidden alias for lib::unwind::ProcInfo* lib::unwind::UnwindX86::getProcInfo(gnu::gcj::RawDataManaged*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #16 0x0817fbfd in lib::unwind::ProcInfo* lib::unwind::Cursor::getProcInfo() () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #17 0x08164afc in long long frysk::stack::LibunwindFrame::getAddress() () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #18 0x08164bb0 in long long frysk::stack::LibunwindFrame::getAdjustedAddress() () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #19 0x08126f76 in long long frysk::stack::FrameDecorator::getAdjustedAddress() () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #20 0x080dc7bf in frysk::scopes::Scope* frysk::debuginfo::DebugInfoFrame::getScopes() () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #21 0x080de58b in frysk::debuginfo::DebugInfoFrame* frysk::debuginfo::DebugInfoStackFactory::createVirtualStackTrace(frysk::proc::Task*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #22 0x080c7d5c in void frysk::hpd::CLI$SteppingObserver::update(java::util::Observable*, java::lang::Object*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #23 0x0514ffc6 in void java::util::Observable::notifyObservers(java::lang::Object*) () from /usr/lib/libgcj.so.8rh.0.0 #24 0x080da28d in frysk::proc::Action* frysk::stepping::SteppingEngine$SteppingObserver::updateExecuted(frysk::proc::Task*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #25 0x080cf82a in void frysk::proc::Proc$14::add() () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #26 0x08113211 in frysk::proc::TaskState* frysk::proc::live::LinuxTaskState$Running::handleStoppedEvent(frysk::proc::Task*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #27 0x08111858 in void frysk::proc::live::LinuxTask::processStoppedEvent() () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #28 0x08117ad3 in void frysk::proc::live::LinuxWaitBuilder::stopped(int, int) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #29 0x08194972 in processStatus(int, int, frysk::sys::WaitBuilder*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #30 0x08194f20 in hidden alias for bool frysk::sys::Wait::wait(int, frysk::sys::WaitBuilder*, frysk::sys::SignalBuilder*, long long, bool) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #31 0x0817335c in bool frysk::sys::Wait::waitAll(long long, frysk::sys::WaitBuilder*, frysk::sys::SignalBuilder*) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #32 0x080e41f5 in void frysk::event::WaitEventLoop::block(long long) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #33 0x080e3001 in void frysk::event::EventLoop::runEventLoop(bool) () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #34 0x080e32ee in void frysk::event::EventLoop::run() () from /home/mark/src/git/frysk-obj/frysk-core/frysk/bindir/fhpd #35 0x04c1db63 in _Jv_ThreadRun(java::lang::Thread*) () from /usr/lib/libgcj.so.8rh.0.0 #36 0x0984d350 in [unknown] from Unknown #37 0x0ac26ef4 in [unknown] from Unknown #38 0x0036d50b in start_thread () from /lib/libpthread-2.7.so #39 0x002aeb2e in __clone () from /lib/libc-2.7.so -- http://sourceware.org/bugzilla/show_bug.cgi?id=5327 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.