You are not logged in.

#1 2024-09-16 14:22:17

c0da
Member
Registered: 2009-08-24
Posts: 12

Julia segfaulting during package management operations

I will not start new thread, will report here instead. After recent curl upgrade, Julia stated to segfault spontaneously during package management operations and during Pluto sessions

(@v1.10) pkg> add VideoIO
   Resolving package versions...
    Updating `~/.julia/environments/v1.10/Project.toml`
  [d6d074c3] + VideoIO v1.1.0
    Updating `~/.julia/environments/v1.10/Manifest.toml`
  [c87230d0] + FFMPEG v0.4.1
  [5789e2e9] + FileIO v1.16.3
  [c27321d9] + Glob v1.3.1
  [6c6a2e73] + Scratch v1.2.1
  [d6d074c3] + VideoIO v1.1.0
  [6e34b625] + Bzip2_jll v1.0.8+1
  [83423d85] + Cairo_jll v1.18.0+2
  [2e619515] + Expat_jll v2.6.2+0
⌅ [b22a6f82] + FFMPEG_jll v4.4.4+1
  [a3f928ae] + Fontconfig_jll v2.13.96+0
  [d7e528f0] + FreeType2_jll v2.13.2+0
  [559328eb] + FriBidi_jll v1.0.14+0
  [78b55507] + Gettext_jll v0.21.0+0
  [7746bdde] + Glib_jll v2.80.2+0
  [3b182d85] + Graphite2_jll v1.3.14+0
  [2e76f6c2] + HarfBuzz_jll v8.3.1+0
  [c1c5ebd0] + LAME_jll v3.100.2+0
  [1d63c593] + LLVMOpenMP_jll v18.1.7+0
  [dd4b983a] + LZO_jll v2.10.2+0
⌅ [e9f186c6] + Libffi_jll v3.2.2+1
  [d4300ac3] + Libgcrypt_jll v1.8.11+0
  [7add5ba3] + Libgpg_error_jll v1.49.0+0
  [94ce4f54] + Libiconv_jll v1.17.0+0
  [4b2f31a3] + Libmount_jll v2.40.1+0
  [38a345b3] + Libuuid_jll v2.40.1+0
  [e7412a2a] + Ogg_jll v1.3.5+1
  [458c3c95] + OpenSSL_jll v3.0.15+0
  [91d4177d] + Opus_jll v1.3.3+0
  [30392449] + Pixman_jll v0.43.4+0
  [02c8fc9c] + XML2_jll v2.13.3+0
  [aed1982a] + XSLT_jll v1.1.41+0
  [4f6342f7] + Xorg_libX11_jll v1.8.6+0
  [0c0b7dd1] + Xorg_libXau_jll v1.0.11+0
  [a3789734] + Xorg_libXdmcp_jll v1.1.4+0
  [1082639a] + Xorg_libXext_jll v1.3.6+0
  [ea2f1a96] + Xorg_libXrender_jll v0.9.11+0
  [14d82f49] + Xorg_libpthread_stubs_jll v0.1.1+0
  [c7cfdc94] + Xorg_libxcb_jll v1.17.0+0
  [c5fb5394] + Xorg_xtrans_jll v1.5.0+0
  [a4ae2306] + libaom_jll v3.9.0+0
  [0ac62f75] + libass_jll v0.15.2+0
  [f638f0a6] + libfdk_aac_jll v2.0.3+0
  [b53b4c65] + libpng_jll v1.6.43+1
  [f27f6e37] + libvorbis_jll v1.3.7+2
⌅ [1270edf5] + x264_jll v2021.5.5+0
⌅ [dfaa095f] + x265_jll v3.5.0+0
  [efcefdf7] + PCRE2_jll v10.42.0+1
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  Progress [=======================>                 ]  4/7
[7876] signal (11.1): Segmentation fault
in expression starting at none:0
unknown function (ip: 0x7bb4a66833d5)
curl_multi_assign at /usr/bin/../lib/julia/../libcurl.so.4 (unknown line)
unknown function (ip: 0x7bb4a6a6a267)
unknown function (ip: 0x7bb4a70bbac3)
unknown function (ip: 0x7bb4a6d9bc90)
unknown function (ip: 0x7bb4a66aa30a)
unknown function (ip: 0x7bb4a667065b)
unknown function (ip: 0x7bb4a6670801)
unknown function (ip: 0x7bb4a6671993)
curl_multi_cleanup at /usr/bin/../lib/julia/../libcurl.so.4 (unknown line)
unknown function (ip: 0x7bb4a6f1ccc5)
unknown function (ip: 0x7bb4a724d7e7)
unknown function (ip: 0x7bb4a70efa36)
unknown function (ip: 0x7bb4bfe632dc)
Allocations: 5414931 (Pool: 5407371; Big: 7560); GC: 9
Segmentation fault (core dumped)

The error is in the system curl library, but there is no dependency on curl in Julia PKGBUILD.

$ pacman -Qi julia
$ pacman -Qi julia
Name            : julia
Version         : 2:1.10.5-1
Description     : High-level, high-performance, dynamic programming language
Architecture    : x86_64
URL             : https://julialang.org/
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : blas64-openblas  fftw  libblastrampoline  libgit2  libunwind  libutf8proc  lld  llvm-julia-libs  mbedtls2  openlibm  p7zip  pcre2  suitesparse
Optional Deps   : gnuplot: If using the Gaston Package from julia
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 239.42 MiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Thu 29 Aug 2024 02:20:06 PM +05
Install Date    : Fri 30 Aug 2024 04:20:53 PM +05
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Offline

#2 2024-09-16 14:42:46

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,162

Re: Julia segfaulting during package management operations

c0da wrote:

I will not start new thread, will report here instead. After recent curl upgrade, Julia stated to segfault spontaneously during package management operations and during Pluto sessions

Looks like https://github.com/curl/curl/issues/14860

Offline

#3 2024-09-16 15:22:58

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,571
Website

Re: Julia segfaulting during package management operations


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB