public inbox for frysk-bugzilla@sourceware.org help / color / mirror / Atom feed
* [Bug general/4926] New: fstack aborts with ArrayOutOfBounds when debugging fhpd core file @ 2007-08-15 14:21 rmoseley at redhat dot com 2007-08-15 16:15 ` [Bug general/4926] " swagiaal at redhat dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: rmoseley at redhat dot com @ 2007-08-15 14:21 UTC (permalink / raw) To: frysk-bugzilla This is an outfall of bz #4920 where I try to debug bash and examine a variable in the (main). Once the core file is dumped I try to look at the core file with fstack and it aborts like this: ./build/frysk-core/frysk/bindir/fstack -a core.18293 Task #18293 #0 0x00110402 in __kernel_vsyscall () from Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at frysk.debuginfo.DebugInfoFrame.getSubprogram(DebugInfoFrame.java:81) at frysk.debuginfo.DebugInfoStackFactory.printStackTrace(DebugInfoStackFactory.java:143) at frysk.debuginfo.DebugInfoStackFactory.printTaskStackTrace(DebugInfoStackFactory.java:120) at frysk.util.StacktraceAction.printTasks(StacktraceAction.java:158) at frysk.util.StacktraceAction.allExistingTasksCompleted(StacktraceAction.java:205) at frysk.proc.ProcCoreAction.<init>(ProcCoreAction.java:60) at frysk.bindir.fstack.stackCore(fstack.java:145) at frysk.bindir.fstack.access$1(fstack.java:140) at frysk.bindir.fstack$2.parseCores(fstack.java:165) at frysk.util.CommandlineParser.doParse(CommandlineParser.java:169) at frysk.util.CommandlineParser.parse(CommandlineParser.java:109) at frysk.bindir.fstack.main(fstack.java:257) -- Summary: fstack aborts with ArrayOutOfBounds when debugging fhpd core file Product: frysk Version: unspecified Status: NEW Severity: normal Priority: P2 Component: general AssignedTo: frysk-bugzilla at sourceware dot org ReportedBy: rmoseley at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=4926 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug general/4926] fstack aborts with ArrayOutOfBounds when debugging fhpd core file 2007-08-15 14:21 [Bug general/4926] New: fstack aborts with ArrayOutOfBounds when debugging fhpd core file rmoseley at redhat dot com @ 2007-08-15 16:15 ` swagiaal at redhat dot com 2007-08-15 16:39 ` pmuldoon at redhat dot com 2007-08-15 16:42 ` pmuldoon at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: swagiaal at redhat dot com @ 2007-08-15 16:15 UTC (permalink / raw) To: frysk-bugzilla ------- Additional Comments From swagiaal at redhat dot com 2007-08-15 16:14 ------- I cant reproduce this but i know that the problem exists. Could you attach core file please. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED http://sourceware.org/bugzilla/show_bug.cgi?id=4926 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug general/4926] fstack aborts with ArrayOutOfBounds when debugging fhpd core file 2007-08-15 14:21 [Bug general/4926] New: fstack aborts with ArrayOutOfBounds when debugging fhpd core file rmoseley at redhat dot com 2007-08-15 16:15 ` [Bug general/4926] " swagiaal at redhat dot com @ 2007-08-15 16:39 ` pmuldoon at redhat dot com 2007-08-15 16:42 ` pmuldoon at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: pmuldoon at redhat dot com @ 2007-08-15 16:39 UTC (permalink / raw) To: frysk-bugzilla ------- Additional Comments From pmuldoon at redhat dot com 2007-08-15 16:38 ------- Attaching the corefile won't work, without corresponding exe and solibs that match it. This might be an issue of automatic exe locaiton. Can you attach the output of: eu-readelf -n core.18293 -- http://sourceware.org/bugzilla/show_bug.cgi?id=4926 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug general/4926] fstack aborts with ArrayOutOfBounds when debugging fhpd core file 2007-08-15 14:21 [Bug general/4926] New: fstack aborts with ArrayOutOfBounds when debugging fhpd core file rmoseley at redhat dot com 2007-08-15 16:15 ` [Bug general/4926] " swagiaal at redhat dot com 2007-08-15 16:39 ` pmuldoon at redhat dot com @ 2007-08-15 16:42 ` pmuldoon at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: pmuldoon at redhat dot com @ 2007-08-15 16:42 UTC (permalink / raw) To: frysk-bugzilla ------- Additional Comments From pmuldoon at redhat dot com 2007-08-15 16:42 ------- Conextually however the should be "available scopes" safety check in this code: DwarfDie[] scopes = bias.die.getScopes(getAdjustedAddress()); for (int i = 0; i < scopes.length; i++) { if (scopes[i].getTag() == DwTagEncodings.DW_TAG_subprogram_) { subprogram = new Subprogram(scopes[i], debugInfo); break; } -- http://sourceware.org/bugzilla/show_bug.cgi?id=4926 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-08-15 16:42 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-08-15 14:21 [Bug general/4926] New: fstack aborts with ArrayOutOfBounds when debugging fhpd core file rmoseley at redhat dot com 2007-08-15 16:15 ` [Bug general/4926] " swagiaal at redhat dot com 2007-08-15 16:39 ` pmuldoon at redhat dot com 2007-08-15 16:42 ` pmuldoon at redhat dot com
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).