From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24195 invoked by alias); 18 Dec 2006 19:40:09 -0000 Received: (qmail 23931 invoked by uid 48); 18 Dec 2006 19:39:55 -0000 Date: Mon, 18 Dec 2006 19:40:00 -0000 From: "mcvet at redhat dot com" To: frysk-bugzilla@sourceware.org Message-ID: <20061218193955.3753.mcvet@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/3753] New: sendRecIsa() isn't handling multiple Tasks properly 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: 2006-q4/txt/msg00730.txt.bz2 List-Id: 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.