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

"exec: error -5" with julia from ubuntu PPA #4256

Closed
Heliosmaster opened this issue Sep 11, 2013 · 17 comments
Closed

"exec: error -5" with julia from ubuntu PPA #4256

Heliosmaster opened this issue Sep 11, 2013 · 17 comments
Labels
building Build system, or building Julia or its dependencies system:linux Affects only Linux

Comments

@Heliosmaster
Copy link

Hello,
I am using Ubuntu 12.04 and I installed Julia using the ppa repositories as suggested in the website.

Unfortunately, I am unable to even try it.

$ julia
fatal: error thrown and no exception handler available.
ErrorException("exec: error -5")
@pao
Copy link
Member

pao commented Sep 11, 2013

cc @staticfloat

@pao
Copy link
Member

pao commented Sep 11, 2013

@Heliosmaster since the PPA builds are frequent, can you give the output of aptitude show julia | grep Version?

@pao
Copy link
Member

pao commented Sep 11, 2013

Or maybe better, all of aptitude show julia and uname -a.

@ghost
Copy link

ghost commented Sep 11, 2013

I experience the same problem, even after having just updated from the ppa.

Output of uname -a:
Linux 3.2.0-53-generic #81-Ubuntu SMP Thu Aug 22 21:01:03 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Partial output of aptitude show julia:
Package: julia
New: yes
State: installed
Automatically installed: no
Version: 0.2.0+nightly20130910ubuntu12.04.1
Priority: extra
Section: science
Maintainer: Debian Julia Team pkg-julia-devel@lists.alioth.debian.org
Architecture: amd64
Uncompressed Size: 35.3 M
Depends: libc6 (>= 2.15), libdouble-conversion0, libgcc1 (>= 1:4.1.1), libgfortran3 (>=
4.6), libreadline6 (>= 6.0), libstdc++6 (>= 4.6), libunwind7, libopenblas-base |
libblas3 | libatlas3-base, liblapack3 | libatlas3-base, libpcre3, libfftw3-3,
libcholmod1.7.1, libumfpack5.4.0, libgmp10, zlib1g, libarpack2, libopenlibm-base,
librmath-dev, libmpfr4
PreDepends: multiarch-support
Recommends: git
Suggests: ess (>= 12.09-1
)
Conflicts: julia

@mlubin
Copy link
Member

mlubin commented Sep 11, 2013

I can't comment on the ppa issues, but it might be worth a try building from source (https://github.com/JuliaLang/julia#source-download-and-compilation).

@Heliosmaster
Copy link
Author

My nightly version is 0.2.0+nightly20130910~ubuntu12.04.1

3.2.0-53-generic #81-Ubuntu SMP Thu Aug 22 21:01:03 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

@nljones
Copy link

nljones commented Sep 11, 2013

I get the same message. I am running Windows 7. When I run test-julia.bat from the latest download (julia-0.2pre-dca8d76c37-win64) I get the following message:

fatal: error thrown and no exception handler available. Press any key to continue . . .

Oddly, the same installation worked fine on my other Windows 7 machine.

@JeffBezanson
Copy link
Sponsor Member

Looks similar to #1732.

@Heliosmaster
Copy link
Author

@mlubin compiling from source works fine (it takes longer than I expected, though)

@staticfloat
Copy link
Sponsor Member

Can you try strace julia, and print out what it says?

@ghost
Copy link

ghost commented Sep 18, 2013

Compiled from source and used strace julia to figure out that my libpcre3 version was the problem.
I had 8.12-4 (from 12.04 repository), which seems to cause the startup error. After upgrading to 8.31-2 (from ppa:staticfloat/julia-deps) startup is successful :)

@JeffBezanson
Copy link
Sponsor Member

Glad to hear it.

@mlubin
Copy link
Member

mlubin commented Sep 18, 2013

Should the ppa be fixed to have an explicit dependency on the libpcre3 version?

@ViralBShah
Copy link
Member

Pcre had caused far too many issues. We should probably depend on the exact version we need.

@StefanKarpinski
Copy link
Sponsor Member

I would also like to replace PCRE altogether, but that's a very non-trivial project.

@pao
Copy link
Member

pao commented Sep 19, 2013

Indeed. RE2 doesn't do as much, but there's a crashy and outdated attempt at a Julia wrapper at https://github.com/pao/Re2.jl that anyone is welcome to pick up and run with.

@staticfloat
Copy link
Sponsor Member

Thanks @mlubin, fixed in staticfloat/julia-debian@a10df70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies system:linux Affects only Linux
Projects
None yet
Development

No branches or pull requests

8 participants