[ https://issues.apache.org/jira/browse/XERCESC-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Cantor reopened XERCESC-1586: ----------------------------------- > IconvGNU doesn't work at all on x86_64 (SIGSEGV) > ------------------------------------------------ > > Key: XERCESC-1586 > URL: https://issues.apache.org/jira/browse/XERCESC-1586 > Project: Xerces-C++ > Issue Type: Bug > Components: Utilities > Affects Versions: 2.7.0 > Environment: CentOS 4.3 x86_64 > Reporter: Stefan Ring > Priority: Major > > When xerces-c is configured with -tIconvGNU, it just doesn't work at all on > x86_64. I tried on Fedora Core 5 and CentOS 4.3, xerces-c 2.6 and 2.7. For > building, I used the supplied .spec file and just replaced -tnative with > -tIconvGNU. While it works fine with -tnative, the same cannot be said about > the iconv configuration. > [sr@centos64 bin]$ pwd > /usr/src/redhat/BUILD/xerces-c-src_2_7_0/bin > [sr@centos64 bin]$ LD_LIBRARY_PATH=../lib gdb ./SAX2Print > GNU gdb Red Hat Linux (6.3.0.0-1.96rh) > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "x86_64-redhat-linux-gnu"...(no debugging symbols > found) > Using host libthread_db library "/lib64/tls/libthread_db.so.1". > (gdb) r /tmp/IMEX.xml > Starting program: /usr/src/redhat/BUILD/xerces-c-src_2_7_0/bin/SAX2Print > /tmp/IMEX.xml > (no debugging symbols found) > (no debugging symbols found) > (no debugging symbols found) > (no debugging symbols found) > (no debugging symbols found) > (no debugging symbols found) > [Thread debugging using libthread_db enabled] > [New Thread 182908767616 (LWP 17384)] > (no debugging symbols found) > (no debugging symbols found) > <?xml version="1.0" encoding="LATIN1"?> > Fatal Error at file , line 0, char 0 > Message: > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 182908767616 (LWP 17384)] > 0x0000002a95f3179c in __gconv_transform_ucs2_internal () from > /lib64/tls/libc.so.6 > (gdb) bt > #0 0x0000002a95f3179c in __gconv_transform_ucs2_internal () from > /lib64/tls/libc.so.6 > #1 0x0000002a95f2c538 in __gconv () from /lib64/tls/libc.so.6 > #2 0x0000002a95f2bb9b in iconv () from /lib64/tls/libc.so.6 > #3 0x0000002a9587dd20 in xercesc_2_7::IconvGNUWrapper::iconvTo () from > ../lib/libxerces-c.so.27 > #4 0x0000002a9587ed78 in xercesc_2_7::IconvGNULCPTranscoder::transcode () > from ../lib/libxerces-c.so.27 > #5 0x0000002a9592d441 in xercesc_2_7::XMLString::transcode () from > ../lib/libxerces-c.so.27 > #6 0x000000000040a23d in SAX2PrintHandlers::fatalError () > #7 0x0000002a958b2874 in xercesc_2_7::SAX2XMLReaderImpl::error () from > ../lib/libxerces-c.so.27 > #8 0x0000002a95928a70 in xercesc_2_7::XMLScanner::emitError () from > ../lib/libxerces-c.so.27 > #9 0x0000002a9586ec0e in xercesc_2_7::IGXMLScanner::scanDocument () > from ../lib/libxerces-c.so.27 > #10 0x0000002a9592793d in xercesc_2_7::XMLScanner::scanDocument () from > ../lib/libxerces-c.so.27 > #11 0x0000002a959279bb in xercesc_2_7::XMLScanner::scanDocument () from > ../lib/libxerces-c.so.27 > #12 0x0000002a958b13b0 in xercesc_2_7::SAX2XMLReaderImpl::parse () from > ../lib/libxerces-c.so.27 > #13 0x0000000000408e40 in main () > It doesn't really matter what the file IMEX.xml looks like but for the sake > of completenes, that's all there is: > <?xml version="1.0" encoding="UTF-8"?> > <imex> > </imex> -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org