You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2021/04/03 18:42:00 UTC

[jira] [Commented] (DISPATCH-1858) HTTP1: occasional failure with leak of qd_deferred_call_t item

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

Jiri Daněk commented on DISPATCH-1858:
--------------------------------------

Here's one recent occurence in CI. The first time I am seeing this https://travis-ci.com/github/apache/qpid-dispatch/jobs/495867991#L9967

{noformat}
63: alloc.c: Items of type 'qd_deferred_call_t' remain allocated at shutdown: 8
63: Leak: 2021-04-03 16:37:52.985478 +0000 type: qd_deferred_call_t address: 0x6110001b5a10
63: /usr/lib/x86_64-linux-gnu/libasan.so.2(+0x4a077) [0x7fe5a8d4a077]
63: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(qd_alloc+0xc70) [0x7fe5a84cc940]
63: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(new_qd_deferred_call_t+0x26) [0x7fe5a86756f8]
63: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(qd_connection_invoke_deferred+0x25) [0x7fe5a86883fa]
63: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(+0x53429f) [0x7fe5a867029f]
63: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(qdr_connection_process+0x2720) [0x7fe5a8591374]
63: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(+0x52a948) [0x7fe5a8666948]
63: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(+0x3b64bc) [0x7fe5a84f24bc]
63: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(qd_container_handle_event+0x223b) [0x7fe5a84f5f0a]
63: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(+0x54619c) [0x7fe5a868219c]
{noformat}

> HTTP1: occasional failure with leak of qd_deferred_call_t item
> --------------------------------------------------------------
>
>                 Key: DISPATCH-1858
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1858
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Protocol Adaptors
>    Affects Versions: 1.15.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Major
>             Fix For: 1.16.0
>
>
> When running a debug build occasionally the HTTP1 system tests will fail with a leak of a qd_deferred_call_t item.
> {{70: Leak: 2020-11-26 11:15:43.910062 -0500 type: qd_deferred_call_t address: 0xebc310 }}
> {{70: /home/kgiusti/work/dispatch/qpid-dispatch/BUILD/src/libqpid-dispatch.so(qd_alloc+0x20c) [0x7fcbd9ceac69] }}
> {{70: /home/kgiusti/work/dispatch/qpid-dispatch/BUILD/src/libqpid-dispatch.so(new_qd_deferred_call_t+0x26) [0x7fcbd9d5b115] }}
> {{70: /home/kgiusti/work/dispatch/qpid-dispatch/BUILD/src/libqpid-dispatch.so(qd_connection_invoke_deferred+0x24) [0x7fcbd9d60568] }}
> {{70: /home/kgiusti/work/dispatch/qpid-dispatch/BUILD/src/libqpid-dispatch.so(qd_link_restart_rx+0x95) [0x7fcbd9d59bd6] }}
> {{70: /home/kgiusti/work/dispatch/qpid-dispatch/BUILD/src/libqpid-dispatch.so(qd_message_stream_data_release+0x43e) [0x7fcbd9d06304] }}
> {{70: /home/kgiusti/work/dispatch/qpid-dispatch/BUILD/src/libqpid-dispatch.so(qdr_http1_out_data_fifo_cleanup+0x155) [0x7fcbd9cda3b7] }}
> {{70: /home/kgiusti/work/dispatch/qpid-dispatch/BUILD/src/libqpid-dispatch.so(+0x535d0) [0x7fcbd9ce45d0] }}
> {{70: /home/kgiusti/work/dispatch/qpid-dispatch/BUILD/src/libqpid-dispatch.so(qdr_http1_server_conn_cleanup+0x29) [0x7fcbd9ce4759] }}
> {{70: /home/kgiusti/work/dispatch/qpid-dispatch/BUILD/src/libqpid-dispatch.so(qdr_http1_connection_free+0x221) [0x7fcbd9cda19b] }}
> {{70: /home/kgiusti/work/dispatch/qpid-dispatch/BUILD/src/libqpid-dispatch.so(+0x4ae18) [0x7fcbd9cdbe18] }}
>  
> {{This is concerning as it appears to be related to Q2 relief being triggered during a connection close.  Needs investigation.}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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