Program observers, which follow fork -> exec children down the line, do not add the end child back to the session.
2006-08-16 <swagiaal@redhat.com> * SessionProcDataModel.java: handling was being added to itemAdded instead of itemRemoved as it is now part of fix for 3062.
This works in FC5 in fc6 however you get the following crash: (No exception message provided) frysk.proc.LinuxHost$PollWaitOnSigChld$2.stopped(FryskGui) frysk.sys.Wait.waitAllNoHang(FryskGui) frysk.proc.LinuxHost$PollWaitOnSigChld.execute(FryskGui) frysk.event.EventLoop.runEventLoop(FryskGui) frysk.event.EventLoop.run(FryskGui) frysk.gui.Gui$4.run(FryskGui) java.lang.Thread.run(libgcj.so.7rh) To reproduce: on a rawhide machin and cvs-head frysk 1 run frysk create a session with any process 2 go to a terminal and spawn a new instance of the program you have selected in the previous step*. * before doing step 2 go the the Observers menu item click on 'Program Observer...' make sure that the appropriet bash process corresponding to the terminal you will use to spawn the process is selected. At this point you will get a dialog with the above error in fc5 the process is just added to the treeview.
I'm not getting that failure (fc6t2), but I'm getting: frysk.gui.monitor.SessionProcDataModel@73d910: SessionProcDataModel.addProc() {frysk.proc.LinuxProc@7c88c0,pid=2219,state=detached} frysk.gui.monitor.SessionProcDataModel@73d910: SessionProcDataModel.addProc() {frysk.proc.LinuxProc@7c87d0,pid=16086,state=detached} java.lang.Exception: gtk_box_pack_start: assertion `child->parent == NULL' failed at org.gnu.glib.GObject.printStackTrace(libgtkjava-2.8.so)