-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DISPATCH-848, DISPATCH-1962 Fix leak of IoAdapter_init #1052
base: main
Are you sure you want to change the base?
DISPATCH-848, DISPATCH-1962 Fix leak of IoAdapter_init #1052
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1052 +/- ##
==========================================
+ Coverage 82.48% 82.63% +0.14%
==========================================
Files 111 111
Lines 27425 27439 +14
==========================================
+ Hits 22621 22673 +52
+ Misses 4804 4766 -38
Continue to review full report at Codecov.
|
Here's a GHA run with PR #1051 merged in. There are some leaks from Proton then, but the IoAdapter leak is fixed. https://github.com/jiridanek/qpid-dispatch/actions/runs/585158010 |
78fb8d1
to
7ea579e
Compare
7ea579e
to
30721cd
Compare
not sure what to think about this https://travis-ci.com/github/apache/qpid-dispatch/jobs/498893659#L4652
|
ad3df5f
to
9eab6a8
Compare
That AArch64 crash happened under TSan too. Only issue somewhat related I can find is https://bugs.python.org/issue42697, which suggests that this could possibly be Python issue, as well as PR issue
|
9eab6a8
to
2f94ec7
Compare
Codecov Report
@@ Coverage Diff @@
## main #1052 +/- ##
==========================================
+ Coverage 84.86% 84.88% +0.01%
==========================================
Files 116 116
Lines 28644 28635 -9
==========================================
- Hits 24310 24307 -3
+ Misses 4334 4328 -6
Continue to review full report at Codecov.
|
The Python crash happens on Python 3.8.2 (on Travis in Focal), on Python 3.8.5 (what I had), but not on Python 3.8.9 (version I upgraded my machine to). I am hoping that upgrading Travis will help. Ubuntu Focal does not have 3rd party releases for Python 3.8, so I am going for Python 3.9. There seems to be small incompatibility in tests due to how Python's exception hierarchy changed (??? !!! ???). |
|
9e6b7a5
to
e9b81f8
Compare
https://travis-ci.com/github/apache/qpid-dispatch/jobs/500355035#L4493
|
https://issues.apache.org/jira/browse/DISPATCH-1917, already known issue https://travis-ci.com/github/apache/qpid-dispatch/jobs/500384328#L6074
|
e723639
to
988b5dc
Compare
988b5dc
to
9d8c9ef
Compare
9d8c9ef
to
7b4fe69
Compare
edd5b83
to
1f2bbb4
Compare
07e775c
to
bc29b0a
Compare
66b4724
to
aacf272
Compare
For some reason, this is not triggering a TravisCI jobs. I'll mark it as Ready for review, hoping that will do the trick. In fact, however, this is not ready for review, yet. I intend to
|
8ed9b4b
to
3046b4d
Compare
Few more issues for me to investigate,
|
One more, it looks like they are exceedingly rare, but quite devastating
|
This really is crazy. Consider what may happen when both the subscribe and unsubscribe actions get discarded:
|
0cbef99
to
29fbc01
Compare
Marking as draft and dropping it from 1.19 milestone. The PR fixes the leaks, but causes occasional shutdown crashes, which is not acceptable.
super(Http2Server, self).__init__(self.args, name=name, expect=expect)
if wait:
try:
self.wait_ready()
except Exception:
self.teardown()
raise |
29fbc01
to
03c7fcd
Compare
03c7fcd
to
5a49d4c
Compare
6bfeb73
to
fd1a69e
Compare
fd1a69e
to
3835b48
Compare
…llocator called without holding the GIL
…ython itself created
fixup qdmanage runs with system python,
3835b48
to
44dd9fa
Compare
This PR depends on PRs to fix leaks in
qdr_subscription_t
(#1051) andqdr_core_t
(#1049). The former is still WIP, so I won't carry the commit here, because it would make review harder.The original problem is
The solution consists of