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

Segfault on PkgEval #38

Open
maleadt opened this issue Nov 26, 2022 · 0 comments
Open

Segfault on PkgEval #38

maleadt opened this issue Nov 26, 2022 · 0 comments

Comments

@maleadt
Copy link

maleadt commented Nov 26, 2022

Starlight.jl fails tests on PkgEval, specifically, it segfaults: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2022-11/25/Starlight.primary.log

Failed to create window: Failed loading libvulkan.so.1: libvulkan.so.1: cannot open shared object file: No such file or directory

[125] signal (11.1): Segmentation fault
in expression starting at /home/pkgeval/.julia/packages/Starlight/KckNQ/test/runtests.jl:11
unknown function (ip: (nil))
Allocations: 10001195 (Pool: 9993677; Big: 7518); GC: 13

This doesn't seem like a Julia-related crash, as it crashes during libtelescope.so as revealed by the rr trace:

shared memfd open() failed: Function not implemented
ALSA lib conf.c:4499:(snd_config_update_r) Cannot access file /workspace/destdir/share/alsa/alsa.conf
Failed to initialize SDL_image, textures will not load
ALSA lib conf.c:4499:(snd_config_update_r) Cannot access file /workspace/destdir/share/alsa/alsa.conf
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
No audio device available, sounds and music will not play.
ALSA: Couldn't open audio device: No such file or directory
Failed to create window: Failed loading libvulkan.so.1: libvulkan.so.1: cannot open shared object file: No such file or directory
[New Thread 125.127]
[New Thread 125.128]
[New Thread 125.130]

Thread 1 received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(rr) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007fe87bdacf9c in TS_VkCreateInstance() () from target:/home/pkgeval/.julia/artifacts/652968b5a5268b98c467f36a5160bcc4db35fbbf/lib/libtelescope.so
#2  0x00007fe87bdb6139 in TS_VkInit() () from target:/home/pkgeval/.julia/artifacts/652968b5a5268b98c467f36a5160bcc4db35fbbf/lib/libtelescope.so
#3  0x00007fe87bdb626e in TS_Init () from target:/home/pkgeval/.julia/artifacts/652968b5a5268b98c467f36a5160bcc4db35fbbf/lib/libtelescope.so

As this crash has been on the top of PkgEval reports for a while, it would be nice to see this fixed. You can easily reproduce the PkgEval environment (on Linux) by installing PkgEval from https://github.com/JuliaCI/PkgEval.jl and doing:

julia> using PkgEval

julia> config = Configuration(julia="nightly")
PkgEval configuration 'unnamed' (
  - julia: nightly
...
)

julia> PkgEval.sandboxed_julia(config)

# this spawns a sandbox where you can install and test Starlight

(@v1.10) pkg> add Starlight

(@v1.10) pkg> test Starlight

[355] signal (11.1): Segmentation fault

In the mean time, I'll disable testing on this package. Please ping me if this gets fixed and released. Thanks!

maleadt added a commit to JuliaCI/PkgEval.jl that referenced this issue Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant