-
Notifications
You must be signed in to change notification settings - Fork 735
main: disable breakpad integration temporarily #14920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main: disable breakpad integration temporarily #14920
Conversation
|
🟢 |
|
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
⚪
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ Test history | Ya make output | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
…atform#14920)" This reverts commit 6c53efd.
embedded breakpad not working properly, we will investiagate this problem later
KIKIMR-18829
Information from @snaury:
У меня на слайсе стоит пакет с breakpad'ом, и на старте используется LD_PRELOAD=/usr/lib/libbreakpad_init.so, к сожалению с asan сборкой возникли проблемы, во время периодической остановки процессов стреляют странные ошибки:
paste.yandex-team.ru/2644904d-c8eb-4f10-8d7a-781e1279268a
paste.yandex-team.ru/a153f07f-4492-427d-874b-90c09f362c26
Если убрать ydb/library/breakpad из ya.make для ydbd, то ошибки уходят.
Я попытался сделать создание ExceptionHandler'а условным, типа при наличии libbreakpad_init.so в загруженных библиотеках - никакие хендлеры не создавать:
snaury@c18da16
После этого ошибки от asan'а уходят, однако процессы на остановке очень странно зависают вот в этом потоке:
https://github.com/ydb-platform/ydb/blob/main/library/cpp/sighandler/async_signals_handler.cpp#L101
Он остаётся единственный и процесс висит. Я вижу, что этот обработчик у нас устанавливается вот здесь:
ydb/ydb/core/driver_lib/run/run.cpp
Line 1940 in 4b7849e
Что висит пока понять не могу, т.к. asan сборку приходится делать без дебажных символов и gdb ничего не показывает.
Есть подозрение, что libbreakpad_init.so и ydbd всё-равно каким-то образом шарят символы и что-то неожиданным образом всё-равно ломается. В сборке без санитайзера и без встроенного breakpad'а таких проблем нет.