You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/03 23:13:00 UTC

[jira] [Commented] (DISPATCH-2088) SEGV in qd_buffer_dec_fanout

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

ASF subversion and git services commented on DISPATCH-2088:
-----------------------------------------------------------

Commit 9d7a1f39eff3d0f8d1dc86b836d3a43c4664c7e6 in qpid-dispatch's branch refs/heads/1.16.x from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=9d7a1f3 ]

DISPATCH-2088: Free message_stream_data objects on connection thread

and not on the core thread. Move flush_outgoing_bufs call to
handle_disconnected function.

This closes #1174

(cherry picked from commit 18bce61e79bd8731be0241ba04db3841159da5e5)


> SEGV in qd_buffer_dec_fanout
> ----------------------------
>
>                 Key: DISPATCH-2088
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2088
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Protocol Adaptors
>            Reporter: michael goulish
>            Assignee: Charles E. Rolke
>            Priority: Blocker
>             Fix For: 1.16.0
>
>
> *code from 2021-04-26-afternoon*
> {
>   dispatch: (main) 22689e4f95ae1945e61eec814d3ab3e2d4259f04
>   proton: (main) 08b301a97c834e002d41ee852bba1288fe83b936
> }
>  
> *Test*
>  * Doing 1-router TCP throughput testing across high-bandwidth link.
>  * Router has 32 worker threads.
>  * iperf client is using "-P 10" flag, i.e. doing 10 parallel streams.  
>  * Router is sustaining 10+ Gbit/sec during test.
>  * SEGV happens at end of test.
>  
> Here's the backtrace:
>  
> {color:#de350b}#0 sys_atomic_sub (value=1, ref=0x14){color}
> {color:#de350b} at /home/mick/latest/qpid-dispatch/include/qpid/dispatch/atomic.h:48{color}
> {color:#de350b}#1 sys_atomic_dec (ref=0x14){color}
> {color:#de350b} at /home/mick/latest/qpid-dispatch/include/qpid/dispatch/atomic.h:212{color}
> {color:#de350b}#2 qd_buffer_dec_fanout (buf=0x0){color}
> {color:#de350b} at /home/mick/latest/qpid-dispatch/include/qpid/dispatch/buffer.h:177{color}
> {color:#de350b}#3 qd_message_stream_data_release (stream_data=0x7f01b80038c8){color}
> {color:#de350b} at /home/mick/latest/qpid-dispatch/src/message.c:2627{color}
> {color:#de350b}#4 0x00007f0237035895 in flush_outgoing_buffs (conn=conn@entry=0x7f0218012a88){color}
> {color:#de350b} at /home/mick/latest/qpid-dispatch/src/adaptors/tcp_adaptor.c:431{color}
> {color:#de350b}#5 0x00007f023703905e in free_qdr_tcp_connection (tc=0x7f0218012a88){color}
> {color:#de350b} at /home/mick/latest/qpid-dispatch/src/adaptors/tcp_adaptor.c:455{color}
> {color:#de350b}#6 0x00007f023707491d in router_core_thread (arg=0x1e6ccb0){color}
> {color:#de350b} at /home/mick/latest/qpid-dispatch/src/router_core/router_core_thread.c:239{color}
> {color:#de350b}#7 0x00007f0236f663f9 in start_thread () from /lib64/libpthread.so.0{color}
> {color:#de350b}#8 0x00007f0236be5b53 in clone () from /lib64/libc.so.6{color}
>  



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