Bug 5386 - fhpd nexti command causes an NPE on corefile process
Summary: fhpd nexti command causes an NPE on corefile process
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 2246
  Show dependency treegraph
 
Reported: 2007-11-21 10:38 UTC by Phil Muldoon
Modified: 2007-11-21 10:38 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Muldoon 2007-11-21 10:38:26 UTC
The nexti command should not be even allowed to run on a corefile process, and
checks should be placed to check for proper usage. Current usage:

[pmuldoon@localhost frysk_bin]$ ./frysk-core/frysk/bindir/fhpd core.11108
Attached to core file: /home/pmuldoon/frysk_bin/core.11108

(fhpd) nexti
Internal Error: java.lang.NullPointerException
   at frysk.stepping.SteppingEngine.stepNextInstruction(fhpd)
   at frysk.hpd.StepNextiCommand.interpret(fhpd)
   at frysk.hpd.ParameterizedCommand.interpret(fhpd)
   at frysk.hpd.MultiLevelCommand.interpret(fhpd)
   at frysk.hpd.CLI.execCommand(fhpd)
   at frysk.bindir.fhpd.main(fhpd)