Skip to content
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

0.15 not yet registered (was Regression with 0.15) #402

Closed
j-fu opened this issue Jan 21, 2024 · 3 comments
Closed

0.15 not yet registered (was Regression with 0.15) #402

j-fu opened this issue Jan 21, 2024 · 3 comments

Comments

@j-fu
Copy link

j-fu commented Jan 21, 2024

Hi, there seems to be a regression with 0.15.
When building with the last versions of libcxxwrap_julia and CxxWrap 0.15 @TimSiebert1 and I get the library, can load it but @wrapmodule crashes during precompilation, with some memory unmap error msg from the C++ side.

When loading the library with Libdl.dlopen , there is also some memory error at Julia exit.

After nearly giving up I tried CxxWrap 0.14 and libcxxwrap_julia 0.11.2, and there things seem to be fine.

Will try to find time to cook up an MWE.

@j-fu j-fu changed the title Regression with 0.15 ~Regression with 0.15~ 0.15 not yet registered Jan 21, 2024
@j-fu j-fu changed the title ~Regression with 0.15~ 0.15 not yet registered 0.15 not yet registered (was Regression with 0.15) Jan 21, 2024
@j-fu
Copy link
Author

j-fu commented Jan 21, 2024

Ok while cooking up the MWE I figured out that 0.15 is not yet registered, so I actually used 0.14.2 (just had seen the version bump commit...) while build_tarballs downloads libcxxwrap_julia 0.12 if added without compat. So yeah there would be a reproducer but it is just because of the gap between two registrations.
Let me know if you would be interested to see the MWE (would be a git repo with buld_tarballs, julia and cxx code).

@barche
Copy link
Collaborator

barche commented Jan 24, 2024

Thanks, it's correct that we are in the process of getting a new breaking release of CxxWrap.jl out, so CxxWrap#main uses the new libcxxwrrap_julia 0.12 JLL, which is binary incompatible with libraries linked against previous versions. I recommend always also specifying a libcxxwrap_julia compat in the build_tarballs.

@j-fu
Copy link
Author

j-fu commented Jan 24, 2024

Hi good to know that you are aware of it!
Thanks for working on this anyway!

I think we can close this.

@j-fu j-fu closed this as completed Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants