<?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: ACCESS_VIOLATION error in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/access-violation-error/m-p/5976357#M103076</link>
    <description>&lt;P&gt;It is a read access violation (the 00 in the reason mask)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is curious that the virtual address and the PC are the same and both look more like an ASCII string than an address that would be expected - if it is a string it is: (ignoring the enclosing double quote marks)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="5"&gt;"15: - t"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Does that look familiar in any way?&amp;nbsp; I wouldn't expect the instruction stream to be jumping to data under normal circumstances from Rally/Rdb, but superficially it appears that way.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2013 21:57:27 GMT</pubDate>
    <dc:creator>Mike Kier</dc:creator>
    <dc:date>2013-02-26T21:57:27Z</dc:date>
    <item>
      <title>ACCESS_VIOLATION error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/access-violation-error/m-p/5976341#M103075</link>
      <description>&lt;P&gt;we are on open VMS 7.1 and an RDB - RALLY legacy application is crashing with the following access violation msg ,&amp;nbsp; is there a way i can debug and see whats going on ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=61657243202D2074, PC=61657243202D2074, PS=0000001B&lt;/P&gt;&lt;P&gt;Improperly handled condition, image exit forced.&lt;/P&gt;&lt;P&gt;Signal arguments: Number = 0000000000000005&lt;/P&gt;&lt;P&gt;Name = 000000000000000C&lt;/P&gt;&lt;P&gt;0000000000010000&lt;/P&gt;&lt;P&gt;61657243202D2074&lt;/P&gt;&lt;P&gt;61657243202D2074&lt;/P&gt;&lt;P&gt;000000000000001B&lt;/P&gt;&lt;P&gt;Register dump:&lt;/P&gt;&lt;P&gt;R0 = 000000007AD9B508 R1 = 000000007FF08A60 R2 = 2046414D20646574&lt;/P&gt;&lt;P&gt;R3 = 0000000000020208 R4 = 0000000000000009 R5 = 000000007AD9B850&lt;/P&gt;&lt;P&gt;R6 = 0000000000080BF1 R7 = 000000007FFAC9E0 R8 = 000000007FFAC1F8&lt;/P&gt;&lt;P&gt;R9 = 000000007FFAC400 R10 = 000000007FFAD230 R11 = 000000007FFCE3E0&lt;/P&gt;&lt;P&gt;R12 = 0000000000000000 R13 = FFFFFFFF81120C10 R14 = 0000000000000000&lt;/P&gt;&lt;P&gt;R15 = 000000007AE7DC20 R16 = 00000F0630000003 R17 = 0000000000000000&lt;/P&gt;&lt;P&gt;R18 = 0000000000000000 R19 = 0000000000000000 R20 = 0000000000000000&lt;/P&gt;&lt;P&gt;R21 = 1800000000000B03 R22 = 0000000000000000 R23 = 000000007FF08A60&lt;/P&gt;&lt;P&gt;R24 = FFFFFFFF8100C100 R25 = 0000000000000000 R26 = 61657243202D2074&lt;/P&gt;&lt;P&gt;R27 = 000000000000000C R28 = 0000000000000000 R29 = 2031363139343523&lt;/P&gt;&lt;P&gt;SP = 000000007AD9B5C0 PC = 61657243202D2074 PS = 000000000000001B&lt;/P&gt;&lt;P&gt;%SYSTEM-F-ABORT, abort&lt;/P&gt;&lt;P&gt;HOST_OTO job terminated at 26-FEB-2013 11:28:07.00&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2013 21:31:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/access-violation-error/m-p/5976341#M103075</guid>
      <dc:creator>SAMI AHMAD</dc:creator>
      <dc:date>2013-02-26T21:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS_VIOLATION error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/access-violation-error/m-p/5976357#M103076</link>
      <description>&lt;P&gt;It is a read access violation (the 00 in the reason mask)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is curious that the virtual address and the PC are the same and both look more like an ASCII string than an address that would be expected - if it is a string it is: (ignoring the enclosing double quote marks)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="5"&gt;"15: - t"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Does that look familiar in any way?&amp;nbsp; I wouldn't expect the instruction stream to be jumping to data under normal circumstances from Rally/Rdb, but superficially it appears that way.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2013 21:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/access-violation-error/m-p/5976357#M103076</guid>
      <dc:creator>Mike Kier</dc:creator>
      <dc:date>2013-02-26T21:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS_VIOLATION error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/access-violation-error/m-p/5976389#M103077</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;&amp;gt; It is curious that the virtual address and the PC are the same and both look more like an ASCII string than an address that would be expected ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's a typical pattern when a&amp;nbsp;&lt;SPAN&gt;string overwrites the return address on the stack. &amp;nbsp;&lt;/SPAN&gt;Easy to produce, like in&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;$ type f.c&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;f() {&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;char x[1];&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;strcpy (x,"hello world hello world");&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;$&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;...&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=6C6C656820646C72, PC=6C6C656820646C72, PS=0000001B&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Feb 2013 22:36:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/access-violation-error/m-p/5976389#M103077</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2013-02-26T22:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS_VIOLATION error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/access-violation-error/m-p/5977899#M103078</link>
      <description>&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sure looks like a clobbered call frame to me. I agree with Hartmut,&amp;nbsp;almost certainly a string overflow. Translating the&amp;nbsp;PC and VA into text, I get:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;DBG&amp;gt; set radix hex&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;DBG&amp;gt; dep r0 = 61657243202D2074&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;DBG&amp;gt; ex/ascii:8 r0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;0\%R0:&amp;nbsp; 't - Crea'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif"&gt;Other information from the register dump which may help localise the problem:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif"&gt;R2 contains 'ted MAF ' and R29 '#549161 '. I'd guess they all parts of the same string, so you're looking for:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif"&gt;t - Created MAF #549161&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif"&gt;Get yourself a process dump to get more address space to snoop around in.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2013 20:11:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/access-violation-error/m-p/5977899#M103078</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2013-02-27T20:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS_VIOLATION error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/access-violation-error/m-p/5979241#M103079</link>
      <description>&lt;P&gt;Thanks Hartmut and John!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The original poster is Sami.&amp;nbsp; I'm afraid I don't know enough about Rally to even speculate as to how that could happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree on your analysis of a clobbered call frame, probably due to some sort of overflow - I don't see such things often as I pretty much stick to standard Fortran with fixed length, descriptor-passed strings and use bounds checking on arrays :-)&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2013 13:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/access-violation-error/m-p/5979241#M103079</guid>
      <dc:creator>Mike Kier</dc:creator>
      <dc:date>2013-02-28T13:36:11Z</dc:date>
    </item>
  </channel>
</rss>

