Summary: | Debug WIndow aborts when hovering over a variable when debugging bash | ||
---|---|---|---|
Product: | frysk | Reporter: | Rick Moseley <rmoseley> |
Component: | general | Assignee: | Unassigned <frysk-bugzilla> |
Status: | ASSIGNED --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | |||
Bug Blocks: | 1633, 3620 |
Description
Rick Moseley
2007-08-13 19:01:22 UTC
fhpd seems to have the same problem. So this basically eliminates any UI code or Java-Gnome. To reproduce, bring up fhpd and attach it to a bash shell(bash-debuginfo should be installed of course). Do a "down 13" and then a "examine subshell_environment". Here is what I get when I run this sequence: ./build/frysk-core/frysk/bindir/fhpd 9128 Attached to process 9128 (fhpd) down 13 #13 0x0805d7d0 in main () from /bin/bash (fhpd) examine subshell_environment procs 1 tasks 1 Aborted (core dumped) In the above sequence I have set "ulimit -c unlimited" set before I run fhpd. When trying to look at the core file with fstack I get the following error which I will file in another bug: ./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) gdb core.18293 GNU gdb Red Hat Linux (6.6-15.fc7rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"... "/home/rmoseley/frysk-cvs/core.18293": not in executable format: File format not recognized |