Julia crashes when importing yaml file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
julia (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The steps to reproduce are easy:
- julia
- Pkg.add("YAML")
- Pkg.test('YAML')
The result is :
```
signal (11): Segmentation fault
parse_stream_start at /home/pablo/
forward! at /home/pablo/
=======
failed process: Process(
=======
ERROR: YAML had test errors
in test at ./pkg/entry.jl:803
in anonymous at ./pkg/dir.jl:31
in cd at ./file.jl:22
```
There is also a segmentation fault when trying to import a single yaml file ( in julia, `YAML.load_
I am reporting the bug here, since albeit, it depends on the third party yaml library, the bug doesn't happen using generic linux binaries distributed on julia's website or with a freshly compiled version of julia.
Operating system is ubuntu 16.04.
Julia version is 0.4.3.
```
sudo apt-cache policy julia
[sudo] password for pablo:
julia:
Installed: 0.4.3-4
Candidate: 0.4.3-4
Version table:
*** 0.4.3-4 500
500 http://
100 /var/lib/
```
Changed in julia (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in julia (Ubuntu): | |
status: | Fix Committed → Fix Released |
Seems to be fixed in version 0.4.5 coming to Xenial shortly.
Which upstream versions did you test?
_ docs.julialang. org
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.4.5 (2016-03-18 00:58 UTC)
_/ |\__'_|_|_|\__'_| |
|__/ | x86_64-linux-gnu
julia> Pkg.test("YAML") .julia/ lib/v0. 4/YAML. ji for module YAML. .julia/ lib/v0. 4/Codecs. ji for module Codecs. .julia/ lib/v0. 4/Compat. ji for module Compat. newline: PASSED
INFO: Testing YAML
INFO: Recompiling stale cache file /home/ginggs/
INFO: Recompiling stale cache file /home/ginggs/
INFO: Recompiling stale cache file /home/ginggs/
spec-02-01: PASSED
spec-02-02: PASSED
spec-02-03: PASSED
spec-02-04: PASSED
spec-02-05: PASSED
spec-02-06: PASSED
spec-02-07: PASSED
spec-02-08: PASSED
spec-02-09: PASSED
spec-02-10: PASSED
spec-02-11: PASSED
spec-02-12: PASSED
spec-02-13: PASSED
spec-02-14: PASSED
spec-02-15: PASSED
spec-02-16: PASSED
spec-02-17: PASSED
spec-02-18: PASSED
spec-02-19: PASSED
spec-02-20: PASSED
spec-02-21: PASSED
spec-02-22: PASSED
spec-02-23: PASSED
empty_scalar: PASSED
no_trailing_
windows_newlines: PASSED
issue15: PASSED
INFO: YAML tests passed