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 "damitha kumarage (JIRA)" <ji...@apache.org> on 2006/01/11 07:23:20 UTC

[jira] Assigned: (AXIS2C-2) AXIS2_OP_ENGAGE_MODULE seem to corrupt memory

     [ http://issues.apache.org/jira/browse/AXIS2C-2?page=all ]

damitha kumarage reassigned AXIS2C-2:
-------------------------------------

    Assign To: damitha kumarage

> AXIS2_OP_ENGAGE_MODULE seem to corrupt memory
> ---------------------------------------------
>
>          Key: AXIS2C-2
>          URL: http://issues.apache.org/jira/browse/AXIS2C-2
>      Project: Axis2-C
>         Type: Bug
>   Components: core/description
>     Versions: M0.3
>     Reporter: Samisa Abeysinghe
>     Assignee: damitha kumarage

>
> I got a segfault when runing the test test/core/description/test_description.
> gdb reveals the following:
> (gdb) bt
> #0  0x00000019 in ?? ()
> #1  0x0065d4a9 in axis2_op_free (op=0x976a058, env=0xbf8dda8c) at op.c:660
> #2  0x0804875c in test_op_engage_module () at test_description.c:27
> #3  0x08048781 in main () at test_description.c:34
> (gdb) fr 1
> #1  0x0065d4a9 in axis2_op_free (op=0x976a058, env=0xbf8dda8c) at op.c:660
> 660             for (i = 0; i < AXIS2_ARRAY_LIST_SIZE(op_impl->phases_out_fault_flow, env); i++)
> (gdb) l
> 655
> 656         if(NULL != op_impl->phases_out_fault_flow)
> 657         {
> 658             void *val = NULL;
> 659             int i = 0;
> 660             for (i = 0; i < AXIS2_ARRAY_LIST_SIZE(op_impl->phases_out_fault_flow, env); i++)
> 661             {
> 662                 struct axis2_phase *phase = NULL;
> 663                 phase = AXIS2_ARRAY_LIST_GET(op_impl->phases_out_fault_flow, env, i);
> 664
> This problem disappear if I comment out the call to AXIS2_OP_ENGAGE_MODULE in the test program.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira