[ 
https://issues.apache.org/jira/browse/DISPATCH-1996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Daněk updated DISPATCH-1996:
---------------------------------
    Description: 
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}

  was:
{noformat}
 69: AddressSanitizer:DEADLYSIGNAL
69: =================================================================
69: ==3483==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 
0x7f73e8471675 bp 0x7f73e306e130 sp 0x7f73e306d8a8 T1)
69: ==3483==The signal is caused by a READ memory access.
69: ==3483==Hint: address points to the zero page.
69:     #0 0x7f73e8471674  (/lib/x86_64-linux-gnu/libc.so.6+0x18b674)
69:     #1 0x7f73e9c18222 in strdup (/lib/x86_64-linux-gnu/libasan.so.5+0x96222)
69:     #2 0x7f73e93210e4 in qd_strdup ../include/qpid/dispatch/ctools.h:261
69:     #3 0x7f73e93210e4 in qd_http_record_request 
../src/adaptors/http_common.c:675
69:     #4 0x7f73e95e24ad in _http_record_request 
../src/adaptors/http2/http2_adaptor.c:877
69:     #5 0x7f73e95e24ad in free_http2_stream_data 
../src/adaptors/http2/http2_adaptor.c:290
69:     #6 0x7f73e95f23d9 in free_http2_stream_data 
../src/adaptors/http2/http2_adaptor.c:283
69:     #7 0x7f73e95f23d9 in free_qdr_http2_connection 
../src/adaptors/http2/http2_adaptor.c:351
69:     #8 0x7f73e9539b78 in router_core_thread 
../src/router_core/router_core_thread.c:239
69:     #9 0x7f73e8e4e608 in start_thread 
(/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
69:     #10 0x7f73e8408292 in __clone 
(/lib/x86_64-linux-gnu/libc.so.6+0x122292) {noformat}


> 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
>             Fix For: 1.16.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to