Skip to content

Profdump with --blame in Text Mode Results in RangeViolation #9

Description

@vnayar

Running the command dub run profdump -- --blame trace.log profdump2.txt results in a RangeError which prevents the flag from being used.

Running ../../../../.dub/packages/profdump-0.4.3/profdump/profdump --blame trace.log profdump2.txt
core.exception.RangeError@../../../.dub/packages/profdump-0.4.3/profdump/source/app.d(134): Range violation
----------------
??:? _d_arrayboundsp [0x555bf4a9b30d]
../../../.dub/packages/profdump-0.4.3/profdump/source/app.d:134 _Dmain [0x555bf49ee8f7]
Program exited with code 1

The trace.log file used in this test was produced from DMD with build flags "-release -profile" and is provided as:
trace.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions