[GH-ISSUE #71] olm SIGSEGV #600

Closed
opened 2026-05-05 10:23:29 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @outbackdingo on GitHub (Dec 29, 2025).
Original GitHub issue: https://github.com/fosrl/olm/issues/71

Describe the Bug

olm
INFO: 2025/12/29 08:54:00 Olm version 1.3.0
DEBUG: 2025/12/29 08:54:00 Saved full olm config with all options
INFO: 2025/12/29 08:54:00 Starting HTTP server on socket /var/run/olm.sock
INFO: 2025/12/29 08:54:00 Created shared UDP socket on port 64615 (refcount: 2)
INFO: 2025/12/29 08:54:01 Starting hole punch for 0 exit nodes
INFO: 2025/12/29 08:54:01 No exit nodes available yet, waiting for nodes to be added
INFO: 2025/12/29 08:54:01 Websocket Connected
INFO: 2025/12/29 08:54:02 Sent initial ping message
INFO: 2025/12/29 08:54:02 UAPI listener started
ERROR: 2025/12/29 08:54:02 Failed to create DNS proxy: failed to pick DNS proxy IP from subnet: invalid subnet: netip.ParsePrefix(""): no '/'
INFO: 2025/12/29 08:54:02 The tunnel IP is: 100.90.128.3/24
INFO: 2025/12/29 08:54:02 Set IPv4 addresses: [100.90.128.3], subnet masks: [255.255.255.0]
INFO: 2025/12/29 08:54:02 Set MTU: 1280
INFO: 2025/12/29 08:54:02 Started holepunch connection monitor
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x83e791]

goroutine 46 [running]:
github.com/fosrl/olm/dns.(*DNSProxy).Start(0x0)
github.com/fosrl/olm/dns/dns_proxy.go:224 +0x51
github.com/fosrl/olm/olm.StartTunnel.func2({{0xc00014ec20?, 0xc000366480?}, {0x9843a0?, 0xc000319290?}})
github.com/fosrl/olm/olm/olm.go:432 +0xd16
github.com/fosrl/olm/websocket.(*Client).readPumpWithDisconnectDetection(0xc000456200)
github.com/fosrl/olm/websocket/client.go:655 +0x115
created by github.com/fosrl/olm/websocket.(*Client).establishConnection in goroutine 11
github.com/fosrl/olm/websocket/client.go:506 +0x70f

Environment

  • OS Type & Version: (e.g., Ubuntu 22.04)
  • Pangolin Version:
  • Gerbil Version:
  • Traefik Version:
  • Newt Version:
  • Olm Version: (if applicable)

To Reproduce

run olm

Expected Behavior

finialize tunnel

Originally created by @outbackdingo on GitHub (Dec 29, 2025). Original GitHub issue: https://github.com/fosrl/olm/issues/71 ### Describe the Bug olm INFO: 2025/12/29 08:54:00 Olm version 1.3.0 DEBUG: 2025/12/29 08:54:00 Saved full olm config with all options INFO: 2025/12/29 08:54:00 Starting HTTP server on socket /var/run/olm.sock INFO: 2025/12/29 08:54:00 Created shared UDP socket on port 64615 (refcount: 2) INFO: 2025/12/29 08:54:01 Starting hole punch for 0 exit nodes INFO: 2025/12/29 08:54:01 No exit nodes available yet, waiting for nodes to be added INFO: 2025/12/29 08:54:01 Websocket Connected INFO: 2025/12/29 08:54:02 Sent initial ping message INFO: 2025/12/29 08:54:02 UAPI listener started ERROR: 2025/12/29 08:54:02 Failed to create DNS proxy: failed to pick DNS proxy IP from subnet: invalid subnet: netip.ParsePrefix(""): no '/' INFO: 2025/12/29 08:54:02 The tunnel IP is: 100.90.128.3/24 INFO: 2025/12/29 08:54:02 Set IPv4 addresses: [100.90.128.3], subnet masks: [255.255.255.0] INFO: 2025/12/29 08:54:02 Set MTU: 1280 INFO: 2025/12/29 08:54:02 Started holepunch connection monitor panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x83e791] goroutine 46 [running]: github.com/fosrl/olm/dns.(*DNSProxy).Start(0x0) github.com/fosrl/olm/dns/dns_proxy.go:224 +0x51 github.com/fosrl/olm/olm.StartTunnel.func2({{0xc00014ec20?, 0xc000366480?}, {0x9843a0?, 0xc000319290?}}) github.com/fosrl/olm/olm/olm.go:432 +0xd16 github.com/fosrl/olm/websocket.(*Client).readPumpWithDisconnectDetection(0xc000456200) github.com/fosrl/olm/websocket/client.go:655 +0x115 created by github.com/fosrl/olm/websocket.(*Client).establishConnection in goroutine 11 github.com/fosrl/olm/websocket/client.go:506 +0x70f ### Environment - OS Type & Version: (e.g., Ubuntu 22.04) - Pangolin Version: - Gerbil Version: - Traefik Version: - Newt Version: - Olm Version: (if applicable) ### To Reproduce run olm ### Expected Behavior finialize tunnel
Author
Owner

@oschwartz10612 commented on GitHub (Dec 29, 2025):

Failed to create DNS proxy: failed to pick DNS proxy IP from subnet:
invalid subnet: netip.ParsePrefix(""): no '/'

I think this is because you do not have a "utility subnet" defined in
your org.

Are you on the latest version of Pangolin? This could occur if you are
on a version less than 1.13.0. If so, could you turn on debug for olm
with --log-level debug and let me know the output?

<!-- gh-comment-id:3696793903 --> @oschwartz10612 commented on GitHub (Dec 29, 2025): > Failed to create DNS proxy: failed to pick DNS proxy IP from subnet: invalid subnet: netip.ParsePrefix(""): no '/' I think this is because you do not have a "utility subnet" defined in your org. Are you on the latest version of Pangolin? This could occur if you are on a version less than 1.13.0. If so, could you turn on debug for olm with --log-level debug and let me know the output?
Author
Owner

@outbackdingo commented on GitHub (Dec 29, 2025):

im running Community Edition https://github.com/fosrl/pangolin
v1.11.1 https://github.com/fosrl/pangolin/releases/tag/1.11.1

ive upgraded everything and recreated the machine resources and tunnels
come up now
however no machine can ping the other ? and i cannot seem to connect via ssh
to another machine

On Mon, Dec 29, 2025 at 10:16 PM Owen Schwartz @.***>
wrote:

oschwartz10612 left a comment (fosrl/olm#71)
https://github.com/fosrl/olm/issues/71#issuecomment-3696793903

Failed to create DNS proxy: failed to pick DNS proxy IP from subnet:
invalid subnet: netip.ParsePrefix(""): no '/'

I think this is because you do not have a "utility subnet" defined in
your org.

Are you on the latest version of Pangolin? This could occur if you are
on a version less than 1.13.0. If so, could you turn on debug for olm
with --log-level debug and let me know the output?


Reply to this email directly, view it on GitHub
https://github.com/fosrl/olm/issues/71#issuecomment-3696793903, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPRU4WHEW2CMDKLZ67YDSD4EFAWNAVCNFSM6AAAAACQGKM5G2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMOJWG44TGOJQGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:3697795801 --> @outbackdingo commented on GitHub (Dec 29, 2025): im running Community Edition <https://github.com/fosrl/pangolin> v1.11.1 <https://github.com/fosrl/pangolin/releases/tag/1.11.1> ive upgraded everything and recreated the machine resources and tunnels come up now however no machine can ping the other ? and i cannot seem to connect via ssh to another machine On Mon, Dec 29, 2025 at 10:16 PM Owen Schwartz ***@***.***> wrote: > *oschwartz10612* left a comment (fosrl/olm#71) > <https://github.com/fosrl/olm/issues/71#issuecomment-3696793903> > > Failed to create DNS proxy: failed to pick DNS proxy IP from subnet: > invalid subnet: netip.ParsePrefix(""): no '/' > > I think this is because you do not have a "utility subnet" defined in > your org. > > Are you on the latest version of Pangolin? This could occur if you are > on a version less than 1.13.0. If so, could you turn on debug for olm > with --log-level debug and let me know the output? > > — > Reply to this email directly, view it on GitHub > <https://github.com/fosrl/olm/issues/71#issuecomment-3696793903>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AMPRU4WHEW2CMDKLZ67YDSD4EFAWNAVCNFSM6AAAAACQGKM5G2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMOJWG44TGOJQGM> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@oschwartz10612 commented on GitHub (Dec 30, 2025):

Make sure you have the latest newt installed and the latest Pangolin. Ping support were added in these versions! :}

<!-- gh-comment-id:3698017227 --> @oschwartz10612 commented on GitHub (Dec 30, 2025): Make sure you have the latest newt installed and the latest Pangolin. Ping support were added in these versions! :}
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/olm#600