MacEnhance / MacForge

📦 Plugin, App, and Theme store which includes plugin injection for macOS
https://www.macenhance.com/macforge
MIT License
1.06k stars 47 forks source link

Problem: MacForgeHelper crashes SecurityAgent. #10

Closed kingtosh closed 5 years ago

kingtosh commented 5 years ago

In loading MacForgeHelper, it crashes SecurityAgent. And the window of input youser name and pass freeze on the top level. Another windows have gone behind.

So, please fix this problem.

w0lfschild commented 5 years ago

You'd need to go into more detail. What is SecurityAgent?

Also this sounds like maybe a specific plugin issue?

kingtosh commented 5 years ago

this is a path of SecurityAgent. /System/Library/Frameworks/Security.framework/Versions/A/MachServices/SecurityAgent.bundle Apple's system protecting function. Inputting user name and password, it is loaded by MacOS.

kingtosh commented 5 years ago

screen

w0lfschild commented 5 years ago

Okay interesting.

macOS version? Do you have any plugins loaded? Do you have System Integrity Protection on or off?

kingtosh commented 5 years ago

Sorry!, I forgot them.

my MacOS is 10.12.6 (16G2128), and using Afloat. Of course, I had turned off SIP, but MacForge tells SIP still on (i don't know why).

w0lfschild commented 5 years ago

If you turn off afloat does this issue still occur?

kingtosh commented 5 years ago

スクリーンショット 2019-08-31 14 29 12

kingtosh commented 5 years ago

Turning off afloat, this didn't occur.

kingtosh commented 5 years ago

So, just afloat's a problem is this, isn't it?

w0lfschild commented 5 years ago

That would be my guess. In order to stop it from loading into SecurityAgent there would probably need to be changes to made to Afloat to look for classes specific to that and avoid touching those windows.