Bug 1587 - attach to a sleeping process
Summary: attach to a sleeping process
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Nurdin Premji
URL:
Keywords:
Depends on:
Blocks: 1553 3265
  Show dependency treegraph
 
Reported: 2005-10-28 19:49 UTC by Andrew Cagney
Modified: 2006-11-27 18:13 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 Andrew Cagney 2005-10-28 19:49:50 UTC
A linux sleeping (suspended) process, when attached, does not generate a
wait-stopped event.  This can leave the state machine dangling.
Comment 1 Andrew Cagney 2006-11-22 16:41:32 UTC
State?
Comment 2 Nurdin Premji 2006-11-27 17:59:58 UTC
I'm not sure what the problem is here. I've tried fstack and FryskGui both on
evolution and they seem to work fine.
Comment 3 Nurdin Premji 2006-11-27 18:13:45 UTC
fixed
10-11-2006
frysk-core/frysk/proc
	* LinuxTask.java (sendAttach): Manually tell the thread that the process
	has been attached Fixes 3316.
	* TestProcStopped.java: Added license.
	(stopped): Added.
	(running): Ditto.
	(testStoppedDetached):
	(testStoppedAttached):
	(testRunningAckDaemon): 
	(testRunningDetached): 
	(testRunningAttached): Ditto.
	(testStoppedAckDaemon): Changed to use stopped.
	(MyTester): Changed to stop eventloop after an attach.