Walt Karas
Walt Karas
OK @maskit the change you requested has been made.
I'm going to try to get Yahoo Prod to try out this fix. If it looks good, I'll de-draft this.
This has soaked for many weeks in Yahoo prod, with no issues.
If we inhale https://github.com/fmtlib/fmt to get this before we switch to C++20, we can use namespace aliasing: ``` namespace fmt = std; ``` once we do switch to 20.
There's problems with it, I'm working on a fix.
> I think this looks good, has it been tested in prod? Yes, now it has.
This fixed a crash Yahoo was seeing in txn_box. txn_box was destroying a continuation with a mutex in the continuation function (so the mutex was locked). Continuations have a (Ptr)...
Example stack dump from crash. The line numbers will be off, it's Yahoo internal TS. ``` [ 00 ] libc-2.17.so raise ( raise.c:55 ) [ 01 ] libc-2.17.so abort (...
I think these lines of code may potentially cause this crash: https://github.com/SolidWallOfCode/txn_box/blob/dev-0-4/plugin/src/ts_util.cc#L955 https://github.com/SolidWallOfCode/txn_box/blob/dev-0-4/plugin/src/ts_util.cc#L981 The continuation has the only Ptr reference to the mutex. So, when the continuation is destroyed, the...
> I think these links are internal to yahoo only. Oops, fixed.