Bug 2356

Summary: During a bash fork() stress test, frysk throws: did not handle PerformRemoval exception
Product: frysk Reporter: Phil Muldoon <pmuldoon>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1553    
Attachments: spam

Description Phil Muldoon 2006-02-19 17:17:22 UTC
Attach to a bash shell
Add Fork observer

type:

try this: n=0 ; while test $n -lt 500 ; do ls & n=`expr $n + 1` ; done

Sometimes the following exception is thrown:

Frysk Core has reported the following errors

Linux{frysk.proc.LinuxTask@729b5f0,id={TaskId,11454},state=running} in state
"running" did not handle PerformRemoval

_ZN4java4lang11VMThrowable16fillInStackTraceEPNS0_9ThrowableE (/usr/lib/libgcj.so.6)
_ZN4java4lang9Throwable16fillInStackTraceEv (/usr/lib/libgcj.so.6)
_ZN4java4lang9ThrowableC1EPNS0_6StringE (/usr/lib/libgcj.so.6)
_ZN4java4lang9ExceptionC1EPNS0_6StringE (/usr/lib/libgcj.so.6)
_ZN4java4lang16RuntimeExceptionC1EPNS0_6StringE (/usr/lib/libgcj.so.6)
0x080ee22d (Unknown Source)
0x080f2c89 (Unknown Source)
0x080ee9eb (Unknown Source)
0x080f3f40 (Unknown Source)
0x080f414a (Unknown Source)
0x080bb202 (Unknown Source)
_ZN4java4lang6Thread3runEv (/usr/lib/libgcj.so.6)
_Z13_Jv_ThreadRunPN4java4lang6ThreadE (/usr/lib/libgcj.so.6)
0x03f913ca (Unknown Source)
GC_start_routine (/usr/lib/libgcj.so.6)
0x00b1c371 (Unknown Source)
__clone (/lib/tls/libc.so.6)
Comment 1 Mark Wielaard 2007-02-02 13:09:24 UTC
This still happens although the exception has changed:
{frysk.proc.LinuxPtraceTask@2fb0230,pid=4132,tid=4132,state=detached} in state
"detached" did not handle handleStoppedEvent

java.lang.RuntimeException:
{frysk.proc.LinuxPtraceTask@2fb0230,pid=4132,tid=4132,state=detached} in state
"detached" did not handle handleStoppedEvent
   at frysk.proc.State.unhandled(FryskGui)
   at frysk.proc.TaskState.handleStoppedEvent(FryskGui)
   at frysk.proc.Task.processStoppedEvent(FryskGui)
   at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld$5.stopped(FryskGui)
   at frysk.sys.Wait.waitAllNoHang(FryskGui)
   at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld.execute(FryskGui)
   at frysk.event.EventLoop.runEventLoop(FryskGui)
   at frysk.event.EventLoop.run(FryskGui)
   at frysk.gui.Gui$4.run(FryskGui)
   at java.lang.Thread.run(libgcj.so.7rh)
Comment 2 SarahGindin 2007-05-06 17:36:39 UTC
Created attachment 1768 [details]
spam