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

compileall: Print error on failure #53770

Merged
merged 1 commit into from
Mar 20, 2024
Merged

compileall: Print error on failure #53770

merged 1 commit into from
Mar 20, 2024

Conversation

Keno
Copy link
Member

@Keno Keno commented Mar 18, 2024

This test appears to be failing intermittently on aarch64 darwin, so stop suppressing any errors that might be happening.

This test appears to be failing intermittently on aarch64 darwin,
so stop suppressing any errors that might be happening.
@Keno
Copy link
Member Author

Keno commented Mar 18, 2024

Looks like we got the failure on this PR:


From worker 11:
--
  | From worker 11:	[75308] signal 11 (2): Segmentation fault: 11
  | From worker 11:	in expression starting at none:1
  | From worker 11:	jl_emit_codeinst at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/codegen.cpp:9710
  | From worker 11:	jl_create_native_impl at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/aotcompile.cpp:401
  | From worker 11:	jl_precompile_ at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/./precompile_utils.c:265
  | From worker 11:	jl_precompile at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/./precompile_utils.c:279 [inlined]
  | From worker 11:	ijl_create_system_image at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/staticdata.c:2964
  | From worker 11:	ijl_write_compiler_output at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/precompile.c:144
  | From worker 11:	ijl_atexit_hook at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/init.c:285
  | From worker 11:	ijl_exit at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/init.c:207
  | From worker 11:	exit at ./initdefs.jl:28
  | From worker 11:	exit at ./initdefs.jl:29
  | From worker 11:	unknown function (ip: 0x10366403f)
  | From worker 11:	jl_apply at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/./julia.h:2184 [inlined]
  | From worker 11:	do_call at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/interpreter.c:126
  | From worker 11:	eval_stmt_value at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/interpreter.c:174
  | From worker 11:	eval_body at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/interpreter.c:659
  | From worker 11:	jl_interpret_toplevel_thunk at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/interpreter.c:817
  | From worker 11:	jl_toplevel_eval_flex at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/toplevel.c:943
  | From worker 11:	jl_toplevel_eval_flex at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/toplevel.c:886
  | From worker 11:	ijl_toplevel_eval at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/toplevel.c:952 [inlined]
  | From worker 11:	ijl_toplevel_eval_in at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/toplevel.c:994
  | From worker 11:	eval at ./boot.jl:432 [inlined]
  | From worker 11:	exec_options at ./client.jl:245
  | From worker 11:	_start at ./client.jl:533
  | From worker 11:	unknown function (ip: 0x1035553cb)
  | From worker 11:	jl_apply at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/./julia.h:2184 [inlined]
  | From worker 11:	true_main at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/jlapi.c:900
  | From worker 11:	jl_repl_entrypoint at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/jlapi.c:1059
  | From worker 11:	Allocations: 319252016 (Pool: 319249517; Big: 2499); GC: 126

@gbaraldi
Copy link
Member

We get it from a JL_GC_POP popping null frame. Unfortunately we don't run the analyzer on codegen so I'm not sure yet where we might mess up. I'm trying to make it happier in codegen but that might take a while

@JeffBezanson JeffBezanson added the test This change adds or pertains to unit tests label Mar 19, 2024
@Keno Keno merged commit 1c2b9ad into master Mar 20, 2024
6 of 8 checks passed
@Keno Keno deleted the kf/compileallerrorprint branch March 20, 2024 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test This change adds or pertains to unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants