Jiri Daněk created DISPATCH-2274:
------------------------------------
Summary: system_tests_router_mesh: ERROR: AddressSanitizer:
use-after-poison in qd_link_pn container.c:1029
Key: DISPATCH-2274
URL: https://issues.apache.org/jira/browse/DISPATCH-2274
Project: Qpid Dispatch
Issue Type: Bug
Affects Versions: 1.18.0
Environment: macOS
Reporter: Jiri Daněk
https://app.travis-ci.com/github/apache/qpid-dispatch/jobs/545969177
{noformat}
66: Create 10 senders each with a different priority. ... ERROR
66: ERROR
66:
66: Router RouterC output file:
66: >>>>
66: =================================================================
66: ==21601==ERROR: AddressSanitizer: use-after-poison on address
0x61300007d828 at pc 0x0001064a6469 bp 0x70000843bca0 sp 0x70000843bc98
66: READ of size 8 at 0x61300007d828 thread T4
66: #0 0x1064a6468 in qd_link_pn container.c:1029
66: #1 0x1066d0e37 in CORE_link_push router_node.c:1920
66: #2 0x106576df6 in qdr_connection_process connections.c:414
66: #3 0x1064956ce in writable_handler container.c:396
66: #4 0x1066edb36 in thread_run server.c:1149
66: #5 0x7fff5fa152ea in _pthread_body
(libsystem_pthread.dylib:x86_64+0x32ea)
66: #6 0x7fff5fa18248 in _pthread_start
(libsystem_pthread.dylib:x86_64+0x6248)
66: #7 0x7fff5fa1440c in thread_start
(libsystem_pthread.dylib:x86_64+0x240c)
66:
66: 0x61300007d828 is located 168 bytes inside of 320-byte region
[0x61300007d780,0x61300007d8c0)
66: allocated by thread T4 here:
66: #0 0x106f823a7 in wrap_posix_memalign
(libclang_rt.asan_osx_dynamic.dylib:x86_64+0x5f3a7)
66: #1 0x1064555df in qd_alloc alloc_pool.c:396
66: #2 0x10649691a in qd_container_handle_event container.c:75
66: #3 0x1066f4366 in handle server.c:1108
66: #4 0x1066eda23 in thread_run server.c:1133
66: #5 0x7fff5fa152ea in _pthread_body
(libsystem_pthread.dylib:x86_64+0x32ea)
66: #6 0x7fff5fa18248 in _pthread_start
(libsystem_pthread.dylib:x86_64+0x6248)
66: #7 0x7fff5fa1440c in thread_start
(libsystem_pthread.dylib:x86_64+0x240c)
66:
66: Thread T4 created by T0 here:
66: #0 0x106f79add in wrap_pthread_create
(libclang_rt.asan_osx_dynamic.dylib:x86_64+0x56add)
66: #1 0x106535a6d in sys_thread threading.c:181
66: #2 0x1066ed1af in qd_server_run server.c:1525
66: #3 0x1063b081e in main_process main.c:115
66: #4 0x1063af12b in main main.c:369
66: #5 0x7fff5f8213d4 in start (libdyld.dylib:x86_64+0x163d4)
66:
66: SUMMARY: AddressSanitizer: use-after-poison container.c:1029 in qd_link_pn
66: Shadow bytes around the buggy address:
66: 0x1c260000fab0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
66: 0x1c260000fac0: 00 00 00 00 00 00 00 00 00 00 f7 f7 f7 f7 f7 f7
66: 0x1c260000fad0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 00 00
66: 0x1c260000fae0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
66: 0x1c260000faf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
66: =>0x1c260000fb00: 00 00 f7 f7 f7[f7]f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
66: 0x1c260000fb10: f7 f7 f7 f7 00 00 00 00 fa fa fa fa fa fa fa fa
66: 0x1c260000fb20: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
66: 0x1c260000fb30: 00 00 00 00 00 00 00 00 00 00 f7 f7 f7 f7 f7 f7
66: 0x1c260000fb40: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 00 00
66: 0x1c260000fb50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
66: Shadow byte legend (one shadow byte represents 8 application bytes):
66: Addressable: 00
66: Partially addressable: 01 02 03 04 05 06 07
66: Heap left redzone: fa
66: Freed heap region: fd
66: Stack left redzone: f1
66: Stack mid redzone: f2
66: Stack right redzone: f3
66: Stack after return: f5
66: Stack use after scope: f8
66: Global redzone: f9
66: Global init order: f6
66: Poisoned by user: f7
66: Container overflow: fc
66: Array cookie: ac
66: Intra object redzone: bb
66: ASan internal: fe
66: Left alloca redzone: ca
66: Right alloca redzone: cb
66: Shadow gap: cc
66: ==21601==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]