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
{{ message }}
Repository navigation
UBSanitizer runtime error: left shift of negative value -1 #5395
which sanitizer is this you are using? Address? Or thread?
I am trying to use the thread sanitizer on a C++ program that uses librdkafka and it gets a SEGV as soon as the kafka background threads start. It blows up in a call get getaddrinfo when it tries to get the broker IP addresses from their names via DNS lookup.
ATM there are 3 different areas that we currently have to suppress when building with sanitizers.
# librdkafka: left shift of negative value in zig-zag varint encoder (rdvarint.h:71)
src:*/rdvarint.h
# librdkafka: signed integer overflow in timestamp conversion (rdkafka_int.h:1171)
src:*/rdkafka_int.h
# librdkafka: negative shift exponent in HDR histogram (rdhdrhistogram.c:212)
src:*/rdhdrhistogram.c
librdkafka/src/rdvarint.h
Lines 68 to 72 in f1b831e