Bug 6605 - run tries to kill a pid loaded by the core command
Summary: run tries to kill a pid loaded by the core command
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Rick Moseley
URL:
Keywords:
Depends on:
Blocks: 2246
  Show dependency treegraph
 
Reported: 2008-06-06 20:13 UTC by Rick Moseley
Modified: 2008-06-10 17:20 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 Rick Moseley 2008-06-06 20:13:14 UTC
When a "core" command is issued followed by a "run" command, a "kill" is done on
the PID in the proc, which the PID of the process when it was core-dumped.  Not
a nice thing if there happens to be a currently-running process with that PID.

(fhpd) core core.6612
Attached to core file: core.6612
(fhpd) run
LoadCommand:load setting frame
Killing process 6612 that was created from
/home/rmoseley/frysk-git3/build/frysk-core/frysk/pkglibdir/funit-parameters
[1.0] Loaded executable file:
/home/rmoseley/frysk-git3/build/frysk-core/frysk/pkglibdir/funit-parameters
running with this command:
/home/rmoseley/frysk-git3/build/frysk-core/frysk/pkglibdir/funit-parameters 123
Attached to process 7978
Running process 7978
(fhpd) Task 7978 is exiting with status 0
Comment 1 Rick Moseley 2008-06-10 17:20:59 UTC
Fixed in HEAD.