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

Bug: Since updating to MacOS Sonoma 14.0 Beta (23A5337a) MeetingBar seems to crash daily #656

Open
cometgrrl opened this issue Sep 8, 2023 · 25 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested under discussion

Comments

@cometgrrl
Copy link

macOS version

14.0 Beta (23A5337a)

MeetingBar version

4.6.0

Installation source

AppStore

Calendars provider

Google Calendar

Bug description

Since updating from Ventura to the new MacOS Sonoma 14.0 Beta (23A5337a), every day I notice that MeetingBar is no longer running. I assume that it crashed, and I restart it.

Reproduction steps

  1. Install MacOS 14.0 Beta (23A5337a)
  2. Run MeetingBar
  3. Wait

Expected behavior

MeetingBar should run continuously, and should not need to be restarted daily.

Screenshots/screen recordings

No response

Additional context

No response

@cometgrrl cometgrrl added the bug Something isn't working label Sep 8, 2023
@giancarloaf
Copy link

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

@jimyencken
Copy link

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

@josephgruber
Copy link

Same. Not daily but often at least.

@trevorh
Copy link

trevorh commented Nov 28, 2023

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

@johnbillion
Copy link

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.

@jamtur01
Copy link

jamtur01 commented Jan 4, 2024

Also seeing this.

@felixmaximilian
Copy link

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

@felixmaximilian
Copy link

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.

@dsymonds
Copy link

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.

@jaklan
Copy link
Contributor

jaklan commented Jan 23, 2024

Same issue

@pudge
Copy link

pudge commented Jan 23, 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

@pudge
Copy link

pudge commented Jan 23, 2024

My mitigation is this in crontab:

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

@leits
Copy link
Owner

leits commented Mar 12, 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

@leits leits added help wanted Extra attention is needed question Further information is requested under discussion labels Mar 12, 2024
@jaklan
Copy link
Contributor

jaklan commented Mar 12, 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]
    

@trevorh
Copy link

trevorh commented Mar 12, 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.

@leits
Copy link
Owner

leits commented Mar 12, 2024

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

@wheresbarney
Copy link

wheresbarney commented Mar 13, 2024 via email

@jaklan
Copy link
Contributor

jaklan commented Mar 13, 2024

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

@DTchebotarev
Copy link

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

@pudge
Copy link

pudge commented Mar 22, 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.

@cometgrrl
Copy link
Author

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

@mega-joe
Copy link

mega-joe commented Apr 3, 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

@pedrocc
Copy link

pedrocc commented May 19, 2024

Same problem. The app quits during the day.

@DTchebotarev
Copy link

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

90e28ba

@jshepherd377
Copy link

Is there any movement on this? I see the thread stopped.

I am still having the same problem that the app quits everyday, sometimes several times in a day. I seriously love this app but it's getting so it can't be reliable.

Thanks for any fix updates!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested under discussion
Projects
None yet
Development

No branches or pull requests