Skip to content

"Internal error: encountered unexpected error in runtime:". Happens in 1.10.7 but did not in 1.10.5, nor 1.11 or nightly. #56710

@joa-quim

Description

@joa-quim

One of the GMT tests now (v1.10.7) fails. Up until 1.10.5 or 1.11 or nightly that command runs fine.

julia> GMT.Gdal.inspect("SELECT HEX(GeomFromText('POINT(10 20)'))", GMT.TESTSDIR * "poly_spatialite.sqlite")

Internal error: encountered unexpected error in runtime:
BoundsError(a=Array{Core.Compiler.DomTreeNode, (229,)}[Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (3,)}[3, 4, 5]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[6]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[7]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (3,)}[8, 9, 10]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[181]), Core.Compiler.DomTreeNode(level=8, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=7, children=Array{Int64, (1,)}[13]), Core.Compiler.DomTreeNode(level=6, children=Array{Int64, (1,)}[15]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (1,)}[16]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (1,)}[17]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[18]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[19]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[20]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[175]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (3,)}[25, 26, 27]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=7, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=7, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=6, children=Array{Int64, (2,)}[30, 31]), Core.Compiler.DomTreeNode(level=6, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (2,)}[32, 33]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (1,)}[34]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (2,)}[35, 36]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[37]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (2,)}[38, 39]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[41]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[45]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[50]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (2,)}[53, 54]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[56]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[58]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[59]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[67]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (2,)}[70, 71]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[73]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[75]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[76]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (2,)}[79, 80]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[82]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[84]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[85]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (2,)}[90, 91]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[93]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[95]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[96]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (2,)}[101, 102]), Core.Compiler.DomTreeNode(level=8, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=7, children=Array{Int64, (1,)}[104]), Core.Compiler.DomTreeNode(level=6, children=Array{Int64, (1,)}[106]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (1,)}[107]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (9,)}[64, 87, 98, 108, 109, 110, 111, 112, 113]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[114]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (2,)}[121, 122]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[124]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[126]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[127]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (2,)}[133, 134]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[136]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[138]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[139]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (2,)}[145, 146]), Core.Compiler.DomTreeNode(level=6, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (1,)}[148]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (1,)}[150]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[151]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (10,)}[61, 115, 116, 117, 119, 129, 131, 141, 143, 152]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[153]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=6, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (1,)}[156]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (1,)}[157]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[158]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[159]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[160]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=10, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=9, children=Array{Int64, (1,)}[163]), Core.Compiler.DomTreeNode(level=8, children=Array{Int64, (1,)}[164]), Core.Compiler.DomTreeNode(level=7, children=Array{Int64, (1,)}[165]), Core.Compiler.DomTreeNode(level=6, children=Array{Int64, (1,)}[166]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (1,)}[167]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (1,)}[168]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[169]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[170]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[171]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[173]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (2,)}[22, 176]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (3,)}[177, 178, 179]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=6, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=6, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (2,)}[182, 183]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (3,)}[184, 185, 186]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[187]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[188]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (3,)}[189, 190, 191]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (1,)}[226]), Core.Compiler.DomTreeNode(level=9, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=8, children=Array{Int64, (1,)}[194]), Core.Compiler.DomTreeNode(level=7, children=Array{Int64, (1,)}[196]), Core.Compiler.DomTreeNode(level=6, children=Array{Int64, (1,)}[197]), Core.Compiler.DomTreeNode(level=5, children=Array{Int64, (1,)}[198]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (1,)}[199]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[200]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[201]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (3,)}[202, 203, 204]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (1,)}[220]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (2,)}[208, 209]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (3,)}[211, 213, 215]), Core.Compiler.DomTreeNode(level=4, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=3, children=Array{Int64, (1,)}[218]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (2,)}[206, 221]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (3,)}[222, 223, 224]), Core.Compiler.DomTreeNode(level=2, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[]), Core.Compiler.DomTreeNode(level=1, children=Array{Int64, (0,)}[])], i=(0,))
ijl_bounds_error_ints at C:/workdir/src\rtutils.c:201
getindex at .\essentials.jl:13 [inlined]
nearest_common_dominator at .\compiler/ssair\domtree.jl:647
note_block_use! at .\compiler/ssair\passes.jl:1264 [inlined]
check_defuse at .\compiler/ssair\passes.jl:1288
_all at .\compiler\utilities.jl:27 [inlined]
all at .\compiler\utilities.jl:31 [inlined]
try_resolve_finalizer! at .\compiler/ssair\passes.jl:1295
sroa_mutables! at .\compiler/ssair\passes.jl:1393
sroa_pass! at .\compiler/ssair\passes.jl:1156
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions