This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/3753] New: sendRecIsa() isn't handling multiple Tasks properly


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]