Repository navigation
libexpat dependency - #36
Merged
Merged
Conversation
Member
|
Thanks! |
tchaikov
pushed a commit
to tchaikov/ceph
that referenced
this pull request
May 18, 2017
Wip mgr stats
Abhishekvrshny
pushed a commit
to Abhishekvrshny/ceph
that referenced
this pull request
Sep 5, 2017
V0.94.2 fk 1 bpo70 fk9
ivancich
added a commit
to ivancich/ceph-fork
that referenced
this pull request
Sep 13, 2017
a9e777f Merge pull request ceph#35 from joscollin/wip-warning-dmclock 45c63a5 Merge pull request ceph#36 from ceph/wip-fix-functional 40a9fe5 With upgrade to gcc 7.1.1 need to include <functional> in additional header files. a2dd155 src/dmclock_server.h: silence warning from -Wmaybe-uninitialized 0d6c7c6 Merge pull request ceph#24 from bspark8/wip_online_client_info_f a5e8cde Add unit test for update_client_info, dynamic_cli_info_f. 1faf352 Modify each client's QoS parameter applied time from client_rec creation time to each request's tagging creation time. git-subtree-dir: src/dmclock git-subtree-split: a9e777f
joscollin
referenced
this pull request
in joscollin/ceph
Sep 14, 2017
a9e777f Merge pull request #35 from joscollin/wip-warning-dmclock 45c63a5 Merge pull request #36 from ceph/wip-fix-functional 40a9fe5 With upgrade to gcc 7.1.1 need to include <functional> in additional header files. a2dd155 src/dmclock_server.h: silence warning from -Wmaybe-uninitialized 0d6c7c6 Merge pull request #24 from bspark8/wip_online_client_info_f a5e8cde Add unit test for update_client_info, dynamic_cli_info_f. 1faf352 Modify each client's QoS parameter applied time from client_rec creation time to each request's tagging creation time. git-subtree-dir: src/dmclock git-subtree-split: a9e777f
rjfd
added a commit
to rjfd/ceph
that referenced
this pull request
Jan 26, 2018
mgr/dashboard_v2: fix pycodestyle to exclude the frontend files
jmolmo
pushed a commit
to jmolmo/ceph
that referenced
this pull request
Dec 19, 2023
cephadm: fix setting first and last name fields for call home
athanatos
pushed a commit
to athanatos/ceph
that referenced
this pull request
Feb 14, 2025
cleanup: fix includes for gcc 7.1.1
tchaikov
added a commit
that referenced
this pull request
May 5, 2026
When building with ASan, it reports leaks in five tests that exercise CPython 3.10 either as an external process (bin/ceph) or embedded in unittests: #36 smoke.sh (timeout, via bin/ceph) #205 unittest_mgr_pyformatter (libpython3.10.so embedded) #206 unittest_mgr_pyutil (libpython3.10.so embedded) #210 mgr-dashboard-smoke.sh (via bin/ceph) #225 safe-to-destroy.sh (via bin/ceph) A representative stack from #210: Direct leak of 25846 byte(s) in 28 object(s) allocated from: #0 malloc #1 /usr/bin/python3.10+0x16d7be Direct leak of 20456 byte(s) in 29 object(s): #1 PyDict_Copy /usr/bin/python3.10+0x16ae06 Direct leak of 8456 byte(s) in 14 object(s): #1 _PyObject_GC_NewVar /usr/bin/python3.10+0x14fc57 The unittests show the same shape against /lib/.../libpython3.10.so. These are CPython 3.10 runtime artefacts, not Ceph bugs. In CPython 3.10, Py_FinalizeEx() leaves a set of interpreter-internal allocations (module namespace dict copies, GC-tracked variable-size containers, type-method caches, interned strings) heap-allocated until process exit; the OS reclaims them. PEP 683 (Immortal Objects, accepted for Python 3.12) extends pylifecycle.c::finalize_modules() to deallocate these remaining objects during runtime shutdown: "During runtime shutdown, the strategy will be to first let the runtime try to do its best effort of deallocating these instances normally. Most of the module deallocation will now be handled by pylifecycle.c:finalize_modules() where we clean up the remaining modules as best as we can." -- PEP 683, https://peps.python.org/pep-0683/ The qa/lsan.supp file has carried the empirical note "python3.12 doesn't leak anything" since the file was introduced (commit 8c099a5, "asan: add qa/lsan.supp for leak sanitizer suppressions", Mar 2023). An empirical reproduction with a minimal Py_Initialize()/Py_FinalizeEx() program built against Python 3.13 under -fsanitize=address reports zero leaks; the same minimal test against Python 3.10 (CI environment) reports the leaks shown above. Add three suppressions to qa/lsan.supp's existing 3.9-3.11 block: - leak:^PyDict_Copy and leak:^_PyObject_GC_NewVar match the two exported CPython functions visible in the leak stacks. - leak:python3.10 substring-matches the module path in the stack frame, catching unsymbolised offsets in both the /usr/bin/python3.10 binary and the libpython3.10.so.1.0 shared object. Mirrors the existing leak:libsqlite3.so pattern earlier in the file. The whole block (including the existing PyMem_Malloc entry above) can be removed once CI runs on Python >= 3.12. Signed-off-by: Kefu Chai <[email protected]>
AnuragRaut08
pushed a commit
to AnuragRaut08/ceph
that referenced
this pull request
Sep 30, 2026
When building with ASan, it reports leaks in five tests that exercise CPython 3.10 either as an external process (bin/ceph) or embedded in unittests: ceph#36 smoke.sh (timeout, via bin/ceph) ceph#205 unittest_mgr_pyformatter (libpython3.10.so embedded) ceph#206 unittest_mgr_pyutil (libpython3.10.so embedded) ceph#210 mgr-dashboard-smoke.sh (via bin/ceph) ceph#225 safe-to-destroy.sh (via bin/ceph) A representative stack from ceph#210: Direct leak of 25846 byte(s) in 28 object(s) allocated from: #0 malloc ceph#1 /usr/bin/python3.10+0x16d7be Direct leak of 20456 byte(s) in 29 object(s): ceph#1 PyDict_Copy /usr/bin/python3.10+0x16ae06 Direct leak of 8456 byte(s) in 14 object(s): ceph#1 _PyObject_GC_NewVar /usr/bin/python3.10+0x14fc57 The unittests show the same shape against /lib/.../libpython3.10.so. These are CPython 3.10 runtime artefacts, not Ceph bugs. In CPython 3.10, Py_FinalizeEx() leaves a set of interpreter-internal allocations (module namespace dict copies, GC-tracked variable-size containers, type-method caches, interned strings) heap-allocated until process exit; the OS reclaims them. PEP 683 (Immortal Objects, accepted for Python 3.12) extends pylifecycle.c::finalize_modules() to deallocate these remaining objects during runtime shutdown: "During runtime shutdown, the strategy will be to first let the runtime try to do its best effort of deallocating these instances normally. Most of the module deallocation will now be handled by pylifecycle.c:finalize_modules() where we clean up the remaining modules as best as we can." -- PEP 683, https://peps.python.org/pep-0683/ The qa/lsan.supp file has carried the empirical note "python3.12 doesn't leak anything" since the file was introduced (commit 8c099a5, "asan: add qa/lsan.supp for leak sanitizer suppressions", Mar 2023). An empirical reproduction with a minimal Py_Initialize()/Py_FinalizeEx() program built against Python 3.13 under -fsanitize=address reports zero leaks; the same minimal test against Python 3.10 (CI environment) reports the leaks shown above. Add three suppressions to qa/lsan.supp's existing 3.9-3.11 block: - leak:^PyDict_Copy and leak:^_PyObject_GC_NewVar match the two exported CPython functions visible in the leak stacks. - leak:python3.10 substring-matches the module path in the stack frame, catching unsymbolised offsets in both the /usr/bin/python3.10 binary and the libpython3.10.so.1.0 shared object. Mirrors the existing leak:libsqlite3.so pattern earlier in the file. The whole block (including the existing PyMem_Malloc entry above) can be removed once CI runs on Python >= 3.12. Signed-off-by: Kefu Chai <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added libexpat dependency to README