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

Ken Giusti commented on DISPATCH-2088:
--------------------------------------

Thanks for the log file.  We've hit a crash in CI (no core unfortunately), but 
the log file in that crash is similar (seg fault immediately after 
PN_RAW_CONNECTION_DISCONNECTED)

 

Since Debug is masking the problem it's _probably_ timing related.

Are you able to generate a core file (RelWithDebInfo build of course)?  If so 
it would be useful to get backtraces of all threads at the moment of the crash 
(in gdb that would be "thread apply all bt" command).

 

> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to