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

MATLAB.jl crashing when used with Julia 1.10 #220

Open
donkuettel opened this issue Jan 25, 2024 · 3 comments
Open

MATLAB.jl crashing when used with Julia 1.10 #220

donkuettel opened this issue Jan 25, 2024 · 3 comments

Comments

@donkuettel
Copy link

donkuettel commented Jan 25, 2024

I receive the following error when trying to lot using the MATLAB engine and Julia 1.10:

[31763] signal (11.1): Segmentation fault
in expression starting at /home/dkuettel/Documents/cr3bp/LowThrustOpt/testing/CRTBP_Multishoot_indirect_demo.jl:138
Allocations: 18782664 (Pool: 18765867; Big: 16797); GC: 27
Segmentation fault (core dumped)

My matlab code essentially looks like

mat"""
plot($x, $y)
"""

I am using :
-Linux Ubuntu 18.04.2 LTS (Bionic Beaver)
-Julia Version 1.9.0 (Julia version managed with Jill)
-MATLAB.jl v0.8.4 (https://github.com/JuliaInterop/MATLAB.jl/blob/master/README.md)
-MATLAB version R2023b

Everything works fine with Julia version 1.9

@donkuettel
Copy link
Author

This error does not persist when using MATLAB version R2021a and Julia 1.10.

@rekabrnalla
Copy link

Any thoughts on why this is happening or what it takes to fix it? I don't have enough disk space for multiple versions of MATLAB and I think I need the latest versions. What can I do to help?

@mkitti
Copy link
Member

mkitti commented May 8, 2024

We need way more debugging information in order to make progress here. Starting with an empty environment, what are the minimal steps to reproduce?

If MATLAB.jl alone is in the environment, do you still have the problem? If other packages have to be loaded to have the problem, what are they?

If you can run a debugger, please do.

If you have a longer stack trace, please provide the entire thing.

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

3 participants