patschuh / KafkaEsque

Kafka Development Tool
GNU General Public License v3.0
78 stars 22 forks source link

Random crashes on macOS #46

Open MWin123 opened 1 year ago

MWin123 commented 1 year ago

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.

Protoss78 commented 6 months ago

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

All Mac systems are already using the ARM architecture.

patschuh commented 5 months ago

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)

MWin123 commented 5 months ago

@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 commented 5 months ago

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