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

Fix overlay start #4041

Merged
merged 4 commits into from Apr 6, 2020
Merged

Fix overlay start #4041

merged 4 commits into from Apr 6, 2020

Conversation

Krzmbrzl
Copy link
Member

@Krzmbrzl Krzmbrzl commented Apr 5, 2020

See commit messages for what is being done.

Fixes #3552
Fixes #3515

@Krzmbrzl Krzmbrzl force-pushed the fix-overlay-start branch 2 times, most recently from 8f941e2 to e6de917 Compare April 5, 2020 07:50
Krzmbrzl and others added 4 commits April 5, 2020 11:04
…s active

Right now the Overlay will start hooking into processes on its
construction. This will cause this to happen even if the overlay is
actually disabled. This is a rather intrusive behavior and can lead to
warnings of the OS (for now macOS only - mumble-voip#3552).

This commit refactors the Overlay class so that it will only start
hooking into processes, if it is actually enabled (that is setActive is
called with true).
As requested in mumble-voip#3515 this commit disables the overlay by default. This
is so that Mumbke doesn't try to hook into all system processes for
users that don't explicitly want this behavior.
Co-Authored-By: Davide Beatrici <davidebeatrici@gmail.com>
@Krzmbrzl Krzmbrzl merged commit 165fe09 into mumble-voip:master Apr 6, 2020
@Krzmbrzl Krzmbrzl added this to the 1.3.1 milestone Apr 6, 2020
@migaspar
Copy link

migaspar commented Apr 6, 2020

the latest build is still not running :-(

Dyld Error Message:
  Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /Applications/Mumble.app/Contents/MacOS/Mumble
  Reason: image not found

Binary Images:
       0x10f616000 -        0x10fee0fff +net.sourceforge.mumble.Mumble (1.4.0~370~g165fe09~snapshot) <863334BF-43E3-342B-A24E-CBBB0BD5E030> /Applications/Mumble.app/Contents/MacOS/Mumble
       0x117d37000 -        0x117dc7cb7  dyld (733.8) <EBC07CB6-870A-3A8E-B48A-67F62EA161F3> /usr/lib/dyld
    0x7fff375fc000 -     0x7fff375fcfff  com.apple.ApplicationServices (48 - 50) <C1A1ED89-4F27-30E4-B53B-34062E971294> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff3792e000 -     0x7fff37a0effa  com.apple.audio.toolbox.AudioToolbox (1.14 - 1.14) <7B308BA7-F08A-3E70-A494-F03A688AAA42> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff37a10000 -     0x7fff37a10fff  com.apple.audio.units.AudioUnit (1.14 - 1.14) <C3937FFF-1BCA-3A4F-B718-7D6CB4903907> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff3818d000 -     0x7fff3818dfff  com.apple.Carbon (160 - 162) <916D6D9E-3FE9-355C-913B-B44CAF35146D> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff38672000 -     0x7fff38672fff  com.apple.Cocoa (6.11 - 23) <DDDE2ECF-6FD6-3EC7-B2F9-C1873F85D0E5> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff38b5b000 -     0x7fff3906affa  com.apple.audio.CoreAudio (5.0 - 5.0) <C1EE25DD-6880-3FFB-8C7D-4CBC10B41BD2> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff45c27000 -     0x7fff45c3fffd  com.apple.ScriptingBridge (1.4 - 79) <01931888-0387-34F7-AD76-BCCBC63BBA5B> /System/Library/Frameworks/ScriptingBridge.framework/Versions/A/ScriptingBridge
    0x7fff45c40000 -     0x7fff45f92ffa  com.apple.security (7.0 - 59306.80.4) <FA5EBA16-2B2B-3105-8A17-C8624C4B3BB3> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff4601d000 -     0x7fff4604afff  com.apple.securityinterface (10.0 - 55139.0.1) <D2572186-FC98-30DE-B5F6-DA4B6CB5FA16> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInterface
    0x7fff6fdb2000 -     0x7fff6fdbffff  libxar.1.dylib (420) <317EA455-78EE-35A4-B63F-D85993B8697C> /usr/lib/libxar.1.dylib

let me know, if you need more information.

@Krzmbrzl
Copy link
Member Author

Krzmbrzl commented Apr 6, 2020

Yeah I know. The installer that is currently build on the mac CI is unusable for non-dev systems. This change will be in the 1.3.1 release candidate so you'll be able to test the feature with that :)

Thanks for checking up on this though 👍

setActiveInternal(act);
}

void Overlay::createPipe() {
Copy link
Member

@Kissaki Kissaki Jun 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regression: createPipe() is introduced but never called.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch - (hopefully) fixed in #4281

@Krzmbrzl Krzmbrzl deleted the fix-overlay-start branch November 9, 2022 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants