JuliaInterop / JuliaInterop/MATLAB.jl

MATLAB.jl crashing when used with Julia 1.10

Open
#220 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
286
Forks
64
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported MATLAB engine call using the Julia 1.10 and MATLAB R2023b combination, then compare it with the working Julia 1.9 setup. Use the MATLAB.jl README and the reported MATLAB string macro as entry points; done means identifying the compatibility cause or documenting the required supported versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, matlab
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.