Skip to content

try to collect some core dumps in perf tests#27752

Merged
akuzm merged 6 commits intomasterfrom
akuzm-patch-1
Aug 19, 2021
Merged

try to collect some core dumps in perf tests#27752
akuzm merged 6 commits intomasterfrom
akuzm-patch-1

Conversation

@akuzm
Copy link
Copy Markdown
Contributor

@akuzm akuzm commented Aug 16, 2021

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

@robot-clickhouse robot-clickhouse added the pr-not-for-changelog This PR should not be mentioned in the changelog label Aug 16, 2021
@alexey-milovidov
Copy link
Copy Markdown
Member

I cannot find code in the archive.

@akuzm
Copy link
Copy Markdown
Contributor Author

akuzm commented Aug 18, 2021

On this sandbox machine, they go to |/home/zomb-sandbox/venv/bin/python /home/zomb-sandbox/client/sandbox/bin/coredumper.py %e %p %g %u %s %P %c, and on previous one, they went to something like %e.%p.core.dmp. I'll try to investigate what this script does.

@akuzm
Copy link
Copy Markdown
Contributor Author

akuzm commented Aug 18, 2021

By some miracle, we have a dump inside output.7z. It's a segfault inside libunwind:

Cannot access memory at address 0x7f7e128c3148
Cannot access memory at address 0x7f7e128c3140
Failed to read a valid object file image from memory.
Core was generated by `left/clickhouse-server --config-file=left/config/config.xml -- --path left/db -'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  libunwind::LocalAddressSpace::get64 (this=<optimized out>, addr=32769) at ../contrib/libunwind/src/AddressSpace.hpp:203
203	../contrib/libunwind/src/AddressSpace.hpp: No such file or directory.
[Current thread is 1 (LWP 820)]
(gdb) whe
#0  libunwind::LocalAddressSpace::get64 (this=<optimized out>, addr=32769) at ../contrib/libunwind/src/AddressSpace.hpp:203
#1  libunwind::LocalAddressSpace::getRegister (this=<optimized out>, addr=32769) at ../contrib/libunwind/src/AddressSpace.hpp:241
#2  libunwind::DwarfInstructions<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::getSavedRegister (addressSpace=..., registers=..., cfa=<optimized out>, savedReg=...) at ../contrib/libunwind/src/DwarfInstructions.hpp:89
Backtrace stopped: Cannot access memory at address 0x7f7d34166968

@akuzm akuzm merged commit 96a5c4b into master Aug 19, 2021
@akuzm akuzm deleted the akuzm-patch-1 branch August 19, 2021 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants