Bug 5964 - race between Host.requestProc() and clone
Summary: race between Host.requestProc() and clone
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:
 
Reported: 2008-03-18 19:09 UTC by Andrew Cagney
Modified: 2008-10-21 21:40 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 2008-03-18 19:09:55 UTC
There's a race between LinuxPtraceHost's call to Proc.sendRefresh() (to add
assumed un-attached tasks) and LinuxWaitBuilder creating the same task because
it is a fresh attached clone.  The result is a core panic where the clone gets a
stopped event while in the "detached" state.

The fix is to just not do the refresh (but that will take some time as code is
still relying on being able to get a task list when a process isn't under
observation).