Skip to content

Iterative views leads to nested SubArray type blow-up #56760

@IanButterworth

Description

@IanButterworth

On 1.10 precompilation takes ~3mins on CI
On 1.11 it hangs for >50min and on Windows stack overflowed before timeout
https://github.com/r3tex/ObjectDetector.jl/actions/runs/12182526818?pr=95

 118223.2 ms  ✓ ImageFiltering
           ✗ ObjectDetector
  245 dependencies successfully precompiled in 3244 seconds. 39 already precompiled.
  1 dependency had output during precompilation:
┌ MKL_jll
│   Downloading artifact: IntelOpenMP
└  

ERROR: LoadError: The following 1 direct dependency failed to precompile:

ObjectDetector --code-coverage=@D:\a\ObjectDetector.jl\ObjectDetector.jl --color=yes --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none --check-bounds=yes --compiled-modules=yes 

Failed to precompile ObjectDetector [3dfc1049-5314-49cf-8447-288dfd02f9fb] to "C:\\Users\\runneradmin\\.julia\\compiled\\v1.11\\ObjectDetector\\jl_8724.tmp".
ERROR: LoadError: StackOverflowError:
in expression starting at D:\a\ObjectDetector.jl\ObjectDetector.jl\src\ObjectDetector.jl:1
in expression starting at stdin:
in expression starting at D:\a\_actions\julia-actions\julia-runtest\v1\test_harness.jl:22
Error: Process completed with exit code 1.

Locally it precompiles indefinitely.
I tried SIGINFO-ing the child process but it didn't print anything, so maybe it's hanging after julia has exited?

Metadata

Metadata

Assignees

No one assigned

    Labels

    packagesPackage management and loadingregression 1.11Regression in the 1.11 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions