<?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 @Francisco C., sorry for in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/free-Doesn-t-Work-with-TCMalloc-Library/m-p/1162089#M2892</link>
    <description>&lt;P&gt;@Francisco C., sorry for replying a bit too late, but I did not use the TCMalloc for the time being because of this issue.&amp;nbsp; But, the SDK version I was using was 2.5 and I &lt;GWMW class="ginger-module-highlighter-mistake-type-3" id="gwmw-15750078616198202737022"&gt;am seeing&lt;/GWMW&gt; this issue in both Ubuntu 16.04 and Ubuntu 18.04.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- &lt;GWMW class="ginger-module-highlighter-mistake-type-1" id="gwmw-15750078619276850363076"&gt;elephant&lt;/GWMW&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2019 06:11:03 GMT</pubDate>
    <dc:creator>Elephant</dc:creator>
    <dc:date>2019-11-29T06:11:03Z</dc:date>
    <item>
      <title>free() Doesn't Work with TCMalloc Library</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/free-Doesn-t-Work-with-TCMalloc-Library/m-p/1162087#M2890</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was wondering if anyone was having memory leak issues because of the TCMalloc library?&amp;nbsp; If so, how did you resolve the issue?&amp;nbsp; Basically, I created a basic ecall function to test the malloc feature and looped to that ecall function multiple times, after some loops, I couldn't allocate anymore.&amp;nbsp; So I think the free() function doesn't really free the enclave heap.&lt;/P&gt;&lt;P&gt;void ecall_test_function()&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; uint8_t *data = (uint8_t *)malloc(1024*16);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if (!data) return -1;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; printf("data successfully allocated.");&lt;BR /&gt;&amp;nbsp; &amp;nbsp; free(data);&amp;nbsp; // this has the same effect when it is commented out&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;My max heap size is set to 0xF00000, and I just had to loop to this function ~500 times to hit the error condition.&lt;/P&gt;&lt;P&gt;Are there similar experiences?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;BR /&gt;- Elephant&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 04:10:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/free-Doesn-t-Work-with-TCMalloc-Library/m-p/1162087#M2890</guid>
      <dc:creator>Elephant</dc:creator>
      <dc:date>2019-09-13T04:10:42Z</dc:date>
    </item>
    <item>
      <title>What SGX + OS versions are</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/free-Doesn-t-Work-with-TCMalloc-Library/m-p/1162088#M2891</link>
      <description>&lt;P&gt;What SGX + OS versions are you seeing this issue in?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Francisco&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 13:57:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/free-Doesn-t-Work-with-TCMalloc-Library/m-p/1162088#M2891</guid>
      <dc:creator>Francisco_C_Intel</dc:creator>
      <dc:date>2019-09-18T13:57:38Z</dc:date>
    </item>
    <item>
      <title>@Francisco C., sorry for</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/free-Doesn-t-Work-with-TCMalloc-Library/m-p/1162089#M2892</link>
      <description>&lt;P&gt;@Francisco C., sorry for replying a bit too late, but I did not use the TCMalloc for the time being because of this issue.&amp;nbsp; But, the SDK version I was using was 2.5 and I &lt;GWMW class="ginger-module-highlighter-mistake-type-3" id="gwmw-15750078616198202737022"&gt;am seeing&lt;/GWMW&gt; this issue in both Ubuntu 16.04 and Ubuntu 18.04.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- &lt;GWMW class="ginger-module-highlighter-mistake-type-1" id="gwmw-15750078619276850363076"&gt;elephant&lt;/GWMW&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 06:11:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/free-Doesn-t-Work-with-TCMalloc-Library/m-p/1162089#M2892</guid>
      <dc:creator>Elephant</dc:creator>
      <dc:date>2019-11-29T06:11:03Z</dc:date>
    </item>
  </channel>
</rss>

