-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Description
Original issue: JuliaLang/PackageCompiler.jl#517
When using a sysimage, _simplify_include_frames
throws a bounds error at line 804 because i
is 0.
Line 804 in d732903
kept_frames[i:first_ignored] .= false |
The immediate fix is to move the decrement to the top of the loop and start at i = length(trace) + 1
. I can make a pull request for this.
This still gives really verbose stack traces when using a sysimage. I'd like to take a shot at improving that as well, but perhaps this should be done in a separate issue/pull request since it might require further discussion.
Thanks to @KristofferC for identifying the problem.
c42f
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior