<?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: Windows debug version using tbb2021.5 and VS2017 crashes right after the executable is launched in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Windows-debug-version-using-tbb2021-5-and-VS2017-crashes-right/m-p/1583227#M3556</link>
    <description>&lt;P&gt;I figured out the problem.&lt;/P&gt;&lt;P&gt;My CMakeLists.txt for tbb (configuration file ) was missing the following lines which disables the inter procedural optimization of the tbb code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if (CMAKE_BUILD_TYPE)&lt;BR /&gt;string(TOLOWER ${CMAKE_BUILD_TYPE} _tbb_build_type)&lt;BR /&gt;if (_tbb_build_type STREQUAL "debug")&lt;BR /&gt;&lt;STRONG&gt;set(TBB_ENABLE_IPO OFF)&lt;/STRONG&gt;&lt;BR /&gt;endif()&lt;BR /&gt;unset(_tbb_build_type)&lt;BR /&gt;endif()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The debug build no longer crashes.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2024 18:24:42 GMT</pubDate>
    <dc:creator>tbbuser</dc:creator>
    <dc:date>2024-03-25T18:24:42Z</dc:date>
    <item>
      <title>Windows debug version using tbb2021.5 and VS2017 crashes right after the executable is launched</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Windows-debug-version-using-tbb2021-5-and-VS2017-crashes-right/m-p/1582499#M3551</link>
      <description>&lt;P&gt;Using Windows debug version of my executable using tbb 2021.5 and VS2017 compiler, crashes right after the executable is launched.&amp;nbsp; The optimized version of the executable does not crash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used tbb::enumerable_thread_specific feature in my code. Looks like there is some memory corruption when it is trying to initialize this variable.&lt;/P&gt;&lt;P&gt;I have a capture of the stack trace in windbg.&lt;/P&gt;&lt;P&gt;Could you please let me know what could be going wrong here&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 19:03:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Windows-debug-version-using-tbb2021-5-and-VS2017-crashes-right/m-p/1582499#M3551</guid>
      <dc:creator>tbbuser</dc:creator>
      <dc:date>2024-03-21T19:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Windows debug version using tbb2021.5 and VS2017 crashes right after the executable is launched</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Windows-debug-version-using-tbb2021-5-and-VS2017-crashes-right/m-p/1583227#M3556</link>
      <description>&lt;P&gt;I figured out the problem.&lt;/P&gt;&lt;P&gt;My CMakeLists.txt for tbb (configuration file ) was missing the following lines which disables the inter procedural optimization of the tbb code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if (CMAKE_BUILD_TYPE)&lt;BR /&gt;string(TOLOWER ${CMAKE_BUILD_TYPE} _tbb_build_type)&lt;BR /&gt;if (_tbb_build_type STREQUAL "debug")&lt;BR /&gt;&lt;STRONG&gt;set(TBB_ENABLE_IPO OFF)&lt;/STRONG&gt;&lt;BR /&gt;endif()&lt;BR /&gt;unset(_tbb_build_type)&lt;BR /&gt;endif()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The debug build no longer crashes.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 18:24:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Windows-debug-version-using-tbb2021-5-and-VS2017-crashes-right/m-p/1583227#M3556</guid>
      <dc:creator>tbbuser</dc:creator>
      <dc:date>2024-03-25T18:24:42Z</dc:date>
    </item>
  </channel>
</rss>

