Julia crashes only on Ubuntu

Bug #1891205 reported by Paul Debus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
julia (Ubuntu)
New
Undecided
Unassigned

Bug Description

While working with Julia, I crashed the entire Julia process with a relatively simple program. I reported the bug in the Julia repository (https://github.com/JuliaLang/julia/issues/37003) but apparently it is a bug specific to me and my computers.

The system I am running is (output of lsb_release -rd)
Description: Pop!_OS 20.04 LTS
Release: 20.04

apt-cache policy julia
julia:
  Installed: 1.4.1+dfsg-1
  Candidate: 1.4.1+dfsg-1
  Version table:
 *** 1.4.1+dfsg-1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

I tried it both on my Thinkpad t490 and on my workstation with a Xeon processor, both running the same software, and could reproduce the issue.

Revision history for this message
Cedric Lh (cedric-lh) wrote :

I'm running Ubuntu 20.04 and I experienced the same crash occuring with the following code:

--
x = zeros(Float64, (2,3))
permutedims(x)
--

no crash with Arrays of integers!

I thus uninstalled the julia package and, using the binaries available from julialang.org (version 1.5.1), the problem is solved.

apt-cache policy julia
julia:
  Installé : (aucun)
  Candidat : 1.4.1+dfsg-1
 Table de version :
     1.4.1+dfsg-1 500
        500 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 Packages

Revision history for this message
wallnuss (wallnuss) wrote :

Hello,

I am one of the JuliaLang developer and contributors and we just received a second bug-report (https://github.com/JuliaLang/julia/issues/40222), I checked the build-recipe and I notice that it is setting `USE_SYSTEM_LLVM=1`. The LLVM version used by Julia is very tightly coupled and often includes Julia specific patches that are subsequently upstreamed. We strongly discourage users to use an unpatched LLVM and we go to great lengths to isolate the Julia provided LLVM from the system one.

Revision history for this message
wesley (wforbes) wrote :

I am the user with the bug reported here

https://github.com/JuliaLang/julia/issues/40222.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.