Tuesday, September 16, 2025

Potential Solve for Thread Crashing Bug

So, I've had this bug, that very rarely shows up, but it's always happening on one particular line of code. And it's a concurrency issue, where two things to try do something at the same time - and basically bad thing happen.

The interesting thing, is that, I swear, according to just about all the documentation that I can find, this should not be happening. I've protected the property in the required special locks and synchronizations that it shouldn't be possible for two things to hit it at the same time, yet... here we are, saying that they do. Anyhow, I've changed that bit of code, hopefully enough so that it won't happen. Annoyingly, it is almost entirely invisible on the emulator (guessing it's running too quickly to really hit these concurrency snags) so I'll run about on the phone later tonight and see if I can randomly get it to crash for no apparent reason.

Other than that, I've been noticing that my traffic here is growing and growing. I did notice though, that traffic through to the new base domain tornrealms.com has not materially changed. Which leads me to question, whether the traffic here is real, or whether it's all just AI bots training their LLMs. I'm hoping that at least some of it is real - but to test this out, I've switched a few things over in cloudflare to see if blocking bots causes my traffic to nosedive.

So, lets see in a few days if we're all real, or if we're just helping to slosh that AI slop about. 

No comments:

Post a Comment

Potential Solve for Thread Crashing Bug

So, I've had this bug, that very rarely shows up, but it's always happening on one particular line of code. And it's a concurren...