<?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 &amp;quot;Unhandled exception&amp;quot; - the project had gone crazy in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833029#M53514</link>
    <description>Hi Steve&lt;BR /&gt;&lt;BR /&gt;I started debugging from the begining, as you suggested. &lt;BR /&gt;&lt;BR /&gt;The problem seems to occur in a set of 3 initialization routines in the begining of the fortran code.&lt;BR /&gt;&lt;BR /&gt;So I decided to run breaking at each line (or at internediate parts of the routines).&lt;BR /&gt;&lt;BR /&gt;I passed de 1st one and the program aborted in some point in the 2nd.&lt;BR /&gt;&lt;BR /&gt;So I started all over. This time I did not go in to the 1st routine, as it has passed before. I stepped it over, but for my surprise the program aborted before reaching the 2nd. routine.&lt;BR /&gt;&lt;BR /&gt;It passed when breaking at each line, but aborted when stepping it over.&lt;BR /&gt;&lt;BR /&gt;There are a lot of variables and vectors being initialized. To initialize the vectors I'm using something like A=0 instead of an explicit do loop. Would it be a problem?</description>
    <pubDate>Fri, 09 Sep 2011 18:27:43 GMT</pubDate>
    <dc:creator>denara</dc:creator>
    <dc:date>2011-09-09T18:27:43Z</dc:date>
    <item>
      <title>"Unhandled exception" - the project had gone crazy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833027#M53512</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yesterday I was working on a fortran file of my Fortran/C++ project. Adjusting and debuging an input data routine. The project was working fine. (VS2005 + IVF 11.1.070 on Windows 7)&lt;BR /&gt;&lt;BR /&gt;But today the project has gone crazy. Every time I attempt to run it (debug mode) I get a "Unhandled exception" but not always the same message. &lt;BR /&gt;&lt;BR /&gt;Once I get: &lt;BR /&gt;&lt;BR /&gt;"Unhandled exception at 0x13cbe6d0 in NH2_v90graf.exe: 0xC0000005: Access violation reading location 0x13cbe6d0."&lt;BR /&gt;&lt;BR /&gt;The program stops at a "break". I stop debugging and star over. The I get another message:&lt;BR /&gt;&lt;BR /&gt;"Unhandled exception at 0x140be6d0 in NH2_v90graf.exe: 0xC0000005: Access violation reading location 0x140be6d0."&lt;BR /&gt;&lt;BR /&gt;I repeat the process: stop debuggind, begin again. And once more a diferent message:&lt;BR /&gt;&lt;BR /&gt;"Unhandled exception at 0x13e3e6d0 in NH2_v90graf.exe: 0xC0000005: Access violation reading location 0x13e3e6d0."&lt;BR /&gt;&lt;BR /&gt;The program seems to break at point that no relation to the routine I was working on.&lt;BR /&gt;Between each run I rebuild the entire project. Ive been doing this for more than 3 hours by now. Ive had many unhandled exceptions and one or two successful runs.&lt;BR /&gt;&lt;BR /&gt;I havent change anything in the project. I began wher I stopped yesterday.&lt;BR /&gt;The only diference is that when I turned the compluter off yesterday, Windows has made an update. I thought this might be the cause and restored the system. But, still not working.&lt;BR /&gt;&lt;BR /&gt;I have no idea of what may be happening. Any guess?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Andrea&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Sep 2011 16:12:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833027#M53512</guid>
      <dc:creator>denara</dc:creator>
      <dc:date>2011-09-09T16:12:12Z</dc:date>
    </item>
    <item>
      <title>"Unhandled exception" - the project had gone crazy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833028#M53513</link>
      <description>The locations for the access changes because Windows 7 does Address Space Layout Randomization. Every time you run the program, memory allocations are a bit different. The location in your program is the same. If you Break in the debugger, it should show you what was executing at the time - it may be a library routine called from your code, in which case you would use the Call Stack drop down list in Visual Studio to see where things were called from.</description>
      <pubDate>Fri, 09 Sep 2011 16:37:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833028#M53513</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-09-09T16:37:46Z</dc:date>
    </item>
    <item>
      <title>"Unhandled exception" - the project had gone crazy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833029#M53514</link>
      <description>Hi Steve&lt;BR /&gt;&lt;BR /&gt;I started debugging from the begining, as you suggested. &lt;BR /&gt;&lt;BR /&gt;The problem seems to occur in a set of 3 initialization routines in the begining of the fortran code.&lt;BR /&gt;&lt;BR /&gt;So I decided to run breaking at each line (or at internediate parts of the routines).&lt;BR /&gt;&lt;BR /&gt;I passed de 1st one and the program aborted in some point in the 2nd.&lt;BR /&gt;&lt;BR /&gt;So I started all over. This time I did not go in to the 1st routine, as it has passed before. I stepped it over, but for my surprise the program aborted before reaching the 2nd. routine.&lt;BR /&gt;&lt;BR /&gt;It passed when breaking at each line, but aborted when stepping it over.&lt;BR /&gt;&lt;BR /&gt;There are a lot of variables and vectors being initialized. To initialize the vectors I'm using something like A=0 instead of an explicit do loop. Would it be a problem?</description>
      <pubDate>Fri, 09 Sep 2011 18:27:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833029#M53514</guid>
      <dc:creator>denara</dc:creator>
      <dc:date>2011-09-09T18:27:43Z</dc:date>
    </item>
    <item>
      <title>"Unhandled exception" - the project had gone crazy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833030#M53515</link>
      <description>Not necessarily, but I see that the address it shows is quite large. Can you reduce this down to a small test case I can look at? You may want to try setting Optimization &amp;gt; Heap Arrays to 0, rebuild, and see what happens.</description>
      <pubDate>Fri, 09 Sep 2011 18:41:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833030#M53515</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-09-09T18:41:35Z</dc:date>
    </item>
    <item>
      <title>"Unhandled exception" - the project had gone crazy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833031#M53516</link>
      <description>The project is a commecial application with almost a thousand files and hundred thousand lines. I cant reduce it.&lt;BR /&gt;The optimization option was not successful&lt;BR /&gt;I am double checking the initialization routines.&lt;BR /&gt;What I cant figure out is why as it working yesterday and not today?...</description>
      <pubDate>Fri, 09 Sep 2011 19:00:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833031#M53516</guid>
      <dc:creator>denara</dc:creator>
      <dc:date>2011-09-09T19:00:09Z</dc:date>
    </item>
    <item>
      <title>"Unhandled exception" - the project had gone crazy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833032#M53517</link>
      <description>You may have run out of virtual memory, depending on your system's pagefile usage. Try rebooting and running the program again.</description>
      <pubDate>Fri, 09 Sep 2011 19:41:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833032#M53517</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-09-09T19:41:14Z</dc:date>
    </item>
    <item>
      <title>"Unhandled exception" - the project had gone crazy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833033#M53518</link>
      <description>Andrea,&lt;BR /&gt;&lt;BR /&gt;RE: page file&lt;BR /&gt;&lt;BR /&gt;The Windows System log may contain a useful error message (e.g. not enough free disk space to expand your page file). Is your Windows 7 x64? If so, add a configuration to build as x64 (your error messages are indicating x32 build).&lt;BR /&gt;&lt;BR /&gt;Note, Windows often defaults to fixed page file size (this size may have changed during your last updata). You can alter the properties to permit it to expand until much larger.&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
      <pubDate>Sat, 10 Sep 2011 01:19:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833033#M53518</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2011-09-10T01:19:14Z</dc:date>
    </item>
    <item>
      <title>"Unhandled exception" - the project had gone crazy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833034#M53519</link>
      <description>Steve and Jim,&lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestions, but I think the problem is not related to the project itself.&lt;BR /&gt;&lt;BR /&gt;I restored an old distributed version from SVN and built the project, which, by the way, was working nicely. I could run the debug successfully once. But it crashed in the second try. And after that, no matter what I do, it crashes. It sometimes works when I reboot the computer. but just for one or two times.&lt;BR /&gt;&lt;BR /&gt;May be there is some problem with the last Windows updates, since things were working fine before it.&lt;BR /&gt;The computer is rather new, so very few things on HD. It has RAM 4GB, Windows 7 32 bits, Intel Core 2 Quad. Better than my old one. So I dont belive it is a system requirement problem.&lt;BR /&gt;&lt;BR /&gt;I will try to restore the system, and if does not work, reinstall Windows. Let's see.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;Andrea</description>
      <pubDate>Mon, 12 Sep 2011 18:27:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833034#M53519</guid>
      <dc:creator>denara</dc:creator>
      <dc:date>2011-09-12T18:27:27Z</dc:date>
    </item>
    <item>
      <title>"Unhandled exception" - the project had gone crazy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833035#M53520</link>
      <description>It is beginning to sound as if it's a problem wth the PC, but again I wonder if something is taking up virtual memory that your application needs. As the computer is "rather new", I am somewhat surprised that you are running the 32-bit version of Windows 7. You really should use the 64-bit version if you can, and I predict that if you do, and build the project in an "x64" configuration, the problems will go away.</description>
      <pubDate>Mon, 12 Sep 2011 19:37:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833035#M53520</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-09-12T19:37:50Z</dc:date>
    </item>
    <item>
      <title>"Unhandled exception" - the project had gone crazy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833036#M53521</link>
      <description>The PC is not mine. It's from the company I work for, and unfortunately I cannot choose the OS. If so, I could try the 64-bit.&lt;BR /&gt;&lt;BR /&gt;But now I may have found the solution. &lt;BR /&gt;&lt;BR /&gt;As I mentioned, the problem started after a Windows Update (KB2607712). I tried to restore the system, but didnt work out.&lt;BR /&gt;&lt;BR /&gt;I reinstalled the Microsoft Visual C++ 2005 Redistributale (vcredist_x86.exe) and things were back to normal. &lt;BR /&gt;&lt;BR /&gt;Then I let Windows made the update KB2607712, and the program crashed again. &lt;BR /&gt;&lt;BR /&gt;So I reintalled vcredist. Back to normal.&lt;BR /&gt;&lt;BR /&gt;My conclusion: something on windows update has messed up my VS2005 so that vcredist has to be installed AFTER the update.&lt;BR /&gt;&lt;BR /&gt;Dont know if it will happen again, with some future update. But by now, at least Im working.&lt;BR /&gt;&lt;BR /&gt;Andrea&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Sep 2011 13:05:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quot-Unhandled-exception-quot-the-project-had-gone-crazy/m-p/833036#M53521</guid>
      <dc:creator>denara</dc:creator>
      <dc:date>2011-09-13T13:05:24Z</dc:date>
    </item>
  </channel>
</rss>

