Re: [BUG] PostgreSQL crashes with ThreadSanitizer during early initialization

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема Re: [BUG] PostgreSQL crashes with ThreadSanitizer during early initialization
Дата
Msg-id CAOYmi+kW2qS1jEGTa2Ev7tSqrrB3M7SCikN6FrjTSYwQVcdEeQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [BUG] PostgreSQL crashes with ThreadSanitizer during early initialization  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUG] PostgreSQL crashes with ThreadSanitizer during early initialization
Список pgsql-hackers
On Tue, Nov 4, 2025 at 2:39 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Another problem is that it only defends against a limited set of
> sanitizers, though presumably every single one is broken in the same
> way (compare [1]).

How about __attribute__((disable_sanitizer_instrumentation)) ? LLVM's
own tests make some use of this [1].

--Jacob

[1] https://github.com/llvm/llvm-project/blob/2b4ac6629/compiler-rt/test/sanitizer_common/TestCases/dlsym_alloc.c



В списке pgsql-hackers по дате отправления: