[GH-ISSUE #5259] invalid memory address or nil pointer dereference on windows arm64 when sleeping laptop #10865

Open
opened 2026-08-05 01:27:32 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @si458 on GitHub (Feb 5, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5259

Originally assigned to: @pappz on GitHub.

Describe the problem

for some reason, every time i sleep my laptop by closing the screen or sleep option,
when i start the laptop up again the netbird service is completely stopped,
which in turn breaks the ui app as it wont connect,
so i have to start the service manually, then restart the ui app

the only thing ive spotted is these error logs in a netbird.err file

To Reproduce

Steps to reproduce the behavior:

  1. sleep the laptop by closing the screen
  2. switch laptop on by opening screen
  3. check task manager the service has stopped
  4. check the netbird.err file in ProgramData and see the panic err

Expected behavior
for the service to not be stopped/crashed or at least restart itself and it doesnt appear to do that?

Are you using NetBird Cloud?

Self-Hosted

NetBird version

0.64.5 (but this has been happening for a few weeks now but ive only just spotted the netbird.err file!

Is any other VPN software installed?
Wireguard app itself

Debug output - netbird.err

ice ERROR: 2026/01/22 16:49:14 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/22 16:49:14 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/22 16:49:14 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/22 16:49:14 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/22 16:49:14 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/22 16:49:44 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:23:59 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:24:29 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:35:23 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:35:23 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:35:23 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:35:23 Failed to get selected candidate pair stats: the agent is closed
ice ERROR: 2026/01/24 23:35:23 Failed to get selected candidate pair stats: the agent is closed
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7e73af83c]

goroutine 393 [running]:
github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x40006883f0?)
	/home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c
github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x40005b8f00, 0x40014eca00)
	/home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218
github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x40004c9080, {0x7ff7e7f8d358, 0x40007ba9b0})
	/home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:111 +0x208
github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1()
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54
created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 65
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7f35bf83c]

goroutine 44090 [running]:
github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x4000e3b680?)
	/home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c
github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x40002f4b40, 0x400135e680)
	/home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218
github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x4000b8f4a0, {0x7ff7f419d358, 0x4001090af0})
	/home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c
github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1()
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54
created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 42481
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7c56ef84c]

goroutine 70261 [running]:
github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x400110f1d0?)
	/home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c
github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x4000b050e0, 0x4000e7b500)
	/home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218
github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x400088f1e0, {0x7ff7c62cd958, 0x4001020eb0})
	/home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c
github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1()
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54
created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 70172
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7c56ef84c]

goroutine 32225 [running]:
github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x4000d3c610?)
	/home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c
github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x4000778f00, 0x4000f4bd00)
	/home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218
github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x4000a80b00, {0x7ff7c62cd958, 0x400087aaa0})
	/home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c
github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1()
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54
created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 32107
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff63f73f84c]

goroutine 41401 [running]:
github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x40006a1b70?)
	/home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c
github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x4000d0ed20, 0x4000722f80)
	/home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218
github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x40007cdce0, {0x7ff64031d958, 0x400a316730})
	/home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c
github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1()
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54
created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 41307
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff63f73f84c]

goroutine 397 [running]:
github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x4001064b10?)
	/home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c
github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x400038af00, 0x4001063880)
	/home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218
github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x4000960b00, {0x7ff64031d958, 0x40000ae960})
	/home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c
github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1()
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54
created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 50
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff79c50f83c]

goroutine 526 [running]:
github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x4001359670?)
	/home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c
github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x4000904f00, 0x40007ceb00)
	/home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218
github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x40004efce0, {0x7ff79d0eda18, 0x40003bf220})
	/home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c
github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1()
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54
created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 377
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7ee78f83c]

goroutine 5155 [running]:
github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x400356a720?)
	/home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c
github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x4002938b40, 0x400386a300)
	/home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218
github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x400293c160, {0x7ff7ef36da18, 0x400201bd10})
	/home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c
github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1()
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54
created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 5084
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7ee78f83c]

goroutine 2571 [running]:
github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x4001dc03e0?)
	/home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c
github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x40003cf4a0, 0x4000f1c180)
	/home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218
github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x4001209760, {0x7ff7ef36da18, 0x40017157c0})
	/home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c
