Skip to content

Error analyzing MatchZy demo #1164

@themaster1970sf

Description

@themaster1970sf

Describe the bug

analyzing demo

LOGS:

Player kill event without victim occurred
Player kill event without victim occurred
panic: proto: cannot parse invalid wire-format data [recovered]
	panic: proto: cannot parse invalid wire-format data

goroutine 1 [running]:
github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs.recoverFromUnexpectedEOF({0xf82640, 0x1407420})
	github.com/markus-wa/demoinfocs-golang/[email protected]/pkg/demoinfocs/parsing.go:182 +0x128
github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs.(*parser).ParseToEnd.func1()
	github.com/markus-wa/demoinfocs-golang/[email protected]/pkg/demoinfocs/parsing.go:135 +0xa5
panic({0xf82640?, 0x1407420?})
	runtime/panic.go:791 +0x132
github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs.(*parser).parseFrameS2(0xc00027a5a0)
	github.com/markus-wa/demoinfocs-golang/[email protected]/pkg/demoinfocs/parsing.go:391 +0x4bc
github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs.(*parser).ParseToEnd(0xc00027a5a0)
	github.com/markus-wa/demoinfocs-golang/[email protected]/pkg/demoinfocs/parsing.go:158 +0x142
github.com/akiver/cs-demo-analyzer/pkg/api.analyzeDemo({0xc00011a00b, 0xa2}, {0x50?, {0xc00000a158?, 0x13fdae0?}})
	github.com/akiver/cs-demo-analyzer/pkg/api/analyzer.go:183 +0xb89
github.com/akiver/cs-demo-analyzer/pkg/api.AnalyzeAndExportDemo({0xc00011a00b?, 0xa2?}, {0xc000032288, 0x32}, {0x0, {0xc00000a158, 0x7}, {0xc00000a128, 0x4}, 0x0})
	github.com/akiver/cs-demo-analyzer/pkg/api/analyzer.go:242 +0x6c
github.com/akiver/cs-demo-analyzer/pkg/cli.Run({0xc00011c010, 0x4, 0x7})
	github.com/akiver/cs-demo-analyzer/pkg/cli/cli.go:77 +0xef
main.main()
	github.com/akiver/cs-demo-analyzer/cmd/cli/cli.go:10 +0x45

Demo links

https://www.dropbox.com/scl/fi/csn4tgribuvzoatjivfm6/2025-08-04_14-39-38_5_de_dust2_team_mster_fixTF2_vs_TERRORISTS.dem?rlkey=7ocxy9zd9wyffeffh5fuui0l9&st=4cfpphdz&dl=0

Steps to reproduce

https://www.dropbox.com/scl/fi/2wysh5h9dit7anwljh2gt/2025-08-06-15-40-17.mkv?rlkey=gn4x5fo484i95b1shj4wpgvqz&st=px30hghq&dl=0

Expected behavior

I expected the analysis to be successful, but it gives an error

How often does this bug happen?

None

Log file

No response

Environment information

Version: 3.14.0
OS: win32 x64 10.0.19045
Electron: 37.2.5
Chrome: 138.0.7204.168
Last database migrations:
v8 - 2025-08-04T16:06:14.438Z

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions