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 Christopher Webster <cj...@ucar.edu> on 2020/04/02 20:51:09 UTC

'make check' failing on Vortex86DX w/ Ubuntu 16.0.4

Greetings,
  Not sure if this kind of post goes here, or in the -user group.

  We are using a WinSystems PC-104 board with Ubuntu 16.0.4, CPU is an
Intel Vortex86DX (i686 minus CMOV instruction).

  This comes with a dpkg xerces-c-3.1.3.  All of our programs were core
dumping on reading in the XML document.  I was able to trace this into
XMLStringPool::getValueForId().  The pool was getting corrupted after parse

  To start more in depth debugging I downloaded the latest, 3.2.2 and
built from source.  This gave me the same problems.  I've tried
valgrind, but I get illegal instruction (i.e. Vortex instruction set may
not be complete for valgrind).

  I have attached the config.log and the full make_check.log

The summary of errors is:

9880% grep "\*\*\* Error" make_check.log
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-DOMTest':
free(): corrupted unsorted chunks: 0x08a50b88 ***
*** Error in
`/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-XSerializerTest': free():
invalid next size (normal): 0x08713d80 ***
*** Error in
`/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-XSerializerTest': free():
invalid next size (normal): 0x08c6ed80 ***
*** Error in
`/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-XSerializerTest': free():
invalid next size (normal): 0x08359d60 ***
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-InitTermTest':
free(): invalid next size (normal): 0x09b2e2c0 ***
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-InitTermTest':
free(): invalid next size (normal): 0x09a5d2a0 ***
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
free(): invalid next size (normal): 0xb44359e8 ***
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
free(): invalid next size (normal): 0xb4435a40 ***
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
free(): invalid next size (normal): 0xb4432c40 ***
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
free(): invalid next size (normal): 0xb3a32c60 ***
*** Error in
`/home/ads/src/xerces-c-3.2.2/src/.libs/libxerces-c-3.2.so(_ZN11xercesc_3_223AbstractStringValidator8validateEPKtPNS_17ValidationContextEPNS_13MemoryManagerE+0x1b)[0xb757f05b]
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
free(): invalid next size (normal): 0xb442e2a8 ***
*** Error in
`/home/ads/src/xerces-c-3.2.2/src/.libs/libxerces-c-3.2.so(_ZN11xercesc_3_221GeneralAttributeCheck15checkAttributesEPKNS_10DOMElementEtPNS_14TraverseSchemaEbPNS_13ValueVectorOfIPNS_7DOMNodeEEE+0x57e)[0xb75d719e]
/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest*** Error in
`/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest': free():
corrupted unsorted chunks: 0xb0000980 ***
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
malloc(): memory corruption: 0xb00d6f18 ***
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
free(): corrupted unsorted chunks: 0x09fbc6a0 ***
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
free(): invalid next size (normal): 0x0a0abc68 ***
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
free(): invalid next size (normal): 0x098332f0 ***
*** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
free(): invalid next size (normal): 0x08c4c948 ***
*** Error in
`/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-MemHandlerTest': free():
invalid next size (fast): 0x084ddcc0 ***
*** Error in
`/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-DOMTypeInfoTest': free():
corrupted unsorted chunks: 0x09b658a8 ***



Thanks in advance for any guidance on how to proceed.
Chris





Re: 'make check' failing on Vortex86DX w/ Ubuntu 16.0.4

Posted by Christopher Webster <cj...@ucar.edu>.
Greetings again,
  I have finally solved the issue.  In short I had to use the
'--disable-sse2' configure option.  Seems the test for sse2 in configure
came back positive, when it should not have.  From my reading of the gcc
man page on x86 options, sse2 was introduced with pentium 3, which posts
date i686.

Hope this is of help to somebody here.

Regards,
Chris


On 4/2/20 2:51 PM, Christopher Webster wrote:
> Greetings,
>   Not sure if this kind of post goes here, or in the -user group.
>
>   We are using a WinSystems PC-104 board with Ubuntu 16.0.4, CPU is an
> Intel Vortex86DX (i686 minus CMOV instruction).
>
>   This comes with a dpkg xerces-c-3.1.3.  All of our programs were core
> dumping on reading in the XML document.  I was able to trace this into
> XMLStringPool::getValueForId().  The pool was getting corrupted after parse
>
>   To start more in depth debugging I downloaded the latest, 3.2.2 and
> built from source.  This gave me the same problems.  I've tried
> valgrind, but I get illegal instruction (i.e. Vortex instruction set may
> not be complete for valgrind).
>
>   I have attached the config.log and the full make_check.log
>
> The summary of errors is:
>
> 9880% grep "\*\*\* Error" make_check.log
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-DOMTest':
> free(): corrupted unsorted chunks: 0x08a50b88 ***
> *** Error in
> `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-XSerializerTest': free():
> invalid next size (normal): 0x08713d80 ***
> *** Error in
> `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-XSerializerTest': free():
> invalid next size (normal): 0x08c6ed80 ***
> *** Error in
> `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-XSerializerTest': free():
> invalid next size (normal): 0x08359d60 ***
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-InitTermTest':
> free(): invalid next size (normal): 0x09b2e2c0 ***
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-InitTermTest':
> free(): invalid next size (normal): 0x09a5d2a0 ***
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
> free(): invalid next size (normal): 0xb44359e8 ***
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
> free(): invalid next size (normal): 0xb4435a40 ***
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
> free(): invalid next size (normal): 0xb4432c40 ***
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
> free(): invalid next size (normal): 0xb3a32c60 ***
> *** Error in
> `/home/ads/src/xerces-c-3.2.2/src/.libs/libxerces-c-3.2.so(_ZN11xercesc_3_223AbstractStringValidator8validateEPKtPNS_17ValidationContextEPNS_13MemoryManagerE+0x1b)[0xb757f05b]
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
> free(): invalid next size (normal): 0xb442e2a8 ***
> *** Error in
> `/home/ads/src/xerces-c-3.2.2/src/.libs/libxerces-c-3.2.so(_ZN11xercesc_3_221GeneralAttributeCheck15checkAttributesEPKNS_10DOMElementEtPNS_14TraverseSchemaEbPNS_13ValueVectorOfIPNS_7DOMNodeEEE+0x57e)[0xb75d719e]
> /home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest*** Error in
> `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest': free():
> corrupted unsorted chunks: 0xb0000980 ***
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
> malloc(): memory corruption: 0xb00d6f18 ***
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
> free(): corrupted unsorted chunks: 0x09fbc6a0 ***
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
> free(): invalid next size (normal): 0x0a0abc68 ***
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
> free(): invalid next size (normal): 0x098332f0 ***
> *** Error in `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-ThreadTest':
> free(): invalid next size (normal): 0x08c4c948 ***
> *** Error in
> `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-MemHandlerTest': free():
> invalid next size (fast): 0x084ddcc0 ***
> *** Error in
> `/home/ads/src/xerces-c-3.2.2/tests/.libs/lt-DOMTypeInfoTest': free():
> corrupted unsorted chunks: 0x09b658a8 ***
>
>
>
> Thanks in advance for any guidance on how to proceed.
> Chris
>
>
>
>



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