public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
From: "swagiaal at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: frysk-bugzilla@sourceware.org
Subject: [Bug general/5863] ferror does not follow /usr/bin/firefox: Error: invalid `Elf' handle
Date: Tue, 04 Mar 2008 17:30:00 -0000	[thread overview]
Message-ID: <20080304173017.23727.qmail@sourceware.org> (raw)
In-Reply-To: <20080304150257.5863.swagiaal@redhat.com>


------- 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.<init>(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.<init>(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.


  parent reply	other threads:[~2008-03-04 17:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 15:03 [Bug general/5863] New: " swagiaal at redhat dot com
2008-03-04 16:19 ` [Bug general/5863] " fche at redhat dot com
2008-03-04 17:30 ` swagiaal at redhat dot com [this message]
2008-03-05 15:14 ` 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=20080304173017.23727.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).