Skip to content

Conversation

@vtjnash
Copy link
Member

@vtjnash vtjnash commented Mar 24, 2023

The C++ destructor design tend to cause lifetime problems at exit, so we use new to implicitly leak the object. Seen to possibly cause problems with printing a backtrace after the worker was killed in https://buildkite.com/julialang/julia-master/builds/22082#018701b4-6c16-4559-afdd-e33ece5a6a00. Addresses a regressions caused by 428d242, noted by @pchintalapudi.

The C++ destructor design tend to cause lifetime problems at exit, so we
use `new` to implicitly leak the object.
@vtjnash vtjnash added regression Regression in behavior compared to a previous version backport 1.9 Change should be backported to release-1.9 labels Mar 24, 2023
@pchintalapudi pchintalapudi added the merge me PR is reviewed. Merge when all tests are passing label Mar 24, 2023
@pchintalapudi pchintalapudi merged commit a922b59 into master Mar 24, 2023
@pchintalapudi pchintalapudi deleted the jn/DebugRegistry-nofree branch March 24, 2023 21:24
@pchintalapudi pchintalapudi removed the merge me PR is reviewed. Merge when all tests are passing label Mar 24, 2023
@KristofferC KristofferC mentioned this pull request Mar 30, 2023
52 tasks
@KristofferC
Copy link
Member

Is this applicable to 1.9?

@KristofferC KristofferC mentioned this pull request Apr 9, 2023
26 tasks
@vchuravy
Copy link
Member

Is this applicable to 1.9?

No. In 1.9 this is owned by jl_ExecutionEngine

@vchuravy vchuravy removed the backport 1.9 Change should be backported to release-1.9 label Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

regression Regression in behavior compared to a previous version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants