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

Samisa Abeysinghe closed AXIS2C-301.
------------------------------------

    Fix Version/s: 0.94
       Resolution: Fixed

Fixed this by labellng the op to come from module and not freeing that in 
service if it is from a module

> When sandesha is engaged simple axis server and service client crashes when 
> terminating
> ---------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-301
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-301
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>            Reporter: Samisa Abeysinghe
>         Assigned To: Samisa Abeysinghe
>            Priority: Critical
>             Fix For: 0.94
>
>
> The problem is in the way module ops and service ops are freed.
> Services keep a challow copy of module ops. When cleaning up the system, 
> module descriptions fee the ops first, then services try to free the same 
> ops. 
> gdb traces:
> for simple axis service:
> (gdb) bt
> #0  0x002e2405 in axis2_svc_free (svc=0x8617250, env=0x85c9470) at svc.c:930
> #1  0x002fa48d in axis2_arch_file_data_free (arch_file_data=0x85ea428, 
> env=0x85c9470) at arch_file_data.c:308
> #2  0x002f68bd in axis2_dep_engine_free (dep_engine=0x85c9520, env=0x85c9470) 
> at dep_engine.c:528
> #3  0x002d141d in axis2_conf_free (conf=0x85c9768, env=0x85c9470) at 
> conf.c:904
> #4  0x00309f1c in axis2_conf_ctx_free (conf_ctx=0x862c380, env=0x85c9470) at 
> conf_ctx.c:659
> #5  0x0011ebbe in axis2_http_server_free (server=0x85c94e8, env=0x85c9470) at 
> http_server.c:162
> #6  0x08048c9d in system_exit (env=0x85c9470, status=-1) at 
> http_server_main.c:72
> #7  0x0804909f in main (argc=1, argv=0xbff82e64) at http_server_main.c:178
> for math sample:
> (gdb) bt
> #0  0x006e1405 in axis2_svc_free (svc=0x8d01360, env=0x8cb2220) at svc.c:930
> #1  0x006f948d in axis2_arch_file_data_free (arch_file_data=0x8cd44e0, 
> env=0x8cb2220) at arch_file_data.c:308
> #2  0x006f58bd in axis2_dep_engine_free (dep_engine=0x8cb3e48, env=0x8cb2220) 
> at dep_engine.c:528
> #3  0x006d041d in axis2_conf_free (conf=0x8cb3fd8, env=0x8cb2220) at 
> conf.c:904
> #4  0x00708f1c in axis2_conf_ctx_free (conf_ctx=0x8d0d228, env=0x8cb2220) at 
> conf_ctx.c:659
> #5  0x0071413f in axis2_svc_client_free (svc_client=0x8cb4bc0, env=0x8cb2220) 
> at svc_client.c:1326
> #6  0x0070ed45 in axis2_stub_free (stub=0x8cb4c78, env=0x8cb2220) at 
> stub.c:233
> #7  0x08049370 in main (argc=1, argv=0xbfb15554) at math_client.c:123

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to