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
Ref-counting / memory error in CombinedKernel #4416
Comments
Interestingly, the above listing doesnt segfault when only one kernel is added to the combined kernel |
[GCDEBUG] unref() refcount 3 obj DenseFeatures (0x16034f0) decreased |
Yes the bug is still open. |
So now the two-category multi-core learning can't be used, is there any other way to use it? |
This example doesnt work? And then there is: |
You are more than welcome to do.... the above snippet will reproduce the error. We don't know more atm |
@karlnapf ok, tho I've checked that for C snippet like:
error is not raised. It is obvious that C++ internal object is destroyed and python just don't see it. I don't know the internals quite good for now so I need more time to analyze it. |
no need to delete when you use |
But yeah, this will be interface related probably, not c++ lib related |
The following listing illustrates the problem. If the last statement is remove, Python segfaults on exit as it tries to destroy the already de-allocated
f
objectSee also #4410 for the first report
The text was updated successfully, but these errors were encountered: