<?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 Debug printout, Fortran in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091045#M39249</link>
    <description>A run time error in a fortran program results in the following print out:&lt;BR /&gt;%DEBUGBOOT-W-PROTINSTALL, protected images must be installed&lt;BR /&gt;%SYSTEM-F-INTDIV, arithmetic trap, integer divide by zero at PC=0000000000010091&lt;BR /&gt;, PS=0000001B&lt;BR /&gt;&lt;BR /&gt;and then the dump info. No reference to source. What image is missing?&lt;BR /&gt;&lt;BR /&gt;Integrity, OpenVMS 8.2-1, FORTRAN V8.1-1, VMS821I_DEBUG V3.0.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Kjell&lt;BR /&gt;</description>
    <pubDate>Tue, 05 Feb 2008 13:14:17 GMT</pubDate>
    <dc:creator>Kjell Carlsson</dc:creator>
    <dc:date>2008-02-05T13:14:17Z</dc:date>
    <item>
      <title>Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091045#M39249</link>
      <description>A run time error in a fortran program results in the following print out:&lt;BR /&gt;%DEBUGBOOT-W-PROTINSTALL, protected images must be installed&lt;BR /&gt;%SYSTEM-F-INTDIV, arithmetic trap, integer divide by zero at PC=0000000000010091&lt;BR /&gt;, PS=0000001B&lt;BR /&gt;&lt;BR /&gt;and then the dump info. No reference to source. What image is missing?&lt;BR /&gt;&lt;BR /&gt;Integrity, OpenVMS 8.2-1, FORTRAN V8.1-1, VMS821I_DEBUG V3.0.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Kjell&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2008 13:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091045#M39249</guid>
      <dc:creator>Kjell Carlsson</dc:creator>
      <dc:date>2008-02-05T13:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091046#M39250</link>
      <description>&lt;BR /&gt;Kjell,&lt;BR /&gt;&lt;BR /&gt;Please consider to possibility that the error code returned is completely bogus.&lt;BR /&gt;Possibly the result of returning a function status into a float instead of an integer.&lt;BR /&gt;What is returned in DCL's $status?&lt;BR /&gt;&lt;BR /&gt;The reported PC is also bogus.&lt;BR /&gt;&lt;BR /&gt;This specific error would 'normally' only happen when starting an images (run, or call to lib$find_image_symbol). Is that what you are trying to do?&lt;BR /&gt;&lt;BR /&gt;Did it ever work? What changed?&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2008 13:36:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091046#M39250</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-02-05T13:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091047#M39251</link>
      <description>Hein&lt;BR /&gt;&lt;BR /&gt;The reported DCL status is&lt;BR /&gt; $STATUS == "%X10000484"&lt;BR /&gt;&lt;BR /&gt;The program is just a sample which performs an integer divide by zero. The problem is that the debugger doesn't work correctly. This is for all .exe in this specific computer. It has never worked.&lt;BR /&gt;&lt;BR /&gt;//kjell&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2008 14:27:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091047#M39251</guid>
      <dc:creator>Kjell Carlsson</dc:creator>
      <dc:date>2008-02-05T14:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091048#M39252</link>
      <description>Kjell,&lt;BR /&gt;&lt;BR /&gt;Before going too far, has somebody trimmed the list of installed images on this system??&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 05 Feb 2008 14:37:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091048#M39252</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-02-05T14:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091049#M39253</link>
      <description>Ah! you are forcing the error in a reproducer.&lt;BR /&gt;That status is of course indeed a the INTDIV&lt;BR /&gt;&lt;BR /&gt;probably a problem with sys$libary:SYS$SSISHR.EXE&lt;BR /&gt;&lt;BR /&gt;Try with SET WATCH FILE/CLA=MAJOR ! Need CMKRL?&lt;BR /&gt;&lt;BR /&gt;Missing debug image? SSISHR?&lt;BR /&gt;When I run a process with debugger I see:&lt;BR /&gt;&lt;BR /&gt;[VMS$COMMON.SYSLIB]CMA$TIS_SHR.EXE;1 (section file)&lt;BR /&gt;[VMS$COMMON.SYSLIB]LIBRTL.EXE;1 (section file)&lt;BR /&gt;[VMS$COMMON.SYSLIB]SYS$SSISHR.EXE;1 (section file)&lt;BR /&gt;[VMS$COMMON.SYSLIB]DEBUG.EXE;1 (section file)&lt;BR /&gt;[VMS$COMMON.SYSMSG]DECC$MSG.EXE;1 (section file)&lt;BR /&gt;[VMS$COMMON.SYSMSG]SHRIMGMSG.EXE;1 (section file)&lt;BR /&gt;[VMS$COMMON.SYSMSG]DBGTBKMSG.EXE;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ pipe install list | search sys$pipe CMA,SSISHR,DEBUG&lt;BR /&gt;   CMA$LIB_SHR;1&lt;BR /&gt;   CMA$OPEN_LIB_SHR;1&lt;BR /&gt;   CMA$OPEN_RTL;1   Open Hdr SharAddr          Lnkbl                       Resid&lt;BR /&gt;   CMA$RTL;1        Open Hdr SharAddr          Lnkbl                       Resid&lt;BR /&gt;   CMA$TIS_SHR;1    Open Hdr SharAddr          Lnkbl                       Resid&lt;BR /&gt;   DEBUG;1          Open Hdr Shared            Lnkbl&lt;BR /&gt;   DEBUGSHR;1       Open Hdr SharAddr          Lnkbl&lt;BR /&gt;   DEBUGUISHR;1     Open Hdr Shared            Lnkbl&lt;BR /&gt;   SYS$SSISHR;1     Open Hdr Shared       Prot Lnkbl</description>
      <pubDate>Tue, 05 Feb 2008 14:53:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091049#M39253</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-02-05T14:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091050#M39254</link>
      <description>I now see you are running 8.2&lt;BR /&gt;That was just a 'starter' version.&lt;BR /&gt;Pretty good, but you really want to be at 8.3, which has been there for a while now.&lt;BR /&gt;&lt;BR /&gt;Anyway...&lt;BR /&gt;&lt;BR /&gt;A reliable source wispered to me that this problem may have been caused by a debug ECO bringing in a bad TRACE.EXE.&lt;BR /&gt;&lt;BR /&gt;So you may want to recover from that ECO and/or contact support.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2008 17:08:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091050#M39254</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-02-05T17:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091051#M39255</link>
      <description>Kjell,&lt;BR /&gt;&lt;BR /&gt;  DEBUGBOOT errors usually mean something is preventing the last chance exception handlers from working properly - usually catastrophic like a quota wall or misdirected image name. One possibility is a logical name "TRACE" (or in some cases "DEBUG") visible to the process. &lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE TRACE TRUE&lt;BR /&gt;$ RUN DIVZ&lt;BR /&gt;%DEBUGBOOT-W-FNF, file not found&lt;BR /&gt;%SYSTEM-F-INTDIV, arithmetic trap, integer divide by zero at PC=FFFFFFFF80D10E48, PS=0000001B&lt;BR /&gt;&lt;BR /&gt;The exact conditon depends on the translation of TRACE. I haven't been able to work out a definition to generate PROTINSTALL, but I'm sure it's possible. &lt;BR /&gt;&lt;BR /&gt;This is somewhat of a design flaw from the beginning of OpenVMS. By OpenVMS naming rules, the images should have contained a "$" in the name, maybe SYS$TRACE and SYS$DEBUG instead of the naked words.&lt;BR /&gt;&lt;BR /&gt; It's highly likely that a programmer will choose to use obvious logical names DEBUG and TRACE for their own purposes, not realising that it will break the OpenVMS uses for the names. (but in my experience, it's something you only do once! ;-)</description>
      <pubDate>Wed, 06 Feb 2008 00:16:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091051#M39255</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-02-06T00:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091052#M39256</link>
      <description>Found a way ;-)&lt;BR /&gt;&lt;BR /&gt; This is a bit contrived, but it's feasible that a random file might look enough like a privileged image to get the same result:&lt;BR /&gt;&lt;BR /&gt;$ copy sys$share:secureshrp.exe sys$login:junk.dat&lt;BR /&gt;$ define trace sys$login:junk.dat&lt;BR /&gt;$ run divz&lt;BR /&gt;%DEBUGBOOT-W-PROTINSTALL, protected images must be installed&lt;BR /&gt;%SYSTEM-F-INTDIV, arithmetic trap, integer divide by zero at PC=FFFFFFFF80D10E48, PS=0000001B&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Feb 2008 00:21:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091052#M39256</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-02-06T00:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091053#M39257</link>
      <description>Kjell,&lt;BR /&gt;&lt;BR /&gt;  Another possibility, maybe TRACE is broken? Check to see if you have any earlier versions:&lt;BR /&gt;&lt;BR /&gt;$ DIR SYS$SHARE:TRACE&lt;BR /&gt;&lt;BR /&gt;Any earlier versions or .EXE_OLD? If so, repeat your experiment with TRACE defined to older images:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE TRACE SYS$SHARE:TRACE.EXE_OLD&lt;BR /&gt;&lt;BR /&gt;If that helps, maybe back out the DEBUG patch or look for a newer one.</description>
      <pubDate>Wed, 06 Feb 2008 01:05:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091053#M39257</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-02-06T01:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091054#M39258</link>
      <description>Could this be a data alignment issue?  Check how you are compiling with Fortran and what qualifiers are being used.  Maybe see if you are compiling with the alignment qualifier:&lt;BR /&gt;$ fortran&lt;BR /&gt;/align=(records=natural,commons=natural)&lt;BR /&gt;&lt;BR /&gt;Check out $ help fortran/align as it gives other options as well.  It kind of sounds like an array or record access violation.  Are you using shared commons or global shared regions that need to be installed but aren't?</description>
      <pubDate>Wed, 06 Feb 2008 03:01:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091054#M39258</guid>
      <dc:creator>DECxchange</dc:creator>
      <dc:date>2008-02-06T03:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091055#M39259</link>
      <description>re: DECxchange&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Could this be a data alignment issue?&lt;BR /&gt;&lt;BR /&gt;  Simple answer - definitely not!&lt;BR /&gt;&lt;BR /&gt;INTDIV and PROTINSTALL have nothing to do with array bounds or writable sections.&lt;BR /&gt;&lt;BR /&gt;Alignment issues affect performance, not correctness. At worst unaligned data will make your program run slower than it could if the data were aligned correctly. You won't see unexpected fatal error conditions.&lt;BR /&gt;&lt;BR /&gt;Incorrect attributes on shared commons will manifest at image activation as:&lt;BR /&gt;&lt;BR /&gt;%SYS-F-NOTINSTALL,  writable shareable images must be installed</description>
      <pubDate>Wed, 06 Feb 2008 03:17:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091055#M39259</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-02-06T03:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091056#M39260</link>
      <description>I found that the files SYS$SSISHR.EXE and even  SYS$SSISHRP.EXE are missing. I can't figure out why. Anyway I will upgrade to version 8.3.&lt;BR /&gt;&lt;BR /&gt;Thanks for all the replies.&lt;BR /&gt;&lt;BR /&gt;//kjell&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Feb 2008 14:28:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091056#M39260</guid>
      <dc:creator>Kjell Carlsson</dc:creator>
      <dc:date>2008-02-06T14:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Debug printout, Fortran</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091057#M39261</link>
      <description>Reinstall and update OpenVMS.</description>
      <pubDate>Wed, 06 Feb 2008 14:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-printout-fortran/m-p/5091057#M39261</guid>
      <dc:creator>Kjell Carlsson</dc:creator>
      <dc:date>2008-02-06T14:36:07Z</dc:date>
    </item>
  </channel>
</rss>

