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

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

Commit 4bf5477df2472c411ae20d75440db1705b678585 in qpid-dispatch's branch 
refs/heads/master from Ganesh Murthy
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=4bf5477 ]

DISPATCH-1996: Check the discard flag before continuing with freeing the 
connection. The connection most certainly is already freed by adaptor_final


> system_tests_http2 fails with ASAN error in free_qdr_http2_connection
> ---------------------------------------------------------------------
>
>                 Key: DISPATCH-1996
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1996
>             Project: Qpid Dispatch
>          Issue Type: Test
>          Components: Tests
>            Reporter: Jiri Daněk
>            Assignee: Ganesh Murthy
>            Priority: Major
>              Labels: asan
>
> This happens rarely:
> {noformat}
> 69: Router QDR output file:
> 69: >>>>
> 69: ../src/adaptors/http2/http2_adaptor.c:348:30: runtime error: member 
> access within misaligned address 0x9999999999999999 for type 'struct 
> qdr_http2_session_data_t', which requires 8 byte alignment
> 69: 0x9999999999999999: note: pointer points here
> 69: <memory cannot be printed>
> 69: AddressSanitizer:DEADLYSIGNAL
> 69: =================================================================
> 69: ==3998==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 
> (pc 0x7fc534f8a7a6 bp 0x7fff156061b0 sp 0x7fff15606150 T0)
> 69: ==3998==The signal is caused by a READ memory access.
> 69: ==3998==Hint: address points to the zero page.
> 69:     #0 0x7fc534f8a7a5 in free_qdr_http2_connection 
> ../src/adaptors/http2/http2_adaptor.c:348
> 69:     #1 0x7fc534eca1a6 in qdr_core_free 
> ../src/router_core/router_core.c:160
> 69:     #2 0x7fc534f3c031 in qd_router_free ../src/router_node.c:2108
> 69:     #3 0x7fc534da49c1 in qd_dispatch_free ../src/dispatch.c:368
> 69:     #4 0x7fc534da49c1 in qd_dispatch_free ../src/dispatch.c:360
> 69:     #5 0x55bcacbf51d3 in main_process ../router/src/main.c:117
> 69:     #6 0x55bcacbf4ce0 in main ../router/src/main.c:367
> 69:     #7 0x7fc533ca20b2 in __libc_start_main 
> (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
> 69:     #8 0x55bcacbf4f8d in _start 
> (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/router/qdrouterd+0x5f8d)
> 69: 
> 69: AddressSanitizer can not provide additional info.
> 69: SUMMARY: AddressSanitizer: SEGV ../src/adaptors/http2/http2_adaptor.c:348 
> in free_qdr_http2_connection
> 69: ==3998==ABORTING
> {noformat}



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