Skip to content

Julia 1.7 crashes #43611

@ufechner7

Description

@ufechner7

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions