You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by in...@sungard.com on 2008/10/03 16:36:26 UTC

Axis2/c debug mode problem

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

 

 


RE: Axis2/c math client

Posted by in...@sungard.com.
Thanks I'm gonna try that

 

/Indra

 

________________________________

From: Rajika Kumarasiri [mailto:rajikacc@gmail.com] 
Sent: den 27 oktober 2008 17:25
To: Apache AXIS C Developers List
Subject: Re: Axis2/c math client

 

 

On Mon, Oct 27, 2008 at 9:50 PM, <in...@sungard.com> wrote:
hi, 
Try
printf("%s\n", axiom_node_to_string(node, env));

-Rajika

Hello!
Does anyone know how I can print a node and see what it contains?
For example I would like to print the axiom_node_t *node in axis2c
math-client main...


Regards
Indra


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org




-- 
http://wso2.org/
http://llvm.org/
http://www.osdev.org/


Re: Axis2/c math client

Posted by Rajika Kumarasiri <ra...@gmail.com>.
On Mon, Oct 27, 2008 at 9:50 PM, <in...@sungard.com> wrote:
hi,
Try
printf("%s\n", axiom_node_to_string(node, env));

-Rajika

Hello!
> Does anyone know how I can print a node and see what it contains?
> For example I would like to print the axiom_node_t *node in axis2c
> math-client main...
>
>
> Regards
> Indra
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>


-- 
http://wso2.org/
http://llvm.org/
http://www.osdev.org/

Re: Axis2/c math client

Posted by Nandika Jayawardana <ja...@gmail.com>.
You can use axiom_node_to_string function to get a string from an axiom
node.

Regards
Nandika

On Mon, Oct 27, 2008 at 9:50 PM, <in...@sungard.com> wrote:

> Hello!
> Does anyone know how I can print a node and see what it contains?
> For example I would like to print the axiom_node_t *node in axis2c
> math-client main...
>
>
> Regards
> Indra
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>


-- 
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com

Re: checking if axis server has started

Posted by Damitha Kumarage <da...@gmail.com>.
Hi,

indra.sharma@sungard.com wrote:
> Hi!
> Is there a way to check if axis server has started?
>   
You can always do that by checking the return status. If this does not 
help please send what you have tried to see whether I can be of any help
thanks
Damitha
> I have two threads, one initiates the axis server and gets stuck which
> also makes the main thread to stop. I would like to somehow check if the
> server has started and then let the main thread know so it can continue
> running.
>
> Regards
> Indra
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>
>   


-- 
__________________________________________________________________

Damitha Kumarage
http://people.apache.org/
__________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


checking if axis server has started

Posted by in...@sungard.com.
Hi!
Is there a way to check if axis server has started?
I have two threads, one initiates the axis server and gets stuck which
also makes the main thread to stop. I would like to somehow check if the
server has started and then let the main thread know so it can continue
running.

Regards
Indra


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


RE: printing parts of a node

Posted by in...@sungard.com.
Thanks!

/Indra

-----Original Message-----
From: Uthaiyashankar [mailto:shankar@wso2.com] 
Sent: den 7 november 2008 05:15
To: Apache AXIS C Developers List
Subject: Re: printing parts of a node

indra.sharma@sungard.com wrote:
> I tried to understand how I could use the serialize sub tree method
but
> I don't...
> I know how to get the node values but I also need to get the node
name,
> how can I do this?
>   
Hi Indra,

try axiom_element_get_localname  and axiom_element_get_namespace

Regards,
Shankar.

> I'm very thankful for a reply
>
> Regards
> Indra
>
> -----Original Message-----
> From: Samisa Abeysinghe [mailto:samisa@wso2.com] 
> Sent: den 5 november 2008 15:57
> To: Apache AXIS C Developers List
> Subject: Re: printing parts of a node
>
> indra.sharma@sungard.com wrote:
>   
>> Hello!
>> I want to print the parameter names in a node and not the parameter
>> values. 
>> For example: 
>> <param1>1</param1><param2>3</param2> 
>> I want to print or get the hold of: param1 param2 but not 1 and 3
>>
>> Does anyone know how this can be done?
>>   
>>     
>
> This can be done using the serialize sub tree method. Please have a
look
>
> at the node header file.
>
> Samisa...
>   
>> /Indra
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>   
>>
>>     
>
------------------------------------------------------------------------
>   
>> Internal Virus Database is out of date.
>> Checked by AVG - http://www.avg.com 
>> Version: 8.0.175 / Virus Database: 270.8.5/1759 - Release Date:
>>     
> 10/31/2008 4:10 PM
>   
>>   
>>     
>
>
>   


