[redland] Redland giving seg fault in a loop.

Dave Beckett dave.beckett at bristol.ac.uk
Mon Oct 29 11:24:29 GMT 2001


>>>Dave Beckett said:
> For the moment, you will have to move the librdf_new_world,
> librdf_free_world calls to somewhere that are called once only while
> I investigate; but it looks like something at will take a little while.

On the other hand, it might be a one line fix :)

----------------------------------------------------------------------
diff -c -r1.24 rdf_storage.c
***************
*** 99,104 ****
--- 100,106 ----
      LIBRDF_FREE(librdf_storage_factory, factory->name);
      LIBRDF_FREE(librdf_storage_factory, factory);
    }
+   storages=NULL;
  }
  
  
----------------------------------------------------------------------

Makes the 100 library startup/shutdowns work OK.

Dave






More information about the redland-dev mailing list