github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1()
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54
created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 2350
	/home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @si458 on GitHub (Feb 5, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5259 Originally assigned to: @pappz on GitHub. **Describe the problem** for some reason, every time i sleep my laptop by closing the screen or sleep option, when i start the laptop up again the netbird service is completely stopped, which in turn breaks the ui app as it wont connect, so i have to start the service manually, then restart the ui app the only thing ive spotted is these error logs in a `netbird.err` file **To Reproduce** Steps to reproduce the behavior: 1. sleep the laptop by closing the screen 2. switch laptop on by opening screen 3. check task manager the service has stopped 4. check the `netbird.err` file in `ProgramData` and see the panic err **Expected behavior** for the service to not be stopped/crashed or at least restart itself and it doesnt appear to do that? **Are you using NetBird Cloud?** Self-Hosted **NetBird version** 0.64.5 (but this has been happening for a few weeks now but ive only just spotted the `netbird.err` file! **Is any other VPN software installed?** Wireguard app itself **Debug output** - `netbird.err` ``` ice ERROR: 2026/01/22 16:49:14 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/22 16:49:14 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/22 16:49:14 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/22 16:49:14 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/22 16:49:14 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/22 16:49:44 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:18:59 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:23:59 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:24:29 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:35:23 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:35:23 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:35:23 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:35:23 Failed to get selected candidate pair stats: the agent is closed ice ERROR: 2026/01/24 23:35:23 Failed to get selected candidate pair stats: the agent is closed panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7e73af83c] goroutine 393 [running]: github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x40006883f0?) /home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x40005b8f00, 0x40014eca00) /home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218 github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x40004c9080, {0x7ff7e7f8d358, 0x40007ba9b0}) /home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:111 +0x208 github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1() /home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54 created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 65 /home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8 panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7f35bf83c] goroutine 44090 [running]: github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x4000e3b680?) /home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x40002f4b40, 0x400135e680) /home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218 github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x4000b8f4a0, {0x7ff7f419d358, 0x4001090af0}) /home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1() /home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54 created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 42481 /home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8 panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7c56ef84c] goroutine 70261 [running]: github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x400110f1d0?) /home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x4000b050e0, 0x4000e7b500) /home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218 github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x400088f1e0, {0x7ff7c62cd958, 0x4001020eb0}) /home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1() /home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54 created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 70172 /home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8 panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7c56ef84c] goroutine 32225 [running]: github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x4000d3c610?) /home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x4000778f00, 0x4000f4bd00) /home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218 github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x4000a80b00, {0x7ff7c62cd958, 0x400087aaa0}) /home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1() /home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54 created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 32107 /home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8 panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff63f73f84c] goroutine 41401 [running]: github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x40006a1b70?) /home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x4000d0ed20, 0x4000722f80) /home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218 github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x40007cdce0, {0x7ff64031d958, 0x400a316730}) /home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1() /home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54 created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 41307 /home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8 panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff63f73f84c] goroutine 397 [running]: github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x4001064b10?) /home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x400038af00, 0x4001063880) /home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218 github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x4000960b00, {0x7ff64031d958, 0x40000ae960}) /home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1() /home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54 created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 50 /home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8 panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff79c50f83c] goroutine 526 [running]: github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x4001359670?) /home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x4000904f00, 0x40007ceb00) /home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218 github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x40004efce0, {0x7ff79d0eda18, 0x40003bf220}) /home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1() /home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54 created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 377 /home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8 panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7ee78f83c] goroutine 5155 [running]: github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x400356a720?) /home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x4002938b40, 0x400386a300) /home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218 github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x400293c160, {0x7ff7ef36da18, 0x400201bd10}) /home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1() /home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54 created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 5084 /home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8 panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x7ff7ee78f83c] goroutine 2571 [running]: github.com/netbirdio/netbird/client/internal/peer/ice.(*ThreadSafeAgent).Close(0x4001dc03e0?) /home/runner/work/netbird/netbird/client/internal/peer/ice/agent.go:37 +0x1c github.com/netbirdio/netbird/client/internal/peer.(*WorkerICE).OnNewOffer(0x40003cf4a0, 0x4000f1c180) /home/runner/work/netbird/netbird/client/internal/peer/worker_ice.go:110 +0x218 github.com/netbirdio/netbird/client/internal/peer.(*Handshaker).Listen(0x4001209760, {0x7ff7ef36da18, 0x40017157c0}) /home/runner/work/netbird/netbird/client/internal/peer/handshaker.go:97 +0x33c github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open.func1() /home/runner/work/netbird/netbird/client/internal/peer/conn.go:193 +0x54 created by github.com/netbirdio/netbird/client/internal/peer.(*Conn).Open in goroutine 2350 /home/runner/work/netbird/netbird/client/internal/peer/conn.go:191 +0x6d8 ``` **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here. **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-needed label 2026-08-05 01:27:32 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10865