-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc. 
http://wso2.com/ - "The Open Source SOA Company" 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: What are the configurable ws-security parameters for incoming

Posted by Manjula Peiris <ma...@wso2.com>.
On Thu, 2008-11-06 at 23:17 -0800, Vivian Wang wrote:
> The reference https://wso2.org/library/2702 really helps me a lot to understand the configurations. I've got another question though, give one configuration file, how can I configure several connections to different web servers for a single client? Can I have multiple configuration files and one for each connection? I imagine the configuration can be very different between connections to different servers.
> 
yes you can keep different configurations in different policy files.
Build policies from them and set to svc_client before invoking the
service.



> Thanks again!
> Vivian
> 
> >On Wed, 2008-11-05 at 10:30 -0800, Vivian Wang wrote:
> >> Thanks! 
> >> 
> >> But my question is really this: In WS-Policy, what parameters need to be or can be \
> >> configured for incoming message (the response message from a client point of view)? \
> >> I don't see much document in rampart/c site. From a user point of view, I would \
> >> like to see something like soapUI in which the configurable parameters for \
> >> WS-security are very clear. Is there anything like that in rampart/c in a \
> >> configuration file? 
> 
> >https://wso2.org/library/2702
> 
> 
> 
>       
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: What are the configurable ws-security parameters for incoming

Posted by Vivian Wang <vi...@yahoo.com>.
The reference https://wso2.org/library/2702 really helps me a lot to understand the configurations. I've got another question though, give one configuration file, how can I configure several connections to different web servers for a single client? Can I have multiple configuration files and one for each connection? I imagine the configuration can be very different between connections to different servers.

Thanks again!
Vivian

>On Wed, 2008-11-05 at 10:30 -0800, Vivian Wang wrote:
>> Thanks! 
>> 
>> But my question is really this: In WS-Policy, what parameters need to be or can be \
>> configured for incoming message (the response message from a client point of view)? \
>> I don't see much document in rampart/c site. From a user point of view, I would \
>> like to see something like soapUI in which the configurable parameters for \
>> WS-security are very clear. Is there anything like that in rampart/c in a \
>> configuration file? 

>https://wso2.org/library/2702



      

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: printing parts of a node

Posted by Uthaiyashankar <sh...@wso2.com>.
indra.sharma@sungard.com wrote:
> I tried to understand how I could use the serialize sub tree method but
> I don't...
> I know how to get the node values but I also need to get the node name,
> how can I do this?
>   
Hi Indra,

try axiom_element_get_localname  and axiom_element_get_namespace

Regards,
Shankar.

> I'm very thankful for a reply
>
> Regards
> Indra
>
> -----Original Message-----
> From: Samisa Abeysinghe [mailto:samisa@wso2.com] 
> Sent: den 5 november 2008 15:57
> To: Apache AXIS C Developers List
> Subject: Re: printing parts of a node
>
> indra.sharma@sungard.com wrote:
>   
>> Hello!
>> I want to print the parameter names in a node and not the parameter
>> values. 
>> For example: 
>> <param1>1</param1><param2>3</param2> 
>> I want to print or get the hold of: param1 param2 but not 1 and 3
>>
>> Does anyone know how this can be done?
>>   
>>     
>
> This can be done using the serialize sub tree method. Please have a look
>
> at the node header file.
>
> Samisa...
>   
>> /Indra
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>   
>>
>>     
> ------------------------------------------------------------------------
>   
>> Internal Virus Database is out of date.
>> Checked by AVG - http://www.avg.com 
>> Version: 8.0.175 / Virus Database: 270.8.5/1759 - Release Date:
>>     
> 10/31/2008 4:10 PM
>   
>>   
>>     
>
>
>   


-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc. 
http://wso2.com/ - "The Open Source SOA Company" 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


RE: printing parts of a node

Posted by in...@sungard.com.
I tried to understand how I could use the serialize sub tree method but
I don't...
I know how to get the node values but I also need to get the node name,
how can I do this?

I'm very thankful for a reply

Regards
Indra

-----Original Message-----
From: Samisa Abeysinghe [mailto:samisa@wso2.com] 
Sent: den 5 november 2008 15:57
To: Apache AXIS C Developers List
Subject: Re: printing parts of a node

indra.sharma@sungard.com wrote:
> Hello!
> I want to print the parameter names in a node and not the parameter
> values. 
> For example: 
> <param1>1</param1><param2>3</param2> 
> I want to print or get the hold of: param1 param2 but not 1 and 3
>
> Does anyone know how this can be done?
>   

This can be done using the serialize sub tree method. Please have a look

at the node header file.

Samisa...
> /Indra
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>   
>
------------------------------------------------------------------------
>
>
> Internal Virus Database is out of date.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.175 / Virus Database: 270.8.5/1759 - Release Date:
10/31/2008 4:10 PM
>
>   


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: printing parts of a node

Posted by Samisa Abeysinghe <sa...@wso2.com>.
indra.sharma@sungard.com wrote:
> Hello!
> I want to print the parameter names in a node and not the parameter
> values. 
> For example: 
> <param1>1</param1><param2>3</param2> 
> I want to print or get the hold of: param1 param2 but not 1 and 3
>
> Does anyone know how this can be done?
>   

This can be done using the serialize sub tree method. Please have a look 
at the node header file.

Samisa...
> /Indra
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>   
> ------------------------------------------------------------------------
>
>
> Internal Virus Database is out of date.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.175 / Virus Database: 270.8.5/1759 - Release Date: 10/31/2008 4:10 PM
>
>   


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


printing parts of a node

Posted by in...@sungard.com.
Hello!
I want to print the parameter names in a node and not the parameter
values. 
For example: 
<param1>1</param1><param2>3</param2> 
I want to print or get the hold of: param1 param2 but not 1 and 3

Does anyone know how this can be done?

/Indra


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Axis2/c math client

Posted by in...@sungard.com.
Hello!
Does anyone know how I can print a node and see what it contains?
For example I would like to print the axiom_node_t *node in axis2c
math-client main...


Regards
Indra


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: Embed axis in libray

Posted by Samisa Abeysinghe <sa...@wso2.com>.
indra.sharma@sungard.com wrote:
> I was wondering if there is a possibility to access the objects by
> aggregating them to, for example, the variable env (see heap) since env
> is passed through all the way to invoke?
>   

This sort of a thing in Axis2 is done either using the description 
hierarchy or the context hierarchy, setting the object as a property or 
a parameter.

env can be used to abstract out memory allocation, threading and the 
like, basically the platform specific stuff. See the header of env for 
details.
> To do this one needs to know where env is created, do you know where?
>   

Yes we know :) There are multiple places this is done. You can do a grep 
to find those on the code.

> Comparing this solution to changing the client interface, which do you
> believe is the best?
>   

You do not need to change the client interface at all. You can embed it 
as it is, using the above techniques, keeping the interface as it is. In 
other words, you do not need a single change to Axis2 to embed it 
wherever you wish.

Thanks,
Samisa...

> Sincerely
> Indra
>
> -----Original Message-----
> From: Samisa Abeysinghe [mailto:samisa@wso2.com] 
> Sent: den 7 oktober 2008 16:01
> To: Apache AXIS C Developers List
> Subject: Re: Embed axis in libray
>
> indra.sharma@sungard.com wrote:
>   
>> Hi,
>>
>> I have a question regarding a project I'm working with. I want to 
>> embed axis2c into a library that I've created. I want to make the 
>> library available to the WS when invoke is called. Do you have any 
>> experience in this or any guidelines?
>>
>>     
>
> We have done this many times, but we do not have any docs. You can embed
>
> the service client interface.
>
> Samisa...
>
>   
>>  
>>
>> Thank you
>>
>>  
>>
>> /Indra
>>
>>  
>>
>>
>>     
> ------------------------------------------------------------------------
>   
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com 
>> Version: 8.0.173 / Virus Database: 270.7.6/1711 - Release Date:
>>     
> 10/6/2008 5:37 PM
>   
>>   
>>     
>
>
>   
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.173 / Virus Database: 270.7.6/1713 - Release Date: 10/7/2008 6:40 PM
>
>   


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


