Sequoia threads stopping

This is another issue I think is new to Sequoia. I have a console app that is supposed to run 24/7, but after a bit the app gets no CPU time at all. It shows 0.0% in activity monitor, when it would normally show around 30%, and during debug the IDE cannot interact with it at all. Meaning I can’t stop or pause it. BUT if I press Ctrl+C my signal catch code does fire with a StackOverflowException at the Function line. So I suspect that exception is elsewhere. The app is not using any of the new features such as preemptive threads. Actually it’s still using 2023r3. I’ve not seen this issue until recently, which makes me believe it’s Sequoia-related. But I’m not certain, and it makes me hesitant to upload it to production.

Anybody seen something like this? In all my years, I can’t recall a situation where all threads just stop. Not error, just… don’t get time.

I suspect that StackOverflowException is related somehow. My unhandled exception event does not fire, nor any of my other exception handlers. I have not disabled stack checking.

What does your console app do?

Mostly HTTP requests.

macOS App Nap?

AppNapp is not new to Sequoia.

Have you added logging to a file or to the Console for the app?

App Nap has never been an issue before, but I’ll double check that in the morning, just in case.

This tool has seen some mileage. It was started back in 2015 and has been maintained since. And I keep my OS up to date. So it’s weird to suddenly develop this behavior, and the only thing that has changed (that I can think of) is the operating system.

Yeh, but Apple could have been tinkering with it.

Definitely not App Nap.

Some tests were tried with Sonoma, but it cannot be reproduced there. So I do think this is Sequoia related.

Me too. Why? Just a guess because Sequoia is breaking a lot of apps due to a kind of excessive security “features” on by default. Even printers are breaking. Even Microsoft software got broken.

As your app uses HTTP, Firefox was affected for some people:

https://www.reddit.com/r/mac/comments/1fif1gr/firefox_no_longer_works_after_upgrading_to_macos/