JuliaInterop / JuliaInterop/MATLAB.jl
manually closing window when engine is shown `show_msession()`
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 286
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Description
ref https://github.com/JuliaInterop/MATLAB.jl/pull/79
The only problematic issue here is if the user closes the matlab engine window manually (i.e. clicking the X button) instead of using the hide_msession() function. Because then the pointer to the engine is still attached to a session that does not exist. I'm not sure what is the best way to prevent this from occurring or on how to test if the pointer is still attached to a live engine window; the reason I bring this issue up is that it's possible to segfault julia if you close the window instead of hide_msession().
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review PR 79 and the show_msession() and hide_msession() behavior described in the issue. Investigate how manually closing the MATLAB engine window leaves the Julia engine pointer attached to a nonexistent session, and identify how that state can be detected or prevented. Done means manually closing the window no longer leaves a state that can segfault Julia, with a way to test the behavior.
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
- 25/100