The problem is you've got a DOM_Node instance still around after you've
called XMLPlatformUtils::Terminate().  You cannot do this -- you must make
sure that all Xerces objects are destroyed before you call
XMLPlatformUtils::Terminate().

Having a static instance of DOM_Node is a very bad idea, since it
encourages this sort of bug.  Temporary, you can simple release the
instance before you shut down, to see if that fixes the problem:

    foo = (const DOM_NullPtr *val)0;

or

   foo = DOM_Node();

should do the trick.

Dave



                                                                                       
                                                     
                      Arun Ramdas                                                      
                                                     
                      <aramdas@etrade.         To:      [EMAIL PROTECTED]    
                                                     
                      com>                     cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                                
                                               Subject: core dump while exiting the 
program                                                 
                      05/15/2002 12:17                                                 
                                                     
                      PM                                                               
                                                     
                      Please respond                                                   
                                                     
                      to xerces-c-dev                                                  
                                                     
                                                                                       
                                                     
                                                                                       
                                                     



I am using xerces-c 1.6 with my tuxedo sources. when i shutdown my tuxedo
server(typically when i exit the program), i get a core dump, and the
analysis of the core lead to

=>[1] pthread_mutex_lock(0x0, 0x12c0, 0xc5634, 0x0, 0x213e0, 0xfeb98528),
at
0xfe25b73c
  [2] XMLPlatformUtils::atomicDecrement(0x1e0090, 0xfecad120, 0x8,
0xff3e3bf0, 0x293e4, 0xff3bdcd0), at 0xfeb98528
  [3] DOMString::~DOMString(0x19e3b8, 0x2, 0xfec5db40, 0x1e008c, 0x17998,
0x1af010), at 0xfeb3014c
  [4] XMLDeclImpl::~XMLDeclImpl(0x19e398, 0x3, 0x0, 0x0, 0xff3e2660,
0x273c9), at 0xfebcb6d8
  [5] NodeImpl::deleteIf(0x1ae7c8, 0x1af010, 0x19e398, 0xff3e3bf0, 0x293e4,
0xff3bdcd0), at 0xfeb6bf20
  [6] DOM_Node::~DOM_Node(0x11c250, 0x2, 0x3, 0x348a0, 0x17998,
0xfe3bb2b0),
at 0xfeb2a5bc
  [7] __STATIC_DESTRUCTOR(0xff29b8d4, 0x1b6, 0xff3a0cd8, 0x0, 0xff3e2660,
0xff28eb08), at 0xbe314
  [8] _fini(0xff33e0c4, 0x0, 0xff3a0cd8, 0x0, 0x21fb8, 0xff29b948), at
0xf804c
  [9] _exithandle(0xff33a620, 0x2, 0xffbee47c, 0xfe6219c8, 0x11b498,
0xff33801c), at 0xff29b960
  [10] exit(0x0, 0xffbee47c, 0xffbee4b0, 0x11b400, 0x0, 0x0), at 0xff31be70


can any of u shed some light on this issue?

Arun

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to