public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
From: "mark at klomp dot org" <sourceware-bugzilla@sourceware.org>
To: frysk-bugzilla@sourceware.org
Subject: [Bug general/5327] attaching fhpd to a running fhpd hangs
Date: Wed, 14 Nov 2007 16:16:00 -0000	[thread overview]
Message-ID: <20071114161628.4044.qmail@sourceware.org> (raw)
In-Reply-To: <20071114161350.5327.mark@klomp.org>


------- 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<char>*, 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<char>*, 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<char>*, 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<char>*, 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<char>*, 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<char>*,
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<java::lang::String*>*)
() 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<char>*, 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<char>*,
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<char>*, 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<char>*, 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.


  reply	other threads:[~2007-11-14 16:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-14 16:13 [Bug general/5327] New: " mark at klomp dot org
2007-11-14 16:16 ` mark at klomp dot org [this message]
2007-11-20 18:58 ` [Bug general/5327] " mark at klomp dot org
2007-11-21 13:13 ` mark at klomp dot org
2007-11-21 21:17 ` cagney at redhat dot com
2007-11-26 18:02 ` swagiaal at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071114161628.4044.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=frysk-bugzilla@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).