RE: Embed axis in libray

Posted by in...@sungard.com.
I was wondering if there is a possibility to access the objects by
aggregating them to, for example, the variable env (see heap) since env
is passed through all the way to invoke?

To do this one needs to know where env is created, do you know where?

Comparing this solution to changing the client interface, which do you
believe is the best?

Sincerely
Indra

-----Original Message-----
From: Samisa Abeysinghe [mailto:samisa@wso2.com] 
Sent: den 7 oktober 2008 16:01
To: Apache AXIS C Developers List
Subject: Re: Embed axis in libray

indra.sharma@sungard.com wrote:
>
> Hi,
>
> I have a question regarding a project I'm working with. I want to 
> embed axis2c into a library that I've created. I want to make the 
> library available to the WS when invoke is called. Do you have any 
> experience in this or any guidelines?
>

We have done this many times, but we do not have any docs. You can embed

the service client interface.

Samisa...

>  
>
> Thank you
>
>  
>
> /Indra
>
>  
>
>
------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.173 / Virus Database: 270.7.6/1711 - Release Date:
10/6/2008 5:37 PM
>
>   


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org



Re: Embed axis in libray

Posted by Samisa Abeysinghe <sa...@wso2.com>.
indra.sharma@sungard.com wrote:
>
> Hi,
>
> I have a question regarding a project I'm working with. I want to 
> embed axis2c into a library that I've created. I want to make the 
> library available to the WS when invoke is called. Do you have any 
> experience in this or any guidelines?
>

We have done this many times, but we do not have any docs. You can embed 
the service client interface.

Samisa...

>  
>
> Thank you
>
>  
>
> /Indra
>
>  
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.173 / Virus Database: 270.7.6/1711 - Release Date: 10/6/2008 5:37 PM
>
>   


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Embed axis in libray

Posted by in...@sungard.com.
Hi,

I have a question regarding a project I'm working with. I want to embed
axis2c into a library that I've created. I want to make the library
available to the WS when invoke is called. Do you have any experience in
this or any guidelines?

 

Thank you

 

/Indra

 


RE: Axis2/c debug mode problem

Posted by in...@sungard.com.
Thanks!

It's now working =)

 

/Indra

 

________________________________

From: Supun Kamburugamuva [mailto:supun06@gmail.com] 
Sent: den 6 oktober 2008 15:41
To: Apache AXIS C Developers List
Subject: Re: Axis2/c debug mode problem

 

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 <su...@gmail.com>
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, <in...@sungard.com> 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:supun06@gmail.com] 

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, <in...@sungard.com> 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:supun06@gmail.com] 
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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org




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


Re: Axis2/c debug mode problem

Posted by Supun Kamburugamuva <su...@gmail.com>.
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 <su...@gmail.com>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, <in...@sungard.com> 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:supun06@gmail.com]
>> *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, <in...@sungard.com> 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:supun06@gmail.com]
>> *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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>
>>
>>
>>
>> --
>> 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

RE: Axis2/c debug mode problem

Posted by in...@sungard.com.
I'm sorry if I have been a little unclear about the problem, I don't
believe there is a bug in libxml2. I think that there is a problem
because memory is being allocated for libxml2 that is in release but is
freed in debug. Since my project is in debug I believe there is a
conflict with my libxml2... 

 

/Indra

 

________________________________

From: Supun Kamburugamuva [mailto:supun06@gmail.com] 
Sent: den 6 oktober 2008 15:31
To: Apache AXIS C Developers List
Subject: Re: Axis2/c debug mode problem

 

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, <in...@sungard.com> 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:supun06@gmail.com] 

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, <in...@sungard.com> 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:supun06@gmail.com] 
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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org




