-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
The bot crashes randomly during concurrent updates or group call events.
The panic trace shows a fatal error: concurrent map writes at handle_updates.go:217, caused by simultaneous access to a shared map (ctx.inputGroupCalls).
fatal error: concurrent map writes
goroutine 1181477 [running]:
internal/runtime/maps.fatal({0x25bf726?, 0x24a3aa0?})
/usr/local/go/src/runtime/panic.go:1058 +0x18
internal/runtime/maps.(*Map).Delete(0xc001ba4db0, 0x24a3aa0, 0xc0021bdef0)
/usr/local/go/src/internal/runtime/maps/map.go:672 +0x10f
github.com/AshokShau/TgMusicBot/internal/vc/ubot.(*Context).handleUpdates.func4({0x2832c70?, 0xc0006983a8?}, 0xc001b25560?)
/app/internal/vc/ubot/handle_updates.go:217 +0xc5
github.com/amarnathcjd/gogram/telegram.(*Client).handleRawUpdate.func1(0xffffffffffffffff?)
/go/pkg/mod/github.com/amarnathcjd/gogram@v1.6.5-0.20251110175012-63b5cb39305f/telegram/updates.go:908 +0x5c
github.com/amarnathcjd/gogram/telegram.(*Client).handleRawUpdate.func2()
/go/pkg/mod/github.com/amarnathcjd/gogram@v1.6.5-0.20251110175012-63b5cb39305f/telegram/updates.go:913 +0x2b
created by github.com/amarnathcjd/gogram/telegram.(*Client).handleRawUpdate in goroutine 1181437
/go/pkg/mod/github.com/amarnathcjd/gogram@v1.6.5-0.20251110175012-63b5cb39305f/telegram/updates.go:912 +0x2ca
goroutine 1 [chan receive, 481 minutes]:
main.main()
/app/main.go:103 +0x509
KSKOP69
Metadata
Metadata
Assignees
Labels
No labels