Re: [xml] xmlParseFile crashes with segmentation fault in Multithreaded Application
- From: Manoj Kumar <manoj2kb yahoo co in>
- To: Aron Stansvik <elvstone gmail com>, xml gnome org
- Cc:
- Subject: Re: [xml] xmlParseFile crashes with segmentation fault in Multithreaded Application
- Date: Tue, 19 Apr 2005 07:59:43 -0700 (PDT)
Hello,
I'am greatful for your reply.
But we have found that there is no problem with the XML library its working fine (appears to be). The problem appears to be with the interworking of teh ZebOS and the XMl library. It looks as though ZebOS memory_init function is overwriting the global memory location used by XML library.
Thank you for your help.
Regards,
Manoj Kumar
Aron Stansvik <elvstone gmail com> wrote:
On 4/18/05, Manoj Kumar wrote:
> Hi,
>
> Thank you for your reply.
>
> But no we don't use any such call. The first XML call that we make is
> xmlParseFile from one of the sub threads it fails. Just to test if something
> is wrong with our method we moved the call to main thread it works prefectly
> fine. But our main thread is not supposed do any xml related calls. Hence
> we start using xml only in the subthread. But we get segmentation fault
> there. we also tried using xmlInitParser() in hte main thread even that does
> not help.
xmlInitParser() should always be called from the main thread
(http://xmlsoft.org/threads.html). Can you reproduce your problem with
a minimal example?
Best regards,
Aron
Do you Yahoo!?
Plan great trips with
Yahoo! Travel: Now
over 17,000 guides!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]