<?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: Error in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952825#M20020</link>
    <description>Sorry - missed that the error occured on compilation, rather than at run-time.  We did have a bug in 6.5 that could cause exactly this symptom, when a program had an out-of-bounds array access that could be detected at compile-time, on Windows 95/98.  We fixed it in 6.5A.  So far, everyone who has reported this to us says that 6.5A fixed it.  If you're really running 6.5A, and not 6.5, I'd be astonished.&lt;BR /&gt;&lt;BR /&gt;Start a Fortran Command Prompt and type DF/WHAT  What does it display?&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Sun, 27 May 2001 07:03:27 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2001-05-27T07:03:27Z</dc:date>
    <item>
      <title>Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952817#M20012</link>
      <description>I ran into the following error. First, I thought it was due to hugh array error. I reduced, but it did not resolve the problem. Any comments would be very appreciate it. &lt;BR /&gt; &lt;BR /&gt;Thanks, &lt;BR /&gt;bp- &lt;BR /&gt; &lt;BR /&gt;forrtl: severe (161): Program Exception - array bounds exceeded &lt;BR /&gt;Image              PC        Routine            Line        Source &lt;BR /&gt;hrdata.exe         00401C5F  Unknown               Unknown  Unknown &lt;BR /&gt;hrdata.exe         00438AC9  Unknown               Unknown  Unknown &lt;BR /&gt;hrdata.exe         0042E294  Unknown               Unknown  Unknown &lt;BR /&gt;KERNEL32.dll       77E87903  Unknown               Unknown  Unknown &lt;BR /&gt; &lt;BR /&gt;Incrementally linked image--PC correlation disabled. &lt;BR /&gt;Press any key to continue</description>
      <pubDate>Thu, 24 May 2001 07:06:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error/m-p/952817#M20012</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-05-24T07:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952818#M20013</link>
      <description>This error means that you have indexed an array beyond its declared bounds.  For example:&lt;BR /&gt;&lt;BR /&gt;REAL A(10)&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;DO I=1,11&lt;BR /&gt;&lt;BR /&gt;A(I) = 0.0&lt;BR /&gt;&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;When I reaches 11, you'll get the error, because the array is declared as having only 10 elements.&lt;BR /&gt;&lt;BR /&gt;This is usually a programming error - one not detected by other compilers which don't enable array bounds checking by default, the way Visual Fortran 6.x does in a Debug configuration.  Sometimes, the programmer declares an array argument as bound (1), assuming that any index value will be ok.  This is incorrect - (*) should be used in such cases.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 24 May 2001 20:59:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error/m-p/952818#M20013</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-05-24T20:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952819#M20014</link>
      <description>I had this problem many times, one thing I noticed is if you run the program in Debug mode, it often stops at the variable that has the array bounds exceeded.   If you are not in Debug mode go to Build, Set Active Configuration, Debug.  &lt;BR /&gt;  &lt;BR /&gt;Place a breakpoint somewhere early in the code (shortcut key F9) and then press F5 (Run).  The compiler will stop at the breakpoint, then press F5 again (Debug Run).  It should give the same error, but the code will be stopped at the variable with a blue arrow in the gray bar to the left.  &lt;BR /&gt;  &lt;BR /&gt;Hope this helps,  &lt;BR /&gt;dfh</description>
      <pubDate>Fri, 25 May 2001 03:27:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error/m-p/952819#M20014</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-05-25T03:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952820#M20015</link>
      <description>ARRAY OVERFLOW &lt;BR /&gt; &lt;BR /&gt;Here is a cautionary tale: one of my programs has compiled successfully over the past 15 years with a variety of FORTRAN compilers and computers.  It compiled successfully with CVF 6.0, 6.1 &amp;amp; 6.1A / Windows 95, NT &amp;amp; 2000, and now with CVF 6.5A / Windows NT &amp;amp; 2000.  But with CVF 6.5A / Windows 95, on attempted compilation one file bombs out to the fatal blue screen with the message ?A fatal exception has occurred at 0028:C0002696 in VXD VNM(01) + 00001696.  The current application will be terminated.?  Not the most helpful of messages to a Bear of little brain. &lt;BR /&gt; &lt;BR /&gt;On investigation, the trouble lay with a subroutine that has not been used for many years, and so had not received much attention.  The salient parts of the source code were: &lt;BR /&gt; &lt;BR /&gt;&lt;PRE&gt; 
SUBROUTINE MENU_MO(OMET,NOMET)     ! OMET is an array. 
 
