When you use libxml2 you need to define the AXIS2_LIBXML2_ENABLED pre-processor directive in the axiom project. I think this is the cause of this error. I realized this only when I go though the code.
Supun. On Mon, Oct 6, 2008 at 6:31 PM, Supun Kamburugamuva <[EMAIL PROTECTED]>wrote: > The chances are very small to a bug like this to be in libxml2 as it is a > very well tested and widely used XML library. If there is a problem with the > XML layer most probably that is in the axis2_parser or Axiom layers. I'm > unaware of a location for libxml2 debug library. The best option may be to > build it in Windows. But if you are using Guththila these debugging problems > won't occur as Guththila is part of Axis2/C. > > Supun.. > > > On Mon, Oct 6, 2008 at 6:22 PM, <[EMAIL PROTECTED]> wrote: > >> How can I know what is the problem as you indicated in the mail below? >> >> My guess is that it has to do with the libxml2.dll but where can I find it >> for debug? >> >> >> >> /Indra >> >> >> ------------------------------ >> >> *From:* Supun Kamburugamuva [mailto:[EMAIL PROTECTED] >> *Sent:* den 6 oktober 2008 11:54 >> *To:* Apache AXIS C Developers List >> *Subject:* Re: Axis2/c debug mode problem >> >> >> >> Please try to build with Guththila and you will be able to know for sure >> what is the cause of the problem. >> >> Supun. >> >> On Mon, Oct 6, 2008 at 2:48 PM, <[EMAIL PROTECTED]> wrote: >> >> I tried to clean and build but I still have the same problem. I checked >> and all the axis-dlls are compiled in debug but I think the problem has to >> do with my libxml2. Do you know where I can find a libxml2.dll that is >> compiled for debug? >> >> >> >> /Indra >> >> >> ------------------------------ >> >> *From:* Supun Kamburugamuva [mailto:[EMAIL PROTECTED] >> *Sent:* den 4 oktober 2008 06:00 >> *To:* Apache AXIS C Developers List >> *Subject:* Re: Axis2/c debug mode problem >> >> >> >> Usually this happens due to DLL conflicts. Try to clean everything build >> again. I usually clean everything manually and build again when this >> happens. >> >> Supun. >> >> On Fri, Oct 3, 2008 at 7:36 PM, <[EMAIL PROTECTED]> wrote: >> >> Hi again! >> >> I have compiled axis2/c using the axis2c.sln in release mode which works >> fine. >> >> I want to compile it in debug mode but it's not working. I get this error >> message when I debug: >> >> >> >> "Windows has triggered a breakpoint in axis2_http_server.exe. >> >> This may be due to a corruption of the heap, which indicates a bug in >> axis2_http_server.exe or any of the DLLs it has loaded. >> >> This may also be due to the user pressing F12 while axis2_http_server.exe >> has focus. >> >> The output window may have more diagnostic information." >> >> >> >> And this when I try to run it: >> >> >> >> "Debug Assertion Failed! >> >> Program: …s2c-src-1.5.0\ides\axis2c\deploy\bin\axis2_httpserver.exe >> >> File: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c >> >> Line:1317 >> >> >> >> Expression: _CrtIsValidHeapPointer(pUserData) >> >> >> >> For information on how your program can cause an assertion failure, see >> the Visual C++ documentation on asserts. " >> >> >> >> I have attached a screen shot of the heap… >> >> >> >> Can you help me? >> >> >> >> /Indra >> >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> -- >> Software Engineer, WSO2 Inc >> http://wso2.org >> >> >> >> >> -- >> Software Engineer, WSO2 Inc >> http://wso2.org >> > > > > -- > Software Engineer, WSO2 Inc > http://wso2.org > -- Software Engineer, WSO2 Inc http://wso2.org