-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Description
I'm working on a Julia Version 1.0.0 program that caused a Segmentation fault.
julia> versioninfo()
Julia Version 1.0.0
Commit 5d4eaca (2018-08-08 20:58 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: AMD Ryzen 5 2600X Six-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.0 (ORCJIT, znver1)
It's is reproduceable. I've stripped out most of the other non-related code. And I've isolated the statement causing this. I've got it down to under 90 lines.
Sometimes I work on new routines at the beginning of the program followed by an exit() to keep from going throught the whole program.When I get the routine to do what I want, I move it down into the main program and comment the above testing section out.That's whats happening here, if I comment out the top code I get the seg fault in the main loop. Uncomment the testing part and it runs.