Skip to content

lib/nat: panic: runtime error: index out of range #9503

Closed

Description

@syncthing-sentry
INFO: syncthing v1.27.5 "Gold Grasshopper" (go1.22.1 linux-amd64) [email protected] 2024-03-25 03:45:14 UTC [noupgrade]
Panic at 2024-04-08T14:59:35+02:00
panic: runtime error: index out of range [0] with length 0 [recovered]
	panic: runtime error: index out of range [0] with length 0

goroutine 77 [running]:
github.com/thejerf/suture/v4.(*Supervisor).runService.func2.2()
	github.com/thejerf/suture/[email protected]/supervisor.go:561 +0xb7
panic({0xf88620?, 0xc0004405a0?})
	runtime/panic.go:770 +0x132
github.com/syncthing/syncthing/lib/nat.(*Service).verifyExistingLocked(0xc00038e5b0, {0x1398080, 0xc000034b40}, 0xc0002bc480, 0xc00278af00, 0x1)
	github.com/syncthing/syncthing/lib/nat/service.go:261 +0xa85
github.com/syncthing/syncthing/lib/nat.(*Service).updateMapping(0xc00038e5b0, {0x1398080, 0xc000034b40}, 0xc0002bc480, 0xc00278af00, 0x1)
	github.com/syncthing/syncthing/lib/nat/service.go:216 +0x134
github.com/syncthing/syncthing/lib/nat.(*Service).process(0xc00038e5b0, {0x1398080, 0xc000034b40})
	github.com/syncthing/syncthing/lib/nat/service.go:149 +0x4d5
github.com/syncthing/syncthing/lib/nat.(*Service).Serve(0xc00038e5b0, {0x1398080, 0xc000034b40})
	github.com/syncthing/syncthing/lib/nat/service.go:96 +0x26f
github.com/thejerf/suture/v4.(*Supervisor).runService.func2()
	github.com/thejerf/suture/[email protected]/supervisor.go:565 +0xe6
created by github.com/thejerf/suture/v4.(*Supervisor).runService in goroutine 69
	github.com/thejerf/suture/[email protected]/supervisor.go:539 +0x18b

//@calmh

Activity

  1. added
    bug
    on Apr 8, 2024
  2. added a commit that references this issue on Apr 8, 2024
    a2a81f0
  3. added this to the v1.27.7 milestone on Apr 22, 2024
  4. added a commit that references this issue on May 9, 2024
    e2d1963
  5. added a commit that references this issue on May 24, 2024
    14bbd3a
  6. added 2 commits that reference this issue on Jul 7, 2024
    685d17e
    199e176
  7. added
    frozen-due-to-age
    on Apr 11, 2025
  8. locked and limited conversation to collaborators on Apr 11, 2025
  9. locked and limited conversation to collaborators on Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-age

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions