<?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 Hi, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966406#M16248</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you print and paste here the parameters you pass to cblas_dgemm in MSK_INTEL_P4_mathenv_gemm (mathenvcpu.c:2293) ? That would help us to reproduce the issue.&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Dima&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Oct 2013 04:13:35 GMT</pubDate>
    <dc:creator>Dmitry_B_Intel</dc:creator>
    <dc:date>2013-10-28T04:13:35Z</dc:date>
    <item>
      <title>Invalid read of size 4 in mkl_serv_malloc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966403#M16245</link>
      <description>&lt;P&gt;We have a crash in MKLon Intel 64x86 using Intel 13.1.3. It is both from valgrind and gdb. We use&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; mkl_disable_fast_mm();&lt;/P&gt;
&lt;P&gt;So it seems the buffer stuff&amp;nbsp;should never be allocated. &amp;nbsp;Well, I am not sure but the buffer stuff seems in use.&lt;/P&gt;
&lt;P&gt;Any suggestions, comments?&lt;/P&gt;
&lt;P&gt;[My application which is a .so linked with a static version version of MKL into a MATLAB mex file. A MATLAB mex file is also a so it is called from MATLAB. Now MATLAB is is linked with MKL but another version and the shared lib. The crash above only pops up if called from MATLAB. Maybe this is a special situation you have not considered.]&lt;/P&gt;
&lt;P&gt;The stacj trace should come here but your spam filer prevented me from adding it.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 12:02:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966403#M16245</guid>
      <dc:creator>erling_andersen</dc:creator>
      <dc:date>2013-10-25T12:02:43Z</dc:date>
    </item>
    <item>
      <title>I cannot paste the stack</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966404#M16246</link>
      <description>&lt;P&gt;I cannot paste the stack trace becuse of the spam filer but it is attached&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 12:05:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966404#M16246</guid>
      <dc:creator>erling_andersen</dc:creator>
      <dc:date>2013-10-25T12:05:29Z</dc:date>
    </item>
    <item>
      <title>We are using   composer_xe</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966405#M16247</link>
      <description>&lt;P&gt;We are using &amp;nbsp; composer_xe_2013.5.192&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 13:08:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966405#M16247</guid>
      <dc:creator>erling_andersen</dc:creator>
      <dc:date>2013-10-25T13:08:54Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966406#M16248</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you print and paste here the parameters you pass to cblas_dgemm in MSK_INTEL_P4_mathenv_gemm (mathenvcpu.c:2293) ? That would help us to reproduce the issue.&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Dima&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 04:13:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966406#M16248</guid>
      <dc:creator>Dmitry_B_Intel</dc:creator>
      <dc:date>2013-10-28T04:13:35Z</dc:date>
    </item>
    <item>
      <title>I have spend more time</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966407#M16249</link>
      <description>&lt;P&gt;I have spend more time rsearching the issue. It seems&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The problem is independent of the matrix sizes.&lt;/LI&gt;
&lt;LI&gt;The problem occurs in the first call to dgemm. I moved the call to dgemm to begning of my program. To reduce the risk I overwrote the your data. It still occurs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So the problem seems to be related to initialization of perhaps your intial data structures. Does that help. We link static as I mentioned.&lt;/P&gt;
&lt;P&gt;I might be able to create an example but it will require you can run MATLAB r2013a on linux64x86. Is that of interest?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 08:50:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966407#M16249</guid>
      <dc:creator>erling_andersen</dc:creator>
      <dc:date>2013-10-28T08:50:09Z</dc:date>
    </item>
    <item>
      <title>I also tried linking with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966408#M16250</link>
      <description>&lt;P&gt;I also tried linking with &amp;nbsp;libmkl_sequential.so and then the problem also goes away.&lt;/P&gt;
&lt;P&gt;However, I REALLY HATE that solution because distributing more shared libraries is a major PAIN. Also I had to set LD_PRELOAD to get it working which is major PAIN too.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 10:49:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966408#M16250</guid>
      <dc:creator>erling_andersen</dc:creator>
      <dc:date>2013-10-28T10:49:17Z</dc:date>
    </item>
    <item>
      <title>I have reported a test case</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966409#M16251</link>
      <description>&lt;P&gt;I have reported a test case in &amp;nbsp;&lt;A href="http://software.intel.com/en-us/forums/topic/486842"&gt;http://software.intel.com/en-us/forums/topic/486842&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 09:41:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966409#M16251</guid>
      <dc:creator>erling_andersen</dc:creator>
      <dc:date>2013-10-29T09:41:37Z</dc:date>
    </item>
    <item>
      <title>Thanks.  I will check in that</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966410#M16252</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; I will check in that one.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 02:48:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-read-of-size-4-in-mkl-serv-malloc/m-p/966410#M16252</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2013-10-30T02:48:10Z</dc:date>
    </item>
  </channel>
</rss>

