Skip to content

panic: nil pointer dereference in usage reporting #6499

Closed

Description

@syncthing-sentry
22:42:48 INFO: syncthing v1.4.1-rc.3 "Fermium Flea" (go1.13.9 windows-amd64) [email protected] 2020-03-20 11:07:29 UTC
Panic at 2020-04-03T07:13:20+11:00
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x40 pc=0xbe8784]

goroutine 45 [running]:
github.com/syncthing/syncthing/lib/ur.(*Service).sendUsageReport(0xc0000a8aa0, 0x1110060, 0xc0024dcec0, 0x1, 0xc003904170)
	C:/BuildAgent/work/174e136266f8a219/lib/ur/usage_report.go:393 +0x444
github.com/syncthing/syncthing/lib/ur.(*Service).serve(0xc0000a8aa0, 0x1110060, 0xc0024dcec0)
	C:/BuildAgent/work/174e136266f8a219/lib/ur/usage_report.go:412 +0x2da
github.com/syncthing/syncthing/lib/util.AsService.func1(0x1110060, 0xc0024dcec0, 0xc002475f20, 0xa76cacda11213bab)
	C:/BuildAgent/work/174e136266f8a219/lib/util/utils.go:183 +0x40
github.com/syncthing/syncthing/lib/util.(*service).Serve(0xc00005ff80)
	C:/BuildAgent/work/174e136266f8a219/lib/util/utils.go:247 +0x149
github.com/thejerf/suture.(*Supervisor).runService.func1(0xc000346b40, 0xc000000003, 0x11061e0, 0xc0000a8aa0)
	C:/BuildAgent/work/pkg/mod/github.com/thejerf/[email protected]+incompatible/supervisor.go:600 +0x57
created by github.com/thejerf/suture.(*Supervisor).runService
	C:/BuildAgent/work/pkg/mod/github.com/thejerf/[email protected]+incompatible/supervisor.go:588 +0x62

//@calmh

Activity

  1. added
    bug
    on Apr 6, 2020
  2. added a commit that references this issue on Apr 6, 2020
    6915c17
  3. added this to the v1.5.0 milestone on Apr 6, 2020
  4. changed the title [-]panic: runtime error: invalid memory address or nil pointer dereference in usage reporting[/-] [+]panic: nil pointer dereference in usage reporting[/+] on Apr 6, 2020
  5. added a commit that references this issue on Apr 7, 2020
    670a980
  6. modified the milestones: v1.5.0, v1.4.2 on Apr 7, 2020
  7. added a commit that references this issue on Apr 8, 2020
    046bbdf
  8. added
    frozen-due-to-age
    on Apr 7, 2021
  9. locked and limited conversation to collaborators on Apr 7, 2021
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