-- 
Software Engineer, WSO2 Inc
http://wso2.org




-- 
Software Engineer, WSO2 Inc
http://wso2.org




-- 
Software Engineer, WSO2 Inc
http://wso2.org


Re: Axis2/c debug mode problem

Posted by Supun Kamburugamuva <su...@gmail.com>.
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, <in...@sungard.com> 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:supun06@gmail.com]
> *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, <in...@sungard.com> 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:supun06@gmail.com]
> *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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>
>
>
> --
> Software Engineer, WSO2 Inc
> http://wso2.org
>
>
>
>
> --
> Software Engineer, WSO2 Inc
> http://wso2.org
>



-- 
Software Engineer, WSO2 Inc
http://wso2.org

RE: Axis2/c debug mode problem

Posted by in...@sungard.com.
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:supun06@gmail.com] 
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, <in...@sungard.com> 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:supun06@gmail.com] 
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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org




-- 
Software Engineer, WSO2 Inc
http://wso2.org




-- 
Software Engineer, WSO2 Inc
http://wso2.org


RE: Axis2/c debug mode problem

Posted by in...@sungard.com.
Thanks, I'm going to try that...

 

/Indra

 

________________________________

From: Supun Kamburugamuva [mailto:supun06@gmail.com] 
Sent: den 6 oktober 2008 15:21
To: Apache AXIS C Developers List
Subject: Re: Axis2/c debug mode problem

 

If everything went smoothly the axis2_parser.lib which is linked to
Libxml2 cannot be used. Here I have attached my axis2.sln with
Guththila. I have a slightly different approach and I don't use the
axis2_parser_guththila project. Instead I have modified the existing
axis2_parser project to use guththila.

Supun

On Mon, Oct 6, 2008 at 5:49 PM, <in...@sungard.com> wrote:

I have removed axis2_parser-.lib and added axis2_parser_guththila.lib
instead in axiom->Linker->Input->additional dependencies. I still get
the same error...

In modules I can see that axis2_parser_guththila.dll is loaded but so is
also axis2_parser.dll...

 

/Indra

 

________________________________

From: Supun Kamburugamuva [mailto:supun06@gmail.com] 
Sent: den 6 oktober 2008 14:32


To: Apache AXIS C Developers List
Subject: Re: Axis2/c debug mode problem

 

You don't need to specify enable_guththila =1. You need to link axiom
against axis2_parser_guththila instead of axis2_parser.

Supun.. 

On Mon, Oct 6, 2008 at 5:27 PM, <in...@sungard.com> wrote:

Okay, I have added the projects axis2_parser_guththila and guththila. I
also need to add enable_guththila =1 in the preprocessor settings, don't
I?

 

 

/Indra

 

________________________________

From: Supun Kamburugamuva [mailto:supun06@gmail.com] 
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, <in...@sungard.com> 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:supun06@gmail.com] 
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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org




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


Re: Axis2/c debug mode problem

Posted by Supun Kamburugamuva <su...@gmail.com>.
If everything went smoothly the axis2_parser.lib which is linked to Libxml2
cannot be used. Here I have attached my axis2.sln with Guththila. I have a
slightly different approach and I don't use the axis2_parser_guththila
project. Instead I have modified the existing axis2_parser project to use
guththila.

Supun

On Mon, Oct 6, 2008 at 5:49 PM, <in...@sungard.com> wrote:

>  I have removed axis2_parser-.lib and added axis2_parser_guththila.lib
> instead in axiom->Linker->Input->additional dependencies. I still get the
> same error�
>
> In modules I can see that axis2_parser_guththila.dll is loaded but so is
> also axis2_parser.dll�
>
>
>
> /Indra
>
>
>  ------------------------------
>
> *From:* Supun Kamburugamuva [mailto:supun06@gmail.com]
> *Sent:* den 6 oktober 2008 14:32
>
> *To:* Apache AXIS C Developers List
> *Subject:* Re: Axis2/c debug mode problem
>
>
>
> You don't need to specify enable_guththila =1. You need to link axiom
> against axis2_parser_guththila instead of axis2_parser.
>
> Supun..
>
> On Mon, Oct 6, 2008 at 5:27 PM, <in...@sungard.com> wrote:
>
> Okay, I have added the projects axis2_parser_guththila and guththila. I
> also need to add enable_guththila =1 in the preprocessor settings, don't I?
>
>
>
>
>
> /Indra
>
>
>  ------------------------------
>
> *From:* Supun Kamburugamuva [mailto:supun06@gmail.com]
> *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, <in...@sungard.com> 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:supun06@gmail.com]
> *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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>
>
>
> --
> 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

