-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
Using master of MRH.
This might be the same as e.g. #61 so I'll just file this one as a last case so you have some things to check off:
julia> using MagneticReadHead, TimerOutputs
julia> function f()
to = TimerOutput()
@timeit to "sleeping" sleep(1)
print_timer(to)
end
f (generic function with 1 method)
julia> f()
───────────────────────────────────────────────────────────────────
Time Allocations
────────────────────── ───────────────────────
Tot / % measured: 1.71s / 58.7% 28.5MiB / 0.00%
Section ncalls time %tot avg alloc %tot avg
───────────────────────────────────────────────────────────────────
sleeping 1 1.00s 100% 1.00s 192B 100% 192B
───────────────────────────────────────────────────────────────────
julia> @run f()
Internal error: encountered unexpected error in runtime:
BoundsError(a=Array{Any, (43297,)}[SSAValue(1), SSAValue(2), SSAValue(3), SSAValue(4), ...
record_backtrace at /Users/osx/buildbot/slave/package_osx64/build/src/task.c:217 [inlined]
jl_throw at /Users/osx/buildbot/slave/package_osx64/build/src/task.c:417
jl_bounds_error_ints at /Users/osx/buildbot/slave/package_osx64/build/src/rtutils.c:183
getindex at ./array.jl:729 [inlined]
renumber_ssa at ./compiler/ssair/slot2ssa.jl:65 [inlined]
#241 at ./compiler/ssair/slot2ssa.jl:74 [inlined]
ssamap at ./compiler/ssair/ir.jl:429
renumber_ssa! at ./compiler/ssair/slot2ssa.jl:74 [inlined]
renumber_ssa! at ./compiler/ssair/slot2ssa.jl:73
construct_ssa! at ./compiler/ssair/slot2ssa.jl:859
just_construct_ssa at ./compiler/ssair/driver.jl:109
run_passes at ./compiler/ssair/driver.jl:114
optimize at ./compiler/optimize.jl:164
oxinabox
Metadata
Metadata
Assignees
Labels
No labels