Crashed while saving : file emptied
Brought to you by:
carlburch
like described in report #3083173: after working on a huge project for many days I saved the circuit. Logisim closed without any warning and also JDK Runtime reported no problems. The File however is now 0 bytes big.
As you closed the mentioned bug report with the same issue I'll try to give you all the detail I can:
logisim version 2.6.1.
OpenJDK Java 6 Runtime on ubuntu 10.04
As there was no visible error I am afraid I can't provide any more information..
Ok, thanks for the details. This report is a lot more credible, and I'll see about doing something about it. It sounds like you lost quite a bit of work, and I regret that happening to you.
I had the exact same experience with saving a file; no error message and an examination of the file showing zero length (empty).
This occured only once prior to 2.6.1 when I first discovered and reported a ROM implementation bug. I have not been able to reproduce it, nor can I identify any specific conditions, events, or sequences that triggered it.
Fortunately, I work with Subversion and check-in changes as I develop, so I did not lose a large amount of work.
Thanks again for the error report. Version 2.7.0, just released, addresses this bug. While I don't have enough information to replicate and debug the actual problem, this new version at least defers deleting the old file until it has saved the new file and confirmed that it is more than 0 bytes big - and to display a dialog box saying that the file wasn't actually saved.