[ 
https://issues.apache.org/jira/browse/AXIS2C-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13632845#comment-13632845
 ] 

Alex Mantaut commented on AXIS2C-1635:
--------------------------------------

Hi Gilles, 
             I tried the patch and I've got a segfault while running the 
./client/echo/echo sample: 

Here is the backtrace

#1  0x00143a99 in axutil_property_free (property=0x80e61a0, env=0x804c298) at 
property.c:94
#2  0x001da884 in axis2_options_free (options=0x804c310, env=0x804c298) at 
options.c:749
#3  0x001df92c in axis2_svc_client_free (svc_client=0x804c440, env=0x804c298) 
at svc_client.c:1212
#4  0x08048b2c in main (argc=1, argv=0xbffff074) at echo.c:154

I'm using trunk with your patch applied, buit with ./configure with no options 
(ssl disabled)

                
> Fix for various memleaks & corruptions
> --------------------------------------
>
>                 Key: AXIS2C-1635
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1635
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 1.6.0, Current (Nightly)
>         Environment: FC18 / WinXP
>            Reporter: Gilles Gagniard
>              Labels: patch
>             Fix For: Current (Nightly)
>
>         Attachments: axis2c_fixes.patch
>
>
> This issue contains a patch for various memleaks / corruptions in Axis2/C.
> Each proposed fix has an attached comment in the patch describing the issue.
> In particular, it fixes :
> - a crasher introduced with r1467162 : in http_sender.c in_stream could be 
> reused after being freed
> - a crasher sometime happening when freeing a svc_client : in svc_client.c 
> options should be freed last because free callbacks for other members can tap 
> into options (and do, see conf_ctx for instance !)
> - a memleak in the connection_map handling in http_sender.c (key is always 
> strdup()ed but never freed)
> - a crasher in stream handling, happening if the incoming stream length is 
> exactly equal to internal buffer length
> - a memleak in om_element

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to