Venkatesh Thanneermalai created XERCESC-2080:
------------------------------------------------

             Summary: SIGSEGV Protection Violation during 
PlatformUtils::XMLInitialize
                 Key: XERCESC-2080
                 URL: https://issues.apache.org/jira/browse/XERCESC-2080
             Project: Xerces-C++
          Issue Type: Bug
    Affects Versions: 3.1.4
         Environment: SUSE 12
            Reporter: Venkatesh Thanneermalai


Hi,

We downlaoded the source for Xerces and build static lib using:
./configure --enable-transcoder-iconv CC=gcc-4.3 CXX=g++-4.3
make

We made use of archive (.a) file to statically link with our application.

When the program was executed, we got a crash when PlatformUtils::XMLInitialize 
is encountered.

Please find below the call stack:
Segmentation fault (protection violation) when reading from 0xffffffffc01626d1

Interrupt: 14

Signal code: SEGV_MAPERR - Address not mapped to object (1)

Aborting process CBACsInstallerPT (270) in VM (id:0, pid:19262, spawner 
pid:18923, lm set version:1)

Registers:

RAX=0000000000000031 RBX=0000000000000004 RCX=0000000000000000 
RDX=0000000000000002

RSI=0000008000039648 RDI=0000008000039668 RBP=0000008000039648 
RSP=000000800ffffc88

R8 =0000000000000001 R9 =0000000000000000 R10=000000000000003b 
R11=00007ffbe90ad950

R12=0000008000039668 R13=0000008000000160 R14=0000008000000160 
R15=000000800ffffd10

RIP=0000000081289ba3 EFLAGS=00010246

Call chain:  0x81289ba3 0x8128b8ce 0x4

Stack dump:
  000000800ffffc88: 000000008128b8ce

  000000800ffffc90: 0000000000000004

  000000800ffffc98:

Capsule 270 "CBACsInstallerPT"

    ----------------------

    Total resource counts:

    no objects

    ----------------------

Process 270 [10592] "CBACsInstallerPT"

    Port: 2077833059 Imp:0 |CBACsInstallerPT|

    ----------------------

    Total resource counts:

    Port: 1 (0 omitted)

    ----------------------

    Thread 270 "CBACsInstallerPT" [Running]

        ProcessControlJob (cmd: 4, message size: 12)

        Call chain:  0x80064794 0x3000000030

        ----------------------

        Total resource counts:

        no objects

        ----------------------

=================================================================
 

------------------------------------------------------------------------------

81289ba3: 
/opt/lpmsv/codearchive/CsInstaller.LM_CXC1721053.Code.R14N01.cba-vdicos-x86_64.sle12:
     file format elf64-x86-64

Disassembly of section .text:

0000000000008b13 <xercesc_3_1::XMLString::trim(unsigned short*)+0x33>:

_ZN11xercesc_3_19XMLString4trimEPt():

    8b13:       80 b8 00 00 00 00 00    cmpb   $0x0,0x0(%rax)

                        8b15: R_X86_64_32S      
xercesc_3_1::XMLChar1_0::fgCharCharsTable1_0

------------------------------------------------------------------------------
8128b8ce: 
/opt/lpmsv/codearchive/CsInstaller.LM_CXC1721053.Code.R14N01.cba-vdicos-x86_64.sle12:
     file format elf64-x86-64

Disassembly of section .text:

000000000000a83e <xercesc_3_1::XMLString::parseInt(unsigned short const*, 
xercesc_3_1::MemoryManager*)+0xce>:

_ZN11xercesc_3_19XMLString8parseIntEPKtPNS_13MemoryManagerE():

    a83e:       4d 85 e4                test   %r12,%r12

Please help us on this as we are blocked

--Venkatesh



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to