<?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 deallocate error: free(): invalid next size (fast) in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/deallocate-error-free-invalid-next-size-fast/m-p/745108#M3363</link>
    <description>I am debugging a program compiled with intel fortran 9.0 for linux, the code looks like this:&lt;BR /&gt;&lt;BR /&gt;module yyy&lt;BR /&gt;&lt;BR /&gt;integer, allocatable :: s(:,:)&lt;BR /&gt;&lt;BR /&gt;contains&lt;BR /&gt;&lt;BR /&gt;subroutine xxx&lt;BR /&gt; if (ALLOCATED(s)) then&lt;BR /&gt; write(*,*) 'de-allocating s() matrix0'&lt;BR /&gt; DEALLOCATE(s, STAT=ierr)&lt;BR /&gt; write(*,*) 'de-allocating s() matrix1'&lt;BR /&gt; endif&lt;BR /&gt;end subroutine xxx&lt;BR /&gt;end module&lt;BR /&gt;&lt;BR /&gt;The deallocate statement crashes my application with the following information:&lt;BR /&gt;&lt;BR /&gt;*** glibc detected *** free(): invalid next size (fast): 0x08a523d8 ***&lt;BR /&gt;forrtl: error (76): IOT trap signal&lt;BR /&gt;&lt;BR /&gt;Anyone has an idea how to fix this?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 22 Sep 2007 17:07:01 GMT</pubDate>
    <dc:creator>gio2k</dc:creator>
    <dc:date>2007-09-22T17:07:01Z</dc:date>
    <item>
      <title>deallocate error: free(): invalid next size (fast)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/deallocate-error-free-invalid-next-size-fast/m-p/745108#M3363</link>
      <description>I am debugging a program compiled with intel fortran 9.0 for linux, the code looks like this:&lt;BR /&gt;&lt;BR /&gt;module yyy&lt;BR /&gt;&lt;BR /&gt;integer, allocatable :: s(:,:)&lt;BR /&gt;&lt;BR /&gt;contains&lt;BR /&gt;&lt;BR /&gt;subroutine xxx&lt;BR /&gt; if (ALLOCATED(s)) then&lt;BR /&gt; write(*,*) 'de-allocating s() matrix0'&lt;BR /&gt; DEALLOCATE(s, STAT=ierr)&lt;BR /&gt; write(*,*) 'de-allocating s() matrix1'&lt;BR /&gt; endif&lt;BR /&gt;end subroutine xxx&lt;BR /&gt;end module&lt;BR /&gt;&lt;BR /&gt;The deallocate statement crashes my application with the following information:&lt;BR /&gt;&lt;BR /&gt;*** glibc detected *** free(): invalid next size (fast): 0x08a523d8 ***&lt;BR /&gt;forrtl: error (76): IOT trap signal&lt;BR /&gt;&lt;BR /&gt;Anyone has an idea how to fix this?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Sep 2007 17:07:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/deallocate-error-free-invalid-next-size-fast/m-p/745108#M3363</guid>
      <dc:creator>gio2k</dc:creator>
      <dc:date>2007-09-22T17:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: deallocate error: free(): invalid next size (fast)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/deallocate-error-free-invalid-next-size-fast/m-p/745109#M3364</link>
      <description>Never mind. The bug was actually somewhere else. I found the offending code after compiling with the -check option.&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Sep 2007 20:21:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/deallocate-error-free-invalid-next-size-fast/m-p/745109#M3364</guid>
      <dc:creator>gio2k</dc:creator>
      <dc:date>2007-09-22T20:21:30Z</dc:date>
    </item>
  </channel>
</rss>

