Skip to content

Segfaults when building, running #3899

@jasonmhite

Description

@jasonmhite

I'm getting segmentation faults when trying to build on 64-bit Arch Linux. At first, the Arch PKGBUILD file from here was failing with an error

/bin/sh: line 1: 28546 Segmentation fault      (core dumped) /home/jmhite/Build/julia-git/src/julia/usr/bin/julia-release-readline -bf sysimg.jl

and I thought it was because of using makepkg instead of building it directly. So, I tried directly building from a Git clone, but I get the same error. I've tried various combinations of using and not using system libraries, ranging from using no system libraries to using pretty much all system libraries, also with and without MKL, but the error is the same. Note that in particular I tried both using and not using the system version of readline since that was mentioned in the docs.

Anyway, I thought I would try it on a different computer. This one is configured very similarly to the problem machine, except the build works just fine on this one! The only real difference I can think of is that the working computer is a second-gen Intel i7 whereas the problem child is a fourth-gen i7. They have pretty similar sets of packages installed and as far as I remember are otherwise configured very similarly.

Also, I tried copying the successfully built package from the working machine to the problem machine and installing it. The Julia REPL runs fine and I can even do basic stuff like 1+1, but if I try to do some other things it segfaults. E.g., doing Pkg.install("ZMQ") segfaults and exits. But, on the other machine the same command works fine...

What on earth is going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions