Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Segmentation fault during precompilation on Julia master #407

Closed
vchuravy opened this issue May 17, 2019 · 4 comments
Closed

Segmentation fault during precompilation on Julia master #407

vchuravy opened this issue May 17, 2019 · 4 comments

Comments

@vchuravy
Copy link
Member

vchuravy commented May 17, 2019

Julia Version 1.3.0-DEV.242
Commit 6bd396775d (2019-05-16 22:30 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2637 v2 @ 3.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, ivybridge)
Environment:
  JULIA_DEPOT_PATH = /builds/JuliaGPU/CUDAnative.jl/.julia/

As seen on https://gitlab.com/JuliaGPU/CUDAnative.jl/-/jobs/214703448

signal (11): Segmentation fault
in expression starting at none:0
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:588
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:990 [inlined]
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:1011
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:990
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:1066
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:1021
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:507 [inlined]
jl_serialize_datatype at /buildworker/worker/package_linux64/build/src/dump.c:403 [inlined]
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:766
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:507 [inlined]
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:780
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:850 [inlined]
jl_serialize_module at /buildworker/worker/package_linux64/build/src/dump.c:446 [inlined]
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:899
jl_serialize_module at /buildworker/worker/package_linux64/build/src/dump.c:439 [inlined]
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:899
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:999 [inlined]
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:686
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/dump.c:2881 [inlined]
jl_save_incremental at /buildworker/worker/package_linux64/build/src/dump.c:2821
jl_write_compiler_output at /buildworker/worker/package_linux64/build/src/precompile.c:66
jl_atexit_hook at /buildworker/worker/package_linux64/build/src/init.c:234
main at /buildworker/worker/package_linux64/build/ui/repl.c:218
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at /opt/julia/usr/bin/julia (unknown line)
Allocations: 5450058 (Pool: 5449069; Big: 989); GC: 11
ERROR: LoadError: Failed to precompile CUDAnative [be33ccc6-a3ff-5ff2-a52e-74243cff1e17] to /builds/JuliaGPU/CUDAnative.jl/.julia/compiled/v1.3/CUDAnative/4Zu2W.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1253
 [3] _require(::Base.PkgId) at ./loading.jl:1013
 [4] require(::Base.PkgId) at ./loading.jl:911
 [5] require(::Module, ::Symbol) at ./loading.jl:906
 [6] include at ./boot.jl:328 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1094
 [8] include(::Module, ::String) at ./Base.jl:31
 [9] include(::String) at ./client.jl:431
 [10] top-level scope at none:5
in expression starting at /builds/JuliaGPU/CUDAnative.jl/test/runtests.jl:3
ERROR: Package CUDAnative errored during testing
@vchuravy
Copy link
Member Author

Last successful run was:

https://gitlab.com/JuliaGPU/CUDAnative.jl/-/jobs/212684119

Julia Version 1.3.0-DEV.220
Commit b4b46342ea (2019-05-14 16:15 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2637 v2 @ 3.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, ivybridge)
Environment:
  JULIA_DEPOT_PATH = /builds/JuliaGPU/CUDAnative.jl/.julia/

@vchuravy
Copy link
Member Author

vchuravy commented May 17, 2019

Also seen on:

Julia Version 1.3.0-DEV.232
Commit 3ad8e15422 (2019-05-16 18:18 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2637 v2 @ 3.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, ivybridge)
Environment:
  JULIA_DEPOT_PATH = /builds/JuliaGPU/CLIMA/.julia/
  CI_JULIA_PROJECT = env/gpu

This leaves us with the range: JuliaLang/julia@b4b4634...3ad8e15

@vchuravy
Copy link
Member Author

git bisect start
# bad: [3ad8e15422d3f18522d04f0865c9116838303a32] Merge pull request #32037 from JuliaLang/ksh/datetest
git bisect bad 3ad8e15422d3f18522d04f0865c9116838303a32
# good: [b4b46342ea71604f07416a8652afa12913128a54] Remove tiers of support (#32022)
git bisect good b4b46342ea71604f07416a8652afa12913128a54
# bad: [b5a4601bbe8a6f1b8ce8f4e307543850c08adb8e] update Julia logos, removing rings round 2 (#32038)
git bisect bad b5a4601bbe8a6f1b8ce8f4e307543850c08adb8e
# bad: [99d2406c98a720e9f9e555109297b577232a01a4] gf: support more dispatch on abstract types (#31916)
git bisect bad 99d2406c98a720e9f9e555109297b577232a01a4
# good: [5c5f5c215f2885af34f3a24956ebdecfb927b4f1] support for Unicode 12.1.0 (#32002)
git bisect good 5c5f5c215f2885af34f3a24956ebdecfb927b4f1
# first bad commit: [99d2406c98a720e9f9e555109297b577232a01a4] gf: support more dispatch on abstract types (#31916)

@vchuravy
Copy link
Member Author

fixed upstream

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant