public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/3753] New: sendRecIsa() isn't handling multiple Tasks properly
@ 2006-12-18 19:40 mcvet at redhat dot com
2006-12-18 21:12 ` [Bug general/3753] " cagney at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: mcvet at redhat dot com @ 2006-12-18 19:40 UTC (permalink / raw)
To: frysk-bugzilla
LinuxPtraceTask:
protected Isa sendrecIsa () throws TaskException
{
logger.log(Level.FINE, "{0} sendrecIsa\n", this);
IsaFactory factory = IsaFactory.getFactory();
return factory.getIsa(id.id);
}
Eventually makes its way over to IsaFactory.java:
private Isa getIsa(int pid, Task task)
throws TaskException
{
Elf elfFile;
logger.log (Level.FINE, "{0} getIsa\n", this);
try
{
elfFile = new Elf(pid, ElfCommand.ELF_C_READ);
}
There is no concept of PID _and_ TID here. Thus, we're looking for /proc/TID/
exe which is incorrect.
--
Summary: sendRecIsa() isn't handling multiple Tasks properly
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: mcvet at redhat dot com
CC: cagney at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3753
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug general/3753] sendRecIsa() isn't handling multiple Tasks properly
2006-12-18 19:40 [Bug general/3753] New: sendRecIsa() isn't handling multiple Tasks properly mcvet at redhat dot com
@ 2006-12-18 21:12 ` cagney at redhat dot com
2006-12-18 21:44 ` mcvet at redhat dot com
2006-12-19 18:15 ` npremji at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: cagney at redhat dot com @ 2006-12-18 21:12 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From cagney at redhat dot com 2006-12-18 21:12 -------
This works using an undocumented compatibility feature:
while /proc/TID does not appear, an open of /proc/TID/exe will work.
I suspect pmuldoon may have also noticed this and filed a bug somewhere.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
http://sourceware.org/bugzilla/show_bug.cgi?id=3753
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug general/3753] sendRecIsa() isn't handling multiple Tasks properly
2006-12-18 19:40 [Bug general/3753] New: sendRecIsa() isn't handling multiple Tasks properly mcvet at redhat dot com
2006-12-18 21:12 ` [Bug general/3753] " cagney at redhat dot com
@ 2006-12-18 21:44 ` mcvet at redhat dot com
2006-12-19 18:15 ` npremji at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: mcvet at redhat dot com @ 2006-12-18 21:44 UTC (permalink / raw)
To: frysk-bugzilla
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |3755
http://sourceware.org/bugzilla/show_bug.cgi?id=3753
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug general/3753] sendRecIsa() isn't handling multiple Tasks properly
2006-12-18 19:40 [Bug general/3753] New: sendRecIsa() isn't handling multiple Tasks properly mcvet at redhat dot com
2006-12-18 21:12 ` [Bug general/3753] " cagney at redhat dot com
2006-12-18 21:44 ` mcvet at redhat dot com
@ 2006-12-19 18:15 ` npremji at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: npremji at redhat dot com @ 2006-12-19 18:15 UTC (permalink / raw)
To: frysk-bugzilla
--
Bug 3753 depends on bug 3755, which changed state.
Bug 3755 Summary: Force Task to sendRecIsa during attach rather than later on
http://sourceware.org/bugzilla/show_bug.cgi?id=3755
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=3753
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-12-19 18:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-18 19:40 [Bug general/3753] New: sendRecIsa() isn't handling multiple Tasks properly mcvet at redhat dot com
2006-12-18 21:12 ` [Bug general/3753] " cagney at redhat dot com
2006-12-18 21:44 ` mcvet at redhat dot com
2006-12-19 18:15 ` npremji at redhat dot com
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).