<?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: OpenVMS/VAX V6.2 DCL CLI bug terminates process with %SYSTEM-F-BUGCHECK in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205391#M105902</link>
    <description>&lt;P&gt;Hi Volker, thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Because the code was running in supervisor mode, it just deleted the current process and did not harm the system."&lt;BR /&gt;From my reading of the OpenVMS System Messages and Recovery Procedures Manual A-L for OpenVMS/VAX v6.0 (AA-PVXKA-TE, MAY-1993):&lt;BR /&gt;&lt;BR /&gt;DOUBLDEALO, double deallocation of memory block&lt;BR /&gt;Facility: BUGCHECK, System Bugcheck&lt;BR /&gt;Explanation: The OpenVMS software detected an irrecoverable, inconsistent&lt;BR /&gt;condition. After all physical memory is written to a system dump file, the&lt;BR /&gt;system automatically reboots if the BUGREBOOT system parameter is set&lt;BR /&gt;to 1.&lt;BR /&gt;&lt;BR /&gt;...it's not really clear whether I should expect a DOUBLDEALO BUGCHECK to trigger a system reboot if the SYSGEN BUGREBOOT parameter is set to 1 (testing it on an evaluation CharonVAX install running on my laptop with BUGREBOOT set to 1 does not trigger it, so I presume the manual's text is correct if the mode at which the BUGCHECK occurs is kernel mode (if not executive as well)).&lt;BR /&gt;&lt;BR /&gt;I'm not sure if there are any circumstances under which an ordinary user might be able to trigger such a reboot, so I don't propose posting the reproducer here for now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;You could also send me the reproducer (hint: I still work at Invenate) and I might try it even on VSI OpenVMS x86-64 V9.2-1&lt;BR /&gt;I have tried to P.M. you within the confines of HPE Community, but I get "You have reached the limit for number of private messages that you can send for now. Please try again later. ", where clearly that limit is zero (!), and trying again "later" without an HPE forum admin manually intervening would be pointless.&lt;BR /&gt;&lt;BR /&gt;Based on historic posts elsewhere, I've divined email addresses for you at Invenate and also encompasserve.org, so will send an email shortly with the reproducer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Mark&lt;/P&gt;</description>
    <pubDate>Sat, 27 Jan 2024 22:27:16 GMT</pubDate>
    <dc:creator>Mark_Corcoran</dc:creator>
    <dc:date>2024-01-27T22:27:16Z</dc:date>
    <item>
      <title>OpenVMS/VAX V6.2 DCL CLI bug terminates process with %SYSTEM-F-BUGCHECK</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205369#M105900</link>
      <description>&lt;P&gt;On 25-JAN-2024, I made some changes to a command procedure used to automate testing of functional changes I'm making to our primary application running on OpenVMS, and was surprised when my Telnet connection terminated.&lt;BR /&gt;&lt;BR /&gt;Looking at the session log (we log in using a captive account that then does a SET HOST 0 /LOG), it transpired that the last thing output before the session terminated was:&lt;BR /&gt;&lt;BR /&gt;%DCL-E-INVCALL, invalid CALL nesting structure or data inconsistency detected&lt;BR /&gt;&lt;BR /&gt;The accounting record shows a final exit status of %X000002A4 ("%SYSTEM-F-BUGCHECK, internal consistency failure")., and ANALYZE /ERROR records the following when I ran the procedure again yesterday (process name and node name changed/redacted) - apologies for the formatting... multiple spaces get compressed to a single one when posting here:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ERROR SEQUENCE 12049. LOGGED ON: SID 13001003&lt;BR /&gt;DATE/TIME 26-JAN-2024 06:39:44.69 SYS_TYPE 03260B01&lt;BR /&gt;SYSTEM UPTIME: 42 DAYS 19:26:23&lt;BR /&gt;SCS NODE: MYNODE VAX/VMS V6.2&lt;/P&gt;&lt;P&gt;USER BUGCHECK KA53 CPU Microcode Rev # 3. CONSOLE FW REV# 2.6&lt;BR /&gt;Standard Microcode Patch Patch Rev # 8.&lt;/P&gt;&lt;P&gt;DOUBLDEALO, Double deallocation of memory block&lt;/P&gt;&lt;P&gt;PROCESS NAME MYPROCESS&lt;/P&gt;&lt;P&gt;PROCESS ID 000300F2&lt;/P&gt;&lt;P&gt;ERROR PC 86F12ACE&lt;BR /&gt;ERROR PSL 02800004&lt;BR /&gt;Z-BIT&lt;BR /&gt;INTERRUPT PRIORITY LEVEL = 00.&lt;BR /&gt;PREVIOUS MODE = SUPERVISOR&lt;BR /&gt;CURRENT MODE = SUPERVISOR&lt;BR /&gt;FIRST PART DONE CLEAR&lt;/P&gt;&lt;P&gt;STACK POINTERS&lt;/P&gt;&lt;P&gt;KSP 7FFE77B4 ESP 7FFE9800 SSP 7FFEC9F0 USP 7FECE7C4 ISP 88AE9600&lt;/P&gt;&lt;P&gt;GENERAL REGISTERS&lt;/P&gt;&lt;P&gt;R0 7FED80D0 R1 00000000 R2 7FED3C70 R3 7FED80D0 R4 00000078&lt;BR /&gt;R5 7FFECC5C R6 7FFE2CC0 R7 0000001C R8 10038942 R9 7FFECC50&lt;BR /&gt;R10 7FFED7D4 R11 7FFE2BDC AP 00000010 FP 7FFED7D4 SP 7FFE77F8&lt;/P&gt;&lt;P&gt;KA53 REGISTER SUBPACKET&lt;/P&gt;&lt;P&gt;TODR 00000000&lt;BR /&gt;BPCR 00000000&lt;BR /&gt;PAMODE 00000000&lt;BR /&gt;30 bit physical address mode&lt;BR /&gt;MMEPTE 00000000&lt;BR /&gt;MMESTS 00000000&lt;BR /&gt;PCSCR 00000000&lt;BR /&gt;Patchable control store disabled&lt;BR /&gt;no microcode patch&lt;BR /&gt;CPU microcode Patch Rev # = 0.&lt;BR /&gt;ICSR 00000000&lt;BR /&gt;virtual instruction cache disabled&lt;BR /&gt;ECR 00000000&lt;BR /&gt;FBOX DISABLED&lt;BR /&gt;SUBSET INTERVAL TIMER ENABLED&lt;BR /&gt;FBOX STAGE 4 BYPASS DISABLED&lt;BR /&gt;TBSTS 00000000&lt;BR /&gt;PCCTL 00000000&lt;BR /&gt;pcache disabled for D-stream reference&lt;BR /&gt;pcache disabled for I-stream reference&lt;BR /&gt;PCACHE PARITY ERROR DETECTION DISABLED&lt;BR /&gt;MUST BE ONE FIELD NON-ONE&lt;BR /&gt;PCSTS 00000000&lt;BR /&gt;CCTL 00000000&lt;BR /&gt;backup cache disabled&lt;BR /&gt;BCACHE TAG RAM SPEED:&lt;BR /&gt;read = 3 cycles, write = 3 cycles&lt;BR /&gt;BCACHE DATA RAM SPEED:&lt;BR /&gt;read = 2 cycles, write = 3 cycles&lt;BR /&gt;128 kilobyte backup cache&lt;BR /&gt;BCEDSTS 00000000&lt;BR /&gt;BCETSTS 00000000&lt;BR /&gt;MESR 00000000&lt;BR /&gt;MMCDSR 00000000&lt;BR /&gt;2600 cycles before disown write tmeout&lt;BR /&gt;disable logging soft errors&lt;BR /&gt;CQBIC on CP_I02&lt;BR /&gt;CESR 00000000&lt;BR /&gt;CMCDSR 00000000&lt;BR /&gt;IO2 ID NOT ENABLED&lt;BR /&gt;DMA PREFETCHING DISABLED&lt;BR /&gt;3200 Cycles Before NDAL Timeout&lt;BR /&gt;144 cycles before cp1 mt timeout&lt;BR /&gt;144 CYCLES BEFORE CP2 MT TIMEOUT&lt;BR /&gt;cp1 interrupts pending:&lt;BR /&gt;none&lt;BR /&gt;cp2 interrupts pending:&lt;BR /&gt;none&lt;BR /&gt;CEFSTS 00000000&lt;BR /&gt;NESTS 00000000&lt;BR /&gt;NEOCMD 00000000&lt;BR /&gt;NEICMD 00000000&lt;BR /&gt;DSER 00000000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;On revisitng the code the following day to determine the cause of the %DCL-E-INVCALL, I found that it was a typo/omission on my part (but which the CLI clearly doesn't handle as well as one would like it to).&lt;BR /&gt;&lt;BR /&gt;A question springs to mind:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is it actually the case that an attempt to double-deallocate memory &lt;EM&gt;has been detected but prevented&lt;/EM&gt;, or has a double-deallocate &lt;EM&gt;&lt;STRONG&gt;actually occurred&lt;/STRONG&gt;&lt;/EM&gt; which might then lead to corruption of O/S linked lists/structures/control blocks?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Whilst I've since managed to create a small reproducer (and can provide here if necessary - particularly to see if the problem persists in more recent versions of OpenVMS), I'm disinclined to do so if a double-deallocate has actually occurred, which someone might then be able to use maliciously.&lt;BR /&gt;&lt;BR /&gt;Mark&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 11:59:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205369#M105900</guid>
      <dc:creator>Mark_Corcoran</dc:creator>
      <dc:date>2024-01-28T11:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS/VAX V6.2 DCL CLI bug terminates process with %SYSTEM-F-BUGCHECK</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205376#M105901</link>
      <description>&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;the code (DCL) was about to double-deallocate a piece of memory. The routine to deallocate memory detected this and declared a DOUBLDEALO bughcheck. Because the code was running in supervisor mode, it just deleted the current process and did not harm the system.&lt;/P&gt;&lt;P&gt;If you're interested to see, if this problem still exists in more recent versions of OpenVMS, you could easily download the VSI Student kit, which contains a ready-to-run Alpha emulator (FreeAXP) and an OpenVMS Alpha V8.4-2L2 system:&lt;/P&gt;&lt;P&gt;&lt;A href="https://training.vmssoftware.com/student-license/" target="_blank"&gt;Student License (vmssoftware.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You could also send me the reproducer (hint: I still work at Invenate) and I might try it even on VSI OpenVMS x86-64 V9.2-1&lt;/P&gt;&lt;P&gt;Volker.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 11:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205376#M105901</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2024-01-27T11:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS/VAX V6.2 DCL CLI bug terminates process with %SYSTEM-F-BUGCHECK</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205391#M105902</link>
      <description>&lt;P&gt;Hi Volker, thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Because the code was running in supervisor mode, it just deleted the current process and did not harm the system."&lt;BR /&gt;From my reading of the OpenVMS System Messages and Recovery Procedures Manual A-L for OpenVMS/VAX v6.0 (AA-PVXKA-TE, MAY-1993):&lt;BR /&gt;&lt;BR /&gt;DOUBLDEALO, double deallocation of memory block&lt;BR /&gt;Facility: BUGCHECK, System Bugcheck&lt;BR /&gt;Explanation: The OpenVMS software detected an irrecoverable, inconsistent&lt;BR /&gt;condition. After all physical memory is written to a system dump file, the&lt;BR /&gt;system automatically reboots if the BUGREBOOT system parameter is set&lt;BR /&gt;to 1.&lt;BR /&gt;&lt;BR /&gt;...it's not really clear whether I should expect a DOUBLDEALO BUGCHECK to trigger a system reboot if the SYSGEN BUGREBOOT parameter is set to 1 (testing it on an evaluation CharonVAX install running on my laptop with BUGREBOOT set to 1 does not trigger it, so I presume the manual's text is correct if the mode at which the BUGCHECK occurs is kernel mode (if not executive as well)).&lt;BR /&gt;&lt;BR /&gt;I'm not sure if there are any circumstances under which an ordinary user might be able to trigger such a reboot, so I don't propose posting the reproducer here for now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;You could also send me the reproducer (hint: I still work at Invenate) and I might try it even on VSI OpenVMS x86-64 V9.2-1&lt;BR /&gt;I have tried to P.M. you within the confines of HPE Community, but I get "You have reached the limit for number of private messages that you can send for now. Please try again later. ", where clearly that limit is zero (!), and trying again "later" without an HPE forum admin manually intervening would be pointless.&lt;BR /&gt;&lt;BR /&gt;Based on historic posts elsewhere, I've divined email addresses for you at Invenate and also encompasserve.org, so will send an email shortly with the reproducer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Mark&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 22:27:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205391#M105902</guid>
      <dc:creator>Mark_Corcoran</dc:creator>
      <dc:date>2024-01-27T22:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS/VAX V6.2 DCL CLI bug terminates process with %SYSTEM-F-BUGCHECK</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205393#M105903</link>
      <description>&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;setting BUGCHECKFATAL won't create system bugchecks from supervisor or user mode, just from executive and kernel mode.&lt;/P&gt;&lt;P&gt;Thanks for sending along the reproducer.&amp;nbsp; I could easily reproduce the problem on OpenVMS VAX V6.2, and also on OpenVMS VAX V7.3 !&lt;/P&gt;&lt;P&gt;Also on OpenVMS Alpha V8.2 and even on VSI OpenVMS Alpha V8.2-L2&lt;/P&gt;&lt;P&gt;Volker.&lt;/P&gt;&lt;P&gt;PS: regarding the limitation of P.M. messages, maybe you can delete some messages from your 'Sent' folder ?&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 07:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205393#M105903</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2024-01-28T07:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS/VAX V6.2 DCL CLI bug terminates process with %SYSTEM-F-BUGCHECK</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205407#M105904</link>
      <description>&lt;P&gt;This problem has been officially reported to VSI as SPS-1428 and SPS-1429.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 12:07:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205407#M105904</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2024-01-28T12:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS/VAX V6.2 DCL CLI bug terminates process with %SYSTEM-F-BUGCHECK</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205617#M105905</link>
      <description>&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;on behalf of VSI OpenVMS engineering, I would like to thank you for reporting this 40-year old bug.&lt;/P&gt;&lt;P&gt;The problem has been isolated and fixed and DCL patch kits will be issued for the VSI OpenVMS versions by VSI.&lt;/P&gt;&lt;P&gt;For the HP OpenVMS versions and - of course - VAX/VMS V6.2,&amp;nbsp; there will be no patches anymore.&lt;/P&gt;&lt;P&gt;Volker.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 18:34:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205617#M105905</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2024-01-30T18:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS/VAX V6.2 DCL CLI bug terminates process with %SYSTEM-F-BUGCHECK</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205627#M105906</link>
      <description>&lt;P&gt;&amp;gt;this 40-year old bug.&lt;BR /&gt;Ah, younger than me, but (just) older than some of the bugs I've found and fixed here.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;on behalf of VSI OpenVMS engineering, I would like to thank you&lt;BR /&gt;They are very welcome &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;&lt;BR /&gt;If it has gone undiscovered for 40 years, it's clearly obscure enought to the extent that few others have encountered it (or nobody else makes typos in DCL code).&lt;BR /&gt;&lt;BR /&gt;Sadly, finding obscure bugs has been a regular occurrence for me over the last 10 years - mostly in the application code here (it was developed for multiple sites, but differences in site-specific end devices &amp;amp; application configuration meant that few (if any) of the other sites encountered them, or if they did, they typically weren't reproducible, and processes would just be restarted, just to bring service back more quickly).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;For the HP OpenVMS versions and - of course - VAX/VMS V6.2, there will be no patches anymore.&lt;BR /&gt;Plus ça change... &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Mark&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 21:29:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-vax-v6-2-dcl-cli-bug-terminates-process-with-system-f/m-p/7205627#M105906</guid>
      <dc:creator>Mark_Corcoran</dc:creator>
      <dc:date>2024-01-30T21:29:13Z</dc:date>
    </item>
  </channel>
</rss>

