[
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]