Summary: | fork observer fails with handleUnblock not handled in state detached | ||
---|---|---|---|
Product: | frysk | Reporter: | Stan Cox <scox> |
Component: | general | Assignee: | Andrew Cagney <cagney> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Stan Cox
2006-05-10 21:42:01 UTC
This seems to fix the symptoms in FryskGui (not committed/no core test yet): @@ -191,6 +191,13 @@ class TaskState task.sendAttach (); return attaching; } + TaskState handleUnblock (Task task, + TaskObserver observer) + { + logger.log (Level.FINE, "{0} handleUnblock\n", task); + return detached; + } }; /** FYI, something else is likely wrong. I don't think the GUI code would deliberatly unblock a detached task - such a task, by definition, has no observers so could never be blocked. A modification of that patch so that it notifies that the operation failed (call observer.addFailed is a little screwie but probably ok) would make sense. |