In Frysk Startup Manager, if you click the "copy" for many times(maybe more than 30 times?), you will get file name too long exception like the following: java.io.FileNotFoundException: /home/zhengyong/.frysk/Sessions/FryskSessionCopyException_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy)_(copy) (File name too long) at gnu.java.nio.channels.FileChannelImpl.open(libgcj.so.7) at gnu.java.nio.channels.FileChannelImpl.<init>(libgcj.so.7) at java.io.FileOutputStream.<init>(libgcj.so.7) at java.io.FileOutputStream.<init>(libgcj.so.7) at java.io.FileOutputStream.<init>(libgcj.so.7) at java.io.FileWriter.<init>(libgcj.so.7) at frysk.gui.monitor.ObjectFactory.exportNode(FryskGui) at frysk.gui.sessions.SessionManager.save(FryskGui) at frysk.gui.SessionManagerGui$8.buttonEvent(FryskGui) at org.gnu.gtk.Button.fireButtonEvent(libgtkjava-2.8.so) at org.gnu.gtk.Button.handleClick(libgtkjava-2.8.so) at org.gnu.gtk.Gtk.gtk_main(libgtkjava-2.8.so) at frysk.gui.Gui.gui(FryskGui) at frysk.gui.FryskGui.main(FryskGui) The bug is not so bad but maybe frysk should give user some notification(by one message box?)but not just print the exception info in the background. One dogtail script is written to reproduce this bug. Before running the dogtail script, please run the loop.c first. And before you run the dogtail script, you should modify the frysk's path and loop program's path in the script according to your local environment. See the attach.
Created attachment 1376 [details] the dogtail script to reproduce the bug
Created attachment 1377 [details] The debuggee for the dogtail script
Just FYI, It should realise that it's copying a copy and start using "(copy 2)", et.al.