RE: Axis2/c debug mode problem

Posted by in...@sungard.com.
I have removed axis2_parser-.lib and added axis2_parser_guththila.lib
instead in axiom->Linker->Input->additional dependencies. I still get
the same error...

In modules I can see that axis2_parser_guththila.dll is loaded but so is
also axis2_parser.dll...

 

/Indra

 

________________________________

From: Supun Kamburugamuva [mailto:supun06@gmail.com] 
Sent: den 6 oktober 2008 14:32
To: Apache AXIS C Developers List
Subject: Re: Axis2/c debug mode problem

 

You don't need to specify enable_guththila =1. You need to link axiom
against axis2_parser_guththila instead of axis2_parser.

Supun.. 

On Mon, Oct 6, 2008 at 5:27 PM, <in...@sungard.com> wrote:

Okay, I have added the projects axis2_parser_guththila and guththila. I
also need to add enable_guththila =1 in the preprocessor settings, don't
I?

 

 

/Indra

 

________________________________

From: Supun Kamburugamuva [mailto:supun06@gmail.com] 
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, <in...@sungard.com> 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:supun06@gmail.com] 
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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org




-- 
Software Engineer, WSO2 Inc
http://wso2.org




-- 
Software Engineer, WSO2 Inc
http://wso2.org




-- 
Software Engineer, WSO2 Inc
http://wso2.org


Re: Axis2/c debug mode problem

Posted by Supun Kamburugamuva <su...@gmail.com>.
You don't need to specify enable_guththila =1. You need to link axiom
against axis2_parser_guththila instead of axis2_parser.

Supun..

On Mon, Oct 6, 2008 at 5:27 PM, <in...@sungard.com> wrote:

>  Okay, I have added the projects axis2_parser_guththila and guththila. I
> also need to add enable_guththila =1 in the preprocessor settings, don't I?
>
>
>
>
>
> /Indra
>
>
>  ------------------------------
>
> *From:* Supun Kamburugamuva [mailto:supun06@gmail.com]
> *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, <in...@sungard.com> 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:supun06@gmail.com]
> *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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>
>
>
> --
> Software Engineer, WSO2 Inc
> http://wso2.org
>
>
>
>
> --
> Software Engineer, WSO2 Inc
> http://wso2.org
>



-- 
Software Engineer, WSO2 Inc
http://wso2.org

RE: Axis2/c debug mode problem

Posted by in...@sungard.com.
Okay, I have added the projects axis2_parser_guththila and guththila. I
also need to add enable_guththila =1 in the preprocessor settings, don't
I?

 

 

/Indra

 

________________________________

From: Supun Kamburugamuva [mailto:supun06@gmail.com] 
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, <in...@sungard.com> 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:supun06@gmail.com] 
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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org




-- 
Software Engineer, WSO2 Inc
http://wso2.org




-- 
Software Engineer, WSO2 Inc
http://wso2.org


Re: Axis2/c debug mode problem

Posted by Supun Kamburugamuva <su...@gmail.com>.
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, <in...@sungard.com> 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:supun06@gmail.com]
> *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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>
>
>
> --
> Software Engineer, WSO2 Inc
> http://wso2.org
>



-- 
Software Engineer, WSO2 Inc
http://wso2.org

RE: Axis2/c debug mode problem

Posted by in...@sungard.com.
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:supun06@gmail.com] 
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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org




-- 
Software Engineer, WSO2 Inc
http://wso2.org


Re: Axis2/c debug mode problem

Posted by Supun Kamburugamuva <su...@gmail.com>.
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, <in...@sungard.com> 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: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>



-- 
Software Engineer, WSO2 Inc
http://wso2.org