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
sanitizer2: __dcc_start debug_level=3
sanitizer2: setenv DCC_SANITIZER=VALGRIND
sanitizer2: setenv DCC_PATH=/home/xav/dcc_test/dcc/dcc
sanitizer2: setenv DCC_PID=26657
sanitizer2: initialized 0x1ffec18260 to 0x1fff000260
sanitizer2: initialized 0x1ffec182e0 to 0x1fff0002e0
sanitizer2: synchronize_system_call(write, 10)
sanitizer1: synchronize_system_call error(write, 15) n == 10
sanitizer1: warning: sanitizer synchronization lost
sanitizer1: disconnect_sanitizers()
sanitizer1: killing sanitizer2 pid=26657 and unlinking executable
When using valgrind, malloc returns pointers with smaller addresses, and so the output of %p is shorter when using valgrind, so the write syscalls end up with different sizes from the two sanitizers, causing a desync. One workaround is to just use %14p instead.
The text was updated successfully, but these errors were encountered:
Compiling the following code with
dcc --leak-check
results in a loss of sanitizer synchronization (and so loss of leak checking):Some output from when using
DCC_DEBUG=3
:When using valgrind,
malloc
returns pointers with smaller addresses, and so the output of%p
is shorter when using valgrind, so the write syscalls end up with different sizes from the two sanitizers, causing a desync. One workaround is to just use%14p
instead.The text was updated successfully, but these errors were encountered: