diff options
author | kobzonega <kobzonega@yandex.ru> | 2024-11-21 01:55:35 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-21 01:55:35 +0700 |
commit | 779684a0f73f28df497713637a31714e72b8ff68 (patch) | |
tree | b0810350dfc0fc49258b9cc29548cea85899a8b9 | |
parent | f76323e9b295c15751e51e3443aa47a36bee8023 (diff) | |
download | ydb-779684a0f73f28df497713637a31714e72b8ff68.tar.gz |
breakpad firstly extract backtrace from current thread (#11815)
-rw-r--r-- | ydb/deploy/docker/breakpad/minidump_script.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ydb/deploy/docker/breakpad/minidump_script.py b/ydb/deploy/docker/breakpad/minidump_script.py index eeb43887b1..ca8d5df360 100644 --- a/ydb/deploy/docker/breakpad/minidump_script.py +++ b/ydb/deploy/docker/breakpad/minidump_script.py @@ -23,13 +23,14 @@ if __name__ == "__main__": mndmp_cmd = ["/usr/bin/minidump-2-core", "-v", dmp_file, "-o", core_file] gdb_cmd = [ "/usr/bin/gdb", - "/opt/ydb/bin/ydbd", - core_file, + "-q", + "-batch", "-iex=set auto-load safe-path /", "-iex=set print thread-events off", + "-ex=backtrace", "-ex=thread apply all bt", - "--batch", - "-q" + "/opt/ydb/bin/ydbd", + core_file, ] elf_resp = subprocess.check_output(elf_cmd).decode("utf-8") |