Bug 1475 - unhandled state during exec - running receives trap
Summary: unhandled state during exec - running receives trap
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Unassigned
Depends on:
Blocks: 1524 1586
  Show dependency treegraph
Reported: 2005-10-14 15:58 UTC by Sami Wagiaalla
Modified: 2006-11-28 16:43 UTC (History)
1 user (show)

See Also:
Last reconfirmed:

testcase (1.12 KB, text/plain)
2005-10-14 16:00 UTC, Sami Wagiaalla

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Wagiaalla 2005-10-14 15:58:55 UTC
attached is a modified frysk-core/prog/syscall/exec.c... that delays the exec
call a little bit.

run exec
attach to it in frysk.
right click on the main thread and add SyscallObserver
and wait for the exec call to occure. 

Exception in thread "Thread-2" java.lang.RuntimeException:
in state "running" did not handle PerformTrapped
   at frysk.proc.State.unhandled(java.lang.Object, java.lang.String)
   at frysk.proc.TaskState.processPerformTrapped(frysk.proc.Task)
   at frysk.proc.Task$12.execute()
   at .runEventLoop
   at frysk.event.EventLoop.run()
   at frysk.gui.FryskGui$3.run()
   at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
Comment 1 Sami Wagiaalla 2005-10-14 16:00:44 UTC
Created attachment 710 [details]

modified version of exec.c... calls exec after a delay