Skip to content

Can only be run once before crashing matlab #57

Open
@rayset

Description

I get this quite particular bug.

Basically, I can only run one script containing any call to julia, as the second I call crashes matlab itself.

the strange thing is that if in my script I call 1000+ times julia everything is fine, the problem comes when I launch it again.

this makes me think that when I "clear all" at the beginning and then call "jl.include" somehow it initializes a new instance of julia without closing the previous one.

example:

clear all
jl.include("initialize.jl") %a random julia file

calling this script 2 time crashes matlab (both matlab and julia updated to their latest release)

but doing

clear all
for i=1:100000
jl.include("initialize.jl") %a random julia file
end

works perfectly fine. Any idea on what could be the cause? I'll try to provide any relevant log.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions