<?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 Looks like access violation in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969789#M96815</link>
    <description>&lt;P&gt;Looks like access violation error.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2013 14:17:11 GMT</pubDate>
    <dc:creator>Bernard</dc:creator>
    <dc:date>2013-11-04T14:17:11Z</dc:date>
    <item>
      <title>Internal compiler error (C0000005)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969787#M96813</link>
      <description>&lt;P&gt;I have just upgraded Fortran Compiler to 2013 SP1 and my project is not compiled anymore. However, I believe the code is correct.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[fortran]&lt;/P&gt;
&lt;P&gt;module TimeMod&lt;BR /&gt; implicit none&lt;BR /&gt; private&lt;BR /&gt; type, public :: TimeType&lt;BR /&gt; private&lt;BR /&gt; character(len=1) :: dummyChar&lt;BR /&gt; contains&lt;BR /&gt; procedure, private, nopass :: GetDateTime =&amp;gt; GetDateTime&lt;BR /&gt; end type TimeType&lt;BR /&gt;contains&lt;BR /&gt; function GetDateTime() result(dateTimeString)&lt;BR /&gt; character(len=19) :: dateTimeString&lt;BR /&gt; dateTimeString = ''&lt;BR /&gt; end function GetDateTime&lt;BR /&gt;end module TimeMod&lt;BR /&gt; &lt;BR /&gt;module AMod&lt;BR /&gt; implicit none&lt;BR /&gt; private&lt;BR /&gt; type, public, abstract :: AInterface&lt;BR /&gt; private&lt;BR /&gt; character(len=1) :: dummyChar&lt;BR /&gt; end type AInterface&lt;BR /&gt;end module AMod&lt;BR /&gt; &lt;BR /&gt;module BMod&lt;BR /&gt; implicit none&lt;BR /&gt; private&lt;BR /&gt; type, public :: BType&lt;BR /&gt; contains&lt;BR /&gt; procedure :: ComputeSomething =&amp;gt; ComputeSomething&lt;BR /&gt; end type BType&lt;BR /&gt;contains&lt;BR /&gt; function ComputeSomething(this, time) result(something)&lt;BR /&gt; use TimeMod&lt;BR /&gt; class(BType), intent(in) :: this&lt;BR /&gt; type(TimeType), intent(inout) :: time&lt;BR /&gt; real*8 :: something&lt;BR /&gt; something = 0.0d0&lt;BR /&gt; end function ComputeSomething&lt;BR /&gt;end module BMod&lt;BR /&gt; &lt;BR /&gt;module CMod&lt;BR /&gt; use AMod&lt;BR /&gt; use TimeMod&lt;BR /&gt; use BMod&lt;BR /&gt; implicit none&lt;BR /&gt; private&lt;BR /&gt; type, public :: CType&lt;BR /&gt; private&lt;BR /&gt; type(BType) :: b&lt;BR /&gt; class(AInterface), allocatable :: a&lt;BR /&gt; contains&lt;BR /&gt; procedure :: DoSomething&lt;BR /&gt; end type CType&lt;BR /&gt;contains&lt;BR /&gt; subroutine DoSomething(this, id, time)&lt;BR /&gt; class(CType), intent(inout) :: this&lt;BR /&gt; integer, intent(in) :: id&lt;BR /&gt; type(TimeType), intent(inout) :: time&lt;BR /&gt; print *, 'ok'&lt;BR /&gt; end subroutine DoSomething&lt;BR /&gt;end module CMod&lt;BR /&gt; &lt;BR /&gt;module DMod&lt;BR /&gt; use CMod&lt;BR /&gt; use TimeMod&lt;BR /&gt; implicit none&lt;BR /&gt; private&lt;/P&gt;
&lt;P&gt;interface&lt;BR /&gt; subroutine DoIt(ptr, id, time)&lt;BR /&gt; use CMod&lt;BR /&gt; use TimeMod&lt;BR /&gt; type(CType), pointer, intent(in) :: ptr&lt;BR /&gt; integer, intent(in) :: id&lt;BR /&gt; type(TimeType), intent(inout) :: time&lt;BR /&gt; end subroutine DoIt&lt;BR /&gt; end interface&lt;BR /&gt; &lt;BR /&gt; type, public :: DType&lt;BR /&gt; private&lt;BR /&gt; type(CType) :: array(20)&lt;BR /&gt; contains &lt;BR /&gt; procedure :: DoSomething =&amp;gt; DoSomething&lt;BR /&gt; procedure :: DoForAll =&amp;gt; DoForAll&lt;BR /&gt; end type DType&lt;BR /&gt; &lt;BR /&gt;contains&lt;/P&gt;
&lt;P&gt;subroutine DoSomething(this, id, time)&lt;BR /&gt; class(DType), intent(inout) :: this&lt;BR /&gt; integer, intent(in) :: id&lt;BR /&gt; type(TimeType), intent(inout) :: time&lt;BR /&gt; &lt;BR /&gt; call this%array(1)%DoSomething(id, time)&lt;BR /&gt; &lt;BR /&gt; end subroutine DoSomething&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; subroutine DoForAll(this, method, time)&lt;BR /&gt; class(DType), target, intent(in) :: this&lt;BR /&gt; procedure(DoIt) :: method&lt;BR /&gt; type(TimeType), intent(inout) :: time&lt;BR /&gt; type(CType), pointer :: ptr&lt;/P&gt;
&lt;P&gt;ptr =&amp;gt; this%array(1)&lt;BR /&gt; call method(ptr, 1, time)&lt;/P&gt;
&lt;P&gt;end subroutine DoForAll&lt;/P&gt;
&lt;P&gt;end module DMod&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;program DELME&lt;BR /&gt; use DMod&lt;BR /&gt; use TimeMod&lt;BR /&gt; type(DType) :: d&lt;BR /&gt; type(TimeType) :: t&lt;BR /&gt; call d%DoSomething(1, t)&lt;BR /&gt;end program DELME&lt;/P&gt;
&lt;P&gt;[/fortran]&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 15:01:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969787#M96813</guid>
      <dc:creator>Marat_S_1</dc:creator>
      <dc:date>2013-10-30T15:01:19Z</dc:date>
    </item>
    <item>
      <title>Thanks - I have escalated</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969788#M96814</link>
      <description>&lt;P&gt;Thanks - I have escalated this as issue DPD200249466 and will let you know of any progress. The statement that triggers the error is:&lt;/P&gt;
&lt;P&gt;call this%array(1)%DoSomething(id, time)&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 15:56:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969788#M96814</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-10-30T15:56:11Z</dc:date>
    </item>
    <item>
      <title>Looks like access violation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969789#M96815</link>
      <description>&lt;P&gt;Looks like access violation error.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 14:17:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969789#M96815</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-11-04T14:17:11Z</dc:date>
    </item>
    <item>
      <title>Quote:Steve Lionel (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969790#M96816</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thanks - I have escalated this as issue DPD200249466 and will let you know of any progress. The statement that triggers the error is:&lt;/P&gt;

&lt;P&gt;call this%array(1)%DoSomething(id, time)&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi Steve,&lt;/P&gt;

&lt;P&gt;Any information on when it will be fixed?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 09:53:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969790#M96816</guid>
      <dc:creator>Marat_S_1</dc:creator>
      <dc:date>2014-01-09T09:53:17Z</dc:date>
    </item>
    <item>
      <title>It's still being worked on. I</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969791#M96817</link>
      <description>&lt;P&gt;It's still being worked on. I don't have an estimate at present.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 15:57:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969791#M96817</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-01-09T15:57:08Z</dc:date>
    </item>
    <item>
      <title>The developers have fixed</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969792#M96818</link>
      <description>&lt;P&gt;The developers have fixed this, but the fix missed the deadline for update 2. I expect it to make update 3.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 18:42:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969792#M96818</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-01-27T18:42:05Z</dc:date>
    </item>
    <item>
      <title>hey i;m using mocrosift</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969793#M96819</link>
      <description>&lt;P&gt;hey i;m using mocrosift developer studio fortran 90 for my final project code and i encountered&amp;nbsp; the same error:&lt;/P&gt;

&lt;P&gt;unhandled execption in "hydroplainchannel.exe"(HYDROP~1.exe):&lt;/P&gt;

&lt;P&gt;0×C0000005:Access Violation.&lt;/P&gt;

&lt;P&gt;why this error occurs and what should i do to solve this error&lt;/P&gt;

&lt;P&gt;tnx in advance&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 10:17:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969793#M96819</guid>
      <dc:creator>nariman_k_</dc:creator>
      <dc:date>2014-01-29T10:17:01Z</dc:date>
    </item>
    <item>
      <title>Quote:nariman k. wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969794#M96820</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;nariman k. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;hey i;m using mocrosift developer studio fortran 90 for my final project code and i encountered&amp;nbsp; the same error:&lt;/P&gt;

&lt;P&gt;unhandled execption in "hydroplainchannel.exe"(HYDROP~1.exe):&lt;/P&gt;

&lt;P&gt;0×C0000005:Access Violation.&lt;/P&gt;

&lt;P&gt;why this error occurs and what should i do to solve this error&lt;/P&gt;

&lt;P&gt;tnx in advance&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Apart from actual logic errors the usual problems causing Access Violations are :&lt;/P&gt;

&lt;P&gt;Uninitialized variables,&amp;nbsp;subscript out of range, mismatched arguments.&lt;/P&gt;

&lt;P&gt;As a start you should recompile your code&amp;nbsp;with all of the&amp;nbsp;compile time and runtime error checking options on. (e.g. /check:all)&lt;/P&gt;

&lt;P&gt;Also look at the "traceback" option which helps identifying where an error occurs.&lt;/P&gt;

&lt;P&gt;Les&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 12:33:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969794#M96820</guid>
      <dc:creator>Les_Neilson</dc:creator>
      <dc:date>2014-01-29T12:33:10Z</dc:date>
    </item>
    <item>
      <title>There hasn't been much</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969795#M96821</link>
      <description>&lt;P&gt;There hasn't been much discussion lately about how to use the Microsoft Fortran of 17 years ago. Its deficiencies might be compounded, if anything, by running on versions of Windows which weren't in the planning stage when that project was abandoned.&amp;nbsp; If you aren't prepared to guess whether the problem lies in your own program, in the compiler, or in attempting to use the compiler on a more recent Windows, speculation on our part isn't likely to help.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 12:47:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969795#M96821</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-01-29T12:47:00Z</dc:date>
    </item>
    <item>
      <title>Nariman K: There is a major</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969796#M96822</link>
      <description>&lt;P&gt;Nariman K: There is a major difference between the topic of this thread and the topic of your post. Marat S. reported an access violation by the Intel compiler in the course of compiling his Fortran source code. Your problem is with your own EXE (which was compiled using a really old and known-to-be-buggy compiler) causing an access violation. Marat S.'s problem requires fixing bugs in the compiler. Your problem requires fixing bugs in the sources used to build hydroplainchannel.exe, and it serves no useful purpose to confuse the two issues.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:34:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969796#M96822</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-01-29T15:34:23Z</dc:date>
    </item>
    <item>
      <title>@Nariman</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969797#M96823</link>
      <description>&lt;P&gt;@Nariman&lt;/P&gt;

&lt;P&gt;Regarding your question related to access violation error culprits I would like to add also as root cause of this error issues like: referencing unmapped dll's, dereferencing pointers which hold the address of uninitialized variables,improperly cleaned stack when some junk is referenced.In order to investigate that issue you can inspect minidump files.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:11:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969797#M96823</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2014-01-29T16:11:56Z</dc:date>
    </item>
    <item>
      <title>Tim Prince, mecej4:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969798#M96824</link>
      <description>&lt;P&gt;Tim Prince, mecej4:&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;nariman k. wrote:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;hey i;m using mocrosift developer studio fortran 90...&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Do you have more information than posted on this forum post? &amp;nbsp;Otherwise, how do you conclude from this that he is using "&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;Microsoft Fortran of 17 years ago&lt;/SPAN&gt;" or "..&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;was compiled using a really old and known-to-be-buggy compiler"?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Did "Microsoft Fortran" ever include support for Fortran 90?&lt;/P&gt;

&lt;P&gt;Isn't "developer studio" used interchangeably with Microsoft Visual Studio versions as recent as Visual Studio 2013?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 18:19:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969798#M96824</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2014-01-29T18:19:37Z</dc:date>
    </item>
    <item>
      <title>Yes, Microsoft Fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969799#M96825</link>
      <description>&lt;P&gt;Yes, Microsoft Fortran PowerStation, used in Developer Studio 4, was a Fortran 90 compiler.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 18:41:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-C0000005/m-p/969799#M96825</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-01-29T18:41:54Z</dc:date>
    </item>
  </channel>
</rss>

