Public bug reported:

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/.julia/v0.4/YAML/src/parser.jl:124
forward! at /home/pablo/.julia/v0.4/YAML/src/parser.jl:66
==================================================================================================[
 ERROR: YAML 
]==================================================================================================

failed process: Process(`/usr/bin/julia --check-bounds=yes --code-
coverage=none --color=yes
/home/pablo/.julia/v0.4/YAML/test/runtests.jl`, ProcessSignaled(11)) [0]

===================================================================================================================================================================================================================
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_file(...)`)

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://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status
```

** Affects: julia (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1563806

Title:
  Julia crashes when importing yaml file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/julia/+bug/1563806/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to