Skip to content

Commit

Permalink
breakpad firstly extract backtrace from current thread (#11815)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobzonega authored Nov 20, 2024
1 parent f76323e commit 779684a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ydb/deploy/docker/breakpad/minidump_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
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")
Expand Down

0 comments on commit 779684a

Please sign in to comment.