You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
----[ Testing epoch....
make[2]: Entering directory '/home/lebedevri/src/ck/regressions/ck_epoch/validate'
./ck_stack 8 1
Deferrals: 4629421 (0.93)
Deferrals: 4690919 (0.94)
Peak: 22938 (0.46%), 908 pending
Reclamations: 4999092
Deferrals: 4657749 (0.93)
Peak: 18423 (0.37%), 16 pending
Reclamations: 4999984
Deferrals: 4670424 (0.93)
Peak: 16095 (0.32%), 15 pending
Reclamations: 4999985
Deferrals: 4514228 (0.90)
Peak: 18808 (0.38%), 4 pending
Reclamations: 4999996
Deferrals: 4491884 (0.90)
Deferrals: 4593448 (0.92)
Peak: 19770 (0.40%), 0 pending
Reclamations: 5000000
Peak: 20551 (0.41%), 6 pending
Reclamations: 4999994
Deferrals: 4544868 (0.91)
Peak: 23832 (0.48%), 16 pending
Reclamations: 4999984
Peak: 17372 (0.35%), 2 pending
Reclamations: 4999998
./ck_epoch_synchronize `expr 8 / 2` `expr 8 / 2` 1
[W] 0.45: |=================================================================
==7693==ERROR: AddressSanitizer: heap-use-after-free on address 0x603001119618 at pc 0x000000401aab bp 0x7fedcd7adc30 sp 0x7fedcd7adc28
READ of size 8 at 0x603001119618 thread T7
#0 0x401aaa in ck_stack_pop_upmc ../../../include/ck_stack.h:105
#1 0x401aaa in write_thread /home/lebedevri/src/ck/regressions/ck_epoch/validate/ck_epoch_synchronize.c:189
#2 0x7fedd395e283 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7283)
#3 0x7fedd369797c in clone (/lib/x86_64-linux-gnu/libc.so.6+0xe897c)
0x603001119618 is located 8 bytes inside of 32-byte region [0x603001119610,0x603001119630)
freed by thread T5 here:
#0 0x7fedd3c0abfa in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x93bfa)
#1 0x4019ca in destructor /home/lebedevri/src/ck/regressions/ck_epoch/validate/ck_epoch_synchronize.c:81
#2 0x4019ca in write_thread /home/lebedevri/src/ck/regressions/ck_epoch/validate/ck_epoch_synchronize.c:206
#3 0x7fedd395e283 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7283)
previously allocated by thread T6 here:
#0 0x7fedd3c0ae9a in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x93e9a)
#1 0x4016b9 in write_thread /home/lebedevri/src/ck/regressions/ck_epoch/validate/ck_epoch_synchronize.c:169
#2 0x7fedd395e283 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7283)
Thread T7 created by T0 here:
#0 0x7fedd3bacef4 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x35ef4)
#1 0x400ea0 in main /home/lebedevri/src/ck/regressions/ck_epoch/validate/ck_epoch_synchronize.c:249
#2 0x7fedd35cf86f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2086f)
Thread T5 created by T0 here:
#0 0x7fedd3bacef4 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x35ef4)
#1 0x400ea0 in main /home/lebedevri/src/ck/regressions/ck_epoch/validate/ck_epoch_synchronize.c:249
#2 0x7fedd35cf86f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2086f)
Thread T6 created by T0 here:
#0 0x7fedd3bacef4 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x35ef4)
#1 0x400ea0 in main /home/lebedevri/src/ck/regressions/ck_epoch/validate/ck_epoch_synchronize.c:249
#2 0x7fedd35cf86f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2086f)
SUMMARY: AddressSanitizer: heap-use-after-free ../../../include/ck_stack.h:105 ck_stack_pop_upmc
Shadow bytes around the buggy address:
0x0c068021b270: fd fd fa fa fd fd fd fd fa fa fd fd fd fd fa fa
0x0c068021b280: fd fd fd fd fa fa fd fd fd fd fa fa fd fd fd fd
0x0c068021b290: fa fa fd fd fd fd fa fa fd fd fd fd fa fa fd fd
0x0c068021b2a0: fd fd fa fa fd fd fd fd fa fa fd fd fd fd fa fa
0x0c068021b2b0: fd fd fd fd fa fa fd fd fd fd fa fa 00 00 00 00
=>0x0c068021b2c0: fa fa fd[fd]fd fd fa fa 00 00 00 00 fa fa 00 00
0x0c068021b2d0: 00 00 fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa
0x0c068021b2e0: 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 00 00
0x0c068021b2f0: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00
0x0c068021b300: 00 00 fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa
0x0c068021b310: 00 00 00 00 fa fa 00 00 00 00 fa fa 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
==7693==ABORTING
Makefile:10: recipe for target 'check' failed
make[2]: *** [check] Error 1
make[2]: Leaving directory '/home/lebedevri/src/ck/regressions/ck_epoch/validate'
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: