[
https://issues.apache.org/jira/browse/DISPATCH-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17334745#comment-17334745
]
Fernando Giorgetti commented on DISPATCH-2088:
----------------------------------------------
I have just reproduced it and found a similar bt:
{noformat}
qdrouterd: /build/qpid-dispatch-src/src/posix/threading.c:58: sys_mutex_lock:
Assertion `result == 0' failed.
#4 0x00007ffff7f4f831 in sys_mutex_lock (mutex=<optimized out>) at
/build/qpid-dispatch-src/src/posix/threading.c:58
#5 0x00007ffff7f46d2a in qd_message_stream_data_release
(stream_data=0x7fffdc0a2e48) at /build/qpid-dispatch-src/src/message.c:2619
#6 0x00007ffff7f2e135 in flush_outgoing_buffs (conn=conn@entry=0x6c3c08) at
/build/qpid-dispatch-src/src/adaptors/tcp_adaptor.c:431
#7 0x00007ffff7f3191e in free_qdr_tcp_connection (tc=0x6c3c08) at
/build/qpid-dispatch-src/src/adaptors/tcp_adaptor.c:455
#8 0x00007ffff7f6c635 in router_core_thread (arg=0x603320) at
/build/qpid-dispatch-src/src/router_core/router_core_thread.c:239
#9 0x00007ffff7e7b4c0 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff79b1133 in clone () from /lib64/libc.so.6{noformat}
> 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: [email protected]
For additional commands, e-mail: [email protected]