You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by narendrak <k....@iitg.ernet.in> on 2007/04/11 16:35:20 UTC

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..
Is this error due to DOM parsing or due to gcc compiler?
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-***-tf3559723.html#a9940798
Sent from the Apache XML - General mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


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

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
You should try the Xerces-C users list [1][2]. You're more likely to get a 
helpful response there.

[1] http://xml.apache.org/mail.html#xerces-c-user
[2] http://mail-archives.apache.org/mod_mbox/xerces-c-users/

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

narendrak <k....@iitg.ernet.in> wrote on 04/11/2007 10:35:20 AM:

> 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..
> Is this error due to DOM parsing or due to gcc compiler?
> 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-***-tf3559723.html#a9940798
> Sent from the Apache XML - General mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org