Giter Club home page Giter Club logo

Comments (24)

giancarloaf avatar giancarloaf commented on July 17, 2024 1

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.

trevorh avatar trevorh commented on July 17, 2024 1

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

from meetingbar.

felixmaximilian avatar felixmaximilian commented on July 17, 2024 1

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.

jimyencken avatar jimyencken commented on July 17, 2024

This happens to me daily too. No changes since updating to macOS 14.1.1 (23B81) yesterday either.

from meetingbar.

josephgruber avatar josephgruber commented on July 17, 2024

Same. Not daily but often at least.

from meetingbar.

johnbillion avatar johnbillion commented on July 17, 2024

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.

jamtur01 avatar jamtur01 commented on July 17, 2024

Also seeing this.

from meetingbar.

felixmaximilian avatar felixmaximilian commented on July 17, 2024

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.

dsymonds avatar dsymonds commented on July 17, 2024

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.

jaklan avatar jaklan commented on July 17, 2024

Same issue

from meetingbar.

pudge avatar pudge commented on July 17, 2024

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

from meetingbar.

pudge avatar pudge commented on July 17, 2024

My mitigation is this in crontab:

7/10 * * * * killall MeetingBar; sleep 5; open -a MeetingBar

from meetingbar.

leits avatar leits commented on July 17, 2024

Hi folks,
Sorry for the delay!
I'm completely confused by this huge number of ports situation.
Please help me to figure this out.

  1. Are you using some AppleScript features from Advanced Preferences?
  2. Are you using Google Calendar API as a calendars provider?
  3. 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.

jaklan avatar jaklan commented on July 17, 2024

@leits

  1. No
  2. Yes, GCal integration
  3. /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]
    

from meetingbar.

trevorh avatar trevorh commented on July 17, 2024
  1. Are you using some AppleScript features from Advanced Preferences?
  2. Are you using Google Calendar API as a calendars provider?
  3. 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.

leits avatar leits commented on July 17, 2024

Thanks, @jaklan!
Can you please upload Sample of MeetingBar.txt again? It returns 404 for some reason.

from meetingbar.

wheresbarney avatar wheresbarney commented on July 17, 2024

from meetingbar.

jaklan avatar jaklan commented on July 17, 2024

@leits I can still download the file from the above URL, can you try again? Maybe there was some temporary GitHub issue.

from meetingbar.

DTchebotarev avatar DTchebotarev commented on July 17, 2024

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.

image

from meetingbar.

pudge avatar pudge commented on July 17, 2024
  1. Are you using some AppleScript features from Advanced Preferences?

No.

  1. 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.

cometgrrl avatar cometgrrl commented on July 17, 2024

@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.

mega-joe avatar mega-joe commented on July 17, 2024

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).
Captured 2024-04-03 at 11 26 55
Captured 2024-04-03 at 11 26 45
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.

pedrocc avatar pedrocc commented on July 17, 2024

Same problem. The app quits during the day.

from meetingbar.

DTchebotarev avatar DTchebotarev commented on July 17, 2024

Since the issue seems to be with NSAttributedStringAgent, could this recent change be the culprit?

90e28ba

from meetingbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.