Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # dev >> Memory leak in resolved-writer.c in Avro C, with patch


Copy link to this message
-
RE: Memory leak in resolved-writer.c in Avro C, with patch
Hi Doug -

I opened AVRO-930 in JIRA for this issue. I uploaded my patch over the
weekend, and then realized that you probably wanted my test case as
well. I have uploaded my test case showing the problem in valgrind to
JIRA as well.

Please let me know if there is anything else you need from me to commit
this change.

Cheers,
Vivek

-----Original Message-----
From: Douglas Creager [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 15, 2011 7:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Memory leak in resolved-writer.c in Avro C, with patch

> I was able to isolate a memory leak in the new schema resolver
> (resolved-writer.c) in Avro C on the avro-trunk (v1.6.0), in which the
> code attempts to access and free memory that has already been freed. I
> was able to fix it with a simple patch. What is the best way to
proceed?

Hi Vivek,

Thanks for finding this!  Can you open up a JIRA ticket for it, and
upload the patch as a file?  That will make it easier for me to apply
locally and test.

thanks
-doug