-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
I have a program that crashes with Julia 1.7, but not with Julia 1.6. If you checkout this commit:
ufechner7/KiteViewer@c1d6c5e
and run ./kiteviewer.sh and then click on the button "PLAY" the program will crash on Julia 1.7, but not on 1.6.5.
This code fails:
log = load_log(7, logfile)
This works:
log = load_log(7, logfile)
dummy = log.syslog[1]
My assumption: If I create a variable of type struct in Julia 1.7 the members get garbage collected unless accessed at least once in the main program.
For more details see: https://discourse.julialang.org/t/random-crashes-with-julia-1-7/73821/6