You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Johnson, Sarah (Basestar)" <sa...@hp.com> on 2005/02/25 22:25:10 UTC

request help with XERCES 2.5 OVMS port - SAMPLES programs accvio accessing parent in isKidOK; ported 2.0 works fine on OVMS

Hi,
 
Trying this again... this is long, and i apologize, but i don't know exactly what is relevant...
Original request/replies at bottom (search for 'original request')
 
The HP C++ compiler folks tell me the field i am (generally) interested in should be a table filled in by the compiler, but without being able to tell them where/how this SHOULD be done, they can't look at this...
 
below is a 2.2 and 2.5 comparison in the debugger... note the initial problem is that when isKidOK is entered in 2.5, it accvios, because 'parent' is an address that has an __vptr of 0.
 
stepped to DOMDocumentImpl::isKidOK\%LINE 82344 in THREAD 1
 82344:       int p=parent->getNodeType();
DBG> ex parent
DOMDocumentImpl::isKidOK::parent:       14240064
DBG> ex *parent
*DOMDocumentImpl::isKidOK::parent: class DOMNode
    __vptr:     0
 
DBG> s
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual
address=000000000000
000C, PC=00000000007EE5E8, PS=0000001B
break on unhandled exception at DOMDocumentImpl::isKidOK\%LINE 82344+40 in
THREAD 1
 82344:       int p=parent->getNodeType();
DBG> 
 
also note that if i fake out isKidOK, so that any time parent=14240064, i set it to 14240061, the DOMCount test gets almost to the end before the next corruption/crash and the element count is correct (37)... see the 2.5 debug output...
 
what i think would help the most, is understanding why in 2.2 values are:
    fNode: class DOMNodeImpl
        fOwnerNode:     12907496
        flags:  0
    fParent: class DOMParentNode
        fOwnerDocument: 12907488
        fFirstChild:    0
        fChildNodeList: class DOMNodeListImpl
            inherit DOMNodeList
                __vptr: 6370456
            fNode:      12907496

and in 2.5, at what SEEMS to be the same code, they are
    fNode: class DOMNodeImpl
        fOwnerNode:     14240061
        flags:  0
    fParent: class DOMParentNode
        fOwnerDocument: 14240049
        fFirstChild:    0
        fChildNodeList: class DOMNodeListImpl
            inherit DOMNodeList
                __vptr: 6629688
            fNode:      14240064

(note the fOwnerNode/fNode values the same in 2.2, off by 3 bytes in 2.5)
and why the (DOMDocument?) area is allocated at an odd address (14240049) in 2.5 (is this the key?)
 
i have played around with alignPointerForNewBlockAllocation and used the define to force 16 and 64 alignments, but it doesn't make any difference (the addresses i have to watch change, but they still seem to be 'wrong' by 3 bytes...
 
once again, any help greatly appreciated... it doesn't seem that we (or at least i) can port this if we can't get some help finding this bug...
thank-you!!
sarah
 
*************************
2.2
 
DBG> Go
%DEBUG-I-DYNMODSET, setting module DOMDocumentImpl
watch of 12907496 at DOMNode\%LINE 5007+56 in THREAD 1
  5007:     DOMNode() {};
   old value: 0
   new value: 6378200
break at DOMNode\%LINE 5007+60
  5007:     DOMNode() {};
DBG> Go
watch of 12907496 at DOMDocument\%LINE 7149+260 in THREAD 1
  7149:     DOMDocument() {};
   old value: 6378200
   new value: 6378376
break at DOMDocument\%LINE 7149+264
  7149:     DOMDocument() {};
DBG> Go
watch of 12907496 at DOMDocumentImpl::DOMDocumentImpl()\%LINE 65478+220 in THREA
D 1
 65478: DOMDocumentImpl::DOMDocumentImpl()
   old value: 6378376
   new value: 6343560
break at DOMDocumentImpl::DOMDocumentImpl()\%LINE 65478+224
 65478: DOMDocumentImpl::DOMDocumentImpl()
DBG> ex this
DOMDocumentImpl::DOMDocumentImpl()::this:       12907488
DBG> ex *this
*DOMDocumentImpl::DOMDocumentImpl()::this: class DOMDocumentImpl
    inherit DOMDocument
        inherit DOMDocumentRange
            __vptr:     6369784
        inherit DOMDocumentTraversal
            __vptr:     6340120
        inherit DOMNode
            __vptr:     6343560
        __vptr: 6369784
    fNode: class DOMNodeImpl
        fOwnerNode:     0
        flags:  0
    fParent: class DOMParentNode
        fOwnerDocument: 0
        fFirstChild:    0
        fChildNodeList: class DOMNodeListImpl
            inherit DOMNodeList
                __vptr: 0
            fNode:      0
            __vptr:     0
    fNodeIDMap: 0
    fActualEncoding:    0
    fEncoding:  0
    fStandalone:        0
    fVersion:   0
    fDocumentURI:       0
    fUserDataTable:     0
    fCurrentBlock:      0
    fFreePtr:   0
    fFreeBytesRemaining:        0
    fRecycleNodePtr:    0
    fRecycleBufferPtr:  0
    fNodeListPool:      0
    fDocType:   0
    fDocElement:        0
    fNamePool:  0
    fRanges:    0
    fNodeIterators:     0
    fChanges:   0
    errorChecking:      0
    __vptr:     6369784
DBG> ex this
DOMDocumentImpl::DOMDocumentImpl()::this:       12907488
DBG> ex 12907488
12907488:       6369784
DBG> ex 12907492
12907492:       6340120
DBG> ex 12907496
12907496:       6343560
DBG> 
 
DBG> eval/addr this->fParent.fChildNodeList
12907516
DBG> eval/addr this->fParent.fChildNodeList.fNode
12907520
DBG> set watch 12907520
 
watch of 12907520 at DOMNodeListImpl\%LINE 21341+8 in THREAD 1
 21341:     fNode = node;
   old value: 0
   new value: 12907496
break at DOMNodeListImpl\%LINE 21342
 

DBG> Step
stepped to DOMDocumentImpl::DOMDocumentImpl()\%LINE 65478+292 in THREAD 1
 65478: DOMDocumentImpl::DOMDocumentImpl()
DBG> ex *this
*DOMDocumentImpl::DOMDocumentImpl()::this: class DOMDocumentImpl
    inherit DOMDocument
        inherit DOMDocumentRange
            __vptr:     6369784
        inherit DOMDocumentTraversal
            __vptr:     6340120
        inherit DOMNode
            __vptr:     6343560
        __vptr: 6369784
    fNode: class DOMNodeImpl
        fOwnerNode:     12907496
        flags:  0
    fParent: class DOMParentNode
        fOwnerDocument: 12907488
        fFirstChild:    0
        fChildNodeList: class DOMNodeListImpl
            inherit DOMNodeList
                __vptr: 6370456
            fNode:      12907496
            __vptr:     6370456
    fNodeIDMap: 0
    fActualEncoding:    0
    fEncoding:  0
    fStandalone:        0
    fVersion:   0
    fDocumentURI:       0
    fUserDataTable:     0
    fCurrentBlock:      0
    fFreePtr:   0
    fFreeBytesRemaining:        0
    fRecycleNodePtr:    0
    fRecycleBufferPtr:  0
    fNodeListPool:      0
    fDocType:   0
    fDocElement:        0
    fNamePool:  0
    fRanges:    0
    fNodeIterators:     0
    fChanges:   0
    errorChecking:      0
    __vptr:     6369784
DBG> 

******************************************************
2.5
NOTE there is a watch set on both 14240061 and 14240064, but 14240064 is NEVER set, and is the addressed passed into isKidOK as parent
 
%DEBUG-I-DYNMODSET, setting module DOMDocumentImpl
watch of 14240061 at DOMNode\%LINE 25603+56 in THREAD 1
 25603:     DOMNode() {};
   old value: 0
   new value: 6638776
break at DOMNode\%LINE 25603+60
 25603:     DOMNode() {};
