You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "michael goulish (Jira)" <ji...@apache.org> on 2021/04/27 14:16: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=17333284#comment-17333284 ] 

michael goulish commented on DISPATCH-2088:
-------------------------------------------

*The iperf commands I used in the test:*

   iperf3 -s -p 8080    # server

   iperf3 -c 10.10.10.1 -p 9090 -t 60 -P 10    # client



( The router's TCP listener was on port 9090, while its TCP connector was on 8080. )

 

*Reproducability:*   

 

  Not trivial.

  I reduced test time to 10 second and tried 40 more times – without success. 10 of those trials were with 100 parallel threads on the iperf sender, and 10 of them were with 200 parallel threads.

 

> 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
>            Priority: Major
>
> *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