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

Random crashes on macOS #46

Open
MWin123 opened this issue Oct 5, 2023 · 4 comments
Open

Random crashes on macOS #46

MWin123 opened this issue Oct 5, 2023 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@MWin123
Copy link
Contributor

MWin123 commented Oct 5, 2023

Unfortunately, the Kafkaesque version of macOS seems to crash quite a lot compared to the Windows version.

If you open multiple Kafkaesque instances with the workaround, the chance of a crash seems to increase exponentially.

For some reason there is also a temporal component, i.e., on some days Kafkaesque might crash every 3-5 "get Messages" or "publish Message", while on other days it doesn't crash even once.

We should look into that, so I added this issue to share information about crashes, and discuss potential problems & fixes.

@patschuh patschuh added the help wanted Extra attention is needed label May 21, 2024
@Protoss78
Copy link

I've asked around in our group chat for non Windows users and so far got the following feedback:

  • One v2.6.0 user mentioned no issues on his Mac system.
  • One v2.7.0 user mentioned no issues on his Mac system.
  • One v2.8.0 user reported the same random crashes described in this issue here.

All Mac systems are already using the ARM architecture.

@patschuh
Copy link
Owner

patschuh commented Jun 7, 2024

Not sure if actually related, but since using "get Messages" a few times was mentioned as a cause for the crashes it might be

It looks like I missed a few cases were properties bound to UI Elements were updated outside the FX Thread when getting messages 😅 .

Let me know if using 2.9.4 improves the situation at all
(Edit: already got feedback that the Uncaught Exception handler I added opens a lot of ErrorAlerts on mac, so tried to fix those in 2.9.4)

patschuh added a commit that referenced this issue Jun 10, 2024
patschuh added a commit that referenced this issue Jun 10, 2024
@MWin123
Copy link
Contributor Author

MWin123 commented Jun 13, 2024

@patschuh thanks for your efforts!

I probably won't be using Kafksesque for the next few weeks or months, so unfortunately I can't tell if those changes helped. Unfortunately the bug isn't reproducable for me, it just seems to happen randomly as described in the root comment of this issue.

If still needed, maybe @Protoss78 or some coworkers from BE Graz can provide additional feedback?

It looks like I missed a few cases were properties bound to UI Elements were updated outside the FX Thread when getting messages 😅 .

If this is the main reason I'm wondering why it disproportionally affects MacOS while Windows seems pretty much unbothered by it.

@Protoss78
Copy link

I've shared the information with our MacOS users - will provide feedback as soon as I get some. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants