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

Bryan Call reassigned TS-4651:
------------------------------

    Assignee: Bryan Call

> ASAN issue in ConfigProcessor with gcc 6.1.1
> --------------------------------------------
>
>                 Key: TS-4651
>                 URL: https://issues.apache.org/jira/browse/TS-4651
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Bryan Call
>            Assignee: Bryan Call
>             Fix For: 7.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {code}
> [Jul 12 11:56:54.045] Server {0x7fec7696a8c0} DEBUG: <ProxyConfig.cc:156 
> (set)> (config) Set for slot 1 0x107202383767680 was 0x0 with ref count 0
> =================================================================
> ==4789==ERROR: AddressSanitizer: unknown-crash on address 0x000001292348 at 
> pc 0x00000097b78a bp 0x7ffe3778f3b0 sp 0x7ffe3778f3a0
> WRITE of size 808 at 0x000001292348 thread T0
>     #0 0x97b789 in ink_atomic_cas<RefCountObj*> ../lib/ts/ink_atomic.h:86
>     #1 0x97b789 in ConfigProcessor::set(unsigned int, RefCountObj*, unsigned 
> int) /home/bcall/dev/apache/trafficserver/mgmt/ProxyConfig.cc:153
>     #2 0x52f9fc in IpAllow::reconfigure() 
> /home/bcall/dev/apache/trafficserver/proxy/IPAllow.cc:77
>     #3 0x498ebf in main 
> /home/bcall/dev/apache/trafficserver/proxy/Main.cc:1800
>     #4 0x7fec727b4730 in __libc_start_main (/lib64/libc.so.6+0x20730)
>     #5 0x4a9898 in _start (/usr/local/bin/traffic_server+0x4a9898)
> 0x000001292668 is located 0 bytes to the right of global variable 
> 'configProcessor' defined in 'ProxyConfig.cc:29:17' (0x1292340) of size 808
> SUMMARY: AddressSanitizer: unknown-crash ../lib/ts/ink_atomic.h:86 in 
> ink_atomic_cas<RefCountObj*>
> Shadow bytes around the buggy address:
>   0x00008024a410: 00 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
>   0x00008024a420: 00 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
>   0x00008024a430: 00 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
>   0x00008024a440: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00
>   0x00008024a450: f9 f9 f9 f9 00 00 00 00 00 00 00 00 f9 f9 f9 f9
> =>0x00008024a460: 04 f9 f9 f9 f9 f9 f9 f9 00[00]00 00 00 00 00 00
>   0x00008024a470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   0x00008024a480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   0x00008024a490: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   0x00008024a4a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   0x00008024a4b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> Shadow byte legend (one shadow byte represents 8 application bytes):
>   Addressable:           00
>   Partially addressable: 01 02 03 04 05 06 07
>   Heap left redzone:       fa
>   Heap right redzone:      fb
>   Freed heap region:       fd
>   Stack left redzone:      f1
>   Stack mid redzone:       f2
>   Stack right redzone:     f3
>   Stack partial redzone:   f4
>   Stack after return:      f5
>   Stack use after scope:   f8
>   Global redzone:          f9
>   Global init order:       f6
>   Poisoned by user:        f7
>   Container overflow:      fc
>   Array cookie:            ac
>   Intra object redzone:    bb
>   ASan internal:           fe
>   Left alloca redzone:     ca
>   Right alloca redzone:    cb
> ==4789==ABORTING
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to