Open ehteqx opened 7 years ago
originally reported at https://github.com/JuliaLang/julia/issues/19618
The use of the official generic binaries for the same version, seems to solve the problem. The use of nightly builds does not.
Does this mean that using the nightly generic linux binaries has the same error?
What are the permissions of your home directory?
How much memory (RAM) do you have in your system?
Hello! Thanks for the reply.
I am sorry I expressed poorly the concept. I meant that using the official binaries the problem was solved (I am currently using them with no issue whatsoever), whereas both the "stable" PPA and the "nightly" PPA deb packages produce the problem.
My homedir has standard system permissions. However, setting the .julia directory to 777 does not solve the problem.
I have 16 GB of memory, of which 2 in use when I executed the tests. I assume this unlikely the root of the problem.
If it can help, even after copying by hand the METADATA repository from a working .julia directory, the problem seems to occur.
To be honest, I'm not sure where the error is even coming from, ReadOnlyMemoryError()
doesn't seem to be used very much within julia's standard library, so I'm kind of shooting in the dark here. Are you able to run julia
within gdb
and give me a backtrace when the error occurs? Running the following should work:
$ gdb --args julia -e 'Pkg.init()'
...
(gdb) r
...
(gdb) bt
probably has to do with what version of libgit2 the ppa build is using?
With Julia 0.5.0 x86_64 for Linux downloaded thorugh the PPA (I am running Ubuntu 14.04 x86_64) every time I want to use the package manager - i.e. with Pkg.add() or Pkg.status() ... - it appears the following output:
INFO: Initializing package repository /home/emaballarin/.julia/v0.5 INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl ERROR: ReadOnlyMemoryError()
and the execution stops.
I have already tried with a clean install, with no success. The use of the official generic binaries for the same version, seems to solve the problem. The use of nightly builds does not.
After the execution of the commands, the /home/.julia folder remains empty, as it was prior to install.
@staticfloat