| Summary: | unhandled state during exec - running receives trap | ||
|---|---|---|---|
| Product: | frysk | Reporter: | Sami Wagiaalla <swagiaal> |
| Component: | general | Assignee: | Unassigned <frysk-bugzilla> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | pmuldoon |
| Priority: | P1 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
| Bug Depends on: | |||
| Bug Blocks: | 1524, 1586 | ||
| Attachments: | testcase | ||
Created attachment 710 [details]
testcase
modified version of exec.c... calls exec after a delay
|
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: Linux{frysk.proc.LinuxTask@14ff450,id={TaskId,4165},proc={frysk.proc.LinuxProc@47531e0,id={ProcId,4165},state=running},state=running} in state "running" did not handle PerformTrapped at frysk.proc.State.unhandled(java.lang.Object, java.lang.String) (/to/scratch/swagiaal/frysk/frysk-gui/frysk/proc/State.java:70) at frysk.proc.TaskState.processPerformTrapped(frysk.proc.Task) (/to/scratch/swagiaal/frysk/frysk-gui/frysk/proc/TaskState.java:86) at frysk.proc.Task$12.execute() (/to/scratch/swagiaal/frysk/frysk-gui/frysk/proc/Task.java:340) at .runEventLoop (/to/scratch/swagiaal/frysk/frysk-gui/frysk/event/EventLoop.java:290) at frysk.event.EventLoop.run() (/to/scratch/swagiaal/frysk/frysk-gui/frysk/event/EventLoop.java:384) at frysk.gui.FryskGui$3.run() (/to/scratch/swagiaal/frysk/frysk-gui/frysk/gui/FryskGui.java:189) at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)