From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23910 invoked by alias); 4 Mar 2008 17:30:59 -0000 Received: (qmail 23728 invoked by uid 48); 4 Mar 2008 17:30:17 -0000 Date: Tue, 04 Mar 2008 17:30:00 -0000 Message-ID: <20080304173017.23727.qmail@sourceware.org> From: "swagiaal at redhat dot com" To: frysk-bugzilla@sourceware.org In-Reply-To: <20080304150257.5863.swagiaal@redhat.com> References: <20080304150257.5863.swagiaal@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/5863] ferror does not follow /usr/bin/firefox: Error: invalid `Elf' handle 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: 2008-q1/txt/msg00440.txt.bz2 List-Id: ------- Additional Comments From swagiaal at redhat dot com 2008-03-04 17:30 ------- hmm i tried this: $ ferror -e "foo" -- /bin/sh /usr/bin/firefox Tracing 4376.4376 Tracing 4377.4377 Tracing 4378.4378 Tracing 4379.4379 Tracing 4380.4380 Tracing 4381.4381 Exception in thread "main" lib.dwfl.ElfFileException: open: Permission denied (file /proc/4381/exe) (errno 13) at lib.dwfl.Elf.getDescriptor(ferror) at lib.dwfl.Elf.(ferror) at frysk.isa.ElfMap.getISA(ferror) at frysk.proc.live.LinuxPtraceTask.initializeAttachedState(ferror) at frysk.proc.live.LinuxPtraceTask.notifyExeced(ferror) at frysk.proc.live.LinuxPtraceTaskState$Running.handleExecedEvent(ferror) at frysk.proc.live.LinuxPtraceTask.processExecedEvent(ferror) at frysk.proc.live.LinuxWaitBuilder.execEvent(ferror) at frysk.sys.Wait.wait(ferror) at frysk.sys.Wait.wait(ferror) at frysk.event.WaitEventLoop.block(ferror) at frysk.event.EventLoop.runEventLoop(ferror) at frysk.event.EventLoop.run(ferror) at frysk.util.ProcRunningUtil.start(ferror) at frysk.bindir.ferror.main(ferror) Caused by: frysk.sys.Errno: open: Permission denied (file /proc/4381/exe) (errno 13) at frysk.sys.FileDescriptor.open(ferror) at frysk.sys.FileDescriptor.(ferror) at lib.dwfl.Elf.getDescriptor(ferror) ...14 more -- http://sourceware.org/bugzilla/show_bug.cgi?id=5863 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.