Commit Graph

143 Commits

Author SHA1 Message Date
Antonio Andelic
638754f988 Fix signal handler for sanitizer signals 2024-03-21 13:34:32 +01:00
Raúl Marín
de855ca917 Reduce header dependencies 2024-03-19 17:04:29 +01:00
Robert Schulze
c17536c3b3
Enable clang-tidy in headers 2024-03-18 08:00:09 +00:00
Robert Schulze
4ee1aa8c7c
Fixing more headers 2024-02-29 15:40:30 +00:00
Alexander Tokmakov
64a80f1011
Fix default path when path is not specified in config (#59654)
* Update Server.cpp

* Update SentryWriter.cpp

* Update Keeper.cpp

* Update SentryWriter.cpp
2024-02-21 20:33:39 +01:00
Maksim Kita
2a327107b6 Updated implementation 2024-01-25 14:31:49 +03:00
Azat Khuzhin
c6225bdda2 Fix fault handler in case of thread (for fault handler) cannot be spawned
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-01-17 18:49:02 +03:00
Azat Khuzhin
d25832a29f Refactor stacktrace symbolizer to avoid copy-paste
Note, that this patch slightly changes the behavior, since now inline
frames will be processed for sentry as well.

And also it properly uses offset argument for non ELF.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-01-11 15:17:51 +03:00
Raúl Marín
b269f87f4c Better text_log with ErrnoException 2023-12-15 19:27:56 +01:00
Alexey Milovidov
cb74f52c5c Make autogenerated file as light as possible 2023-11-14 06:27:39 +01:00
Alexey Milovidov
32dd1b26b3 Make autogenerated file as light as possible 2023-11-14 06:26:05 +01:00
Alexey Milovidov
82c461031e Fix build 2023-11-13 10:09:23 +01:00
Alexey Milovidov
9a7f5ab0a1 Better use of build cache 2023-11-13 08:54:24 +01:00
Robert Schulze
9fff447716
Re-enable clang-tidy checks 2023-09-26 09:34:12 +00:00
Alexey Milovidov
6a4e4cc361
Merge pull request #54744 from azat/server-shutdown
Disable killing the server by systemd
2023-09-22 18:04:20 +03:00
Robert Schulze
5209bd2d51
Merge remote-tracking branch 'rschu1ze/master' into clang-17 2023-09-21 14:45:55 +00:00
Robert Schulze
f5137dd0b4
More clang-tidy fixes 2023-09-21 14:40:57 +00:00
Antonio Andelic
6dab5bf3a7
Better 2023-09-20 15:55:12 +02:00
Antonio Andelic
2805ebf2b2 Set correct size for signal pipe buffer 2023-09-20 12:26:06 +00:00
Azat Khuzhin
5e90cd413b Add ability to disable forwarding signals to the child by watchdog
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-19 22:09:38 +02:00
kssenii
3f20d1f578 Rename 2023-09-01 12:55:58 +02:00
Alexey Milovidov
aa757490bd Ditch tons of garbage 2023-08-09 02:19:02 +02:00
Alexey Gerasimchuck
63b05da1f2 System logs improvements 2023-07-28 07:23:34 +00:00
Alexey Milovidov
00d6f2ee08 Use incbin for resources, part 1 2023-07-23 06:11:03 +02:00
Alexey Gerasimchuck
2c8564e45e
Merge branch 'master' into ADQM-970 2023-07-10 15:53:08 +10:00
Azat Khuzhin
d520413454 Cleanup SymbolIndex after reload got removed
Remove MultiVersion for SymbolIndex structure since after #51873 it is
useless.

Follow-up for: #51873
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-09 09:25:11 +02:00
Alexey Milovidov
e74d42fe0d
Merge pull request #51802 from ClickHouse/fix-tsan-thread-local
Fix tsan signal-unsafe call
2023-07-09 08:46:00 +03:00
Alexey Milovidov
b44c582c40
Merge pull request #51951 from ClickHouse/more_logs_on_shutdown
Better logs on shutdown
2023-07-08 19:51:38 +03:00
Yakov Olkhovskiy
6990f078a0
cleaner way 2023-07-07 19:19:30 -04:00
Alexander Tokmakov
93b76c9321 better logs on shutdown 2023-07-07 18:40:43 +02:00
Alexander Gololobov
d439db3139 Print just signal number first, and only then get its description 2023-07-07 13:15:31 +02:00
Alexander Gololobov
602392bb62 Print short fault info only from safe fields 2023-07-07 12:37:16 +02:00
Yakov Olkhovskiy
bb5b47cacf do not access Exception::thread_frame_pointers if not initialized 2023-07-04 19:07:11 +00:00
Alexey Gerasimchuck
49907818e1 Added waiting before crash log store finish 2023-07-04 02:32:08 +00:00
Alexey Milovidov
efb901245b
Merge branch 'master' into ft-thread-scheduling-stacktrace 2023-06-29 11:38:54 +03:00
Yakov Olkhovskiy
535fef97d5 clang-tidy fix 2023-06-25 04:44:21 +00:00
Yakov Olkhovskiy
e0485778f5 style fix 2023-06-24 19:37:00 +00:00
Yakov Olkhovskiy
f11e1c25ee added to fatal errors handler, added comments 2023-06-24 17:24:54 +00:00
Sema Checherinda
977cd03cf2
Merge branch 'master' into memory-leak 2023-06-23 15:35:53 +02:00
Sema Checherinda
95349a405b release buffers with exception context 2023-06-22 13:00:13 +02:00
Andrey Zvonov
07191ce10d
Merge branch 'master' into zvonand-implicit-tz 2023-06-20 00:24:53 +02:00
Alexey Milovidov
dcd4cfa5c2 Fix build 2023-06-19 03:28:59 +02:00
Alexey Milovidov
9ae4915655 Code simplification 2023-06-18 21:08:37 +02:00
Alexey Milovidov
a6dde6ab62 Print changed settings on fatal errors 2023-06-18 20:38:25 +02:00
zvonand
4155d13d69 merge master and resolve conflict 2023-06-16 02:20:32 +02:00
Michael Kolupaev
badde0fde2 Print git hash when crashing 2023-06-14 15:22:44 -07:00
Andrey Zvonov
9237b904be
Merge branch 'master' into zvonand-implicit-tz 2023-05-10 01:25:33 +02:00
Kseniia Sumarokova
336bb41c5d
Merge branch 'master' into remove-dependency-from-context 2023-05-08 12:46:10 +02:00
Alexey Milovidov
b1a92a5712 Remove dangerous code 2023-05-06 18:30:18 +02:00
Alexey Milovidov
efa66521de Allow to run in Linux without PRCTL support 2023-05-05 06:40:12 +02:00