Re: Re[2]: Prothon bug: strange interaction between selfandadd_
"Mark Hahn" <[email protected]> Thu, 20 May 2004 00:51:59 -0700
| Newsgroups | gmane.comp.lang.prothon.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm making steady but slow progress. The Mod8Int Prototype object data in memory is getting replaced with the data from a totally different object. This would not seem unusual if it was fresh data from a new object. I've seen this before when the space was being reclaimed accidently. The weird thing in this case is the data is from a random old object dating back to the startup of the interpreter and it's a different object each test run. I can't think of any mechanism in the garbage collector that would copy an old object over a new object. No copying happens at all in the garbage collector. These hard bugs will seem to have impossible symptoms until I find out the cause, and then it will be obvious and I'll go "why didn't I think of that"? Oh well, off to sleep. I'll attack it with a fresh mind in the morning. I see you went ahead and published working code. I assumed you ran it without the garbage collector. You should be able to run it for a long time before filling up memory. I have a tons of memory leaks in Prothon now anyway. It may not make much difference :-)