Comments (24)
MeetingBar 4.6.0 stops running daily in the current macOS 14.0 (23A344) version as well. Attached diagnostic log.
ExcResource_MeetingBar-2023-10-12-162433.txt
from meetingbar.
I'm getting the same thing every few days. All of ExcResource Diagnostic logs show the same thing (exceeded port limits).
System Version: macOS 14.1 (23B74)
However, there's never a Finder window saying the application terminated unexpectedly.
It does only seem to happen when my Mac's display turns off and I'm not actively using it. Pretty sure the Mac has locked itself, too.
Is there a chance the checking of various calendar accounts is leaving ports open when the Mac is locked?
"termination" :
{"flags":2,
"code":14123288431434181290,
"namespace":"PORT_SPACE",
"indicator":"(Limit 305834 ports) Exceeded system-wide per-process Port Limit"}
![image](https://private-user-images.githubusercontent.com/8982/286318889-c49d3dd2-391a-4d8c-87e6-21a661ba925e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyODc1OTUsIm5iZiI6MTcxOTI4NzI5NSwicGF0aCI6Ii84OTgyLzI4NjMxODg4OS1jNDlkM2RkMi0zOTFhLTRkOGMtODdlNi0yMWE2NjFiYTkyNWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjVUMDM0ODE1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTRiMjRmYjIwM2FmZjdkNzZlN2UyYjM4M2FlMTY5NWFhMTUxYmM4MjhhYjI1ZjJhOThjMzA4NDNkOGI5M2VkYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.OIHV1TIP8zLY0HDYc1PPCldahEDDLnMCnMguPz2l4mg)
from meetingbar.
Using the activity monitor on the MeetingBar process, I can see that the process opens ~20 new ports every second and never closes them:
Screen.Recording.2024-01-04.at.11.54.16.mov
from meetingbar.
This happens to me daily too. No changes since updating to macOS 14.1.1 (23B81) yesterday either.
from meetingbar.
Same. Not daily but often at least.
from meetingbar.
I'm seeing this problem too, every few days I notice it's no longer running. I'll try to keep an eye on when it happens.
from meetingbar.
Also seeing this.
from meetingbar.
Using the activity monitor on the MeetingBar process, I can see that the process opens ~20 new ports every second and never closes them:
Screen.Recording.2024-01-04.at.11.54.16.mov
I followed the instructions in here to restart the app every 60 minutes for a short-term mitigation.
from meetingbar.
This is happening with very non-beta versions of Sonoma (for me, macOS 14.2.1). Can we retitle this accordingly, @leits? It isn't some weird macOS beta glitch.
from meetingbar.
Same issue
from meetingbar.
Using the activity monitor on the MeetingBar process, I can see that the process opens ~20 new ports every second and never closes them:
Screen.Recording.2024-01-04.at.11.54.16.mov
Wow, yeah. Way more ports open than any other app.
![image](https://private-user-images.githubusercontent.com/15170/299107093-707de1b6-9d31-4f0a-b689-625cddaf5d79.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyODc1OTUsIm5iZiI6MTcxOTI4NzI5NSwicGF0aCI6Ii8xNTE3MC8yOTkxMDcwOTMtNzA3ZGUxYjYtOWQzMS00ZjBhLWI2ODktNjI1Y2RkYWY1ZDc5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI1VDAzNDgxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdjNDUyYWUyYjBmNzA0ODVlZjQ1ZDY5NTFiYWQxYmM1OTRmZWU3YTgzYjI1YjgzMDBmMDY5Njk4MDA5YjAwM2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.LwhtS3G21zhhOzxZq2cGI8BtoMSK-KI2xuYYAXx9_UM)
from meetingbar.
My mitigation is this in crontab:
7/10 * * * * killall MeetingBar; sleep 5; open -a MeetingBar
from meetingbar.
Hi folks,
Sorry for the delay!
I'm completely confused by this huge number of ports situation.
Please help me to figure this out.
- Are you using some AppleScript features from Advanced Preferences?
- Are you using Google Calendar API as a calendars provider?
- Can you open Activity Monitor, double-click on MeetingBar, and share here the content of Open Ports and Files?
If you know of any potential root causes for this, I'd love to hear your ideas on where to look
from meetingbar.
- No
- Yes, GCal integration
-
/Users/lanskij/Library/Containers/leits.MeetingBar/Data /Applications/MeetingBar.app/Contents/MacOS/MeetingBar /System/Library/CoreServices/SystemVersion.bundle/English.lproj/SystemVersion.strings /private/var/db/timezone/tz/2024a.1.0/icutz/icutz44l.dat /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantDark.car /private/var/db/analyticsd/events.allowlist /Applications/MeetingBar.app/Contents/Resources/Base.lproj/Main.storyboardc/MainMenu.nib /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/InputManager.loctable /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/DictationManager.loctable /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/MenuCommands.loctable /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat /System/Library/Caches/com.apple.IntlDataCache.le.kbdx /private/var/db/mds/messages/501/se_SecurityMessages /usr/lib/libobjc-trampolines.dylib /usr/share/icu/icudt72l.dat /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/DarkAqua.car /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantDark.car /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/InfoPlist.loctable /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/Common.loctable /Users/lanskij/Library/Containers/leits.MeetingBar/Data/Library/Caches/leits.MeetingBar/Cache.db-shm /Users/lanskij/Library/Containers/leits.MeetingBar/Data/Library/HTTPStorages/leits.MeetingBar/httpstorages.sqlite-shm /System/Library/Frameworks/Security.framework/Versions/A/Resources/SecDebugErrorMessages.strings /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.car /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/AccessibilityImageDescriptions.loctable /System/Library/Accessibility/BundlesBase/com.apple.securityinterface.axbundle/Versions/A/com.apple.securityinterface /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantLight.car /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLight.car /System/Library/Fonts/SFNS.ttf /System/Library/Fonts/Helvetica.ttc /Applications/MeetingBar.app/Contents/Resources/Assets.car /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Assets.car /private/var/db/nsurlstoraged/dafsaData.bin /System/Library/Fonts/Keyboard.ttf /System/Library/Accessibility/BundlesBase/com.apple.AppKit.axbundle/Versions/A/com.apple.AppKit /System/Library/Frameworks/Security.framework/Versions/A/PlugIns/csparser.bundle/Contents/MacOS/csparser /System/Library/Frameworks/Security.framework/Versions/A/Resources/SecErrorMessages.loctable /System/Library/Fonts/Times.ttc /System/Library/PrivateFrameworks/SFSymbols.framework/Versions/A/Resources/CoreGlyphs.bundle/Contents/Resources/Assets.car /System/Library/Fonts/Apple Color Emoji.ttc /dev/null /dev/null /dev/null ->0x2aab1914bc233c5b /Users/lanskij/Library/Containers/leits.MeetingBar/Data/Library/Caches/leits.MeetingBar/Cache.db lanskij-26567x:56087->zrh04s14-in-f10.1e100.net:https lanskij-26567x:64236->zrh11s03-in-f10.1e100.net:https /Users/lanskij/Library/Containers/leits.MeetingBar/Data/Library/Caches/leits.MeetingBar/Cache.db-wal /Users/lanskij/Library/Containers/leits.MeetingBar/Data/Library/Caches/leits.MeetingBar/Cache.db-shm /Users/lanskij/Library/Containers/leits.MeetingBar/Data/Library/HTTPStorages/leits.MeetingBar/httpstorages.sqlite /Users/lanskij/Library/Containers/leits.MeetingBar/Data/Library/HTTPStorages/leits.MeetingBar/httpstorages.sqlite-wal /Users/lanskij/Library/Containers/leits.MeetingBar/Data/Library/HTTPStorages/leits.MeetingBar/httpstorages.sqlite-shm [ctl com.apple.netsrc id 7 unit 50]
-
Bonus:
Sample of MeetingBar.txt
from meetingbar.
- Are you using some AppleScript features from Advanced Preferences?
- Are you using Google Calendar API as a calendars provider?
- Can you open Activity Monitor, double-click on MeetingBar, and share here the content of Open Ports and Files?
1 - No
2 - MacOS Calendar App (not the API)
The calendars I have MeetingBar display are 2 gmail (personal & work/Google Workspace) and 2 iCloud (personal). However, I have about another 12 - 15 calendars that are not selected for MeetingBar.
I see the same 15 - 20 ports/sec opened and not closed via Activity Monitor.
Here's a process sample. MeetingBar Sample.txt
MeetingBar - Open Files and Ports.txt
Looks like GH is having some issues with attachments - here's a gist of the files.
from meetingbar.
Thanks, @jaklan!
Can you please upload Sample of MeetingBar.txt again? It returns 404 for some reason.
from meetingbar.
from meetingbar.
@leits I can still download the file from the above URL, can you try again? Maybe there was some temporary GitHub issue.
from meetingbar.
If you know of any potential root causes for this, I'd love to hear your ideas on where to look
@leits I noticed that nsattributedstringagent
also has a ridiculous number of ports open, almost exactly the same as the number used by MeetingBar.
At the time of writing, MeetingBar is at 24,067, nsattributedstringagent
at 24,023.
from meetingbar.
- Are you using some AppleScript features from Advanced Preferences?
No.
- Are you using Google Calendar API as a calendars provider?
No. That said, I just switched to the Google Calendar API, to see if it helps.
from meetingbar.
@leits I noticed that
nsattributedstringagent
also has a ridiculous number of ports open, almost exactly the same as the number used by MeetingBar.
Same for me.
- Are you using some AppleScript features from Advanced Preferences?
Nope - Are you using Google Calendar API as a calendars provider?
Yes, I have one Google Calendar account connected, displaying events from two calendars. - Can you open Activity Monitor, double-click on MeetingBar, and share here the content of Open Ports and Files?
211,154 ports open and counting.
from meetingbar.
I'm also getting crashes and high number of open ports. Here are Activity Monitor screenshots and the Open Files & Ports contents. Let me know if anything else can be provided. (I am using Google API, and I am using AppleScript -- though when I turn off AppleScript it doesn't change this behavior).
Open Files and Ports:
/Users/joe/Library/Containers/leits.MeetingBar/Data /Applications/MeetingBar.app/Contents/MacOS/MeetingBar /System/Library/CoreServices/SystemVersion.bundle/English.lproj/SystemVersion.strings /private/var/db/timezone/tz/2024a.1.0/icutz/icutz44l.dat /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car /Applications/MeetingBar.app/Contents/Resources/Base.lproj/Main.storyboardc/MainMenu.nib /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/InputManager.loctable /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/DictationManager.loctable /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/MenuCommands.loctable /System/Library/Caches/com.apple.IntlDataCache.le.kbdx /Library/Preferences/Logging/.plist-cache.rXK3TsZe /usr/share/icu/icudt74l.dat /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantLight.car /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/InfoPlist.loctable /private/var/db/mds/messages/502/se_SecurityMessages /usr/lib/libobjc-trampolines.dylib /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantDark.car /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/Common.loctable /System/Library/Frameworks/CoreText.framework/Versions/A/Resources/FontNames.loctable /private/var/db/analyticsd/events.allowlist /System/Library/Frameworks/CFNetwork.framework/Versions/A/Resources/Localizable.loctable /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.car /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLight.car /Users/joe/Library/Containers/leits.MeetingBar/Data/Library/Caches/leits.MeetingBar/Cache.db-shm /Users/joe/Library/Containers/leits.MeetingBar/Data/Library/HTTPStorages/leits.MeetingBar/httpstorages.sqlite-shm /System/Library/Frameworks/Security.framework/Versions/A/PlugIns/csparser.bundle/Contents/MacOS/csparser /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/DesignLibrary-macOS.bundle/Contents/Resources/macOSRepositories/DarkStandard.car /System/Library/Fonts/Helvetica.ttc /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/AccessibilityImageDescriptions.loctable /System/Library/Fonts/Keyboard.ttf /private/var/db/nsurlstoraged/dafsaData.bin /System/Library/Fonts/Times.ttc /System/Library/Fonts/SFNS.ttf /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/DarkAqua.car /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantDark.car /Applications/MeetingBar.app/Contents/Resources/Assets.car /System/Library/Fonts/HelveticaNeue.ttc /System/Library/Frameworks/Foundation.framework/Versions/C/Resources/Undo.loctable /private/var/folders/7z/d15_m__15bx3tzfs3d9j9p9w0000gp/C/leits.MeetingBar/leits.MeetingBar/com.apple.metal/32023/libraries.data /private/var/folders/7z/d15_m__15bx3tzfs3d9j9p9w0000gp/C/leits.MeetingBar/leits.MeetingBar/com.apple.metal/16777235_419/functions.data /System/Library/Extensions/AGXMetalG15X_B0.bundle/Contents/Resources/ds.g15s /System/Library/Fonts/PingFang.ttc /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/Ruler.loctable /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/DesignLibrary-macOS.bundle/Contents/Resources/macOSRepositories/LightStandard.car /System/Library/LinguisticData/Latn/Dict1.dat /System/Library/LinguisticData/Latn/Dict2.dat /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/Resources/tokruleLE.data /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/Resources/com.apple.datadetectorscore.cache.urlifier.system /System/Library/Frameworks/SwiftUI.framework/Versions/A/Resources/Assets.car /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/Accessibility.loctable /System/Library/PrivateFrameworks/SFSymbols.framework/Versions/A/Resources/CoreGlyphs.bundle/Contents/Resources/Assets.car /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Graphite.car /System/Library/Frameworks/AppKit.framework/Versions/C/Resources/Assets.car /System/Library/LinguisticData/en/US/hyphenation.dat /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/DarkGraphite.car /System/Library/Fonts/Apple Color Emoji.ttc /usr/share/langid/langid.inv /System/Library/PrivateFrameworks/SFSymbols.framework/Versions/A/Resources/CoreGlyphsPrivate.bundle/Contents/Resources/Assets.car /System/Library/Frameworks/QuartzCore.framework/Versions/A/Resources/default.metallib /private/var/folders/7z/d15_m__15bx3tzfs3d9j9p9w0000gp/0/com.apple.LaunchServices.dv/com.apple.LaunchServices-5028-v2.csstore /dev/null /dev/null /dev/null /Users/joe/Library/Containers/leits.MeetingBar/Data/Library/Caches/leits.MeetingBar/Cache.db-wal /Users/joe/Library/Containers/leits.MeetingBar/Data/Library/Caches/leits.MeetingBar/Cache.db /Users/joe/Library/Containers/leits.MeetingBar/Data/Library/HTTPStorages/leits.MeetingBar/httpstorages.sqlite /Users/joe/Library/Containers/leits.MeetingBar/Data/Library/Caches/leits.MeetingBar/Cache.db-shm /Users/joe/Library/Containers/leits.MeetingBar/Data/Library/HTTPStorages/leits.MeetingBar/httpstorages.sqlite-wal /Users/joe/Library/Containers/leits.MeetingBar/Data/Library/HTTPStorages/leits.MeetingBar/httpstorages.sqlite-shm [ctl com.apple.netsrc id 7 unit 54] /System/Library/Frameworks/QuartzCore.framework/Versions/A/Resources/default.metallib /System/Library/Frameworks/CoreImage.framework/Versions/A/Resources/ci_stdlib.metallib /System/Library/Frameworks/CoreImage.framework/Versions/A/Resources/ci_filters.metallib /System/Library/Frameworks/CoreImage.framework/Versions/A/Resources/ci_stdlib_stitchable.metallib /System/Library/Frameworks/CoreImage.framework/Versions/A/Resources/ci_filters_stitchable.metallib /private/var/folders/7z/d15_m__15bx3tzfs3d9j9p9w0000gp/C/leits.MeetingBar/leits.MeetingBar/com.apple.metal/32023/libraries.data /private/var/folders/7z/d15_m__15bx3tzfs3d9j9p9w0000gp/C/leits.MeetingBar/leits.MeetingBar/com.apple.metal/32023/libraries.list /private/var/folders/7z/d15_m__15bx3tzfs3d9j9p9w0000gp/C/leits.MeetingBar/leits.MeetingBar/com.apple.metal/16777235_419/functions.data /private/var/folders/7z/d15_m__15bx3tzfs3d9j9p9w0000gp/C/leits.MeetingBar/leits.MeetingBar/com.apple.metal/16777235_419/functions.list
from meetingbar.
Same problem. The app quits during the day.
from meetingbar.
Since the issue seems to be with NSAttributedStringAgent, could this recent change be the culprit?
from meetingbar.
Related Issues (20)
- Feature: Only auto join zooms if the meeting is set to Yes
- No access to mac osx Calendars HOT 1
- Feature: If already in zoom, do not try to exit and rejoin meeting upon prompt or do not prompt
- Bug: invalid parsing of meeting links in description in HTML format
- Bug: High CPU usage HOT 2
- Bug/Feature: Auto refresh sources every X minuetes - they are not refreshed and often missing HOT 1
- Feature: allow more options on "show events for" HOT 1
- Bug: Full screen notification does not work HOT 3
- Feature: CMD-Click the current meeting name to join HOT 2
- Bug: Memory leak HOT 1
- Feature: Detect link without https:// HOT 2
- Bug: Meetingbar no longer recognizes rescheduled meetings HOT 2
- Feature: Hide menu bar item? HOT 4
- Bug: Enterprise Webex invalid join meeting links HOT 3
- Feature: Bookmarks - Ability to copy the link
- Bug: Enterprise Webex invalid join meeting links HOT 1
- 365 Microsoft / SharePoint
- Feature: Blur text when screen sharing, but keep the remaining time for the next event HOT 1
- Feature: Give multi-day events their own setting options HOT 1
- Bug: meetings missing from MeetingBar HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meetingbar.