[jira] Closed: (XERCESC-1915) Segmentation fault in getPooledString

2010-03-02 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/XERCESC-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olov Brötell closed XERCESC-1915.
-

Resolution: Invalid

As has been pointed out this is probably a bug in the XLC 10 optimizer. 
Workaround is to turn off optimization.

http://issues.apache.org/jira/browse/XERCESC-1904?focusedCommentId=12802346page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12802346

 Segmentation fault in getPooledString
 -

 Key: XERCESC-1915
 URL: https://issues.apache.org/jira/browse/XERCESC-1915
 Project: Xerces-C++
  Issue Type: Bug
  Components: DOM
Affects Versions: 2.7.0
 Environment: AIX 6.1, powerpc, IBM XL C/C++ for AIX, V10.1
Reporter: Olov Brötell
Priority: Blocker

 Segmentation fault in getPooledString after call to 'createSPE'. 
 -
 ...
 // This string hasn't been seen before.  Add it to the pool.
 *pspe = spe = createSPE(in, fDoc);
 return spe-fString;
 }
 -
 Reproducible in my environment *unless* built with debugging symbols (-d).
 Steps to reproduce:
 - build xerces-c_2_7_0 on AIX 6.1 with IBM XL C/C++ for AIX, V10.1 (32 or 64 
 bit)
 - build sample programs
 - execute for example CreateDOMDocument to get segfault
 $dbx -d 1 -C core
 Type 'help' for help.
 [Object file is not specified. Using CreateDOMDocument as an object file]
 warning: The core file is not a fullcore. Some info may
 not be available.
 [using memory image in core]
 reading symbolic information ...
 Segmentation fault in getPooledString__Q2_11xercesc_2_713DOMStringPoolFPCUs 
 at 0xd50d8e24
 0xd50d8e24 (getPooledString__Q2_11xercesc_2_713DOMStringPoolFPCUs+0xa4) 
 907f stw   r3,0x0(r31)
 (dbx) where
 getPooledString__Q2_11xercesc_2_713DOMStringPoolFPCUs() at 0xd50d8e24
 DOMDocumentImpl.getPooledString(const unsigned short*)() at 0xd4e88d70
 DOMElementImpl.DOMElementImpl(xercesc_2_7::DOMDocument*,const unsigned 
 short*)() at 0xd50e8fa8
 DOMElementNSImpl.DOMElementNSImpl(xercesc_2_7::DOMDocument*,const unsigned 
 short*,const unsigned short*)() at 0xd50e77a4
 DOMDocumentImpl.createElementNS(const unsigned short*,const unsigned 
 short*)() at 0xd4e7aec4
 DOMDocumentImpl.DOMDocumentImpl(const unsigned short*,const unsigned 
 short*,xercesc_2_7::DOMDocumentType*,xercesc_2_7::MemoryManager
 *)() at 0xd4e7acf0
 DOMImplementationImpl.createDocument(const unsigned short*,const unsigned 
 short*,xercesc_2_7::DOMDocumentType*,xercesc_2_7::MemoryMa
 nager*)() at 0xd4e908c4
 unnamed block in main(argC = 1,  = /\362)^P), line 140 in 
 CreateDOMDocument.cpp
 unnamed block in main(argC = 1,  = /\362)^P), line 140 in 
 CreateDOMDocument.cpp
 main(argC = 1,  = /\362)^P), line 140 in CreateDOMDocument.cpp

-- 
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-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] Closed: (XERCESC-1915) Segmentation fault in getPooledString

2010-02-24 Thread Boris Kolpackov (JIRA)

 [ 
https://issues.apache.org/jira/browse/XERCESC-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Boris Kolpackov closed XERCESC-1915.


Resolution: Invalid

This is a problem in XL C++ optimizer as explained in one of the comments for 
XERCESC-1904. The workaround is to add -qalias=noansi. 

 Segmentation fault in getPooledString
 -

 Key: XERCESC-1915
 URL: https://issues.apache.org/jira/browse/XERCESC-1915
 Project: Xerces-C++
  Issue Type: Bug
  Components: DOM
Affects Versions: 2.7.0
 Environment: AIX 6.1, powerpc, IBM XL C/C++ for AIX, V10.1
Reporter: Olov Brötell
Priority: Blocker

 Segmentation fault in getPooledString after call to 'createSPE'. 
 -
 ...
 // This string hasn't been seen before.  Add it to the pool.
 *pspe = spe = createSPE(in, fDoc);
 return spe-fString;
 }
 -
 Reproducible in my environment *unless* built with debugging symbols (-d).
 Steps to reproduce:
 - build xerces-c_2_7_0 on AIX 6.1 with IBM XL C/C++ for AIX, V10.1 (32 or 64 
 bit)
 - build sample programs
 - execute for example CreateDOMDocument to get segfault
 $dbx -d 1 -C core
 Type 'help' for help.
 [Object file is not specified. Using CreateDOMDocument as an object file]
 warning: The core file is not a fullcore. Some info may
 not be available.
 [using memory image in core]
 reading symbolic information ...
 Segmentation fault in getPooledString__Q2_11xercesc_2_713DOMStringPoolFPCUs 
 at 0xd50d8e24
 0xd50d8e24 (getPooledString__Q2_11xercesc_2_713DOMStringPoolFPCUs+0xa4) 
 907f stw   r3,0x0(r31)
 (dbx) where
 getPooledString__Q2_11xercesc_2_713DOMStringPoolFPCUs() at 0xd50d8e24
 DOMDocumentImpl.getPooledString(const unsigned short*)() at 0xd4e88d70
 DOMElementImpl.DOMElementImpl(xercesc_2_7::DOMDocument*,const unsigned 
 short*)() at 0xd50e8fa8
 DOMElementNSImpl.DOMElementNSImpl(xercesc_2_7::DOMDocument*,const unsigned 
 short*,const unsigned short*)() at 0xd50e77a4
 DOMDocumentImpl.createElementNS(const unsigned short*,const unsigned 
 short*)() at 0xd4e7aec4
 DOMDocumentImpl.DOMDocumentImpl(const unsigned short*,const unsigned 
 short*,xercesc_2_7::DOMDocumentType*,xercesc_2_7::MemoryManager
 *)() at 0xd4e7acf0
 DOMImplementationImpl.createDocument(const unsigned short*,const unsigned 
 short*,xercesc_2_7::DOMDocumentType*,xercesc_2_7::MemoryMa
 nager*)() at 0xd4e908c4
 unnamed block in main(argC = 1,  = /\362)^P), line 140 in 
 CreateDOMDocument.cpp
 unnamed block in main(argC = 1,  = /\362)^P), line 140 in 
 CreateDOMDocument.cpp
 main(argC = 1,  = /\362)^P), line 140 in CreateDOMDocument.cpp

-- 
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-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org