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

Pavel Moravec commented on DISPATCH-37:
---------------------------------------

Another particular memory leak: by connecting and disconnecting another router 
to an inter-router listener:

==8432== 31,808 (64 direct, 31,744 indirect) bytes in 2 blocks are definitely 
lost in loss record 2,663 of 2,675
==8432==    at 0x4A06409: malloc (in 
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==8432==    by 0x4C1FD6E: qd_alloc (in 
/home/pmoravec/dispatch-trunk/trunk/BLD/libqpid-dispatch.so.0.1)
==8432==    by 0x4C2142B: new_qd_composed_field_t (in 
/home/pmoravec/dispatch-trunk/trunk/BLD/libqpid-dispatch.so.0.1)
==8432==    by 0x4C21D01: qd_compose (in 
/home/pmoravec/dispatch-trunk/trunk/BLD/libqpid-dispatch.so.0.1)
==8432==    by 0x4C2EDF9: router_annotate_message (in 
/home/pmoravec/dispatch-trunk/trunk/BLD/libqpid-dispatch.so.0.1)
==8432==    by 0x4C2FC76: router_rx_handler (in 
/home/pmoravec/dispatch-trunk/trunk/BLD/libqpid-dispatch.so.0.1)
==8432==    by 0x4C23A57: do_receive (in 
/home/pmoravec/dispatch-trunk/trunk/BLD/libqpid-dispatch.so.0.1)
==8432==    by 0x4C23D2C: process_handler (in 
/home/pmoravec/dispatch-trunk/trunk/BLD/libqpid-dispatch.so.0.1)
==8432==    by 0x4C2407A: handler (in 
/home/pmoravec/dispatch-trunk/trunk/BLD/libqpid-dispatch.so.0.1)
==8432==    by 0x4C35103: process_connector (in 
/home/pmoravec/dispatch-trunk/trunk/BLD/libqpid-dispatch.so.0.1)
==8432==    by 0x4C35662: thread_run (in 
/home/pmoravec/dispatch-trunk/trunk/BLD/libqpid-dispatch.so.0.1)
==8432==    by 0x3D6B607C52: start_thread (pthread_create.c:308)


> Various memory leaks
> --------------------
>
>                 Key: DISPATCH-37
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-37
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 0.1
>            Reporter: Pavel Moravec
>         Attachments: out01.log
>
>
> Valgrind reports various memory leaks after very basic usage of Dispatch 
> router. For basic scenario, have 2 routers A<->B and send messages from 
> bouncing producer connected to A to a bouncing consumer connected to B. 
> Attached is valgrind output for that.
> Some particular memory leaks to be commented later on.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to