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 "Adi Shtatfeld (JIRA)" <xe...@xml.apache.org> on 2008/04/14 10:57:04 UTC

[jira] Created: (XERCESC-1796) building xerces 2.7.0 in zOs - error when loading dll

building xerces 2.7.0 in zOs - error when loading dll
-----------------------------------------------------

                 Key: XERCESC-1796
                 URL: https://issues.apache.org/jira/browse/XERCESC-1796
             Project: Xerces-C++
          Issue Type: Bug
    Affects Versions: 2.7.0
         Environment: zOs 1.8
            Reporter: Adi Shtatfeld
            Priority: Blocker


When running any of the tests, I get the following error:
--------------------------------------------------------------------------
CEE3204S The system detected a protection exception (System Completion Code=0C4).
         From entry point xercesc_2_7::XMemory::operator new(unsigned int,xercesc_2_7::MemoryManager*) at compile unit
         offset +000001B4 at entry offset +000001B4 at address 2BDE9744.
Segmentation fault

I added debug prints:
-----------------------------
XMLMutex::XMLMutex(MemoryManager* = 0)
OS390PlatformUtils MemoryManager* =0
posix off
XMemory::operator new(size_t size MemoryManager* manager)
XMemory MemoryManager* =0
XMemory  headerSize = XMLPlatformUtils::alignPointerForNewBloc kAllocation(sizeof(MemoryManager*))
XMemory  sizeof(MemoryManager*)=4
XMemory  headerSize=8
XMemory  size=4
XMemory  manager typeid=xercesc_2_7::MemoryManager *
XMemory  block = manager->allocate(headerSize + size)
CEE3204S The system detected a protection exception (System Completion Code=0C4).
         From entry point xercesc_2_7::XMemory::operator new(unsigned int,xercesc_2_7::MemoryManager*) at compile unit
         offset +000001B4 at entry offset +000001B4 at address 2BDE9744.
Segmentation fault


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Resolved: (XERCESC-1796) building xerces 2.7.0 in zOs - error when loading dll

Posted by "cargilld (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

cargilld resolved XERCESC-1796.
-------------------------------

    Resolution: Fixed

I checked in a fix for this in the xerces-2 code base.  The Iconv390 transcoder was declaring
an XMLMutex in file scope that was being initialized before XMLPlatformUtils::Initialize was called.
Moved the intialization to the constructor.
David

> building xerces 2.7.0 in zOs - error when loading dll
> -----------------------------------------------------
>
>                 Key: XERCESC-1796
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1796
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>         Environment: zOs 1.8
>            Reporter: Adi Shtatfeld
>            Priority: Blocker
>         Attachments: ceedump.txt
>
>
> When running any of the tests, I get the following error:
> --------------------------------------------------------------------------
> CEE3204S The system detected a protection exception (System Completion Code=0C4).
>          From entry point xercesc_2_7::XMemory::operator new(unsigned int,xercesc_2_7::MemoryManager*) at compile unit
>          offset +000001B4 at entry offset +000001B4 at address 2BDE9744.
> Segmentation fault
> I added debug prints:
> -----------------------------
> XMLMutex::XMLMutex(MemoryManager* = 0)
> OS390PlatformUtils MemoryManager* =0
> posix off
> XMemory::operator new(size_t size MemoryManager* manager)
> XMemory MemoryManager* =0
> XMemory  headerSize = XMLPlatformUtils::alignPointerForNewBloc kAllocation(sizeof(MemoryManager*))
> XMemory  sizeof(MemoryManager*)=4
> XMemory  headerSize=8
> XMemory  size=4
> XMemory  manager typeid=xercesc_2_7::MemoryManager *
> XMemory  block = manager->allocate(headerSize + size)
> CEE3204S The system detected a protection exception (System Completion Code=0C4).
>          From entry point xercesc_2_7::XMemory::operator new(unsigned int,xercesc_2_7::MemoryManager*) at compile unit
>          offset +000001B4 at entry offset +000001B4 at address 2BDE9744.
> Segmentation fault

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1796) building xerces 2.7.0 in zOs - error when loading dll

Posted by "cargilld (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588570#action_12588570 ] 

cargilld commented on XERCESC-1796:
-----------------------------------

Hi,
Can you include the stack trace so I can see where this error is occurring?  Thanks.  David

> building xerces 2.7.0 in zOs - error when loading dll
> -----------------------------------------------------
>
>                 Key: XERCESC-1796
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1796
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>         Environment: zOs 1.8
>            Reporter: Adi Shtatfeld
>            Priority: Blocker
>
> When running any of the tests, I get the following error:
> --------------------------------------------------------------------------
> CEE3204S The system detected a protection exception (System Completion Code=0C4).
>          From entry point xercesc_2_7::XMemory::operator new(unsigned int,xercesc_2_7::MemoryManager*) at compile unit
>          offset +000001B4 at entry offset +000001B4 at address 2BDE9744.
> Segmentation fault
> I added debug prints:
> -----------------------------
> XMLMutex::XMLMutex(MemoryManager* = 0)
> OS390PlatformUtils MemoryManager* =0
> posix off
> XMemory::operator new(size_t size MemoryManager* manager)
> XMemory MemoryManager* =0
> XMemory  headerSize = XMLPlatformUtils::alignPointerForNewBloc kAllocation(sizeof(MemoryManager*))
> XMemory  sizeof(MemoryManager*)=4
> XMemory  headerSize=8
> XMemory  size=4
> XMemory  manager typeid=xercesc_2_7::MemoryManager *
> XMemory  block = manager->allocate(headerSize + size)
> CEE3204S The system detected a protection exception (System Completion Code=0C4).
>          From entry point xercesc_2_7::XMemory::operator new(unsigned int,xercesc_2_7::MemoryManager*) at compile unit
>          offset +000001B4 at entry offset +000001B4 at address 2BDE9744.
> Segmentation fault

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1796) building xerces 2.7.0 in zOs - error when loading dll

Posted by "Adi Shtatfeld (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588940#action_12588940 ] 

Adi Shtatfeld commented on XERCESC-1796:
----------------------------------------

Hi David,
Thanks for the quick response!
I'm attaching the CEEDUMP.
I've tried to build and run with and without XPLINK and got the same results.
I can send the compilation and linkage output as well, if necessary.

Adi

> building xerces 2.7.0 in zOs - error when loading dll
> -----------------------------------------------------
>
>                 Key: XERCESC-1796
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1796
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>         Environment: zOs 1.8
>            Reporter: Adi Shtatfeld
>            Priority: Blocker
>
> When running any of the tests, I get the following error:
> --------------------------------------------------------------------------
> CEE3204S The system detected a protection exception (System Completion Code=0C4).
>          From entry point xercesc_2_7::XMemory::operator new(unsigned int,xercesc_2_7::MemoryManager*) at compile unit
>          offset +000001B4 at entry offset +000001B4 at address 2BDE9744.
> Segmentation fault
> I added debug prints:
> -----------------------------
> XMLMutex::XMLMutex(MemoryManager* = 0)
> OS390PlatformUtils MemoryManager* =0
> posix off
> XMemory::operator new(size_t size MemoryManager* manager)
> XMemory MemoryManager* =0
> XMemory  headerSize = XMLPlatformUtils::alignPointerForNewBloc kAllocation(sizeof(MemoryManager*))
> XMemory  sizeof(MemoryManager*)=4
> XMemory  headerSize=8
> XMemory  size=4
> XMemory  manager typeid=xercesc_2_7::MemoryManager *
> XMemory  block = manager->allocate(headerSize + size)
> CEE3204S The system detected a protection exception (System Completion Code=0C4).
>          From entry point xercesc_2_7::XMemory::operator new(unsigned int,xercesc_2_7::MemoryManager*) at compile unit
>          offset +000001B4 at entry offset +000001B4 at address 2BDE9744.
> Segmentation fault

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org