Re: Very strange problem - Eu bug?? (Eu 2.5)
- Posted by Al Getz <Xaxo at aol.com> Mar 01, 2006
- 699 views
Kat wrote: > > Robert Craig wrote: > > > People are always amazed when this type of thing occurs, > > but believe me, it's not that uncommon. It has happened to me, > > and it has happened to many other people on EUforum over the > > years. If your program is making decisions based on random > > garbage in memory, it can sometimes work with certain garbage, > > and crash or malfunction with other garbage. > > So the interpreter sees whitespace IN THE SOURCE CODE as something it should > translate to .il code as pointers to various undefined garbage?!? And then > attempt > to run it? What part of the Eu syntax is defined as "...and this > lack of keyword controls how whitespace is processed..."? It's not only > whitespace, it's done it to me before with a "--" added to a program to > comment out a trace(1) line. > > > Kat, > one of those who complained about this sort of bug before. Hi Kat, Nice to see you posting to the list again. I've had this problem with v2.4 and earlier, but ALWAYS traced it back to some memory location that was being poked that wasnt supposed to be changed. I figured it was poking in where the interp resides, and that's why i'd get a *totally* different error complaint from Eu each time i changed one iddie biddie thing in the source file, even if it had *absolutely* nothing to do with the program such as whitespace, comments (add a few extra "--" in a line that was already commented), strings inclosed in quotes ("hello" to "hello1"), etc. Once the mem problem was found and corrected the error always cleared up. I dont know for sure if this is the same with v2.5 but i'd be sure to double check how pointers are allocated, free'd, and used in my program if i got these kinds of errors. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"