Hi,
from the stack trace it looks that your code is directly invoking
XMLString::transcode. Could you post your code for further inspection?
Alberto
At 15.29 12/04/2007 +0530, k.narendra wrote:
Hi
i am using Xerces-C - 2.7.0 with gcc-4.1.0. I successfully installed
xerces.
In my project i used this to parse my data which are in XML sheets.
Each are of size of 6.5 Mb.i am parsing xml files using DOM parsing..
when ever i parse a small file(5Kb) no problem its workin. But if with big
xml file(6.5MB) after some time of execution i am getting RUNTIME error
saying
*** glibc detected *** ./parser: malloc(): memory corruption (fast):
0x0a26d360 ***
Here wht i am getting exactly :
*** glibc detected *** ./parser: malloc(): memory corruption (fast):
0x0a26d360 ***
======= Backtrace: =========
/lib/libc.so.6[0x94bed3]
/lib/libc.so.6(malloc+0x74)[0x94cc7c]
/usr/lib/libstdc++.so.6(_Znwj+0x27)[0xda34d7]
/usr/lib/libstdc++.so.6(_Znaj+0x1d)[0xda360d]
/usr/lib/libxerces-c.so.27(_ZN11xercesc_2_718IconvLCPTranscoder9transcodeEPKt+0xfd)[0x2ccf6d]
/usr/lib/libxerces-c.so.27(_ZN11xercesc_2_79XMLString9transcodeEPKt+0x27)[0x3a7841]
./parser[0x804cb3b]
./parser[0x804cf42]
/lib/libc.so.6(__libc_start_main+0xdc)[0x8fc7e4]
./parser(__gxx_personality_v0+0xb1)[0x804a851]
======= Memory map: ========
00101000-004af000 r-xp 00000000 08:09 2185397 /usr/lib/libxerces-c.so.27.0
004af000-004e2000 rwAborted
here i am attaching example of my data sheet. In this example sheet it
contais around 10 to 15 graph elements. My original data sheet contains
20K to 40K graph elements. If i just try to parse whole sheet i am getting
this error.
Please suggest me solution.. if u need more clear specification of my
problem please do ask me..
Thanking u in advance...
--
Narendra.K
2nd year M.Tech(CSE)
IIT Guwahati
__________________________________________________
VALUE HAS A VALUE ONLY IF ITS VALUE IS VALUED
__________________________________________________
-----------------------------------------------------------------------------------
This email was sent from IIT Guwahati Webmail. If you are not the
intended recipient, please contact the sender by email and delete
all copies; your cooperation in this regard is appreciated.
http://www.iitg.ernet.in