DBG> Go
watch of 14240061 at DOMDocument\%LINE 28601+340 in THREAD 1
 28601:     DOMDocument() {};
   old value: 6638776
   new value: 6638952
break at DOMDocument\%LINE 28601+344
 28601:     DOMDocument() {};
DBG> Go
watch of 14240061 at DOMDocumentImpl::DOMDocumentImpl(MemoryManager *const)\%LIN
E 81600+264 in THREAD 1
 81600: DOMDocumentImpl::DOMDocumentImpl(MemoryManager* const manager)
   old value: 6638952
   new value: 6602376
break at DOMDocumentImpl::DOMDocumentImpl(MemoryManager *const)\%LINE 81600+268
 81600: DOMDocumentImpl::DOMDocumentImpl(MemoryManager* const manager)
DBG> ex *this
*DOMDocumentImpl::DOMDocumentImpl(MemoryManager *const)::this: class DOMDocument
Impl
    inherit XMemory  (has no non-static data members)
    inherit DOMDocument
        inherit DOMDocumentRange
            __vptr:     6621848
        inherit DOMXPathEvaluator
            __vptr:     6597864
        inherit DOMDocumentTraversal
            __vptr:     6598344
        inherit DOMNode
            __vptr:     6602376
        __vptr: 6621848
    fNode: class DOMNodeImpl
        fOwnerNode:     0
        flags:  0
    fParent: class DOMParentNode
        fOwnerDocument: 0
        fFirstChild:    0
        fChildNodeList: class DOMNodeListImpl
            inherit DOMNodeList
                __vptr: 0
            fNode:      0
            __vptr:     0
    fNodeIDMap: 0
    fActualEncoding:    0
    fEncoding:  0
    fStandalone:        0
    fVersion:   0
    fDocumentURI:       0
    fDOMConfiguration:  0
    fUserDataTable:     0
    fCurrentBlock:      0
    fFreePtr:   0
    fFreeBytesRemaining:        0
    fRecycleNodePtr:    0
    fRecycleBufferPtr:  0
    fNodeListPool:      0
    fDocType:   0
    fDocElement:        0
    fNamePool:  0
    fNormalizer:        0
    fRanges:    0
    fNodeIterators:     0
    fMemoryManager:     0
    fChanges:   0
    errorChecking:      0
    __vptr:     6629016
DBG> ex this
DOMDocumentImpl::DOMDocumentImpl(MemoryManager *const)::this:   14240048
 
DBG> ex 14240049
14240049:       6621848
DBG> ex 14240053
14240053:       6597864
DBG> ex 14240057
14240057:       6598344
DBG> ex 14240061
14240061:       6602376
DBG> ex 14240065
14240065:       0
 

DBG>  eval/addr this->fParent.fChildNodeList
14240084
DBG>  eval/addr this->fParent.fChildNodeList.fNode
14240088
DBG> set watch 14240088
DBG> Go
%DEBUG-I-DYNMODSET, setting module DOMNodeListImpl
watch of 14240088 at DOMNodeListImpl\%LINE 29308+120 in THREAD 1
 29308: DOMNodeListImpl::DOMNodeListImpl(DOMNode *node)
   old value: 0
   new value: 14240064
break at DOMNodeListImpl\%LINE 29311
 29311: }
DBG> 
DBG> ex *this
*DOMNodeListImpl::this: class DOMNodeListImpl
    inherit DOMNodeList
        __vptr: 6629688
    fNode:      14240064
    __vptr:     6629688
DBG> 
 
DBG> s
stepped to DOMParentNode::DOMParentNode(DOMDocument *)\%LINE 51105+104 in THREAD
 1
 51105: DOMParentNode::DOMParentNode(DOMDocument *ownerDoc)
DBG> ex *this
*DOMParentNode::DOMParentNode(DOMDocument *)::this: class DOMParentNode
    fOwnerDocument:     14240049
    fFirstChild:        0
    fChildNodeList: class DOMNodeListImpl
        inherit DOMNodeList
            __vptr:     6629688
        fNode:  14240064
        __vptr: 6629688
DBG> 
 
stepped to DOMDocumentImpl::DOMDocumentImpl(MemoryManager *const)\%LINE 81600+39
6 in THREAD 1
 81600: DOMDocumentImpl::DOMDocumentImpl(MemoryManager* const manager)
DBG> ex *this
*DOMDocumentImpl::DOMDocumentImpl(MemoryManager *const)::this: class DOMDocument
Impl
    inherit XMemory  (has no non-static data members)
    inherit DOMDocument
        inherit DOMDocumentRange
            __vptr:     6596280
        inherit DOMXPathEvaluator
            __vptr:     6597864
        inherit DOMDocumentTraversal
            __vptr:     6598344
        inherit DOMNode
            __vptr:     6602376
        __vptr: 6596280
    fNode: class DOMNodeImpl
        fOwnerNode:     14240061
        flags:  0
    fParent: class DOMParentNode
        fOwnerDocument: 14240049
        fFirstChild:    0
        fChildNodeList: class DOMNodeListImpl
            inherit DOMNodeList
                __vptr: 6629688
            fNode:      14240064
            __vptr:     6629688
    fNodeIDMap: 0
    fActualEncoding:    0
    fEncoding:  0
    fStandalone:        0
    fVersion:   0
    fDocumentURI:       0
    fDOMConfiguration:  0
    fUserDataTable:     0
    fCurrentBlock:      0
    fFreePtr:   0
    fFreeBytesRemaining:        0
    fRecycleNodePtr:    0
    fRecycleBufferPtr:  0
    fNodeListPool:      0
    fDocType:   0
    fDocElement:        0
    fNamePool:  0
    fNormalizer:        0
    fRanges:    0
    fNodeIterators:     0
    fMemoryManager:     0
    fChanges:   0
    errorChecking:      0
    __vptr:     6629016
DBG> 
 
now if i fake out isKidOK, it runs to:
 
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000000003100
0087, PC=000000000081BB40, PS=0000001B
break on unhandled exception at DOMParentNode::changes\%LINE 51131+4 in THREAD 1
 51131:     return doc->changes();
DBG> ex doc
DOMParentNode::changes::doc:    822083583
DBG>

DBG> sho call       
 module name    routine name     line           rel PC           abs PC
*DOMParentNode  changes         51131       0000000000000890 000000000081BB40
*DOMDeepNodeListImpl 
                cacheItem       47297       0000000000000788 00000000007E7738
*DOMDeepNodeListImpl 
                item            47279       0000000000000714 00000000007E76C4
*DOMDeepNodeListImpl 
                getLength       47269       000000000000068C 00000000007E763C
 SHARE$DOMCount                             00000000000040CC 00000000000740CC
 SHARE$DOMCount                             00000000000000A0 00000000000700A0
 SHARE$DOMCount                             00000000000C36D8 00000000000D36D8
 
 51128: int DOMParentNode::changes() const
 51129: {
 51130:     DOMDocumentImpl *doc = (DOMDocumentImpl *)this->getOwnerDocument();
->1131:     return doc->changes();
 51132: }
 
crash location from DOMCount:
 
