<?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>topic Re: Python crashes Alteryx with uninitialized records in Dev Space</title>
    <link>https://community.alteryx.com/t5/Dev-Space/Python-crashes-Alteryx-with-uninitialized-records/m-p/191336#M566</link>
    <description>&lt;P&gt;Thanks for sharing&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/29445"&gt;@AshleyO&lt;/a&gt;, I'm going to share this with our team to investigate!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Tasha&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jul 2018 16:05:58 GMT</pubDate>
    <dc:creator>TashaA</dc:creator>
    <dc:date>2018-07-31T16:05:58Z</dc:date>
    <item>
      <title>Python crashes Alteryx with uninitialized records</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Python-crashes-Alteryx-with-uninitialized-records/m-p/189700#M549</link>
      <description>&lt;P&gt;Python can cause Alteryx to crash if not all fields are set for every output record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If a set_from_*/set_null is not called for every field on every output record, the underlying data structure is left uninitialized and String fields in particular can cause a crash.&lt;/P&gt;&lt;P&gt;For Integer/Double/Datetime fields whose contents are within the datastructure itself, downstream tools will read the uninitialized memory.&lt;BR /&gt;String fields are more dangerous as they appear to be stored as uninitialized pointers.&lt;/P&gt;&lt;P&gt;These pointers can point to anywhere in memory and depending on their contents dereferencing these pointers causes Alteryx to crash.&lt;/P&gt;&lt;P&gt;Sometimes Alteryx will report "You have found a bug. Replicate, then let us know. We shall fix it soon."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following code snippet can cause this:&lt;BR /&gt;record_creator.reset()&lt;BR /&gt;out_record = record_creator.finalize_record()&lt;BR /&gt;output_anchor.push_record(out_record)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively see attached for a test case.&amp;nbsp;Install the plugin and run the workflow. Run repeatedly, checking the browse tool each time. After a few runs Alteryx will crash. Increasing the number of String fields returned increases the likelihood of a crash. (Increasing the number of rows does not, as the same memory structure is reused each time.)&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 02:25:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Python-crashes-Alteryx-with-uninitialized-records/m-p/189700#M549</guid>
      <dc:creator>AshleyO</dc:creator>
      <dc:date>2018-07-27T02:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Python crashes Alteryx with uninitialized records</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Python-crashes-Alteryx-with-uninitialized-records/m-p/191336#M566</link>
      <description>&lt;P&gt;Thanks for sharing&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/29445"&gt;@AshleyO&lt;/a&gt;, I'm going to share this with our team to investigate!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Tasha&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 16:05:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Python-crashes-Alteryx-with-uninitialized-records/m-p/191336#M566</guid>
      <dc:creator>TashaA</dc:creator>
      <dc:date>2018-07-31T16:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Python crashes Alteryx with uninitialized records</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Python-crashes-Alteryx-with-uninitialized-records/m-p/287174#M611</link>
      <description>&lt;P&gt;&lt;A href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/29445" target="_blank"&gt;@AshleyO&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quick follow up, we have this logged in our defect tracking system, and will post in this thread if we plan to release a change in the future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 15:51:28 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Python-crashes-Alteryx-with-uninitialized-records/m-p/287174#M611</guid>
      <dc:creator>TashaA</dc:creator>
      <dc:date>2018-08-30T15:51:28Z</dc:date>
    </item>
  </channel>
</rss>

