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

IPC test segfaults on julia 1.11 #4300

Closed
lgoettgens opened this issue Nov 12, 2024 · 1 comment
Closed

IPC test segfaults on julia 1.11 #4300

lgoettgens opened this issue Nov 12, 2024 · 1 comment
Labels
bug Something isn't working serialization

Comments

@lgoettgens
Copy link
Member

Observed in https://github.com/oscar-system/Oscar.jl/actions/runs/11798217161/job/32863892433?pr=4297#step:10:230

From worker 2:	[2386] signal 11 (1): Segmentation fault
      From worker 2:	in expression starting at none:1
      From worker 2:	jl_datatype_layout at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:1338 [inlined]
      From worker 2:	immut_id_ at /cache/build/builder-demeter6-6/julialang/julia-master/src/builtins.c:393
      From worker 2:	jl_idset_peek_bp at /cache/build/builder-demeter6-6/julialang/julia-master/src/idset.c:34
      From worker 2:	jl_idset_get at /cache/build/builder-demeter6-6/julialang/julia-master/src/idset.c:40
      From worker 2:	jl_as_global_root at /cache/build/builder-demeter6-6/julialang/julia-master/src/staticdata.c:2521 [inlined]
      From worker 2:	jl_as_global_root at /cache/build/builder-demeter6-6/julialang/julia-master/src/staticdata.c:2501
      From worker 2:	inst_datatype_inner at /cache/build/builder-demeter6-6/julialang/julia-master/src/jltypes.c:2115
      From worker 2:	jl_inst_arg_tuple_type at /cache/build/builder-demeter6-6/julialang/julia-master/src/jltypes.c:2338
      From worker 2:	arg_type_tuple at /cache/build/builder-demeter6-6/julialang/julia-master/src/gf.c:2278 [inlined]
      From worker 2:	jl_lookup_generic_ at /cache/build/builder-demeter6-6/julialang/julia-master/src/gf.c:3074 [inlined]
      From worker 2:	ijl_apply_generic at /cache/build/builder-demeter6-6/julialang/julia-master/src/gf.c:3121
      From worker 2:	initialize_julia_module at /home/runner/.julia/packages/CxxWrap/eWADG/src/CxxWrap.jl:436
      From worker 2:	__init__ at /home/runner/.julia/packages/Polymake/nU3NN/src/Polymake.jl:108
      From worker 2:	jfptr___init___27210 at /home/runner/.julia/compiled/v1.11/Polymake/QizyK_nFxFl.so (unknown line)
      From worker 2:	jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
      From worker 2:	jl_module_run_initializer at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:76
      From worker 2:	run_module_init at ./loading.jl:1336
      From worker 2:	register_restored_modules at ./loading.jl:1324
      From worker 2:	#_include_from_serialized#1066 at ./loading.jl:1213
      From worker 2:	_include_from_serialized at ./loading.jl:1169 [inlined]
      From worker 2:	_include_from_serialized at ./loading.jl:1169 [inlined]
      From worker 2:	#_require_search_from_serialized#1077 at ./loading.jl:1969
      From worker 2:	_require_search_from_serialized at ./loading.jl:1908
      From worker 2:	jfptr__require_search_from_serialized_44533.1 at /opt/hostedtoolcache/julia/1.11-nightly/x64/lib/julia/sys.so (unknown line)
      From worker 2:	_require at ./loading.jl:2450
      From worker 2:	__require_prelocked at ./loading.jl:2315
      From worker 2:	jfptr___require_prelocked_69877.1 at /opt/hostedtoolcache/julia/1.11-nightly/x64/lib/julia/sys.so (unknown line)
      From worker 2:	jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
      From worker 2:	jl_f__call_in_world at /cache/build/builder-demeter6-6/julialang/julia-master/src/builtins.c:894
      From worker 2:	#invoke_in_world#3 at ./essentials.jl:1089 [inlined]
      From worker 2:	invoke_in_world at ./essentials.jl:1086 [inlined]
      From worker 2:	_require_prelocked at ./loading.jl:2302
      From worker 2:	macro expansion at ./loading.jl:2[241](https://github.com/oscar-system/Oscar.jl/actions/runs/11798217161/job/32863892433?pr=4297#step:10:244) [inlined]
      From worker 2:	macro expansion at ./lock.jl:273 [inlined]
      From worker 2:	__require at ./loading.jl:2198
      From worker 2:	jfptr___require_69814.1 at /opt/hostedtoolcache/julia/1.11-nightly/x64/lib/julia/sys.so (unknown line)
      From worker 2:	jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
      From worker 2:	jl_f__call_in_world at /cache/build/builder-demeter6-6/julialang/julia-master/src/builtins.c:894
      From worker 2:	#invoke_in_world#3 at ./essentials.jl:1089 [inlined]
      From worker 2:	invoke_in_world at ./essentials.jl:1086 [inlined]
      From worker 2:	require at ./loading.jl:2191
      From worker 2:	jfptr_require_69803.1 at /opt/hostedtoolcache/julia/1.11-nightly/x64/lib/julia/sys.so (unknown line)
      From worker 2:	jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
      From worker 2:	call_require at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:486 [inlined]
      From worker 2:	eval_import_path at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:523
      From worker 2:	jl_toplevel_eval_flex at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:759
      From worker 2:	jl_toplevel_eval_flex at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:886
      From worker 2:	ijl_toplevel_eval_in at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:994
      From worker 2:	eval at ./boot.jl:430
      From worker 2:	jfptr_eval_28098.1 at /opt/hostedtoolcache/julia/1.11-nightly/x64/lib/julia/sys.so (unknown line)
      From worker 2:	jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
      From worker 2:	jl_f__call_latest at /cache/build/builder-demeter6-6/julialang/julia-master/src/builtins.c:875
      From worker 2:	jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
      From worker 2:	do_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/builtins.c:831
      From worker 2:	#invokelatest#2 at ./essentials.jl:1055
      From worker 2:	jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
      From worker 2:	do_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/builtins.c:831
      From worker 2:	invokelatest at ./essentials.jl:1052
      From worker 2:	jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
      From worker 2:	do_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/builtins.c:831
      From worker 2:	#114 at /cache/build/builder-demeter6-6/julialang/julia-master/usr/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:303
      From worker 2:	run_work_thunk at /cache/build/builder-demeter6-6/julialang/julia-master/usr/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:70
      From worker 2:	unknown function (ip: 0x7f1d4fb0d38b)
      From worker 2:	run_work_thunk at /cache/build/builder-demeter6-6/julialang/julia-master/usr/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:79
      From worker 2:	#100 at /cache/build/builder-demeter6-6/julialang/julia-master/usr/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:88
      From worker 2:	unknown function (ip: 0x7f1d4fb0cecf)
      From worker 2:	jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
      From worker 2:	start_task at /cache/build/builder-demeter6-6/julialang/julia-master/src/task.c:1202
      From worker 2:	Allocations: 8228738 (Pool: 8228415; Big: 323); GC: 10
Worker 2 terminated.ERROR: 
LoadError: ProcessExitedExceptionUnhandled Task ERROR: EOFError: read end of file
Stacktrace:
 [1] (::Base.var"#wait_locked#832")(s::Sockets.TCPSocket, buf::IOBuffer, nb::Int64)
   @ Base ./stream.jl:970
 [2] unsafe_read(s::Sockets.TCPSocket, p::Ptr{UInt8}, nb::UInt64)
   @ Base ./stream.jl:978
 [3] unsafe_read
   @ ./io.jl:891 [inlined]
 [4] unsafe_read(s::Sockets.TCPSocket, p::Base.RefValue{NTuple{4, Int64}}, n::Int64)
   @ Base ./io.jl:890
 [5] read!
   @ ./io.jl:895 [inlined]
 [6] deserialize_hdr_raw
   @ /opt/hostedtoolcache/julia/1.11-nightly/x64/share/julia/stdlib/v1.11/Distributed/src/messages.jl:167 [inlined]
 [7] message_handler_loop(r_stream::Sockets.TCPSocket, w_stream::Sockets.TCPSocket, incoming::Bool)
   @ Distributed /opt/hostedtoolcache/julia/1.11-nightly/x64/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:172
 [8] process_tcp_streams(r_stream::Sockets.TCPSocket, w_stream::Sockets.TCPSocket, incoming::Bool)
   @ Distributed /opt/hostedtoolcache/julia/1.11-nightly/x64/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:133
 [9] (::Distributed.var"#103#104"{Sockets.TCPSocket, Sockets.TCPSocket, Bool})()
   @ Distributed /opt/hostedtoolcache/julia/1.11-nightly/x64/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:121
(2)
Stacktrace:
  [1] sync_end(c::Channel{Any})
    @ Base ./task.jl:466
  [2] macro expansion
    @ ./task.jl:499 [inlined]
  [3] remotecall_eval(m::Module, procs::Vector{Int64}, ex::Expr)
    @ Distributed /opt/hostedtoolcache/julia/1.11-nightly/x64/share/julia/stdlib/v1.11/Distributed/src/macros.jl:219
  [4] top-level scope
    @ /opt/hostedtoolcache/julia/1.11-nightly/x64/share/julia/stdlib/v1.11/Distributed/src/macros.jl:203
  [5] include
    @ ./Base.jl:558 [inlined]
  [6] macro expansion
    @ ./timing.jl:581 [inlined]
  [7] _timed_include(str::String, mod::Module; use_ctime::Bool)
    @ Oscar ~/work/Oscar.jl/Oscar.jl/src/utils/tests.jl:5
  [8] _timed_include(str::String, mod::Module)
    @ Oscar ~/work/Oscar.jl/Oscar.jl/src/utils/tests.jl:1
  [9] top-level scope
    @ ~/work/Oscar.jl/Oscar.jl/test/runtests.jl:149
 [10] include(fname::String)
    @ Main ./sysimg.jl:38
 [11] top-level scope
    @ none:6
in expression starting at /home/runner/work/Oscar.jl/Oscar.jl/test/Serialization/IPC.jl:5
in expression starting at /home/runner/work/Oscar.jl/Oscar.jl/test/runtests.jl:147

cc @antonydellavecchia @benlorenz

@lgoettgens lgoettgens added bug Something isn't working serialization labels Nov 12, 2024
@lgoettgens lgoettgens changed the title IPC test failures on julia 1.11 IPC test segfaults on julia 1.11 Nov 12, 2024
@benlorenz
Copy link
Member

duplicate of #3296 / #3904

@benlorenz benlorenz closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working serialization
Projects
None yet
Development

No branches or pull requests

2 participants