> From: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> Date: Thu, 13 Nov 2008 15:21:52 -0800
> Subject: Re: [antlr-interest] [Bug] Antlr C code memory leak in Antlr 3.1.1
> 
> On Thu, 2008-11-13 at 03:31 +0000, [EMAIL PROTECTED] wrote:
>> Hi Jim,
>> 
>> I have found the problem,
>> 
>> In the code of PLSQLpredigestParser.c:51987 , I find the new memory didn't 
>> free when meet 
>> (
>> if (BACKTRACKING>0)
>> {
>> FAILEDFLAG = ANTLR3_TRUE; 
>> return retval;
>> }
>> )
> 
> At face value, then I woudl say that there is a template error that
> means somethign is being allocated in backtrack mode when it should not
> be. I have your code, so I should be able to track it down.
> 
> Sorry for the sparadic replies, but I have ben rebuilding machines,
> setting up Hudson builds of ANTLR and all sorts of things that have got
> in the way of me being useful ;-) Actually, I have been useful at
> swearing a lot at 64 bit Linux distributions; the idea that Linux will
> any time soon replce Windows as a desktop is laughable right now ;-)
> 
> 
> Jim
> 

Hi Jim,

Actually, I use gdb to trace and find when meet (if (BACKTRACKING>0) FAILEDFLAG 
= ANTLR3_TRUE; return retval;), it will not add the memory to the garbage 
vector.
 
But more, I will know the reason.
 
Waitting for your message and thanks you a lot.
 
BTW, I agree with you, more and more OS are Linux, including me:)
 
 
Thanks.
 
Best Regards
Winfly Lin
 
 
 
 
 
> 
 
 

> 
> List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
> Unsubscribe: 
> http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address
> 
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to