REAL*8 B(6), OMET(1)             ! Now changed to OMET(*), Steve. 
 
WRITE (SCR_UNIT,610) INT(B(7))  ! MET RECORDS OUT OF SEQUENCE 
&lt;/PRE&gt; &lt;BR /&gt; &lt;BR /&gt;In the bad old days, it would have written the value of OMET(1) to screen without turning a hair, but what is interesting is that it is only one particular combination of compiler and operating system (plus computer?), that objected to this at compilation time.  But couldn?t the error message have been a little more helpful? &lt;BR /&gt; &lt;BR /&gt;On the general subject of array overflow, the most common cause of this in my types of application is using eg A(N) where N is imported as an argument.  If N is not set, it will have the value of 0, and the compiler will not be able to flag up that it is used before being assigned a value, as it would if it were not an argument of the procedure. &lt;BR /&gt; &lt;BR /&gt;Bear of little brain</description>
      <pubDate>Fri, 25 May 2001 06:42:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error/m-p/952820#M20015</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-05-25T06:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952821#M20016</link>
      <description>Bear,&lt;BR /&gt;&lt;BR /&gt;In your case, your program apparently stomped on memory used by a device driver.  You must have had array bounds checking turned off, as otherwise it would have complained about the out-of-bounds access.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 25 May 2001 08:13:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error/m-p/952821#M20016</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-05-25T08:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952822#M20017</link>
      <description>Steve, &lt;BR /&gt; &lt;BR /&gt;The correct form of address is "Oh Bear of little brain!", which is normally fully justified.  However, the compiler option check:bounds was in place as always, and the error is reproducible every time.  Odd, innit? &lt;BR /&gt; &lt;BR /&gt;Bear of little brain</description>
      <pubDate>Sat, 26 May 2001 00:05:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error/m-p/952822#M20017</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-05-26T00:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952823#M20018</link>
      <description>I'd have to see an actual example - my guess is that either the option was actually not set or that the code isn't doing what you thought it was.&lt;BR /&gt;&lt;BR /&gt;Steve (who sometimes resembles Eeyore)</description>
      <pubDate>Sat, 26 May 2001 02:00:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error/m-p/952823#M20018</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-05-26T02:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952824#M20019</link>
      <description>Steve,  &lt;BR /&gt;  &lt;BR /&gt;I give below a simple Subroutine that gives exactly the same error message as before, but only with the compiler option /check:bounds.  With /check:nobounds it compiles OK.  When it comes back from the  &lt;BR /&gt;fatal blue screen to the developer, it displays: Error spawning df.exe  &lt;BR /&gt;  &lt;BR /&gt;&lt;PRE&gt;  
SUBROUTINE CRASH_ON_COMPILE  ! CFV6.5A / Windows 95  
REAL*8 B(2)  
B(3) = 1.D0  
END  
&lt;/PRE&gt;  &lt;BR /&gt;  &lt;BR /&gt;Does anyone else get this error- or is it just confined to bears?  &lt;BR /&gt;  &lt;BR /&gt;Bear of little brain</description>
      <pubDate>Sun, 27 May 2001 06:36:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error/m-p/952824#M20019</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-05-27T06:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952825#M20020</link>
      <description>Sorry - missed that the error occured on compilation, rather than at run-time.  We did have a bug in 6.5 that could cause exactly this symptom, when a program had an out-of-bounds array access that could be detected at compile-time, on Windows 95/98.  We fixed it in 6.5A.  So far, everyone who has reported this to us says that 6.5A fixed it.  If you're really running 6.5A, and not 6.5, I'd be astonished.&lt;BR /&gt;&lt;BR /&gt;Start a Fortran Command Prompt and type DF/WHAT  What does it display?&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sun, 27 May 2001 07:03:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error/m-p/952825#M20020</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-05-27T07:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952826#M20021</link>
      <description>Steve, &lt;BR /&gt; &lt;BR /&gt;Um, who was running 6.5A and then reinstalled 6.5 but forgot the A? &lt;BR /&gt; &lt;BR /&gt;Yes, Bear of little Brain!</description>
      <pubDate>Mon, 28 May 2001 01:48:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error/m-p/952826#M20021</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-05-28T01:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Error/m-p/952827#M20022</link>
      <description>A bit too much hunny, bear? :-)&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 28 May 2001 21:54:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error/m-p/952827#M20022</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-05-28T21:54:28Z</dc:date>
    </item>
  </channel>
</rss>

