apache / apache/arrow-adbc

Spurious ASAN errors in Meson CI

Open
#2,744 0 comments 0 reactions 0 assignees View on GitHub
Type: bug
Dominant language
C#
Stars
627
Forks
217
Avg merge
17h
Merged PRs (30d)
57

Description

### What happened?

The Meson ASAN job fails rather often with error messages like:

```sh
stderr:
AddressSanitizer: CHECK failed: sanitizer_thread_registry.cpp:316 "((ThreadStatusCreated)) == ((tctx->status))" (0x1, 0x6a52d60) (tid=16971)
#0 0x7fdbedd08a47 in CheckUnwind ../../../../src/libsanitizer/asan/asan_rtl.cpp:69
#1 0x7fdbedd30875 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:86
#2 0x7fdbedd3438f in __sanitizer::ThreadRegistry::StartThread(unsigned int, unsigned long long, __sanitizer::ThreadType, void*) ../../../../src/libsanitizer/sanitizer_common/sanitizer_thread_registry.cpp:316
#3 0x7fdbedd0dfc0 in __asan::AsanThread::ThreadStart(unsigned long long) ../../../../src/libsanitizer/asan/asan_thread.cpp:284
#4 0x7fdbedc5ea21 in asan_thread_start ../../../../src/libsanitizer/asan/asan_interceptors.cpp:225
#5 0x7fdbeae9caa3 (/lib/x86_64-linux-gnu/libc.so.6+0x9caa3) (BuildId: 42c84c92e6f98126b3e2230ebfdead22c235b667)
#6 0x7fdbeaf29c3b (/lib/x86_64-linux-gnu/libc.so.6+0x129c3b) (BuildId: 42c84c92e6f98126b3e2230ebfdead22c235b667)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
```

This seems to affect bigquery and flightsql tests at random

### Stack Trace

_No response_

### How can we reproduce the bug?

_No response_

### Environment/Setup

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.