[redland-dev] redland in fedora core 4

Dave Beckett dave at dajobe.org
Fri Mar 3 23:55:10 GMT 2006


adasal wrote:
> Parsing URI (file) ../data/dc.rdf
> *** glibc detected *** perl: double free or corruption (!prev):

That's probably the bug I sent a patch to redland-dev around last week.
 Newer glibcs seem to detect more corruptions.

It tends to get mangled by email, but the context should be clear;
delete the fclose() line.

Dave

--- redland-1.0.2/librdf/rdf_parser_raptor.c.orig       26 Jan 2006
04:57:32 -0000      1.84
+++ redland-1.0.2/librdf/rdf_parser_raptor.c    19 Feb 2006 20:34:03 -0000
@@ -331,7 +331,6 @@
   }

   if(feof(context->fh) || status <1) {
-    fclose(context->fh);
     context->fh=NULL;
   }


More information about the redland-dev mailing list