portmaster icon indicating copy to clipboard operation
portmaster copied to clipboard

Portmaster is not responding - UI crash

Open Rubber-Duckie opened this issue 1 year ago • 10 comments

What happened

While using the applications screen, the app will hang and has to be force killed and restarted. image

Also the notifier app has disappeared from the system tray. Attempts to start it via click Portmaster Notifier icon in start do not restore it.

Windows Event Log

Event ID: 1002
The program portmaster-app_v0-2-8.exe version 0.2.8.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel. 

How did you reproduce it?

Click apps and profiles on the main UI Navigate in and out of application profiles to view them App will keep freezing after several edits or views

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 Pro 10.0.22631 Build 22631
System: Microsoft Windows 11 Pro windows (Standalone Workstation) 10.0.22631 Build 22631
Kernel: 10.0.22631 Build 22631 x86_64

No Module Error
Unexpected Logs
240527 20:29:19.996 v/location:303 > WARN 494 netenv: failed to get IPv4 device location from traceroute: did not receive any actionable ICMP reply
240527 20:38:00.230 er/resolve:460 > WARN 496 resolver: query to dot://dns.quad9.net:853#config failed: query failed
240527 20:38:00.230 er/resolve:316 > WARN 498 resolver: async query for aka.ms.A failed: all 1 query-compliant resolvers failed, last error: query failed
240527 21:30:08.428 er/resolve:460 > WARN 500 resolver: query to dot://dns.quad9.net:853#config failed: query failed
240527 21:30:08.429 nameserver:295 > WARN 502 nameserver: failed to resolve nav.smartscreen.microsoft.com.A: all 1 query-compliant resolvers failed, last error: query failed
240527 21:30:09.927 er/resolve:460 > WARN 504 resolver: query to dot://dns.quad9.net:853#config failed: query failed
240527 21:30:09.927 nameserver:295 > WARN 506 nameserver: failed to resolve www.flickr.com.A: all 1 query-compliant resolvers failed, last error: query failed
240527 22:00:21.602 i/database:190 > WARN 508 api: websocket connection error with 127.0.0.1:61126: read tcp 127.0.0.1:817->127.0.0.1:61126: wsarecv: An existing connection was forcibly closed by the remote host.
240527 22:05:45.165 le/profile:525 > WARN 510 profile: failed to get binary icon/name for C:\Windows\System32\lsass.exe: no icon in resources
240527 22:08:44.203 i/database:190 > WARN 512 api: websocket connection error with 127.0.0.1:62133: read tcp 127.0.0.1:817->127.0.0.1:62133: wsarecv: An existing connection was forcibly closed by the remote host.
240527 22:08:52.065 CURRENT TIME
Status: Online
OnlineStatus:          Online
CaptivePortal:         
SPN: disabled (module disabled)
HomeHubID:    
HomeHubName:  
HomeHubIP:    
Transport:    
---
Client:       true
PublicHub:    false
HubHasIPv4:   false
HubHasIPv6:   false
Resolvers: 3/3
Quad9 (dot://dns.quad9.net:853#config)
  dot://dns.quad9.net:853#config
  Failing: false

Quad9 (dot://dns.quad9.net:853#config)
  dot://dns.quad9.net:853#config
  Failing: false

192.168.1.1 (dns://192.168.1.1:53#system)
  dns://192.168.1.1:53#system
  Failing: false
Config: 10
core/expertiseLevel: user
core/metrics/instance: [redacted]
dns/nameservers: [redacted]
dns/noInsecureProtocols: true
dns/useStaleCache: true
filter/askTimeout: 300
filter/defaultAction: ask
filter/endpoints: [redacted]
filter/lists: [TRAC MAL DECEP BAD BT-META BT-APPL CB-MW WSP DCT OISD-EXTRA UNBREAK]
filter/serviceEndpoints: [redacted]
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: 20240501.0.10
all/intel/lists/index.dsd: 2023.6.13
all/intel/lists/intermediate.dsdl: 20240526.0.0
all/intel/lists/urgent.dsdl: 20240527.16.6
all/intel/portmaster/news.yaml: 20240502.16.6
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: 20240501.0.10
all/intel/lists/index.dsd: 2023.6.13
all/intel/lists/intermediate.dsdl: 20240526.0.0
all/intel/lists/urgent.dsdl: 20240527.16.6
all/intel/portmaster/news.yaml: 20240502.16.6
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

Rubber-Duckie avatar May 27 '24 21:05 Rubber-Duckie

Hey @Rubber-Duckie, thank you for reporting on a compatibility.

We keep a list of compatible software and user provided guides for improving compatibility in the wiki - please have a look there. If you can't find your software in the list, then a good starting point is our guide on How do I make software compatible with Portmaster.

If you have managed to establish compatibility with an application, please share your findings here. This will greatly help other users encountering the same issues.

github-actions[bot] avatar May 28 '24 06:05 github-actions[bot]

Hey @Rubber-Duckie, thank you for raising this issue with us.

After a first review we noticed that this does not seem to be a technical issue, but rather a configuration issue or general question about how Portmaster works.

Thus, we invite the community to help with configuration and/or answering this questions.

If you are in a hurry or haven't received an answer, a good place to ask is in our Discord community.

If your problem or question has been resolved or answered, please come back and give an update here for other users encountering the same and then close this issue.

If you are a paying subscriber and want this issue to be checked out by Safing, please send us a message on Discord or via Email with your username and the link to this issue, so we can prioritize accordingly.

github-actions[bot] avatar May 28 '24 06:05 github-actions[bot]

Thank you for the detailed report. This is a vary hard bug to debug without doing deep investigation and the root cause can be a lot of things, as cannot be reproduced on every windows installation. All I can suggest for now is to try to uninstall postmaster and do a fresh install after that and check if this solves the issue.

Keep in mind that we are a very small team, we are currently working on replacing the UI framework and moving away from electron, which will improve things a lot (and probably solve the issue that you are having).

Thank you for using portmaster.

vlabo avatar May 28 '24 12:05 vlabo

@Rubber-Duckie I tried to convey what i think the cause of this (and the other) issue with relabeling them as a compatibility issue - I see this did not work, I am sorry for the confusion.

Portmaster runs well and stable for years now, but we know that some software can cause issues.

some VPN clients don't like the combination with Portmaster (I see you have Mullvad installed) and some AV does not like Portmaster (I see you have Avira installed)

If you want to look into fixing this I recommend looking in the wiki like the bot message suggested: https://github.com/safing/portmaster/issues/1553#issuecomment-2134451851

Raphty avatar May 28 '24 14:05 Raphty

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.

github-actions[bot] avatar Aug 02 '24 05:08 github-actions[bot]

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.

github-actions[bot] avatar Aug 12 '24 05:08 github-actions[bot]