axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diluka Moratuwage (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2C-1154) multiple Invalid read of size 4 for client In-Only message
Date Tue, 24 Jun 2008 15:12:45 GMT

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

Diluka Moratuwage commented on AXIS2C-1154:
-------------------------------------------

Hi Frederic,
 Well, I just noted that, I tried to reproduce the exact error as you got, but I'm sorry I
was unable, but I found that there is an invalid read due to library loading (That is because
of the use of dl library). If you write a simple program, that would load any library, and
you run it using valgrind, I found that, it has an invalid read from function dlopen(). I
only could regenerate that and I didn't get any invalid read from any other function. It seems
that you get invalid read due to some other problem. I think we have to see a simple sample
to get the problem soloved. By the way, if you need a sample on how to use axis2_svc_client_send_robust_with_op_qname
function, I suggest you to have a look into the notify sample, it shows how exactly you can
use that.

Thanks,
Diluka.

> multiple Invalid read of size 4 for client In-Only message
> ----------------------------------------------------------
>
>                 Key: AXIS2C-1154
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1154
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>         Environment: linux fc5
>            Reporter: Frederic Heem
>
> When sending an "In-Only" message, valgrind complains about multiple invalid read :
> ==13318== Invalid read of size 4
> ==13318==    at 0x4049F37: axis2_msg_ctx_get_transport_in_desc (msg_ctx.c:1075)
> ==13318==    by 0x405577E: axis2_svc_client_set_http_info (svc_client.c:1703)
> ==13318==    by 0x40563D8: axis2_svc_client_send_robust_with_op_qname (svc_client.c:571)
> ==13318==    by 0x804B477: axis2_stub_op_zigbee_PermitJoining (axis2_stub_zigbee.c:1248)
> ==13318==    by 0x804A362: PermitJoining (zigbee_client.c:221)
> ==13318==    by 0x804A523: main (zigbee_client.c:132)
> ==13318==  Address 0x423a298 is 48 bytes inside a block of size 264 free'd
> ==13318==    at 0x40053CC: free (vg_replace_malloc.c:323)
> ==13318==    by 0x411289C: axutil_allocator_free_impl (allocator.c:91)
> ==13318==    by 0x404CBE9: axis2_msg_ctx_free (msg_ctx.c:540)
> ==13318==    by 0x4053E3C: axis2_op_client_add_msg_ctx (op_client.c:226)
> ==13318==    by 0x40544E4: axis2_op_client_execute (op_client.c:522)
> ==13318==    by 0x40563C9: axis2_svc_client_send_robust_with_op_qname (svc_client.c:570)
> ==13318==    by 0x804B477: axis2_stub_op_zigbee_PermitJoining (axis2_stub_zigbee.c:1248)
> ==13318==    by 0x804A362: PermitJoining (zigbee_client.c:221)
> ==13318==    by 0x804A523: main (zigbee_client.c:132)
> ==13318==
> ==13318== Invalid read of size 4
> ==13318==    at 0x4048447: axis2_msg_ctx_get_status_code (msg_ctx.c:2662)
> ==13318==    by 0x4055877: axis2_svc_client_set_http_info (svc_client.c:1756)
> ==13318==    by 0x40563D8: axis2_svc_client_send_robust_with_op_qname (svc_client.c:571)
> ==13318==    by 0x804B477: axis2_stub_op_zigbee_PermitJoining (axis2_stub_zigbee.c:1248)
> ==13318==    by 0x804A362: PermitJoining (zigbee_client.c:221)
> ==13318==    by 0x804A523: main (zigbee_client.c:132)
> ==13318==  Address 0x423a2f0 is 136 bytes inside a block of size 264 free'd
> ==13318==    at 0x40053CC: free (vg_replace_malloc.c:323)
> ==13318==    by 0x411289C: axutil_allocator_free_impl (allocator.c:91)
> ==13318==    by 0x404CBE9: axis2_msg_ctx_free (msg_ctx.c:540)
> ==13318==    by 0x4053E3C: axis2_op_client_add_msg_ctx (op_client.c:226)
> ==13318==    by 0x40544E4: axis2_op_client_execute (op_client.c:522)
> ==13318==    by 0x40563C9: axis2_svc_client_send_robust_with_op_qname (svc_client.c:570)
> ==13318==    by 0x804B477: axis2_stub_op_zigbee_PermitJoining (axis2_stub_zigbee.c:1248)
> ==13318==    by 0x804A362: PermitJoining (zigbee_client.c:221)
> ==13318==    by 0x804A523: main (zigbee_client.c:132)
> ==13318==
> ==13318== Invalid read of size 4
> ==13318==    at 0x4048347: axis2_msg_ctx_get_auth_failed (msg_ctx.c:2683)
> ==13318==    by 0x40563E4: axis2_svc_client_send_robust_with_op_qname (svc_client.c:572)
> ==13318==    by 0x804B477: axis2_stub_op_zigbee_PermitJoining (axis2_stub_zigbee.c:1248)
> ==13318==    by 0x804A362: PermitJoining (zigbee_client.c:221)
> ==13318==    by 0x804A523: main (zigbee_client.c:132)
> ==13318==  Address 0x423a360 is 248 bytes inside a block of size 264 free'd
> ==13318==    at 0x40053CC: free (vg_replace_malloc.c:323)
> ==13318==    by 0x411289C: axutil_allocator_free_impl (allocator.c:91)
> ==13318==    by 0x404CBE9: axis2_msg_ctx_free (msg_ctx.c:540)
> ==13318==    by 0x4053E3C: axis2_op_client_add_msg_ctx (op_client.c:226)
> ==13318==    by 0x40544E4: axis2_op_client_execute (op_client.c:522)
> ==13318==    by 0x40563C9: axis2_svc_client_send_robust_with_op_qname (svc_client.c:570)
> ==13318==    by 0x804B477: axis2_stub_op_zigbee_PermitJoining (axis2_stub_zigbee.c:1248)
> ==13318==    by 0x804A362: PermitJoining (zigbee_client.c:221)
> ==13318==    by 0x804A523: main (zigbee_client.c:132)
> ==13318==
> ==13318== Invalid read of size 4
> ==13318==    at 0x4048147: axis2_msg_ctx_get_required_auth_is_http (msg_ctx.c:2725)
> ==13318==    by 0x40563F6: axis2_svc_client_send_robust_with_op_qname (svc_client.c:573)
> ==13318==    by 0x804B477: axis2_stub_op_zigbee_PermitJoining (axis2_stub_zigbee.c:1248)
> ==13318==    by 0x804A362: PermitJoining (zigbee_client.c:221)
> ==13318==    by 0x804A523: main (zigbee_client.c:132)
> ==13318==  Address 0x423a364 is 252 bytes inside a block of size 264 free'd
> ==13318==    at 0x40053CC: free (vg_replace_malloc.c:323)
> ==13318==    by 0x411289C: axutil_allocator_free_impl (allocator.c:91)
> ==13318==    by 0x404CBE9: axis2_msg_ctx_free (msg_ctx.c:540)
> ==13318==    by 0x4053E3C: axis2_op_client_add_msg_ctx (op_client.c:226)
> ==13318==    by 0x40544E4: axis2_op_client_execute (op_client.c:522)
> ==13318==    by 0x40563C9: axis2_svc_client_send_robust_with_op_qname (svc_client.c:570)
> ==13318==    by 0x804B477: axis2_stub_op_zigbee_PermitJoining (axis2_stub_zigbee.c:1248)
> ==13318==    by 0x804A362: PermitJoining (zigbee_client.c:221)
> ==13318==    by 0x804A523: main (zigbee_client.c:132)
> ==13318==
> ==13318== Invalid read of size 4
> ==13318==    at 0x4048017: axis2_msg_ctx_get_auth_type (msg_ctx.c:2761)
> ==13318==    by 0x804B477: axis2_stub_op_zigbee_PermitJoining (axis2_stub_zigbee.c:1248)
> ==13318==    by 0x804A362: PermitJoining (zigbee_client.c:221)
> ==13318==    by 0x804A523: main (zigbee_client.c:132)
> ==13318==  Address 0x423a368 is 256 bytes inside a block of size 264 free'd
> ==13318==    at 0x40053CC: free (vg_replace_malloc.c:323)
> ==13318==    by 0x411289C: axutil_allocator_free_impl (allocator.c:91)
> ==13318==    by 0x404CBE9: axis2_msg_ctx_free (msg_ctx.c:540)
> ==13318==    by 0x4053E3C: axis2_op_client_add_msg_ctx (op_client.c:226)
> ==13318==    by 0x40544E4: axis2_op_client_execute (op_client.c:522)
> ==13318==    by 0x40563C9: axis2_svc_client_send_robust_with_op_qname (svc_client.c:570)
> ==13318==    by 0x804B477: axis2_stub_op_zigbee_PermitJoining (axis2_stub_zigbee.c:1248)
> ==13318==    by 0x804A362: PermitJoining (zigbee_client.c:221)
> ==13318==    by 0x804A523: main (zigbee_client.c:132)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message