Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portmaster core service won't start after system freeze #1307

Closed
SatoshiHP opened this issue Sep 3, 2023 · 14 comments
Closed

Portmaster core service won't start after system freeze #1307

SatoshiHP opened this issue Sep 3, 2023 · 14 comments
Labels
bug TYPE: a report on something that isn't working community support ATTRIBUTE: community is invited to help needs debug info ATTRIBUTE: this issue requires debug info to continue handling it

Comments

@SatoshiHP
Copy link

What happened:

Computer froze, after restart portmaster won't start. Tried uninstalling and reinstall without clearing data. Don't want to lose my settings.

What did you expect to happen?:

Portmaster core service to start.

How did you reproduce it?:

Restart and try again. Close all portmaster processes and try again.

Debug Information:

Log:
executing core/portmaster-core.exe version 1.4.5 on windows amd64
230903 00:47:12.363 > BOF
230903 00:47:12.367 ules/start:101 > CRIT 001 modules: could not start module config: invalid character '¾' looking for beginning of value
230903 00:47:12.469 dules/stop:059 > WARN 003 modules: aborting, shutting down...
230903 00:47:12.496 dules/stop:064 > ERRO 005 modules: shutdown completed with error: modules: dependency loop detected, cannot continue
230903 00:47:12.506 < EOF

Error log:
===== Error Report =====
Message: invalid character '¾' looking for beginning of value
Timestamp: 2023-09-03 08:44:35.2385971 +0200 CEST m=+0.111876801
ModuleName: config
TaskName: start module
TaskType:
Severity: error
PanicValue: %!s()
StackTrace:

goroutine 1 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:24 +0x65
github.com/safing/portbase/modules.(*Module).NewErrorMessage(0xc000176160, {0x16b67a0, 0xc}, {0x1829d20?, 0xc000008288?})
/home/user/git/safing/portbase/modules/error.go:48 +0x49
github.com/safing/portbase/modules.startModules()
/home/user/git/safing/portbase/modules/start.go:200 +0x1de
github.com/safing/portbase/modules.Start()
/home/user/git/safing/portbase/modules/start.go:99 +0x285
github.com/safing/portbase/run.Run()
/home/user/git/safing/portbase/run/main.go:34 +0x2b
main.main()
/home/user/git/safing/portmaster/cmds/portmaster-core/main.go:42 +0x171

===== End of Report =====

@SatoshiHP SatoshiHP added the bug TYPE: a report on something that isn't working label Sep 3, 2023
@github-actions
Copy link

github-actions bot commented Sep 3, 2023

Greetings and welcome to our community! As this is the first issue you opened here, we wanted to share some useful infos with you:

  • 🗣️ Our community on Discord is super helpful and active. We also have an AI-enabled support bot that knows Portmaster well and can give you immediate help.
  • 📖 The Wiki answers all common questions and has many important details. If you can't find an answer there, let us know, so we can add anything that's missing.

@SatoshiHP SatoshiHP closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2023
@SatoshiHP
Copy link
Author

Nothing?

@SatoshiHP SatoshiHP reopened this Sep 20, 2023
@Raphty Raphty added the needs debug info ATTRIBUTE: this issue requires debug info to continue handling it label Sep 21, 2023
@github-actions
Copy link

Hey @SatoshiHP, thank you for raising this issue with us.

After a first review we noticed that we will require the Debug Info for further investigation. However, you haven't supplied any Debug Info in your report.

Please collect Debug Info from Portmaster while the reported issue is present.

@Raphty
Copy link
Member

Raphty commented Sep 21, 2023

  • Is this still reproducible?
  • What PM version are you on?
  • Do you have other interfering applications on your system?

thanks for providing the logs so far.

thanks for providing the logs you have,

@Raphty Raphty added the community support ATTRIBUTE: community is invited to help label Sep 21, 2023
@github-actions
Copy link

Hey @SatoshiHP, 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.

@SatoshiHP
Copy link
Author

SatoshiHP commented Sep 21, 2023 via email

@Raphty
Copy link
Member

Raphty commented Sep 21, 2023

so your setup is, you:

  • Portmaster is not installed?
  • You are still experiencing windows freezes?
  • Is the issue that Portmaster does not start?
  • What was the cause of the freeze?

@SatoshiHP
Copy link
Author

SatoshiHP commented Sep 21, 2023 via email

@Raphty
Copy link
Member

Raphty commented Sep 21, 2023

i know you could not have known... but when I asked for interfering apps, i was looking for something like bitdefender. we have had reports in the past... this of course is no guarantee. and it seems you PM install has issues besides that.

@SatoshiHP
Copy link
Author

Installed 1.4.6 and restarted. Still the same error.

@Raphty
Copy link
Member

Raphty commented Sep 22, 2023

so does Portmaster open at all? if so, pleas share the debug info.

@SatoshiHP
Copy link
Author

SatoshiHP commented Sep 22, 2023 via email

@Raphty
Copy link
Member

Raphty commented Sep 22, 2023

Did you open the config.json? you can try to fix the error in there, if not, you can delete it and Portmaster will create a new one. But the settings would be gone.

@SatoshiHP
Copy link
Author

I guess there is no other option than deleting it, since my config.json looks like this:

セu%0E%2CNpCワョ・Okヨ┌%07dォミリ>D釮・%19ヤb1攪%03�ィ・撲璉u%01・Q>8A%1D錥嶸1g*塾膝゙%0E蠅+ヘRユ%11W3%07フ珊4%01f*・茅親+→Z銧ィユcィ%1CHコE%0F鞴齬・ァーTO炬1オLン勳3・。%2BホP%2Bヘc.茁リNhJ%15ニィ%1BI゚cT9ュW8・hbwJQNサY゙湿王Qk諺%16Z魍峙ムォ%11P%12カ」~t・%23x撒德・+lォ・_)%7C+・ン頴・サニE+マ・3ヘl、簣鋧Iア國l~1ヌ%24ホリ7%2B%17・吩l%24、トモ%14チ%5Cン%14・1ォ%19メR・-ヘ髀xHケxー吾nヲノ>ヌマ購兌・%5E%1Cユ%08社鸞ィ8GA%01ホロイ+_フ%25籘ュュ%1DセSォhp+%05晰・、璽%08・%14ス%7B)33fIヨV淳Jオ゚gウ+襭E讃・%1F・・5_ス*・Aシ%19ソHュ%12~テF・q%11萎rDヘ前%60%2FoV瀅D・・l娠bヒワニ蹤e%07!ユ%03ニ%0FZOスZF柤・ユョ%2C・ホ%05Vャ+腕゙ソE%0E+ユ蒻・K%7F0+Q裵5%11+V褝ラェ%10%7DヲオEdンZシ辟%5B%1A3・S%2F墨P愚・テ接ム%1C%7Fェ%1FT倣「サ~ウj避5qラ・+_.・O.V%06クA*_ナメ+%2F%1F6%5BCO・%25%2Czi5%7F悛R%11%05nョcヨ%24jYヲ%2C・・齪ニ「・+饒・%5Edr%25w・9+ム%06%5Eクh%3D%1Eq)X%7Fノ・%13惷)+_鄕」1ハ%122・・%04・・・タ6ト%7C薛Ze迫%7F首熙%17B

I was afraid I would have to reconfigure 100 different apps, but it seems those are saved elsewhere.

I guess that's it. Thanks anyway.

@Raphty Raphty closed this as completed Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug TYPE: a report on something that isn't working community support ATTRIBUTE: community is invited to help needs debug info ATTRIBUTE: this issue requires debug info to continue handling it
Projects
None yet
Development

No branches or pull requests

2 participants