c/driver/flightsql: ASAN failure in Meson build
Closed this issue · 2 comments
lidavidm commented
What happened?
We seem to be tripping AddressSanitizer internal assertions
Stack Trace
[ RUN ] DremioFlightSqlTest.NewInit
stderr:
AddressSanitizer: CHECK failed: sanitizer_thread_registry.cpp:316 "((ThreadStatusCreated)) == ((tctx->status))" (0x1, 0x280eb3e0) (tid=20306)
#0 0x7fc54eb068c7 in CheckUnwind ../../../../src/libsanitizer/asan/asan_rtl.cpp:69
#1 0x7fc54eb2ce8d in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:86
#2 0x7fc54eb3087f in __sanitizer::ThreadRegistry::StartThread(unsigned int, unsigned long long, __sanitizer::ThreadType, void*) ../../../../src/libsanitizer/sanitizer_common/sanitizer_thread_registry.cpp:316
#3 0x7fc54eb0bcc7 in __asan::AsanThread::ThreadStart(unsigned long long) ../../../../src/libsanitizer/asan/asan_thread.cpp:284
#4 0x7fc54ea5e0e9 in asan_thread_start ../../../../src/libsanitizer/asan/asan_interceptors.cpp:225
#5 0x7fc54c69ca93 (/lib/x86_64-linux-gnu/libc.so.6+0x9ca93) (BuildId: 6d64b17fbac799e68da7ebd9985ddf9b5cb375e6)
#6 0x7fc54c729c3b (/lib/x86_64-linux-gnu/libc.so.6+0x129c3b) (BuildId: 6d64b17fbac799e68da7ebd9985ddf9b5cb375e6)
[ RUN ] DremioFlightSqlTest.NewInit
stderr:
AddressSanitizer: CHECK failed: sanitizer_common.h:522 "((i)) < ((size_))" (0x66c842d0, 0x5) (tid=20327)
#0 0x7fdb68f068c7 in CheckUnwind ../../../../src/libsanitizer/asan/asan_rtl.cpp:69
#1 0x7fdb68f2ce8d in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:86
#2 0x7fdb68f3083a in __sanitizer::InternalMmapVectorNoCtor<__sanitizer::ThreadContextBase*>::operator[](unsigned long) ../../../../src/libsanitizer/sanitizer_common/sanitizer_common.h:522
#3 0x7fdb68f3083a in __sanitizer::ThreadRegistry::StartThread(unsigned int, unsigned long long, __sanitizer::ThreadType, void*) ../../../../src/libsanitizer/sanitizer_common/sanitizer_thread_registry.cpp:314
#4 0x7fdb68f0bcc7 in __asan::AsanThread::ThreadStart(unsigned long long) ../../../../src/libsanitizer/asan/asan_thread.cpp:284
#5 0x7fdb68e5e0e9 in asan_thread_start ../../../../src/libsanitizer/asan/asan_interceptors.cpp:225
#6 0x7fdb66a9ca93 (/lib/x86_64-linux-gnu/libc.so.6+0x9ca93) (BuildId: 6d64b17fbac799e68da7ebd9985ddf9b5cb375e6)
#7 0x7fdb66b29c3b (/lib/x86_64-linux-gnu/libc.so.6+0x129c3b) (BuildId: 6d64b17fbac799e68da7ebd9985ddf9b5cb375e6)
How can we reproduce the bug?
This is the Meson case in native-unix.yml
Environment/Setup
No response
WillAyd commented
Strange...did this just start with ubuntu 24.04?
lidavidm commented
Weirdly enough it seems to have gone away?