Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving data into a nonexistent format kills Julia itself #137

Closed
rdeits opened this issue Jul 2, 2017 · 1 comment
Closed

Saving data into a nonexistent format kills Julia itself #137

rdeits opened this issue Jul 2, 2017 · 1 comment

Comments

@rdeits
Copy link

rdeits commented Jul 2, 2017

Related: https://discourse.julialang.org/t/using-fileio-meshio-to-save-a-homogenousmesh/4594

I can reproduce this in Julia v0.5 (where it causes Julia to hang and then produce an infinite stacktrace when killed) and in Julia v0.6 (where Julia segfaults immediately). Here's an example from Julia v0.6:

julia> using FileIO
INFO: Recompiling stale cache file /Users/rdeits/.julia/lib/v0.6/FileIO.ji for module FileIO.

julia> save(File{format"ASDFSDFSDFA"}("test.ply"), 1.0)
Error encountered while saving "test.ply".Error encountered while saving "test.ply".Error encountered while saving "test.ply".Error encountered while saving "test.ply".Error encountered while saving "test.ply".Error encountered while saving "test.ply".Error encountered while saving "test.ply".Error encountered while saving "test.ply".Error encountered while saving "test.ply".
Fatal error:
Error encountered while saving "test.ply".
Fatal error:

signal (11): Segmentation fault: 11
while loading no file, in expression starting on line 0
unknown function (ip: 0xffffffffffffffff)
Allocations: 12406639 (Pool: 12397096; Big: 9543); GC: 31
[1]    59068 segmentation fault  julia
@rdeits
Copy link
Author

rdeits commented Jul 3, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant