Closed TechSupportPlugnotes closed 1 month ago
runtime error: invalid memory address or nil pointer dereference stacktrace: goroutine 19 [running]: runtime/debug.Stack() runtime/debug/stack.go:24 +0x5e github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs.NewParserWithConfig.func1({0xdb2fa0?, 0xc0043468a0}) github.com/markus-wa/demoinfocs-golang/v4@v4.2.1/pkg/demoinfocs/parser.go:403 +0x2f github.com/markus-wa/godispatch.(*Dispatcher).dispatchWithRecover.func1() github.com/markus-wa/godispatch@v1.4.1/dispatch.go:197 +0x3b panic({0xdb2fa0?, 0xc0043468a0?}) runtime/panic.go:914 +0x21f github.com/markus-wa/godispatch.callConsumerCode.func1() github.com/markus-wa/godispatch@v1.4.1/dispatch.go:122 +0x54 panic({0xdb2fa0?, 0xc004346890?}) runtime/panic.go:914 +0x21f github.com/markus-wa/godispatch.callConsumerCode.func1() github.com/markus-wa/godispatch@v1.4.1/dispatch.go:122 +0x54 panic({0xd80480?, 0x132d740?}) runtime/panic.go:914 +0x21f github.com/akiver/cs-demo-analyzer/pkg/api.newKillFromGameEvent(0xc000110a00, {0xc001bb5720, 0xc00083e000, 0xc000b02820, 0xc000605380, 0x0, 0x0, 0x0, 0x0, 0x0, ...}) github.com/akiver/cs-demo-analyzer/pkg/api/kill.go:102 +0x3eb github.com/akiver/cs-demo-analyzer/pkg/api.(*Analyzer).registerCommonHandlers.func14({0xc001bb5720, 0xc00083e000, 0xc000b02820, 0xc000605380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...}) github.com/akiver/cs-demo-analyzer/pkg/api/analyzer.go:788 +0xd2 reflect.Value.call({0xd476e0?, 0xc000352330?, 0x9b8988?}, {0xe73960, 0x4}, {0xc003171258, 0x1, 0xc96f1f?}) reflect/value.go:596 +0xce7 reflect.Value.Call({0xd476e0?, 0xc000352330?, 0x1?}, {0xc003171258?, 0x62000000009a756b?, 0x4?}) reflect/value.go:380 +0xb9 github.com/markus-wa/godispatch.callConsumerCode({0xd476e0?, 0xc000352330?, 0x40?}, {0xc003171258?, 0xe4c340?, 0x0?}) github.com/markus-wa/godispatch@v1.4.1/dispatch.go:125 +0x3f github.com/markus-wa/godispatch.(*Dispatcher).Dispatch(0xc000246600, {0xe4c340, 0xc0028a5600}) github.com/markus-wa/godispatch@v1.4.1/dispatch.go:111 +0x1d4 github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs.gameEventHandler.dispatch(...) github.com/markus-wa/demoinfocs-golang/v4@v4.2.1/pkg/demoinfocs/game_events.go:135 github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs.gameEventHandler.playerDeath({0xc0002d2c40, 0x0, 0xc0002e5200, 0xc0002e5230, 0x0}, 0x9b017e?) github.com/markus-wa/demoinfocs-golang/v4@v4.2.1/pkg/demoinfocs/game_events.go:466 +0x933 github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs.newGameEventHandler.newGameEventHandler.func2.func16(0xd77b40?) github.com/markus-wa/demoinfocs-golang/v4@v4.2.1/pkg/demoinfocs/game_events.go:188 +0x5d github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs.(*parser).handleGameEvent(0xc0002d2c40, 0xc0031716b8) github.com/markus-wa/demoinfocs-golang/v4@v4.2.1/pkg/demoinfocs/game_events.go:71 +0x229 github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs.(*parser).handleGameEventS2(0xc0002d2c40, 0xc001c3d3e0) github.com/markus-wa/demoinfocs-golang/v4@v4.2.1/pkg/demoinfocs/game_events.go:118 +0x385 reflect.Value.call({0xd48ba0?, 0xc00010ae60?, 0xc000471e28?}, {0xe73960, 0x4}, {0xc003171ef8, 0x1, 0xe50e00?}) reflect/value.go:596 +0xce7 reflect.Value.Call({0xd48ba0?, 0xc00010ae60?, 0x58?}, {0xc003171ef8?, 0x480000c000104e01?, 0x6?}) reflect/value.go:380 +0xb9 github.com/markus-wa/godispatch.callConsumerCode({0xd48ba0?, 0xc00010ae60?, 0xc000056a00?}, {0xc003171ef8?, 0x9b72e6?, 0x0?}) github.com/markus-wa/godispatch@v1.4.1/dispatch.go:125 +0x3f github.com/markus-wa/godispatch.(*Dispatcher).Dispatch(0xc0002465a0, {0xe14680, 0xc001c3d3e0}) github.com/markus-wa/godispatch@v1.4.1/dispatch.go:111 +0x1d4 github.com/markus-wa/godispatch.(*Dispatcher).dispatchWithRecover(0xc0002465b8?, {0xe14680?, 0xc001c3d3e0?}) github.com/markus-wa/godispatch@v1.4.1/dispatch.go:202 +0x4f github.com/markus-wa/godispatch.(*Dispatcher).dispatchQueue(0xc0002465a0, 0x0?) github.com/markus-wa/godispatch@v1.4.1/dispatch.go:177 +0xd0 created by github.com/markus-wa/godispatch.(*Dispatcher).AddQueues in goroutine 1 github.com/markus-wa/godispatch@v1.4.1/dispatch.go:162 +0x18a
https://www.dropbox.com/scl/fi/pq50tuncnaxx878k7wjvc/ca7e4917-0d35-46e6-bef7-e31fdfa0c02b.dem?rlkey=94vsvi6o2w56r39rwv213ovwz&st=il96uhcm&dl=0
I think what I want is to be able to simply analyze it, even if it means doing it as an order prompt in the meantime, because we need it for a little tournament with friends!
None
No response
Version: 3.6.1 OS: win32 x64 10.0.22631 Electron: 30.0.8 Chrome: 124.0.6367.230 Last database migrations: v2 - 2024-06-01T16:11:44.197Z
Describe the bug
Demo links
https://www.dropbox.com/scl/fi/pq50tuncnaxx878k7wjvc/ca7e4917-0d35-46e6-bef7-e31fdfa0c02b.dem?rlkey=94vsvi6o2w56r39rwv213ovwz&st=il96uhcm&dl=0
Steps to reproduce
Expected behavior
I think what I want is to be able to simply analyze it, even if it means doing it as an order prompt in the meantime, because we need it for a little tournament with friends!
How often does this bug happen?
None
Log file
No response
Environment information
Version: 3.6.1 OS: win32 x64 10.0.22631 Electron: 30.0.8 Chrome: 124.0.6367.230 Last database migrations: v2 - 2024-06-01T16:11:44.197Z
Additional context
No response