<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SA 17 ST_CircularString function never returns in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sa-17-st-circularstring-function-never-returns/qaa-p/13827233#M4858076</link>
    <description>&lt;P&gt;It does not look like this is related to CR 794347. {that fix when tested does not prevent this}
I can also reproduce this in 16 and it may be long standing edge case ... just exposed by your test.  &lt;/P&gt;
&lt;P&gt;It does seem to have something to do with precision.  If I adjust the first and last points to be (-79.363632 43.686373) this behavior goes away.  Given the nature of the projection involved the precision part may not be unexpected but some govenor should have kicked in eventually.&lt;/P&gt;
&lt;P&gt;I will be submitting this shortly&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2016 15:14:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-05-12T15:14:39Z</dc:date>
    <item>
      <title>SA 17 ST_CircularString function never returns</title>
      <link>https://community.sap.com/t5/technology-q-a/sa-17-st-circularstring-function-never-returns/qaq-p/13827232</link>
      <description>&lt;P&gt;I have a case where a call to 
&lt;/P&gt;&lt;PRE&gt;NEW ST_CircularString()&lt;/PRE&gt;
runs indefinitely, and sometimes crashes the database engine.
I'm using SQL Anywhere 17.0.0.1358, which AFAIK is the latest version of the Developer Edition available for download.&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The problem can be reproduced with:
&lt;/P&gt;&lt;PRE&gt;SELECT NEW ST_CircularString( 'CIRCULARSTRING(-79.397621622463 43.66867,-79.394128 43.6721636224626,-79.390634377537 43.66867,-79.394128 43.6651763775374,-79.397621622463 43.66867)', 1000004326);
&lt;/PRE&gt;
A similar statement works:
&lt;PRE&gt;SELECT NEW ST_CircularString( 'CIRCULARSTRING(-79.363632233035 43.686373,-79.360349 43.689656233035,-79.357065766965 43.686373,-79.360349 43.683089766965,-79.363632233035 43.686373)', 1000004326);
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Sometimes when I run the query, SQL Central crashes.  In one such case I submitted the Error Report, which was assigned the IDs: 2449151 2449152.&lt;/P&gt;
&lt;P&gt;Anyone else seen this?&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 15:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sa-17-st-circularstring-function-never-returns/qaq-p/13827232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-11T15:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: SA 17 ST_CircularString function never returns</title>
      <link>https://community.sap.com/t5/technology-q-a/sa-17-st-circularstring-function-never-returns/qaa-p/13827234#M4858077</link>
      <description>&lt;P&gt;I can reproduce that with the same build (17.0.0.1358) - the first statement seems to increase the cache size incrementally until one stops the engine... - This might be fixed in newer versions (cf. CR 794347 in the &lt;A href="http://sqlasupport.sap.com/readme/sqla1700.html"&gt;17.0.0.1441 readme&lt;/A&gt;, alas, there's currently no newer EBF available for Windows than 17.0.0.1359, so I cannot check that...&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 03:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sa-17-st-circularstring-function-never-returns/qaa-p/13827234#M4858077</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2016-05-12T03:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: SA 17 ST_CircularString function never returns</title>
      <link>https://community.sap.com/t5/technology-q-a/sa-17-st-circularstring-function-never-returns/qaa-p/13827235#M4858078</link>
      <description>&lt;P&gt;The bug referenced in CR 794347 refers to round-earth geometries and SRID 1000004326, used in the failing query above, is planar.  That said, it may still be related.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 10:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sa-17-st-circularstring-function-never-returns/qaa-p/13827235#M4858078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-12T10:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: SA 17 ST_CircularString function never returns</title>
      <link>https://community.sap.com/t5/technology-q-a/sa-17-st-circularstring-function-never-returns/qaa-p/13827233#M4858076</link>
      <description>&lt;P&gt;It does not look like this is related to CR 794347. {that fix when tested does not prevent this}
I can also reproduce this in 16 and it may be long standing edge case ... just exposed by your test.  &lt;/P&gt;
&lt;P&gt;It does seem to have something to do with precision.  If I adjust the first and last points to be (-79.363632 43.686373) this behavior goes away.  Given the nature of the projection involved the precision part may not be unexpected but some govenor should have kicked in eventually.&lt;/P&gt;
&lt;P&gt;I will be submitting this shortly&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 15:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sa-17-st-circularstring-function-never-returns/qaa-p/13827233#M4858076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-12T15:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: SA 17 ST_CircularString function never returns</title>
      <link>https://community.sap.com/t5/technology-q-a/sa-17-st-circularstring-function-never-returns/qaa-p/13827236#M4858079</link>
      <description>&lt;P&gt;Thanks Terry and Nick for reporting this.  CR 798668 will be fixed in 12.0.1.4416, 16.0.0.2290, and 17.0.0.1493.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 11:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sa-17-st-circularstring-function-never-returns/qaa-p/13827236#M4858079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-17T11:59:08Z</dc:date>
    </item>
  </channel>
</rss>

