|
From: Rob V. <rv...@do...> - 2012-08-23 19:10:35
|
Hi Matthias
Sorry for the inconvenience, this bug was caused by a bug in the parent
class GraphCollection that was introduced accidentally in a recent refactor
of that class.
This has now been fixed in Trunk as of revision 2376
Regards,
Rob Vesse
From: "Schwalbe Matthias (SQAS 1)" <mat...@cr...>
Reply-To: dotNetRDF Bug Report tracking and resolution
<dot...@li...>
Date: Thursday, August 23, 2012 6:35 AM
To: <dot...@li...>
Subject: [dotNetRDF-bugs] stack overflow in
VDS.RDF.PersistentGraphCollection.Contains(System.Uri graphUri)
> Hi,
>
> It appears that following code leads to a stack overflow:
>
> var provider = new FusekiConnector("some valid Fuseki store URL");
> var store = new PersistentTripleStore(provider);
> var graph = store.Graphs[graphs.SomeValidGraphUriWithinFusekiStore];
>
>
>
>
> dotNetRDF.DLL!VDS.RDF.PersistentGraphCollection.Contains(System.Uri graphUri)
> dotNetRDF.DLL!VDS.RDF.GraphCollection.Add(VDS.RDF.IGraph g, bool
> mergeIfExists)
> dotNetRDF.DLL!VDS.RDF.PersistentGraphCollection.Contains(System.Uri graphUri)
> dotNetRDF.DLL!VDS.RDF.GraphCollection.Add(VDS.RDF.IGraph g, bool
> mergeIfExists)
> dotNetRDF.DLL!VDS.RDF.PersistentGraphCollection.Contains(System.Uri graphUri)
> dotNetRDF.DLL!VDS.RDF.GraphCollection.Add(VDS.RDF.IGraph g, bool
> mergeIfExists)
> dotNetRDF.DLL!VDS.RDF.PersistentGraphCollection.Contains(System.Uri graphUri)
> dotNetRDF.DLL!VDS.RDF.PersistentGraphCollection.this[System.Uri].get(System.Ur
> i graphUri)
>
>
> VDS.RDF.PersistentGraphCollection.Contains(System.Uri graphUri) would
> probably, after loading it, add the loaded
> graph to the directly to the dictionary instead of by means of
> VDS.RDF.GraphCollection.Add(VDS.RDF.IGraph g, bool mergeIfExists).
>
> Thanks
>
>
> Matthias Schwalbe
> CREDIT SUISSE AG
> CREDIT SUISSE | IT Services, SQAS 1
> Uetlibergstr. 231 (A/B+ZN) | 8070 Zürich | Switzerland
> Phone +41 44 333 86 10
> mat...@cr...
> <mailto:mat...@cr...> | www.credit-suisse.com
> <http://www.credit-suisse.com>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference Exclusive live event will cover all the ways
> today's security and threat landscape has changed and how IT managers can
> respond. Discussions will include endpoint security, mobile security and the
> latest in malware threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_____________________
> __________________________ dotNetRDF-bugs mailing list
> dot...@li...
> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-bugs
|