This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Runtime ERROR: *** glibc detected *** ./parser: malloc(): memory corruption (fast): 0x0a26d360 ***


guys please help me.. 
i donno whether this is the right place to post it here!!!

Here what i did..
  i am parsing xml files using xerces-c +c++ and used DOM parsing..
when ever i parse a small file no problem its workin. But if with big xml
file i am getting error saying 
Its working upto some nodes and its giving some error like malloc

*** glibc detected *** ./parser: malloc(): memory corruption (fast):
0x0a26d360 ***

when ever i parse a small file no problem its workin. If go for little bit 
big xml file to parse i am getting this error.
i am not able to get  what this error is? plz give me solution &
explaination for above error..
Thanx in advance

Here wht i am getting at error:

*** 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

-- 
View this message in context: http://www.nabble.com/Runtime-ERROR%3A-***-glibc-detected-***-.-parser%3A-malloc%28%29%3A-memory-corruption-%28fast%29%3A-0x0a26d360-***-tf3559722.html#a9940796
Sent from the gcc - libstdc++ mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]