Skip to content

Crash in frequency benchmark report generation on GNR #406

Closed
@harp-intel

Description

@harp-intel

If the number of cores on the first die is less than the number of cores on other dies,

panic: runtime error: index out of range [126] with length 126
 
goroutine 1 [running]:
perfspect/internal/report.frequencyBenchmarkTableValues(0xc0003ccf60)
        perfspect/internal/report/table_defs.go:2102 +0x184a
perfspect/internal/report.GetValuesForTable({_, _}, _)
        perfspect/internal/report/table_defs.go:821 +0x17d
perfspect/internal/report.ProcessTables({0xc0009e3208, 0x29, 0x47}, 0xc0003ccf60)
        perfspect/internal/report/table.go:75 +0x10b
perfspect/internal/common.(*ReportingCommand).createReports(0xc0004cc310, {{0xc0005fe108, 0x13}, {0xc00003e640, 0x3c}, {0xc0005009c0, 0x1d}, {0xc000010530, 0xd}, {0x0, ...}, ...}, ...)
        perfspect/internal/common/common.go:375 +0x1ad
perfspect/internal/common.(*ReportingCommand).Run(0xc0004cc310)
        perfspect/internal/common/common.go:230 +0x1c1e
perfspect/cmd/report.runCmd(0x4406d80, {0xc0002d86e0, 0x0, 0x2})
        perfspect/cmd/report/report.go:366 +0x4c5
github.com/spf13/cobra.(*Command).execute(0x4406d80, {0xc0002d86c0, 0x2, 0x2})
        github.com/spf13/[email protected]/command.go:1015 +0xfb0
github.com/spf13/cobra.(*Command).ExecuteC(0x4405a40)
        github.com/spf13/[email protected]/command.go:1148 +0xa25
github.com/spf13/cobra.(*Command).Execute(0x4405a40)
        github.com/spf13/[email protected]/command.go:1071 +0x32
perfspect/cmd.Execute()
        perfspect/cmd/root.go:139 +0x37
main.main()
        perfspect/main.go:9 +0xf

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions