Notification tray icon missing when starting on boot, v1.6.10 on Win11
Pre-Submit Checklist:
- Check applicable sources for existing issues:
What happened:
When Portmaster is set to start on boot, the Portmaster tray icon is missing. The Portmaster service is running, and "Portmaster-start.exe" and "Portmaster-notifier_v0-3-6.exe" are set to start automatically on system boot.
The tray icon does appear once "Portmaster.exe" is launched manually, and it will persist in the tray as expected after that gui program is closed.
This did not happen on previous versions of Portmaster.
What did you expect to happen?:
The tray icon should be created when Portmaster is started automatically at boot.
How did you reproduce it?:
Install Portmaster v1.6.10, set it to start automatically at boot. Restart PC.
Debug Information:
Version 1.6.10
Portmaster 1.6.10
built with go1.22.3 (gc -cgo) for windows/amd64
at 2024-05-15T12:03:21Z
commit 867d0bca2d71d7247039cf8e6b129580c28be7d6 (clean)
at 2024-05-15T09:08:08Z
from [email protected]:Safing/portmaster.git
Licensed under the GPLv3 license.
Platform: Microsoft Windows 11 Enterprise 10.0.22631 Build 22631
System: Microsoft Windows 11 Enterprise windows (Standalone Workstation) 10.0.22631 Build 22631
Kernel: 10.0.22631 Build 22631 x86_64
No Module Error
Unexpected Logs
Status: Online
OnlineStatus: Online
CaptivePortal:
SPN: disabled (module disabled)
HomeHubID:
HomeHubName:
HomeHubIP:
Transport:
---
Client: true
PublicHub: false
HubHasIPv4: false
HubHasIPv6: false
Resolvers: 2/2
127.0.0.1 (dns://127.0.0.1:53000#config)
dns://127.0.0.1:53000#config
Failing: false
192.168.194.221 (dns://192.168.194.221:53#system)
dns://192.168.194.221:53#system
Failing: false
Config: 13
core/expertiseLevel: developer
core/listenAddress: 127.0.0.1:817
dns/nameserverRetryRate: 10
dns/nameservers: [redacted]
dns/noAssignedNameservers: true
dns/useStaleCache: true
filter/blockInbound: false
filter/customListFile:
filter/endpoints: [redacted]
filter/lists: [DM-AD 17-ADS ALYTC TELEM 17-MAL AC-FE IPS DECEP OISD CB-MW WSP UNBREAK]
filter/preventBypassing: true
filter/serviceEndpoints: [redacted]
spn/enable: false
Updates: stable (13/33)
Active:
all/intel/geoip/geoipv4.mmdb.gz: 20231201.0.1
all/intel/geoip/geoipv6.mmdb.gz: 20231201.0.1
all/intel/lists/base.dsdl: 20240601.0.8
all/intel/lists/index.dsd: 2023.6.13
all/intel/lists/intermediate.dsdl: 20240526.0.0
all/intel/lists/urgent.dsdl: 20240531.22.0
all/intel/portmaster/news.yaml: 20240604.15.51
all/intel/portmaster/notifications.yaml: 20231218.17.37
all/ui/modules/assets.zip: 0.3.1
all/ui/modules/portmaster.zip: 0.8.6
windows_amd64/core/portmaster-core.exe: 1.6.10
windows_amd64/kext/portmaster-kext.sys: 1.1.2
windows_amd64/start/portmaster-start.exe: 1.6.0
Selected:
all/dashboards/hubs.json: 0.0.2
all/intel/geoip/geoipv4-mini.mmdb.gz: 20231201.0.1
all/intel/geoip/geoipv4.mmdb.gz: 20231201.0.1
all/intel/geoip/geoipv4.mmdb: 20231201.0.1
all/intel/geoip/geoipv6-mini.mmdb.gz: 20231201.0.1
all/intel/geoip/geoipv6.mmdb.gz: 20231201.0.1
all/intel/geoip/geoipv6.mmdb: 20231201.0.1
all/intel/lists/base.dsdl: 20240601.0.8
all/intel/lists/index.dsd: 2023.6.13
all/intel/lists/intermediate.dsdl: 20240526.0.0
all/intel/lists/urgent.dsdl: 20240531.22.0
all/intel/portmaster/news.yaml: 20240604.15.51
all/intel/portmaster/notifications.yaml: 20231218.17.37
all/intel/spn/main-intel.yaml: 20240213.17.8
all/ui/modules/assets.zip: 0.3.1
all/ui/modules/base.zip: 0.2.11
all/ui/modules/console.zip: 0.1.11
all/ui/modules/monitor.zip: 0.2.4
all/ui/modules/portmaster.zip: 0.8.6
all/ui/modules/profilemgr.zip: 0.1.7
all/ui/modules/settings.zip: 0.1.8
windows_amd64/app/portmaster-app.zip: 0.2.8
windows_amd64/core/portmaster-core.exe: 1.6.10
windows_amd64/hub/spn-hub.exe: 0.7.7
windows_amd64/jess/jess.exe: 0.3.3
windows_amd64/kext/portmaster-kext.dll: 1.0.14
windows_amd64/kext/portmaster-kext.pdb: 1.1.2
windows_amd64/kext/portmaster-kext.sys: 1.1.2
windows_amd64/notifier/portmaster-notifier.exe: 0.3.6
windows_amd64/notifier/portmaster-snoretoast.exe: 0.6.0
windows_amd64/notifier/portmaster-wintoast.dll: 0.1.4
windows_amd64/packages/portmaster-installer.exe: 1.0.13
windows_amd64/start/portmaster-start.exe: 1.6.0
Goroutine Stack
goroutine profile: total 105
49 @ 0x332b2e 0x344645 0x77e465 0x77ea53 0x3654c1
# 0x77e464 github.com/safing/portbase/api.(*DatabaseAPI).processSub+0x224 /.go-mod-cache/github.com/safing/[email protected]/api/database.go:449
# 0x77ea52 github.com/safing/portbase/api.(*DatabaseAPI).handleQsub+0xd2 /.go-mod-cache/github.com/safing/[email protected]/api/database.go:512
5 @ 0x332b2e 0x329e57 0x35efa5 0x3e1b47 0x3e3026 0x3e3cd1 0x449865 0x460425 0x650b0b 0x48afa3 0x48b0d3 0x656869 0x3654c1
# 0x35efa4 internal/poll.runtime_pollWait+0x84 /usr/local/go/src/runtime/netpoll.go:345
# 0x3e1b46 internal/poll.(*pollDesc).wait+0x26 /usr/local/go/src/internal/poll/fd_poll_runtime.go:84
# 0x3e3025 internal/poll.execIO+0xe5 /usr/local/go/src/internal/poll/fd_windows.go:175
# 0x3e3cd0 internal/poll.(*FD).Read+0x2b0 /usr/local/go/src/internal/poll/fd_windows.go:436
# 0x449864 net.(*netFD).Read+0x24 /usr/local/go/src/net/fd_posix.go:55
# 0x460424 net.(*conn).Read+0x44 /usr/local/go/src/net/net.go:179
# 0x650b0a net/http.(*connReader).Read+0x14a /usr/local/go/src/net/http/server.go:789
# 0x48afa2 bufio.(*Reader).fill+0x102 /usr/local/go/src/bufio/bufio.go:110
# 0x48b0d2 bufio.(*Reader).Peek+0x52 /usr/local/go/src/bufio/bufio.go:148
# 0x656868 net/http.(*conn).serve+0x748 /usr/local/go/src/net/http/server.go:2074
5 @ 0x332b2e 0x344645 0xb03cba 0x739768 0x738f4c 0x738d5b 0x3654c1
# 0xb03cb9 github.com/safing/portmaster/service/network.(*Connection).packetHandlerWorker+0xf9 /go-workdir/service/network/connection.go:915
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x738f4b github.com/safing/portbase/modules.(*Module).RunWorker+0x6b /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:52
# 0x738d5a github.com/safing/portbase/modules.(*Module).StartWorker.func1+0x3a /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:27
4 @ 0x332b2e 0x344645 0x77e465 0x77e0a8 0x3654c1
# 0x77e464 github.com/safing/portbase/api.(*DatabaseAPI).processSub+0x224 /.go-mod-cache/github.com/safing/[email protected]/api/database.go:449
# 0x77e0a7 github.com/safing/portbase/api.(*DatabaseAPI).handleSub+0x87 /.go-mod-cache/github.com/safing/[email protected]/api/database.go:421
2 @ 0x332b2e 0x329e57 0x35efa5 0x3e1b47 0x3e3026 0x3e3cd1 0x449865 0x460425 0x48afa3 0x48b0d3 0x765946 0x767bcd 0x768c1e 0x769313 0x77bc0c 0x739768 0x738f4c 0x738d5b 0x3654c1
# 0x35efa4 internal/poll.runtime_pollWait+0x84 /usr/local/go/src/runtime/netpoll.go:345
# 0x3e1b46 internal/poll.(*pollDesc).wait+0x26 /usr/local/go/src/internal/poll/fd_poll_runtime.go:84
# 0x3e3025 internal/poll.execIO+0xe5 /usr/local/go/src/internal/poll/fd_windows.go:175
# 0x3e3cd0 internal/poll.(*FD).Read+0x2b0 /usr/local/go/src/internal/poll/fd_windows.go:436
# 0x449864 net.(*netFD).Read+0x24 /usr/local/go/src/net/fd_posix.go:55
# 0x460424 net.(*conn).Read+0x44 /usr/local/go/src/net/net.go:179
# 0x48afa2 bufio.(*Reader).fill+0x102 /usr/local/go/src/bufio/bufio.go:110
# 0x48b0d2 bufio.(*Reader).Peek+0x52 /usr/local/go/src/bufio/bufio.go:148
# 0x765945 github.com/gorilla/websocket.(*Conn).read+0x25 /.go-mod-cache/github.com/gorilla/[email protected]/conn.go:378
# 0x767bcc github.com/gorilla/websocket.(*Conn).advanceFrame+0x6c /.go-mod-cache/github.com/gorilla/[email protected]/conn.go:824
# 0x768c1d github.com/gorilla/websocket.(*Conn).NextReader+0x13d /.go-mod-cache/github.com/gorilla/[email protected]/conn.go:1034
# 0x769312 github.com/gorilla/websocket.(*Conn).ReadMessage+0x12 /.go-mod-cache/github.com/gorilla/[email protected]/conn.go:1120
# 0x77bc0b github.com/safing/portbase/api.(*DatabaseWebsocketAPI).handler+0x6b /.go-mod-cache/github.com/safing/[email protected]/api/database.go:137
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x738f4b github.com/safing/portbase/modules.(*Module).RunWorker+0x6b /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:52
# 0x738d5a github.com/safing/portbase/modules.(*Module).StartWorker.func1+0x3a /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:27
2 @ 0x332b2e 0x344645 0x72975e 0x739768 0x739330 0x3654c1
# 0x72975d github.com/safing/portbase/database.(*Interface).DelayedCacheWriter+0x15d /.go-mod-cache/github.com/safing/[email protected]/database/interface_cache.go:34
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
2 @ 0x332b2e 0x344645 0x761fd6 0x739768 0x739330 0x3654c1
# 0x761fd5 github.com/safing/portbase/rng.(*Feeder).run+0x155 /.go-mod-cache/github.com/safing/[email protected]/rng/entropy.go:117
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
2 @ 0x332b2e 0x344645 0x77be05 0x739768 0x738f4c 0x738d5b 0x3654c1
# 0x77be04 github.com/safing/portbase/api.(*DatabaseWebsocketAPI).writer+0x124 /.go-mod-cache/github.com/safing/[email protected]/api/database.go:155
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x738f4b github.com/safing/portbase/modules.(*Module).RunWorker+0x6b /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:52
# 0x738d5a github.com/safing/portbase/modules.(*Module).StartWorker.func1+0x3a /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:27
1 @ 0x2f8d5e 0x3621c7 0x361e6a 0x3c104b 0x3ba74d 0x3ba740 0x3e3be5 0x3eff72 0x3eff6a 0x48df1e 0x7a2045 0x3654c1
# 0x3621c6 syscall.SyscallN+0x106 /usr/local/go/src/runtime/syscall_windows.go:544
# 0x361e69 syscall.Syscall6+0x49 /usr/local/go/src/runtime/syscall_windows.go:488
# 0x3c104a syscall.readFile+0x8a /usr/local/go/src/syscall/zsyscall_windows.go:1021
# 0x3ba74c syscall.ReadFile+0x2c /usr/local/go/src/syscall/syscall_windows.go:442
# 0x3ba73f syscall.Read+0x1f /usr/local/go/src/syscall/syscall_windows.go:421
# 0x3e3be4 internal/poll.(*FD).Read+0x1c4 /usr/local/go/src/internal/poll/fd_windows.go:422
# 0x3eff71 os.(*File).read+0x51 /usr/local/go/src/os/file_posix.go:29
# 0x3eff69 os.(*File).Read+0x49 /usr/local/go/src/os/file.go:118
# 0x48df1d bufio.(*Scanner).Scan+0x81d /usr/local/go/src/bufio/scan.go:219
# 0x7a2044 github.com/safing/portbase/run.inputSignals+0x84 /.go-mod-cache/github.com/safing/[email protected]/run/main.go:126
1 @ 0x2f8d5e 0x3621c7 0x361ef2 0x47f008 0xdc06bb 0xdc0785 0xdbdefd 0xdbd087 0xdc1525 0x739768 0x739330 0x3654c1
# 0x3621c6 syscall.SyscallN+0x106 /usr/local/go/src/runtime/syscall_windows.go:544
# 0x361ef1 syscall.Syscall9+0x71 /usr/local/go/src/runtime/syscall_windows.go:494
# 0x47f007 golang.org/x/sys/windows.DeviceIoControl+0xc7 /.go-mod-cache/golang.org/x/[email protected]/windows/zsyscall_windows.go:1869
# 0xdc06ba github.com/safing/portmaster/service/firewall/interception/windowskext.deviceIOControlAsync+0x9a /go-workdir/service/firewall/interception/windowskext/syscall.go:48
# 0xdc0784 github.com/safing/portmaster/service/firewall/interception/windowskext.deviceIOControl+0x24 /go-workdir/service/firewall/interception/windowskext/syscall.go:63
# 0xdbdefc github.com/safing/portmaster/service/firewall/interception/windowskext.RecvVerdictRequest+0x11c /go-workdir/service/firewall/interception/windowskext/kext.go:138
# 0xdbd086 github.com/safing/portmaster/service/firewall/interception/windowskext.Handler+0x26 /go-workdir/service/firewall/interception/windowskext/handler.go:102
# 0xdc1524 github.com/safing/portmaster/service/firewall/interception.startInterception.func1+0x24 /go-workdir/service/firewall/interception/interception_windows.go:33
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x300c11 0x360dc9 0x7a1993 0x3654c1
# 0x360dc8 os/signal.signal_recv+0x28 /usr/local/go/src/runtime/sigqueue.go:152
# 0x7a1992 os/signal.loop+0x12 /usr/local/go/src/os/signal/signal_unix.go:23
1 @ 0x3265f1 0x35ebfd 0x740191 0x73ffc5 0x73cdeb 0x74ad9b 0xdb9805 0x781aba 0x781145 0x786a8e 0x7854c5 0x739768 0x738f4c 0x785467 0x65b34e 0x656708 0x3654c1
# 0x35ebfc runtime/pprof.runtime_goroutineProfileWithLabels+0x1c /usr/local/go/src/runtime/mprof.go:1079
# 0x740190 runtime/pprof.writeRuntimeProfile+0xb0 /usr/local/go/src/runtime/pprof/pprof.go:774
# 0x73ffc4 runtime/pprof.writeGoroutine+0x44 /usr/local/go/src/runtime/pprof/pprof.go:734
# 0x73cdea runtime/pprof.(*Profile).WriteTo+0x14a /usr/local/go/src/runtime/pprof/pprof.go:369
# 0x74ad9a github.com/safing/portbase/utils/debug.(*Info).AddGoroutineStack+0x5a /.go-mod-cache/github.com/safing/[email protected]/utils/debug/debug.go:97
# 0xdb9804 github.com/safing/portmaster/service/core.debugInfo+0x124 /go-workdir/service/core/api.go:161
# 0x781ab9 github.com/safing/portbase/api.(*Endpoint).ServeHTTP+0x8f9 /.go-mod-cache/github.com/safing/[email protected]/api/endpoints.go:458
# 0x781144 github.com/safing/portbase/api.(*endpointHandler).ServeHTTP+0x44 /.go-mod-cache/github.com/safing/[email protected]/api/endpoints.go:371
# 0x786a8d github.com/safing/portbase/api.(*mainHandler).handle+0x15ad /.go-mod-cache/github.com/safing/[email protected]/api/router.go:309
# 0x7854c4 github.com/safing/portbase/api.(*mainHandler).ServeHTTP.func1+0x24 /.go-mod-cache/github.com/safing/[email protected]/api/router.go:110
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x738f4b github.com/safing/portbase/modules.(*Module).RunWorker+0x6b /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:52
# 0x785466 github.com/safing/portbase/api.(*mainHandler).ServeHTTP+0x66 /.go-mod-cache/github.com/safing/[email protected]/api/router.go:109
# 0x65b34d net/http.serverHandler.ServeHTTP+0x8d /usr/local/go/src/net/http/server.go:3137
# 0x656707 net/http.(*conn).serve+0x5e7 /usr/local/go/src/net/http/server.go:2039
1 @ 0x332b2e 0x2fa9ed 0x2fa5f2 0xa33fbd 0x739768 0x739330 0x3654c1
# 0xa33fbc github.com/safing/portmaster/service/resolver.listenToMDNS+0x61c /go-workdir/service/resolver/resolver-mdns.go:146
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x329e57 0x35efa5 0x3e1b47 0x3e3026 0x3e3cd1 0x449865 0x460425 0x650677 0x3654c1
# 0x35efa4 internal/poll.runtime_pollWait+0x84 /usr/local/go/src/runtime/netpoll.go:345
# 0x3e1b46 internal/poll.(*pollDesc).wait+0x26 /usr/local/go/src/internal/poll/fd_poll_runtime.go:84
# 0x3e3025 internal/poll.execIO+0xe5 /usr/local/go/src/internal/poll/fd_windows.go:175
# 0x3e3cd0 internal/poll.(*FD).Read+0x2b0 /usr/local/go/src/internal/poll/fd_windows.go:436
# 0x449864 net.(*netFD).Read+0x24 /usr/local/go/src/net/fd_posix.go:55
# 0x460424 net.(*conn).Read+0x44 /usr/local/go/src/net/net.go:179
# 0x650676 net/http.(*connReader).backgroundRead+0x36 /usr/local/go/src/net/http/server.go:681
1 @ 0x332b2e 0x329e57 0x35efa5 0x3e1b47 0x3e3026 0x3e3cd1 0x449865 0x460425 0xa35d77 0xa34108 0x739768 0x739330 0x3654c1
# 0x35efa4 internal/poll.runtime_pollWait+0x84 /usr/local/go/src/runtime/netpoll.go:345
# 0x3e1b46 internal/poll.(*pollDesc).wait+0x26 /usr/local/go/src/internal/poll/fd_poll_runtime.go:84
# 0x3e3025 internal/poll.execIO+0xe5 /usr/local/go/src/internal/poll/fd_windows.go:175
# 0x3e3cd0 internal/poll.(*FD).Read+0x2b0 /usr/local/go/src/internal/poll/fd_windows.go:436
# 0x449864 net.(*netFD).Read+0x24 /usr/local/go/src/net/fd_posix.go:55
# 0x460424 net.(*conn).Read+0x44 /usr/local/go/src/net/net.go:179
# 0xa35d76 github.com/safing/portmaster/service/resolver.listenForDNSPackets+0x76 /go-workdir/service/resolver/resolver-mdns.go:342
# 0xa34107 github.com/safing/portmaster/service/resolver.listenToMDNS.func7+0x27 /go-workdir/service/resolver/resolver-mdns.go:130
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x329e57 0x35efa5 0x3e1b47 0x3e3026 0x3e3cd1 0x449865 0x460425 0xa35d77 0xa341c8 0x739768 0x739330 0x3654c1
# 0x35efa4 internal/poll.runtime_pollWait+0x84 /usr/local/go/src/runtime/netpoll.go:345
# 0x3e1b46 internal/poll.(*pollDesc).wait+0x26 /usr/local/go/src/internal/poll/fd_poll_runtime.go:84
# 0x3e3025 internal/poll.execIO+0xe5 /usr/local/go/src/internal/poll/fd_windows.go:175
# 0x3e3cd0 internal/poll.(*FD).Read+0x2b0 /usr/local/go/src/internal/poll/fd_windows.go:436
# 0x449864 net.(*netFD).Read+0x24 /usr/local/go/src/net/fd_posix.go:55
# 0x460424 net.(*conn).Read+0x44 /usr/local/go/src/net/net.go:179
# 0xa35d76 github.com/safing/portmaster/service/resolver.listenForDNSPackets+0x76 /go-workdir/service/resolver/resolver-mdns.go:342
# 0xa341c7 github.com/safing/portmaster/service/resolver.listenToMDNS.func3+0x27 /go-workdir/service/resolver/resolver-mdns.go:103
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x329e57 0x35efa5 0x3e1b47 0x3e3026 0x3e3cd1 0x449865 0x460425 0xa35d77 0xa34228 0x739768 0x739330 0x3654c1
# 0x35efa4 internal/poll.runtime_pollWait+0x84 /usr/local/go/src/runtime/netpoll.go:345
# 0x3e1b46 internal/poll.(*pollDesc).wait+0x26 /usr/local/go/src/internal/poll/fd_poll_runtime.go:84
# 0x3e3025 internal/poll.execIO+0xe5 /usr/local/go/src/internal/poll/fd_windows.go:175
# 0x3e3cd0 internal/poll.(*FD).Read+0x2b0 /usr/local/go/src/internal/poll/fd_windows.go:436
# 0x449864 net.(*netFD).Read+0x24 /usr/local/go/src/net/fd_posix.go:55
# 0x460424 net.(*conn).Read+0x44 /usr/local/go/src/net/net.go:179
# 0xa35d76 github.com/safing/portmaster/service/resolver.listenForDNSPackets+0x76 /go-workdir/service/resolver/resolver-mdns.go:342
# 0xa34227 github.com/safing/portmaster/service/resolver.listenToMDNS.func1+0x27 /go-workdir/service/resolver/resolver-mdns.go:90
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x329e57 0x35efa5 0x3e1b47 0x3e3026 0x3e5165 0x449b65 0x46c6f6 0x46a6b0 0x46a84a 0x90959c 0x8f78e5 0x8f4b33 0x8f65e2 0x8f5185 0xdd6ec5 0x739768 0x739330 0x3654c1
# 0x35efa4 internal/poll.runtime_pollWait+0x84 /usr/local/go/src/runtime/netpoll.go:345
# 0x3e1b46 internal/poll.(*pollDesc).wait+0x26 /usr/local/go/src/internal/poll/fd_poll_runtime.go:84
# 0x3e3025 internal/poll.execIO+0xe5 /usr/local/go/src/internal/poll/fd_windows.go:175
# 0x3e5164 internal/poll.(*FD).ReadFromInet6+0x144 /usr/local/go/src/internal/poll/fd_windows.go:637
# 0x449b64 net.(*netFD).readFromInet6+0x24 /usr/local/go/src/net/fd_posix.go:72
# 0x46c6f5 net.(*UDPConn).readFrom+0x75 /usr/local/go/src/net/udpsock_posix.go:59
# 0x46a6af net.(*UDPConn).readFromUDP+0x2f /usr/local/go/src/net/udpsock.go:149
# 0x46a849 net.(*UDPConn).ReadFrom+0x49 /usr/local/go/src/net/udpsock.go:158
# 0x90959b github.com/miekg/dns.ReadFromSessionUDP+0x1b /.go-mod-cache/github.com/miekg/[email protected]/udp_windows.go:22
# 0x8f78e4 github.com/miekg/dns.(*Server).readUDP+0x104 /.go-mod-cache/github.com/miekg/[email protected]/server.go:699
# 0x8f4b32 github.com/miekg/dns.defaultReader.ReadUDP+0x12 /.go-mod-cache/github.com/miekg/[email protected]/server.go:174
# 0x8f65e1 github.com/miekg/dns.(*Server).serveUDP+0x261 /.go-mod-cache/github.com/miekg/[email protected]/server.go:517
# 0x8f5184 github.com/miekg/dns.(*Server).ListenAndServe+0x524 /.go-mod-cache/github.com/miekg/[email protected]/server.go:346
# 0xdd6ec4 github.com/safing/portmaster/service/nameserver.start.startListener.func4+0x184 /go-workdir/service/nameserver/module.go:147
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x329e57 0x35efa5 0x3e1b47 0x3e3026 0x3e76e7 0x3e7a1c 0x44b994 0x469ade 0x4688d0 0x65b77e 0x65b411 0x78713a 0x739768 0x738f4c 0x785397 0x739768 0x739330 0x3654c1
# 0x35efa4 internal/poll.runtime_pollWait+0x84 /usr/local/go/src/runtime/netpoll.go:345
# 0x3e1b46 internal/poll.(*pollDesc).wait+0x26 /usr/local/go/src/internal/poll/fd_poll_runtime.go:84
# 0x3e3025 internal/poll.execIO+0xe5 /usr/local/go/src/internal/poll/fd_windows.go:175
# 0x3e76e6 internal/poll.(*FD).acceptOne+0x66 /usr/local/go/src/internal/poll/fd_windows.go:944
# 0x3e7a1b internal/poll.(*FD).Accept+0x1bb /usr/local/go/src/internal/poll/fd_windows.go:978
# 0x44b993 net.(*netFD).accept+0x53 /usr/local/go/src/net/fd_windows.go:178
# 0x469add net.(*TCPListener).accept+0x1d /usr/local/go/src/net/tcpsock_posix.go:159
# 0x4688cf net.(*TCPListener).Accept+0x2f /usr/local/go/src/net/tcpsock.go:327
# 0x65b77d net/http.(*Server).Serve+0x33d /usr/local/go/src/net/http/server.go:3255
# 0x65b410 net/http.(*Server).ListenAndServe+0x70 /usr/local/go/src/net/http/server.go:3184
# 0x787139 github.com/safing/portbase/api.serverManager.func1+0x19 /.go-mod-cache/github.com/safing/[email protected]/api/router.go:92
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x738f4b github.com/safing/portbase/modules.(*Module).RunWorker+0x6b /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:52
# 0x785396 github.com/safing/portbase/api.serverManager+0xd6 /.go-mod-cache/github.com/safing/[email protected]/api/router.go:91
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0x4fb1b5 0x4fb03a 0x3654c1
# 0x4fb1b4 github.com/safing/portbase/log.writer+0xd4 /.go-mod-cache/github.com/safing/[email protected]/log/output.go:154
# 0x4fb039 github.com/safing/portbase/log.writerManager+0x79 /.go-mod-cache/github.com/safing/[email protected]/log/output.go:113
1 @ 0x332b2e 0x344645 0x730e85 0x3654c1
# 0x730e84 github.com/safing/portbase/modules.microTaskScheduler+0x2a4 /.go-mod-cache/github.com/safing/[email protected]/modules/microtasks.go:292
1 @ 0x332b2e 0x344645 0x738777 0x3654c1
# 0x738776 github.com/safing/portbase/modules.taskQueueHandler+0x76 /.go-mod-cache/github.com/safing/[email protected]/modules/tasks.go:468
1 @ 0x332b2e 0x344645 0x738adf 0x3654c1
# 0x738ade github.com/safing/portbase/modules.taskScheduleHandler+0x11e /.go-mod-cache/github.com/safing/[email protected]/modules/tasks.go:528
1 @ 0x332b2e 0x344645 0x762369 0x739768 0x739330 0x3654c1
# 0x762368 github.com/safing/portbase/rng.fullFeeder+0x88 /.go-mod-cache/github.com/safing/[email protected]/rng/fullfeed.go:24
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0x762cee 0x739768 0x739330 0x3654c1
# 0x762ced github.com/safing/portbase/rng.osFeeder+0x16d /.go-mod-cache/github.com/safing/[email protected]/rng/osfeeder.go:26
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0x7634bb 0x739768 0x739330 0x3654c1
# 0x7634ba github.com/safing/portbase/rng.tickFeeder+0x21a /.go-mod-cache/github.com/safing/[email protected]/rng/tickfeeder.go:58
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0x7a1d45 0xdde019 0x33270b 0x3654c1
# 0x7a1d44 github.com/safing/portbase/run.Run+0x264 /.go-mod-cache/github.com/safing/[email protected]/run/main.go:76
# 0xdde018 main.main+0x118 /go-workdir/cmds/portmaster-core/main.go:42
# 0x33270a runtime.main+0x28a /usr/local/go/src/runtime/proc.go:271
1 @ 0x332b2e 0x344645 0x824c31 0x739768 0x739330 0x3654c1
# 0x824c30 github.com/safing/portbase/notifications.cleaner+0xf0 /.go-mod-cache/github.com/safing/[email protected]/notifications/cleaner.go:13
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0x94285a 0x739768 0x739330 0x3654c1
# 0x942859 github.com/safing/portmaster/service/intel/geoip.(*updateWorker).run+0x179 /go-workdir/service/intel/geoip/database.go:173
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0x94910e 0x739768 0x739330 0x3654c1
# 0x94910d github.com/safing/portmaster/service/netenv.monitorNetworkChanges+0xed /go-workdir/service/netenv/network-change.go:52
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0x94a4d9 0x739768 0x739330 0x3654c1
# 0x94a4d8 github.com/safing/portmaster/service/netenv.monitorOnlineStatus+0xd8 /go-workdir/service/netenv/online-status.go:363
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0x9fa35e 0x739768 0x739330 0x3654c1
# 0x9fa35d github.com/safing/portmaster/service/profile.cleanActiveProfiles+0x9d /go-workdir/service/profile/active.go:58
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0xa1324a 0x739768 0x739330 0x3654c1
# 0xa13249 github.com/safing/portmaster/service/profile.start.startProfileUpdateChecker.func1+0x149 /go-workdir/service/profile/database.go:57
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0xa34317 0xa340a5 0x739768 0x739330 0x3654c1
# 0xa34316 github.com/safing/portmaster/service/resolver.handleMDNSMessages+0xb6 /go-workdir/service/resolver/resolver-mdns.go:152
# 0xa340a4 github.com/safing/portmaster/service/resolver.listenToMDNS.func9+0x24 /go-workdir/service/resolver/resolver-mdns.go:142
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0xaffb9e 0x739768 0x739330 0x3654c1
# 0xaffb9d github.com/safing/portmaster/service/network.connectionCleaner+0xbd /go-workdir/service/network/clean.go:38
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0xb07296 0x739768 0x739330 0x3654c1
# 0xb07295 github.com/safing/portmaster/service/network.openDNSRequestWriter+0xf5 /go-workdir/service/network/dns.go:181
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0xd6b8b1 0xd6f5b2 0x739768 0x739330 0x3654c1
# 0xd6b8b0 github.com/safing/portmaster/service/netquery.(*Manager).HandleFeed+0xb0 /go-workdir/service/netquery/manager.go:101
# 0xd6f5b1 github.com/safing/portmaster/service/netquery.(*module).start.func2+0x31 /go-workdir/service/netquery/module_api.go:240
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0xd6f407 0x739768 0x739330 0x3654c1
# 0xd6f406 github.com/safing/portmaster/service/netquery.(*module).start.func3+0xa6 /go-workdir/service/netquery/module_api.go:246
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0xd6f7fe 0x739768 0x739330 0x3654c1
# 0xd6f7fd github.com/safing/portmaster/service/netquery.(*module).start.func1+0x21d /go-workdir/service/netquery/module_api.go:219
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0xdbcb07 0xdc2ba9 0x739768 0x739330 0x3654c1
# 0xdbcb06 github.com/safing/portmaster/service/firewall/interception/windowskext.BandwidthStatsWorker+0xe6 /go-workdir/service/firewall/interception/windowskext/bandwidth_stats.go:39
# 0xdc2ba8 github.com/safing/portmaster/service/firewall/interception.startInterception.func2+0x28 /go-workdir/service/firewall/interception/interception_windows.go:39
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0xdd0192 0x739768 0x739330 0x3654c1
# 0xdd0191 github.com/safing/portmaster/service/firewall.packetHandler+0x91 /go-workdir/service/firewall/packet_handler.go:725
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
1 @ 0x332b2e 0x344645 0xdd0290 0x739768 0x739330 0x3654c1
# 0xdd028f github.com/safing/portmaster/service/firewall.bandwidthUpdateHandler+0x8f /go-workdir/service/firewall/packet_handler.go:740
# 0x739767 github.com/safing/portbase/modules.(*Module).runWorker+0x87 /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:133
# 0x73932f github.com/safing/portbase/modules.(*Module).runServiceWorker+0x12f /.go-mod-cache/github.com/safing/[email protected]/modules/worker.go:84
thank for reporting, you are correct, this should not happen.
we will look into this.
This issue has been automatically marked as inactive because it has not had activity in the past two months.
If no further activity occurs, this issue will be automatically closed in one week in order to increase our focus on active topics.
thank for reporting, you are correct, this should not happen.
we will look into to is
Is there any workaround I can use to create the tray icon? I've tried manually running portmaster-notifier.exe, which seems like it would be related, but that doesn't produce any visible changes.
This issue has been automatically marked as inactive because it has not had activity in the past two months.
If no further activity occurs, this issue will be automatically closed in one week in order to increase our focus on active topics.
Devs, would you like to make a not stale issue tag so the bot won't keep trying to close issues that are low-priority but still valid?
Also, an update to this issue.
The tray icon does appear once "Portmaster.exe" is launched manually, and it will persist in the tray as expected after that gui program is closed.
I believe I'm still on the same version of portmaster, v1.6.10, but I notice occasionally now that the tray icon is absent even when the gui program is open. I've tried relaunching portmaster-start.exe but it doesn't help. Is there anything I can do to manually refresh/recreate the tray icon if it's missing?
This issue has been automatically marked as inactive because it has not had activity in the past two months.
If no further activity occurs, this issue will be automatically closed in one week in order to increase our focus on active topics.
When I manually ran "C:\ProgramData\Safing\Portmaster\updates\windows_amd64\notifier\portmaster-notifier_v0-3-6.exe" from the Win+R run menu, I got a console window with this output, in case it helps:
250104 14:13:37.404 r/registry:112 > WARN 001 updates: failed to remove tmp dir: remove C:\ProgramData\Safing\Portmaster\updates\tmp: Access is denied.
250104 14:13:37.418 ent/client:072 > INFO 003 client: connecting to Portmaster at 127.0.0.1:817
250104 14:13:37.485 ent/client:099 > INFO 004 client: went online
250104 14:13:37.486 tifier/spn:069 > INFO 005 config: received update to SPN module: enabled=false
250104 14:13:37.487 tifier/spn:087 > INFO 006 config: received update to SPN status: &{Status:disabled HomeHubID: HomeHubName: ConnectedIP: ConnectedTransport: ConnectedSince:<nil>}
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x1 addr=0x20 pc=0xa29b58]
goroutine 16 [running]:
fyne.io/systray.(*winTray).setIcon(0xe556e0, {0xc00001bb60?, 0x1ba14?})
/home/user/go/pkg/mod/fyne.io/[email protected]/systray_windows.go:238 +0xb8
fyne.io/systray.SetIcon({0xde63a0?, 0x0?, 0xc0001d62a0?})
/home/user/go/pkg/mod/fyne.io/[email protected]/systray_windows.go:901 +0xbe
main.onReady()
/home/user/git/safing/portmaster-ui/notifier/tray.go:61 +0x65
fyne.io/systray.Register.func2()
/home/user/go/pkg/mod/fyne.io/[email protected]/systray.go:98 +0x2f
created by fyne.io/systray.Register in goroutine 10
/home/user/go/pkg/mod/fyne.io/[email protected]/systray.go:96 +0xb1
[process exited with code 2 (0x00000002)]
You can now close this terminal with Ctrl+D, or press Enter to restart.
UPDATE:
I also noticed that if I kill portmaster-start.exe, and then run "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Portmaster\Portmaster Notifier.lnk", Portmaster starts running correctly with the tray icon. I'm going to try to set up a scheduled task to run on startup with this to see if I can make it start up consistently.
FOR /L %%i IN (1,1,3) DO ( taskkill /F /IM portmaster-start.exe /T 2>nul taskkill /F /IM portmaster.exe /T 2>nul taskkill /F /IM portmaster-notifier.exe /T 2>nul )
:: Pause timeout /t 3 /nobreak
:: Verify if no processes running tasklist | find /i "portmaster" >nul if not errorlevel 1 ( echo Persistent processes found, trying again... taskkill /F /IM portmaster* /T 2>nul timeout /t 2 /nobreak )
echo Starting PortmasterCore Process... net start PortmasterCore
timeout /t 2 /nobreak
echo Starting Portmaster... cmd /c start /min "" "C:\ProgramData\Safing\Portmaster\portmaster-start.exe"
timeout /t 2 /nobreak
echo Starting Portmaster Notifier... cmd /c start /min "" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Portmaster\Portmaster Notifier.lnk"
echo Script done! timeout /t 4 exit /b
Just put this .bat on startup.
This issue has been automatically marked as inactive because it has not had activity in the past two months.
If no further activity occurs, this issue will be automatically closed in one week in order to increase our focus on active topics.
This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.
If the issue has not been resolved, you can find more information in our Wiki or continue the conversation on our Discord.