Re: Long start-up time of a program with include std/
- Posted by mattlewis (admin) Mar 02, 2012
- 2281 views
A couple of times I've had programs persistently crash on start up giving an error that doesn't make sense (like crashing on a constant declaration) and "fixed" it just by entering a do-nothing line like "constant dummyvar = 1". I had to do this with one of the standard includes.
If you come across this again, or can still reproduce the crash, please try using either eu.ex or int.ex to interpret the program. This should result in a standard euphoria error message when it happens, rather than the translated C code crashing. Then make sure you write a ticket with the results.
I've also observed memory leaks and eu programs corrupting the console after they've been run. Often times a program will freeze on a crash. All of my programs are console-based Windows programs. Have any memory bugs been fixed in the current development versions?
I think that a few things that could have caused memory leaks have been cleaned up, in particular some cases where we weren't properly disposing of temps. It's possible that there were others, but I'm just going by memory.
Can you be more specific as to how the console was corrupted?
Matt