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
URL:
Keywords:
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:
Host:
Target:
Build:
Last reconfirmed:


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

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:
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)
Comment 1 Sami Wagiaalla 2005-10-14 16:00:44 UTC
Created attachment 710 [details]
testcase

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