Bug 2131 - testAttachDetachRapidlyCloningMainTask(frysk.proc.TestTaskObserver) ...ERROR on rhel-4
Summary: testAttachDetachRapidlyCloningMainTask(frysk.proc.TestTaskObserver) ...ERROR ...
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on: 2136
Blocks: 1553 2004
  Show dependency treegraph
 
Reported: 2006-01-09 20:41 UTC by Andrew Cagney
Modified: 2006-01-10 23:10 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 2006-01-09 20:41:55 UTC
1)
testAttachDetachRapidlyCloningMainTask(frysk.proc.TestTaskObserver)java.lang.RuntimeException:
Linux{frysk.proc.LinuxTask@b2c410,id={TaskId,6658},state=attaching} in state
"attaching" did not handle PerformTerminated
   at frysk.proc.State.unhandled(java.lang.Object, java.lang.String)
(/home/cagney/frysk/frysk-core/frysk/proc/State.java:70)
   at frysk.proc.TaskState.processPerformTerminated(frysk.proc.Task, boolean,
int) (/home/cagney/frysk/frysk-core/frysk/proc/TaskState.java:118)
   at frysk.proc.Task$17.execute()
(/home/cagney/frysk/frysk-core/frysk/proc/Task.java:463)
   at frysk.event.EventLoop.runEventLoop(boolean)
(/home/cagney/frysk/frysk-core/frysk/event/EventLoop.java:311)
   at frysk.event.EventLoop.runPolling(long)
(/home/cagney/frysk/frysk-core/frysk/event/EventLoop.java:396)
   at frysk.proc.TestLib.assertRunUntilStop(java.lang.String)
(/home/cagney/frysk/frysk-core/frysk/proc/TestLib.java:77)
   at frysk.proc.TestTaskObserver.attach(frysk.proc.Task[])
(/home/cagney/frysk/frysk-core/frysk/proc/TestTaskObserver.java:184)
   at frysk.proc.TestTaskObserver.testAttachDetachRapidlyCloningMainTask()
(/home/cagney/frysk/frysk-core/frysk/proc/TestTaskObserver.java:532)
   at TestRunner.main(java.lang.String[])
(/home/cagney/native/frysk-core/TestRunner.java:140)
   at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Comment 1 Andrew Cagney 2006-01-10 23:10:37 UTC
Index: frysk-core/frysk/proc/ChangeLog
2006-01-10  Andrew Cagney  <cagney@redhat.com>

        * TestTaskObserver.java (attach(Task)): Refactor, creating ...
        (attach(Task,AttachedObserver): New function.
        (testAttachDetachRapidlyCloningMainTask): Add local
        AttachedObserver object that allows failure.
        * ProcState.java: In .Detaching state, handle
        processPerformDeleteObservation; always fail it.