Earl Robsham
Earl Robsham
PR for the Potential fix: https://github.com/warmcat/libwebsockets/pull/2745
I'm still trying to work through this, but initially I'm reaching for adding another set of spinlocks as a fairly straightforward solution? So something along the lines of dropping `int...
That is a great question... I didn't actually look into the application code (I was just brought that stack trace, and told it was only happening during initial startup, which...
Well now I'm confused too. The initial assignment for the property I was told produced this specific stack trace was assigned via the property accessor, IE: ``` self.atomicProp = [[[SomeClass...
I thought it was a possibility, in the codebase there is ~20 years worth of code, and some of it definitely has ... less than ideal 'features', lets say? However,...
> Can you run with Asan or valgrind? Yeah, I can try to get another repro with valgrind. I might even try to create a more simple (more importantly, non-proprietary)...
Okay, so had some other fun to attend to the last couple of days, but the latest update is: its looking like the compiler _might_ be reordering / 'optimizing' things...
Well I'm no closer to understanding the _why_, but I do have a bit more data at least. I tried out reordering the assignment of `ret` a bit, to try...
FYI, [this PR](https://github.com/warmcat/libwebsockets/pull/2745) (and [issue](https://github.com/warmcat/libwebsockets/issues/2744)) is also aimed at plugging the fd leak.
The fd leak raised in [this issue](https://github.com/warmcat/libwebsockets/issues/2744) is occurring on macOS, so this appears to be non-specific to the platform.