stepped to DOMCount\main\%LINE 124609 in THREAD 1
124609:                 if (elementCount != doc->getElementsByTagName(xa)->getLe
     -: ngth()) {
DBG> ex elementCount
DOMCount\main\%LINE 124604\elementCount:        37
DBG>

124607:                 // test getElementsByTagName and getLength
124608:                 XMLCh xa[] = {chAsterisk, chNull};
->4609:                 if (elementCount != doc->getElementsByTagName(xa)->getLength()) {
 
DBG> Step
%DEBUG-I-DYNIMGSET, setting image XERCES_SHR
%DEBUG-I-DYNMODSET, setting module DOMParentNode
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000000003100
0087, PC=000000000081BB40, PS=0000001B
break on unhandled exception at DOMParentNode::changes\%LINE 51131+4 in THREAD 1
 51131:     return doc->changes();
DBG> 

 
 
*******************************************************
original request
 
-----Original Message-----
From: Jesse Pelton [mailto:jsp@PKC.com]
Sent: Monday, February 14, 2005 3:19 PM
To: xerces-c-dev@xml.apache.org
Subject: RE: request help with XERCES 2.5 OVMS port - SAMPLES programs accvio
accessing parent in isKidOK; ported 2.0 works fine on OVMS
 

Umm, well, good for HP being so responsive to CA's needs, and you definitely
get points for doing your homework. I wish I could be so helpful.
 
In case anyone else has something to offer, I should point out that it appears
( http://h71000.www7.hp.com/openvms/products/ips/xml/) that  HP's  XML C++
Technology Version 2.0 for OpenVMS Alpha (which I assume is what Sarah is
referring to as "2.0") is based on Xerces-C 2.2.0, so whatever broke did so in
2.3 or later.
 
 
 
--------------------------------------------------------------------------------
From: Johnson, Sarah (Basestar) [mailto:sarah.johnson@hp.com] 
Sent: Monday, February 14, 2005 2:20 PM
To: xerces-c-dev@xml.apache.org
Subject: RE: request help with XERCES 2.5 OVMS port - SAMPLES programs accvio
accessing parent in isKidOK; ported 2.0 works fine on OVMS
 

Hi,
thank-you for the information... but (sadly for me)...
the Jira is a request to port 2.5 to OVMS... and i'm the one that was assigned
(by HP) to do it...
as far as i know, no one else has attempted, or entered any (similar) OVMS
bugs... i spent almost a whole day reading the archives looking for anything
similar before i sent this...
-----Original Message-----
From: Jesse Pelton [mailto:jsp@PKC.com]
Sent: Monday, February 14, 2005 2:07 PM
To: xerces-c-dev@xml.apache.org
Subject: RE: request help with XERCES 2.5 OVMS port - SAMPLES programs accvio
accessing parent in isKidOK; ported 2.0 works fine on OVMS
 

I can't provide any assistance myself, but I note that someone filed a related
bug in Jira ( http://issues.apache.org/jira/browse/XERCESC-1310) a couple of
months back. You might attach a comment to the bug or contact the reporter
directly to see what progress, if any, has been made. Maybe he's already
encountered and resolved this issue.
 
 
 
--------------------------------------------------------------------------------
From: Johnson, Sarah (Basestar) [mailto:sarah.johnson@hp.com] 
Sent: Monday, February 14, 2005 1:55 PM
To: xerces-c-dev@xml.apache.org
Subject: request help with XERCES 2.5 OVMS port - SAMPLES programs accvio
accessing parent in isKidOK; ported 2.0 works fine on OVMS
 

Hi,
 
i'm attempting to port XERCES 2.5 to OVMS... i have a clean build, but all the
sample programs accvio in the same place... the HP compiler folks tell me the
field being accessed is compiler generated (i have no C++, XML or XERCES
experience), but they don't know what source code (constructor) is being
executed in the 2.0 code that sets it properly, and i can't figure what what is
not setting it in the 2.5...
 
below is a debugger 2.0 and 2.5 run with some comments... if anyone can point
me to the constructor code being run when (the 2.0) address 12841960 is set
with 6341976, i'll be very grateful!  
 
the 2.5 code that accvios is always:
 
stepped to DOMDocumentImpl::isKidOK\%LINE 82344 in THREAD 1
 82344:       int p=parent->getNodeType();
(see below for more details)
 
i welcome all thoughts/suggestions!
 
thank-you!
sarah johnson
 
************************
2.0
first, just showing DOMCount runs OK on 2.0:
 
$ dc20 personal.xml
         OpenVMS Alpha Debug64 Version V8.2-016
%DEBUG-I-INITIAL, Language: C++, Module: DOMCount
%DEBUG-I-NOTATMAIN, Type GO to reach MAIN program
DBG> Go
break at routine DOMCount\main in THREAD 1
 87511:     if (argC < 2)
DBG> go
personal.xml: 3149 ms (37 elems).
%DEBUG-I-EXITSTATUS, is '%SYSTEM-S-NORMAL, normal successful completion'
DBG> exit
$
 
now a rerun, with a watchpoint set at the address that 'parent' is at in
isKidOK
it seems to be set in the constructor for DOMDocumentImpl, but i can't figure
out what source corresponds to that
 
watch of 12841960 at DOMDocumentImpl::DOMDocumentImpl()\%LINE 65494+300 in
THREAD 1
 65494: DOMDocumentImpl::DOMDocumentImpl()
   old value: 6376760
   new value: 6341976
break at DOMDocumentImpl::DOMDocumentImpl()\%LINE 65519
 
DBG> sho call
 module name    routine name     line           rel PC           abs PC
*DOMDocumentImpl 
                DOMDocumentImpl() 
                                65519       0000000000001CCC 000000000075F61C
*DOMImplementationImpl 
                *createDocument() 
                                92422       00000000000011D8 0000000000779758
*AbstractDOMParser 
                startDocument 
                               108527       00000000000046B4 00000000006FE6B4
*IGXMLScanner   scanDocument   116270       0000000000002D0C 00000000007E9E7C
*XMLScanner     scanDocument(const XMLCh *const) 
                                68081       0000000000003A08 00000000008F44A8
*XMLScanner     scanDocument(const char *const) 
                                68089       0000000000003AD8 00000000008F4578
*AbstractDOMParser 
                parse(const char *const) 
                               108249       0000000000003154 00000000006FD154
*DOMBuilderImpl *parseURI(const char *const) 
                                76967       0000000000002618 0000000000754EE8
 SHARE$DOMCount                             0000000000003794 0000000000073794
 
 65494: DOMDocumentImpl::DOMDocumentImpl()
 65495:     : fNode(this),
 65496:       fParent(this),
...
 65516:       errorChecking(true)
 65517: {
 65518:         //sj
->5519:         printf("\n\nDOMDocumentImpl::DOMDocumentImpl PRE fNamePool\n");
 65520:     fNamePool    = new (this) DOMStringPool(257, this);
 65521:         //sj
 65522:         printf("\n\nDOMDocumentImpl::DOMDocumentImpl POST
fNamePool\n");
 65523: };
 

now break on isKidOK... parent is initialized fine, and code runs to the end...
DBG> sho call
 module name    routine name     line           rel PC           abs PC
*DOMDocumentImpl 
                isKidOK         66125       00000000000049C0 0000000000762310
*DOMParentNode  insertBefore    44859       000000000000121C 00000000007866FC
*DOMDocumentImpl 
                insertBefore    65921       0000000000003BC4 0000000000761514
*DOMDocumentImpl 
                appendChild     66178       0000000000004BEC 000000000076253C
*DOMDocumentImpl 
                setDocumentType 
                                65595       0000000000002264 000000000075FBB4
*AbstractDOMParser 
                doctypeDecl    108999       0000000000006778 0000000000700778
*IGXMLScanner   scanDocTypeDecl 
                               117327       0000000000005A5C 00000000007ECBCC
*XMLScanner     scanProlog      68842       0000000000005B44 00000000008F65E4
*IGXMLScanner   scanDocument   116274       0000000000002D24 00000000007E9E94
*XMLScanner     scanDocument(const XMLCh *const) 
                                68081       0000000000003A08 00000000008F44A8
*XMLScanner     scanDocument(const char *const) 
                                68089       0000000000003AD8 00000000008F4578
*AbstractDOMParser 
                parse(const char *const) 
                               108249       0000000000003154 00000000006FD154
*DOMBuilderImpl *parseURI(const char *const) 
                                76967       0000000000002618 0000000000754EE8
 SHARE$DOMCount                             0000000000003794 0000000000073794
 
DBG> Step
stepped to DOMDocumentImpl::isKidOK\%LINE 66155 in THREAD 1
 66155:       int p=parent->getNodeType();
DBG> ex parent
DOMDocumentImpl::isKidOK::parent:       12841960
DBG> ex *parent
*DOMDocumentImpl::isKidOK::parent: class DOMNode
    __vptr:     6341976
DBG> 
DBG> ex 6341976
DOMDocumentImpl\__vtbl2_7DOMNode11DOMDocument15DOMDocumentImpl[0]:      5635296
DBG> 
 
********************************************************************************
**
now the 2.5 code... breakpoint again set on the address that parent will be at
in isKidOK, but no value is ever written there... break on isKidOK
 
(had watchpoint set on 14240064... never changed)
 
DBG> Step
stepped to DOMDocumentImpl::isKidOK\%LINE 82344 in THREAD 1
 82344:       int p=parent->getNodeType();
DBG> ex parent
DOMDocumentImpl::isKidOK::parent:       14240064
DBG> ex *parent
*DOMDocumentImpl::isKidOK::parent: class DOMNode
    __vptr:     0
 
DBG> sho call
 module name    routine name     line           rel PC           abs PC
*DOMDocumentImpl 
                isKidOK         82344       0000000000005580 00000000007EE5C0
*DOMParentNode  insertBefore    52367       0000000000000FDC 000000000081C7DC
*DOMDocumentImpl 
                insertBefore    82114       0000000000004624 00000000007ED664
*DOMDocumentImpl 
                appendChild     82364       00000000000056C8 00000000007EE708
*DOMDocumentImpl 
                setDocumentType 
                                81797       0000000000002974 00000000007EB9B4
*AbstractDOMParser 
                doctypeDecl    175041       0000000000006DB4 0000000000770DB4
*IGXMLScanner   scanDocTypeDecl 
                               166906       000000000000792C 000000000089BC0C
*XMLScanner     scanProlog     132154       0000000000006838 00000000009F83C8
*IGXMLScanner   scanDocument   165667       0000000000003A88 0000000000897D68
*XMLScanner     scanDocument(const XMLCh *const) 
                               131372       0000000000004174 00000000009F5D04
*XMLScanner     scanDocument(const char *const) 
                               131380       000000000000448C 00000000009F601C
*AbstractDOMParser 
                parse(const char *const) 
                               174314       00000000000039D8 000000000076D9D8
*DOMBuilderImpl *parseURI(const char *const) 
                               148345       0000000000002D48 00000000007DE648
 SHARE$DOMCount                             0000000000003C34 0000000000073C34
 
and so it accvios
 
DBG> s
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual
address=000000000000
000C, PC=00000000007EE5E8, PS=0000001B
break on unhandled exception at DOMDocumentImpl::isKidOK\%LINE 82344+40 in
THREAD 1
 82344:       int p=parent->getNodeType();
DBG> 
 
just from poking around, i found the address 3 bytes back 'seemed' valid...
DBG> ex 14240061
14240061:       6602808
DBG> ex 6602808
DOMDocumentImpl\__vtbl2_7DOMNode11DOMDocument15DOMDocumentImpl[0]:      5672808
 
so i re-ran, and forced that value into 'parent' just to see what would
happen...
 
it goes further, but accvios later...
 
DBG> Step
stepped to DOMDocumentImpl::isKidOK\%LINE 82344 in THREAD 1
 82344:       int p=parent->getNodeType();
DBG> ex parent
DOMDocumentImpl::isKidOK::parent:       14240064
DBG> ex *parent
*DOMDocumentImpl::isKidOK::parent: class DOMNode
    __vptr:     0
DBG> ex 14240061
14240061:       6602808
DBG> dep 14240064 = 6602808
DBG> ex 6602808
DOMDocumentImpl\__vtbl2_7DOMNode11DOMDocument15DOMDocumentImpl[0]:      5672808
DBG> Go
 
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual
address=000000003864
C078, PC=000000000076E1A0, PS=0000001B
break on unhandled exception at AbstractDOMParser::docComment\%LINE 174434+40
in
 THREAD 1
174434:         fCurrentParent->appendChild(dcom);
DBG> ex dcom
AbstractDOMParser::docComment::%LINE 174433::dcom:      14283728
DBG> ex 14283728
14283728:       6627896
DBG>