Repository navigation
Rollback jemalloc upgrade - #102290
Rollback jemalloc upgrade#102290azat wants to merge 1 commit into
Conversation
…emalloc-submodule-url" This reverts commit 4bb7431, reversing changes made to aef8cc3. New version likely has some issues, I have a test that reproduce a crashes, but with this patch it happens in jemalloc, before (but after ClickHouse#99342) in random places. Next step will be to try jemalloc debug mode, since likely when the crash happens inside jemalloc, it is less likely will help.
|
Workflow [PR], commit [df99a0d] Summary: ❌
AI ReviewSummaryThis PR rolls back the Findings❌ Blockers
Tests
ClickHouse Rules
Performance & Safety
Final Verdict
|
| "${LIBRARY_DIR}/src/prof_stats.c" | ||
| "${LIBRARY_DIR}/src/prof_stack_range.c" | ||
| "${LIBRARY_DIR}/src/prof_sys.c" | ||
| "${LIBRARY_DIR}/src/prof_threshold.c" |
There was a problem hiding this comment.
prof_stack_range.c was removed from the _jemalloc source list, but prof_sys.c still calls prof_thread_stack_range declared in prof_sys.h.
In this submodule revision, prof_thread_stack_range is defined only in src/prof_stack_range.c, so omitting that file causes an unresolved symbol at link time when profiling is enabled (JEMALLOC_PROF=1).
Please add src/prof_stack_range.c back to SRCS.
|
UPD: I got crash in jemalloc even w/o upgrade |
This reverts commit 4bb7431, reversing changes made to aef8cc3.
New version likely has some issues, I have a test that reproduce a crashes, but with this patch it happens in jemalloc, before (but after #99342) in random places.
Next step will be to try jemalloc debug mode, since likely when the crash happens inside jemalloc, it is less likely will help.
Crash before - https://pastila.nl/?006a02d6/57b9a64cc25f4332605954545d33c634#qCsfwZ9GTQPFW1PVN0H05Q==GCM (note, address is always different, not always
-1)Crash after - https://pastila.nl/?0031a630/c3b326fb6eaaba80a6e895d0cee0fffb#/JuQrwz0KQwCxKUFHNNLBg==GCM
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Rollback jemalloc upgrade