<div dir="ltr">Paul, Any update to this bug? It sounded like you were working on a patch...<div><br></div><div>Stephen<br>
<br><br><div class="gmail_quote">On Mon, Aug 11, 2008 at 3:53 PM, Paul Ramsey <span dir="ltr"><<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
In retrospect, the problem was (surprise!) between my ears. The unit<br>
test harness runs in the context of a directory one lower than your<br>
test case directory. When I copied the test data down into the<br>
expected location, it ran, and failed.<br>
<br>
So, consider your test case confirmed on OS/X. It be broken. Now I'll<br>
try the patch.<br>
<font color="#888888"><br>
P.<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Mon, Aug 11, 2008 at 1:41 PM, Stephen Wong <<a href="mailto:swongu@gmail.com">swongu@gmail.com</a>> wrote:<br>
> Hi Paul,<br>
> Thanks for the quick response. I just ran the test again (Windows Vista,<br>
> 32-bit) and it doesn't get stuck on reading the WKB, so maybe it has to do<br>
> with cross-platform compatibility. I took the WKB and converted it to hex,<br>
> so hopefully, it will work this time. I've attached it to the ticket<br>
> (<a href="http://trac.osgeo.org/geos/ticket/188" target="_blank">http://trac.osgeo.org/geos/ticket/188</a>). The file I/O operations in the .cpp<br>
> file now look like this:<br>
> std::ifstream fin ;<br>
> fin.open( "hex.ogc" ) ;<br>
> GeometryAPtr geom( reader_.readHEX( fin ) ) ;<br>
> Thanks,<br>
> Stephen<br>
><br>
> On Mon, Aug 11, 2008 at 11:42 AM, Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>><br>
> wrote:<br>
>><br>
>> Stephen,<br>
>><br>
>> When I integrate your code into my OS/X build and run the unit tests,<br>
>> I don't get as far as buffering...<br>
>><br>
>> ---> group: geos::operation::BufferOp, test: test<1><br>
>> problem: unexpected exception<br>
>> exception typeid: N4geos2io14ParseExceptionE<br>
>> message: "ParseException: Unknown WKB type 0"<br>
>><br>
>> Are you certain that WKB fragment is good?<br>
>><br>
>> Paul<br>
>><br>
>> On Fri, Aug 8, 2008 at 11:48 AM, Stephen Wong <<a href="mailto:swongu@gmail.com">swongu@gmail.com</a>> wrote:<br>
>> > Hello,<br>
>> > I have found that when using BufferOp on a specific polygon, GEOS<br>
>> > crashes<br>
>> > with an assertion failure. This failure appears to be within<br>
>> > RightmostEdgeFinder, and I have documented it on a ticket<br>
>> > (<a href="http://trac.osgeo.org/geos/ticket/188" target="_blank">http://trac.osgeo.org/geos/ticket/188</a>). On that ticket, I have also<br>
>> > provided a .zip file that reproduces the error. The surprising this is<br>
>> > that<br>
>> > the geometry is not complicated at all!<br>
>> > I have posted this problem in March<br>
>> > (see<br>
>> > <a href="http://lists.osgeo.org/pipermail/geos-devel/2008-March/003324.html" target="_blank">http://lists.osgeo.org/pipermail/geos-devel/2008-March/003324.html</a>),<br>
>> > but didn't get a response thus far; hopefully posting here will help.<br>
>> > Thanks in advance.<br>
>> > Regards,<br>
>> > Stephen<br>
>> > _______________________________________________<br>
>> > geos-devel mailing list<br>
>> > <a href="mailto:geos-devel@lists.osgeo.org">geos-devel@lists.osgeo.org</a><br>
>> > <a href="http://lists.osgeo.org/mailman/listinfo/geos-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/geos-devel</a><br>
>> ><br>
>> _______________________________________________<br>
>> geos-devel mailing list<br>
>> <a href="mailto:geos-devel@lists.osgeo.org">geos-devel@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/geos-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/geos-devel</a><br>
><br>
><br>
> _______________________________________________<br>
> geos-devel mailing list<br>
> <a href="mailto:geos-devel@lists.osgeo.org">geos-devel@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/geos-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/geos-devel</a><br>
><br>
_______________________________________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org">geos-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geos-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/geos-devel</a><br>
</div></div></blockquote></div><br></div></div>