Summary: | testBacktrace(frysk.debuginfo.TestDebugInfoStackTrace)frysk.sys.Errno$Eio: ptrace: Input/output error (op 0x2 (PTRACE_PEEKDATA), pid 16287, addr 0xfffffffffffffff8, data 0x0) | ||
---|---|---|---|
Product: | frysk | Reporter: | Andrew Cagney <cagney> |
Component: | general | Assignee: | Andrew Cagney <cagney> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cagney |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | 6665 | ||
Bug Blocks: | 6675 |
Description
Andrew Cagney
2008-06-20 13:11:35 UTC
The problem was an incorrect implementation of JNIXX catch code in the unwinder - wasn't actually catching anything. commit 75e76209d2bde38c31b45978fcda6aa863547aeb Author: Andrew Cagney <cagney@redhat.com> Date: Fri Jun 20 15:21:02 2008 -0400 Throw/catch UserExceptions, not RuntimeExceptions in unwinder. This first gets the stack code catching just user (i.e., not bad frysk code) exceptions; and secondly, for jni, gets it catching them correctly. frysk-core/frysk/proc/dead/ChangeLog 2008-06-20 Andrew Cagney <cagney@redhat.com> * CorefileByteBuffer.java: Throw UserException, not RuntimeException. frysk-sys/lib/unwind/ChangeLog 2008-06-20 Andrew Cagney <cagney@redhat.com> * jni/UnwindH.hxx (access_mem): Catch Throwable and then use instanceof to identify a UserException. * cni/UnwindH.hxx (access_mem): Ditto. |