<?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: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120183#M39031</link>
    <description>It is not unlikely to be a badly handled error.&lt;BR /&gt;&lt;BR /&gt;Those addresses do not mean much ot anyone.&lt;BR /&gt;The very least you need to provide/consider is some crude memory map. &lt;BR /&gt;And I would also run once with $SET WATCH FILE/CLA=MAJOR. It is not unlikely to be an environment / file problem&lt;BR /&gt;&lt;BR /&gt;$SET PROC/NAM=TEST&lt;BR /&gt;$SET WATCH FILE/CLA=MAJOR&lt;BR /&gt;$RUN program&lt;BR /&gt;:&lt;BR /&gt;! manoeuver around, untill just before exit&lt;BR /&gt;! Watch for errors in set watch output all along&lt;BR /&gt;&lt;BR /&gt;^Y SPAWN ! Or second window&lt;BR /&gt;&lt;BR /&gt;$ANAL/SYSTEM&lt;BR /&gt;SDA&amp;gt; SET PROC TEST&lt;BR /&gt;SDA&amp;gt; SHOW PROC/CHAN&lt;BR /&gt;SDA&amp;gt; SHOW PROC/IMAGE&lt;BR /&gt;SDA&amp;gt; EXAM/INSTR interesting-address-from-accvio - 40 ; 80&lt;BR /&gt;&lt;BR /&gt;Does SDA in 7.3-2 have LNM TRACE?&lt;BR /&gt;Again, just in case it is environmental and the access happens to try a logical name use that.&lt;BR /&gt;&lt;BR /&gt;LNM LOAD&lt;BR /&gt;LNM START TRACE&lt;BR /&gt;&lt;BR /&gt;Back to main window and try the exit.&lt;BR /&gt;&lt;BR /&gt;LNM STOP TRACE&lt;BR /&gt;LNM SHOW TRACE (filter for the right PID)&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 21 Dec 2007 20:44:05 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2007-12-21T20:44:05Z</dc:date>
    <item>
      <title>VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120182#M39030</link>
      <description>This isn't my problem to solve (I am not the programmer), but I wanted to get get some insight if possible ...&lt;BR /&gt;&lt;BR /&gt;Environment:&lt;BR /&gt;- ES47 model 4, 8GB memory&lt;BR /&gt;- VMS v7.2-2 restored from an existing Alpha 800, 512MB memory&lt;BR /&gt;- Upgraded to v7.3-2, all VMS patches applied&lt;BR /&gt;&lt;BR /&gt;I tried one of the applications (written in BASIC v1.3 and uses FMS v2.4 screens).  I am able to launch the app and navigate it's menues, choose a function that I have a bit of familiarity with and inquire/retrieve a record ... all seems to work fine.  Trying to exit the application (Gold PF1) the process gets an ACCVIO (see attached).&lt;BR /&gt;&lt;BR /&gt;Is there anything that can be gleaned from this little bit of info?  Is there anything I can do/try from a VMS perspective?  I don't have access to the source code to answer any such specific questions.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Art</description>
      <pubDate>Fri, 21 Dec 2007 19:45:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120182#M39030</guid>
      <dc:creator>Art Wiens</dc:creator>
      <dc:date>2007-12-21T19:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120183#M39031</link>
      <description>It is not unlikely to be a badly handled error.&lt;BR /&gt;&lt;BR /&gt;Those addresses do not mean much ot anyone.&lt;BR /&gt;The very least you need to provide/consider is some crude memory map. &lt;BR /&gt;And I would also run once with $SET WATCH FILE/CLA=MAJOR. It is not unlikely to be an environment / file problem&lt;BR /&gt;&lt;BR /&gt;$SET PROC/NAM=TEST&lt;BR /&gt;$SET WATCH FILE/CLA=MAJOR&lt;BR /&gt;$RUN program&lt;BR /&gt;:&lt;BR /&gt;! manoeuver around, untill just before exit&lt;BR /&gt;! Watch for errors in set watch output all along&lt;BR /&gt;&lt;BR /&gt;^Y SPAWN ! Or second window&lt;BR /&gt;&lt;BR /&gt;$ANAL/SYSTEM&lt;BR /&gt;SDA&amp;gt; SET PROC TEST&lt;BR /&gt;SDA&amp;gt; SHOW PROC/CHAN&lt;BR /&gt;SDA&amp;gt; SHOW PROC/IMAGE&lt;BR /&gt;SDA&amp;gt; EXAM/INSTR interesting-address-from-accvio - 40 ; 80&lt;BR /&gt;&lt;BR /&gt;Does SDA in 7.3-2 have LNM TRACE?&lt;BR /&gt;Again, just in case it is environmental and the access happens to try a logical name use that.&lt;BR /&gt;&lt;BR /&gt;LNM LOAD&lt;BR /&gt;LNM START TRACE&lt;BR /&gt;&lt;BR /&gt;Back to main window and try the exit.&lt;BR /&gt;&lt;BR /&gt;LNM STOP TRACE&lt;BR /&gt;LNM SHOW TRACE (filter for the right PID)&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Dec 2007 20:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120183#M39031</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-12-21T20:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120184#M39032</link>
      <description>Hello,&lt;BR /&gt;     I doubt if something like this has anything to do with your OS upgrade.  It is probably an application level bug.  So there's no way you can recompile and relink that particular program with debug?&lt;BR /&gt;&lt;BR /&gt;$ basic/debug/noopt &lt;PROGRAM or="" subroutine="" name=""&gt;&lt;BR /&gt;$ link/deb &lt;PROGRAM name=""&gt;/opt&lt;BR /&gt;&lt;BR /&gt;If there is an option file?  This may not be the exact syntax for recompiling and relinking on your system, just a general suggestion.&lt;BR /&gt;&lt;BR /&gt;Otherwise, I think those SDA suggestions are very informative and useful.  I think though at some point, you want to be able to get access to source code or somebody who does have access to source code and solve the problem that way.&lt;BR /&gt;&lt;BR /&gt;Another thought, you might want to check the process quotas, if they changed with the upgrade.  Do you have a copy of the operating system before the upgrade you can fall back on to see if you still get this error?  And you can check for any changes in quotas?&lt;/PROGRAM&gt;&lt;/PROGRAM&gt;</description>
      <pubDate>Sat, 22 Dec 2007 03:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120184#M39032</guid>
      <dc:creator>DECxchange</dc:creator>
      <dc:date>2007-12-22T03:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120185#M39033</link>
      <description>This ACCVIO looks comparatively trivial to find, given access to the source code and a debug build.&lt;BR /&gt;&lt;BR /&gt;On zero evidence, my first target would be for an error in a declared exit handler ($dclexh), or something in the main exit path.  But again, a reproducible error is a wonderful thing.&lt;BR /&gt;&lt;BR /&gt;And no, it's not clear if this a bug introduced in the upgrade, or a latent bug in the application.  My bet would be on the latter.&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Dec 2007 03:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120185#M39033</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-12-22T03:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120186#M39034</link>
      <description>Art,&lt;BR /&gt;&lt;BR /&gt;issue a SET PROC/DUMP and then run your program. Once it will ACCVIO, you'll get a process dump written. Consider the run with CMKRNL priv set, so that you get all of of the process address space and important parts of system address space dumps.&lt;BR /&gt;&lt;BR /&gt;$ ANAL/PROC imagename.DMP&lt;BR /&gt;DBG&amp;gt;&lt;BR /&gt;&lt;BR /&gt;You can now debug the failing isntruction, you can invoke SDA (from the DBG&amp;gt; prompt type SDA) to look at the images activated in the process and the channels and have all the information you need - except direct mapping of adresses to source code lines.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Sat, 22 Dec 2007 08:19:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120186#M39034</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-12-22T08:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120187#M39035</link>
      <description>would not running with CMEXEC be enough as system data structures are often protected ERKW</description>
      <pubDate>Mon, 24 Dec 2007 10:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120187#M39035</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2007-12-24T10:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120188#M39036</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;you're right. Running the image (creating the process dump) with CMEXEC prevents the following error message:&lt;BR /&gt;&lt;BR /&gt;%SDA-W-EXCLDATA, data excluded from dump due to insufficient privilege&lt;BR /&gt;&lt;BR /&gt;when trying to analyze the process dump with SDA.&lt;BR /&gt;&lt;BR /&gt;Merry Christmas,&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 24 Dec 2007 10:59:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120188#M39036</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-12-24T10:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120189#M39037</link>
      <description>So I was just about to try some of your suggestions and voila ... the problem is gone!(?)  I did nothing to it over the weekend, noone else knows the system is up yet.  I went back to make sure I was using the right account ... yes.  Tried with and without privs, no diff.  How can this be?!  Self healing applications?!&lt;BR /&gt;&lt;BR /&gt;What I've found is that the problem only occurs if "the user" is an RTA device ie. a Decnet session (SET HOST 0) which is what I was doing on Friday.  If I Telnet in, it works fine.  Something changed in Decnet IV in VMS 7.3-2?&lt;BR /&gt;&lt;BR /&gt;I will continue the investigation.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Art</description>
      <pubDate>Mon, 24 Dec 2007 14:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120189#M39037</guid>
      <dc:creator>Art Wiens</dc:creator>
      <dc:date>2007-12-24T14:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120190#M39038</link>
      <description>Using the SET WATCH FILE command and side by side comparing a Telnet vs Decnet session:  at the point where it should give a message saying "Exiting the xxx application", on the Decnet session there is an extra file access then the error:&lt;BR /&gt;&lt;BR /&gt;%XQP, Thread #0, Access  (0,0,0) Status: 00000910&lt;BR /&gt;%XQP, Thread #0, Access SORTMSG.EXE;1 (2232,3,0) Status: 00000001&lt;BR /&gt;%XQP, Thread #0, Control function  (2232,3,0) Status: 00000001&lt;BR /&gt;%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000000000000&lt;BR /&gt;0009, PC=0000000000EE3298, PS=0000001B&lt;BR /&gt;&lt;BR /&gt;The Telnet session does not access this file - other than that, all other accesses are the same.&lt;BR /&gt;&lt;BR /&gt;Art</description>
      <pubDate>Mon, 24 Dec 2007 15:50:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120190#M39038</guid>
      <dc:creator>Art Wiens</dc:creator>
      <dc:date>2007-12-24T15:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120191#M39039</link>
      <description>This smells like a sensitivity to whatever cruft happens to be left sitting on the stack, or similar.&lt;BR /&gt;&lt;BR /&gt;Exit and error handlers are sensitive to these sorts of subtleties, and ASTs can encounter similar sensitivities.&lt;BR /&gt;&lt;BR /&gt;Errors that move are errors that involve uninitialized values, or stack values, or race conditions, unsynchronized completions or other such.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Dec 2007 16:08:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120191#M39039</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-12-24T16:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120192#M39040</link>
      <description>Well that's all odd/fun.&lt;BR /&gt;&lt;BR /&gt;btw... the status in the $set watch log shown is hex:&lt;BR /&gt;$ exit %x910&lt;BR /&gt;%SYSTEM-W-NOSUCHFILE, no such file&lt;BR /&gt;&lt;BR /&gt;but that's probably reflecting on the lines just before that.&lt;BR /&gt;&lt;BR /&gt;Odd, how a sortmsg can touched or not.&lt;BR /&gt;&lt;BR /&gt;Are the paths through (sy)login.com exactly the same? &lt;BR /&gt;Toss in a $SHOW TERM/FULL, and maybe a $SHOW LOG/PROC, $SHOW LOG/JOB ?&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Dec 2007 16:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120192#M39040</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-12-24T16:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120193#M39041</link>
      <description>Art,&lt;BR /&gt;&lt;BR /&gt;did you produce a process dump ? This should at least tell you, in which piece of software the ACCVIO is happening (PC=0EE3298). And what's on the call statck at that point of time.&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Dec 2007 08:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120193#M39041</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-12-25T08:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120194#M39042</link>
      <description>The app is compiled/linked with debug and I found the source.  I've traced it as far as I can and have included the output.  I also traced it with a working Telnet session and it just moves past where the Decnet session fails.  Google hasn't turned up much on FDV$DTERM.&lt;BR /&gt;&lt;BR /&gt;Art</description>
      <pubDate>Wed, 02 Jan 2008 02:34:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120194#M39042</guid>
      <dc:creator>Art Wiens</dc:creator>
      <dc:date>2008-01-02T02:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120195#M39043</link>
      <description>Hi again Art,&lt;BR /&gt;&lt;BR /&gt;I'm afraid I can not try just now, but I would guess that FDV$DTERM (Detach Terminal) is reacting to a bad 'TCA'.&lt;BR /&gt;&lt;BR /&gt;I'd check the return status on the FDV$ATERM (attach Terminal) for the both situations.&lt;BR /&gt;It may have failed. Of course that's no excuse for DTERM to ACCVIO, but it may help your quest.&lt;BR /&gt;&lt;BR /&gt;btw... odd for a program to mix direct screen IO (Escape sequence to line 24) and FMS calls.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jan 2008 05:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120195#M39043</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-01-02T05:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120196#M39044</link>
      <description>FDV$DTERM is part of the rundown processing for DEC FMS.&lt;BR /&gt;&lt;BR /&gt;Something has romped on the stack, or there's an exit handler messed up, the TCA has been sat upon, etc.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h18000.www1.hp.com/support/asktima/appl_tools/0090948E-B0A673E0-0801E7.html" target="_blank"&gt;http://h18000.www1.hp.com/support/asktima/appl_tools/0090948E-B0A673E0-0801E7.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jan 2008 05:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120196#M39044</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-01-02T05:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120197#M39045</link>
      <description>&lt;!--!*#--&gt;I found in the source where FMS is initialized:&lt;BR /&gt;&lt;BR /&gt;        FMS::FDV$Status_l       = FDV$ATERM(    FMS::TCA,       ! Terminal Control Area         &amp;amp;&lt;BR /&gt;                                                "5000"L,        ! Size of TCA                   &amp;amp;&lt;BR /&gt;                                                "1"L)           ! Logical I/O Channel number&lt;BR /&gt;        if FMS::FDV$Status_l &amp;lt;&amp;gt; FDV$_SUC                        ! FDV status code&lt;BR /&gt;          then  Print "FDV$ATERM failed ";FMS::FDV$Status_l;" in ";PROGNAME;VERSION;RELEASEDATE;BEL&lt;BR /&gt;                Exit Function&lt;BR /&gt;&lt;BR /&gt;ie. it checks the status after it sets it up and doesn't fail there.  I looked at FMS::TCA and it doesn't seem to change value during or after the failure.&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; dump fms::tca&lt;BR /&gt;                   -1776    17661952        4236 .........Ã¹..     00000000006643F9&lt;BR /&gt;&lt;BR /&gt;Hoff, I read that article you gave ... although not an "exhaustive" analysis on my part, but the variables seems to be different in the various functions.&lt;BR /&gt;&lt;BR /&gt;I did go back to the v7.2-2 system and tried it ... works fine by Telnet or Decnet. The code is circa 1985 and doesn't look like it's been touched since 1992 ... how long can a bug be "dormant"?!  15 years I guess! ;-)&lt;BR /&gt;&lt;BR /&gt;I should just hand this over to "the programmers" but I'm not sure they won't be back at my desk shortly thereafter.  What else can I check for?  (and how?)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Art</description>
      <pubDate>Wed, 02 Jan 2008 20:13:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120197#M39045</guid>
      <dc:creator>Art Wiens</dc:creator>
      <dc:date>2008-01-02T20:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120198#M39046</link>
      <description>Art,&lt;BR /&gt;&lt;BR /&gt;That looks like relatively solid BASIC/FMS coding judging by the clear type casting and such. Still, stuff can slip in.&lt;BR /&gt;The size '5000' is a little suspect. I don't think I've ever used anythign but '12'. The AWKSP yes, there a larger vale helped avoiding re-allocations.&lt;BR /&gt;&lt;BR /&gt;I now recall issues with this set of calls, way back when (1991!) at that time resulting in 'Illegal String Class Error' on program 'end', but it was triggered by FDV$DTERM being passed a bad/stale TCA and it just went with it, corrupting variables on the stack. This sort of thing could easily be version dependent.. is random stack addresses are used at time point.&lt;BR /&gt;Andd ACCVIO is only a bit away from illegal string so to speak.&lt;BR /&gt;&lt;BR /&gt;The TCA and WORKSPACE are arrays of 3 LONGwords, or 12 byte strings passed by descriptor. The contents is 'opaque', but the data must ofcourse stay valid. A static variable is most save. You can use (dynamic) strings, but they must be pre-extended to the 12 bytes.&lt;BR /&gt;Looks like a record structure is used.&lt;BR /&gt;You may want to doublecheck the details.&lt;BR /&gt;You may want to doublecheck 'option type=explicit' is in effect.&lt;BR /&gt;&lt;BR /&gt;From the FMS manuals:&lt;BR /&gt;"The locations for workspace, terminal control area, run-time&lt;BR /&gt;  memory-resident form area, and status recording variables&lt;BR /&gt;  must all continue to exist while the Form Driver is using&lt;BR /&gt;  them. They must remain allocated until the workspace and&lt;BR /&gt;  terminal control area are detached, until forms in memory&lt;BR /&gt;  location are deleted, and until the status reporting variables&lt;BR /&gt;  are no longer used. Protect the variables by placing them in&lt;BR /&gt;  a common storage area; otherwise, the compiler might place&lt;BR /&gt;  them in dynamic storage."&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sysworks.com.au/disk$axpdocjun042/progtool/dyy4aaa6.bkb" target="_blank"&gt;http://www.sysworks.com.au/disk$axpdocjun042/progtool/dyy4aaa6.bkb&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sysworks.com.au/disk$axpdocjun042/progtool/dyy4aaa6.p109.bkb" target="_blank"&gt;http://www.sysworks.com.au/disk$axpdocjun042/progtool/dyy4aaa6.p109.bkb&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;ATERM FDV$ATERM (tca.ml.da,size.rl.r,channel.rl.r[,trmnal.rt.dx1 [,faketrm-&lt;BR /&gt;                typ.rt.dx1[,options.rl.r]]])&lt;BR /&gt;&lt;BR /&gt;good luck!&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jan 2008 01:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120198#M39046</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-01-03T01:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120199#M39047</link>
      <description>{{ how long can a bug be "dormant"?!  15 years I guess! ;-) }}&lt;BR /&gt;&lt;BR /&gt;For as long as the code is old, technically.&lt;BR /&gt;&lt;BR /&gt;{{ I should just hand this over to "the programmers" but I'm not sure they won't be back at my desk shortly thereafter.  What else can I check for?  (and how?) }}&lt;BR /&gt;&lt;BR /&gt;The trigger in that support article was stuff messing about within the TCA, intentionally or otherwise.  A stack bug can, for instance, slam other storage (such as the TCA) on the stack.  An IOSB that gets written to storage no longer allocated, etc.&lt;BR /&gt;&lt;BR /&gt;I'd first review the whole of the code, and add explicit error checking throughout.  Then head off after any asynchronous processing and the associated coding errors that can lurk.  There exists a list of some of the more common coding errors over in topic (1661) of the old Ask The Wizard area.  If things get weird, start looking for subtle and latent errors, and by solidifying the code.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jan 2008 02:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120199#M39047</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-01-03T02:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120200#M39048</link>
      <description>Art,&lt;BR /&gt;&lt;BR /&gt;you might want to use DBG&amp;gt; DUMP/LONG to make sure, you see all the binary data in the TCA area.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 03 Jan 2008 08:47:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120200#M39048</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2008-01-03T08:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: VMS upgrade v7.2-2 to v7.3-2 - subsequent application failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120201#M39049</link>
      <description>Hey ... 10 points for me!!  Look what I found:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ftp.support.compaq.com.au/pub/patches/vms/axp/v7.1/fms/2.4/decfmseco5024.README" target="_blank"&gt;http://ftp.support.compaq.com.au/pub/patches/vms/axp/v7.1/fms/2.4/decfmseco5024.README&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It mentions a couple of cases where ACCVIO's can occur, none match my scenario "exactly" but worth a shot.&lt;BR /&gt;&lt;BR /&gt;It looks like our FMS installation was the original FMS v2.4 ie. no patches applied.&lt;BR /&gt;&lt;BR /&gt;I installed the patch and tried the app a few times Decnet and Telnet ... no crashes on exiting! Hopefully it's "fixed" now.&lt;BR /&gt;&lt;BR /&gt;Thanks all for the help/advice, learned quite a few things along the way - never used the debugger interface before - never looked at the app's mainmenu source before.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Art</description>
      <pubDate>Thu, 03 Jan 2008 21:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-upgrade-v7-2-2-to-v7-3-2-subsequent-application-failure/m-p/4120201#M39049</guid>
      <dc:creator>Art Wiens</dc:creator>
      <dc:date>2008-01-03T21:30:55Z</dc:date>
    </item>
  </channel>
</rss>

