Skip to content

test_capi leaks references in free-threaded build#118085

@Eclips4

Description

@Eclips4

Bug report

Bug description:

./python.exe-mtest-R3:3test_capiUsingrandomseed: 26790256750:00:00loadavg: 3.55Run1testsequentially0:00:00loadavg: 3.55 [1/1] test_capibeginning6repetitions. Showingnumberofleaks (. for0orless, Xfor10ormore) 123:456Traceback (mostrecentcalllast): File"<string>", line10, in<module>File"<frozen importlib._bootstrap>", line813, inmodule_from_specFile"<frozen importlib._bootstrap_external>", line1314, increate_moduleFile"<frozen importlib._bootstrap>", line488, in_call_with_frames_removedImportError: module_test_module_state_shareddoesnotsupportloadinginsubinterpretersXTraceback (mostrecentcalllast): File"<string>", line10, in<module>File"<frozen importlib._bootstrap>", line813, inmodule_from_specFile"<frozen importlib._bootstrap_external>", line1314, increate_moduleFile"<frozen importlib._bootstrap>", line488, in_call_with_frames_removedImportError: module_test_module_state_shareddoesnotsupportloadinginsubinterpretersXTraceback (mostrecentcalllast): File"<string>", line10, in<module>File"<frozen importlib._bootstrap>", line813, inmodule_from_specFile"<frozen importlib._bootstrap_external>", line1314, increate_moduleFile"<frozen importlib._bootstrap>", line488, in_call_with_frames_removedImportError: module_test_module_state_shareddoesnotsupportloadinginsubinterpreters1Traceback (mostrecentcalllast): File"<string>", line10, in<module>File"<frozen importlib._bootstrap>", line813, inmodule_from_specFile"<frozen importlib._bootstrap_external>", line1314, increate_moduleFile"<frozen importlib._bootstrap>", line488, in_call_with_frames_removedImportError: module_test_module_state_shareddoesnotsupportloadinginsubinterpreters1Traceback (mostrecentcalllast): File"<string>", line10, in<module>File"<frozen importlib._bootstrap>", line813, inmodule_from_specFile"<frozen importlib._bootstrap_external>", line1314, increate_moduleFile"<frozen importlib._bootstrap>", line488, in_call_with_frames_removedImportError: module_test_module_state_shareddoesnotsupportloadinginsubinterpreters1Traceback (mostrecentcalllast): File"<string>", line10, in<module>File"<frozen importlib._bootstrap>", line813, inmodule_from_specFile"<frozen importlib._bootstrap_external>", line1314, increate_moduleFile"<frozen importlib._bootstrap>", line488, in_call_with_frames_removedImportError: module_test_module_state_shareddoesnotsupportloadinginsubinterpreters1test_capileaked [1, 1, 1] filedescriptors, sum=3test_capifailed (referenceleak) in53.0sec==Testsresult: FAILURE==1testfailed: test_capiTotalduration: 53.0secTotaltests: run=864skipped=63Totaltestfiles: run=1/1failed=1Result: FAILURE

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions