<?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: Amplifier fails with fibers in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742403#M968</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;P&gt;Hello George,&lt;/P&gt;
&lt;P&gt;I've reproduced the problem exactly on x64 system. Thanks again for submitting it.&lt;/P&gt;
&lt;P&gt;We are going to fix it. Unfortunately, the bug fix won't be ready for the very next public release. So, we have to wait further releases.&lt;/P&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
    <pubDate>Wed, 13 May 2009 11:01:19 GMT</pubDate>
    <dc:creator>Vladimir_T_Intel</dc:creator>
    <dc:date>2009-05-13T11:01:19Z</dc:date>
    <item>
      <title>Amplifier fails with fibers</title>
      <link>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742398#M963</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;when using Amplifier with a fiber-based application I get the assertion "stack_region_bottom &amp;gt; stack_region_top" and then a runtime error that terminates the process.&lt;BR /&gt;&lt;BR /&gt;On Vista x64 the "stack_region_top" value will not be modified when calling "SwitchToFiber()" since it does not affect the code execution.&lt;BR /&gt;&lt;BR /&gt;Is it possible to remove this assertion?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;George</description>
      <pubDate>Tue, 12 May 2009 10:14:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742398#M963</guid>
      <dc:creator>George_Kotorlis</dc:creator>
      <dc:date>2009-05-12T10:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Amplifier fails with fibers</title>
      <link>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742399#M964</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hello George,&lt;BR /&gt;&lt;BR /&gt;Is that possible to provide us with a simple test case that would reproduce the problem?&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 12 May 2009 12:10:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742399#M964</guid>
      <dc:creator>Vladimir_T_Intel</dc:creator>
      <dc:date>2009-05-12T12:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Amplifier fails with fibers</title>
      <link>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742400#M965</link>
      <description>&lt;DIV style="margin:0px;"&gt;Here is a small example:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;#include &lt;WINDOWS.H&gt;&lt;BR /&gt;&lt;BR /&gt;
#define MAX_FIBERS 100&lt;BR /&gt;&lt;BR /&gt;
LPVOID fiber[MAX_FIBERS];&lt;BR /&gt;&lt;BR /&gt;
void WINAPI FiberProc(LPVOID lpv)&lt;BR /&gt;
{&lt;BR /&gt;
for (;;)&lt;BR /&gt;
SwitchToFiber(fiber[(long)lpv]);&lt;BR /&gt;
}&lt;BR /&gt;&lt;BR /&gt;
void main()&lt;BR /&gt;
{&lt;BR /&gt;
fiber[0] = ConvertThreadToFiber(0);&lt;BR /&gt;&lt;BR /&gt;
for (long i = 1; i &amp;lt; MAX_FIBERS; ++i)&lt;BR /&gt;
fiber&lt;I&gt; = CreateFiber(0, FiberProc, (void*)((i + 1) % MAX_FIBERS));&lt;BR /&gt;&lt;BR /&gt;
for (;;)&lt;BR /&gt;
SwitchToFiber(fiber[1]);&lt;BR /&gt;
}&lt;BR /&gt;
&lt;/I&gt;&lt;/WINDOWS.H&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Compile it for x64 and run it. You will get immediately the assertion.</description>
      <pubDate>Tue, 12 May 2009 17:29:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742400#M965</guid>
      <dc:creator>George_Kotorlis</dc:creator>
      <dc:date>2009-05-12T17:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Amplifier fails with fibers</title>
      <link>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742401#M966</link>
      <description>&lt;DIV style="margin:0px;"&gt;Thanks for the code sample, I'll check it soon.&lt;BR /&gt;&lt;BR /&gt;Is that particularly x64 problem? Did you reproduce it on x32 system? Which compiler (VS version) you were using?&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 12 May 2009 18:18:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742401#M966</guid>
      <dc:creator>Vladimir_T_Intel</dc:creator>
      <dc:date>2009-05-12T18:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Amplifier fails with fibers</title>
      <link>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742402#M967</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/120176"&gt;Vladimir Tsymbal (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;Thanks for the code sample, I'll check it soon.&lt;BR /&gt;&lt;BR /&gt;Is that particularly x64 problem? Did you reproduce it on x32 system? Which compiler (VS version) you were using?&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Yes, the problem occurs only on x64 (I tested on Vista), not on x32 where SwitchToFiber() sets the stack_top value.&lt;BR /&gt;The compiler I used was VS2008 Professional.</description>
      <pubDate>Tue, 12 May 2009 18:29:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742402#M967</guid>
      <dc:creator>George_Kotorlis</dc:creator>
      <dc:date>2009-05-12T18:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Amplifier fails with fibers</title>
      <link>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742403#M968</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;P&gt;Hello George,&lt;/P&gt;
&lt;P&gt;I've reproduced the problem exactly on x64 system. Thanks again for submitting it.&lt;/P&gt;
&lt;P&gt;We are going to fix it. Unfortunately, the bug fix won't be ready for the very next public release. So, we have to wait further releases.&lt;/P&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 13 May 2009 11:01:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742403#M968</guid>
      <dc:creator>Vladimir_T_Intel</dc:creator>
      <dc:date>2009-05-13T11:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Amplifier fails with fibers</title>
      <link>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742404#M969</link>
      <description>Just in case this is relevant: the bug was fixed long ago in the Amplifier Update 2. Sorry for the late notification.</description>
      <pubDate>Mon, 15 Feb 2010 14:56:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Amplifier-fails-with-fibers/m-p/742404#M969</guid>
      <dc:creator>Vladimir_T_Intel</dc:creator>
      <dc:date>2010-02-15T14:56:03Z</dc:date>
    </item>
  </channel>
</rss>

