commit | 52f238d32601b513ef4716c55c01b5dd0afc548a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jul 15 12:08:40 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 15 19:41:26 2022 +0200 |
tree | 4008a38a5bc51aa817f074c621303a99a50c7ceb | |
parent | 9b0f0d146f406bffa611d60d3779eb9442c361d3 [diff] |
BUG/MEDIUM: cli/threads: make "show threads" more robust on applets Running several concurrent "show threads" in loops might occasionally cause a segfault when trying to retrieve the stream from appctx_sc() which may be null while the applet is finishing. It's not easy to reproduce, it requires 3-5 sessions in parallel for about a minute or so. The appctx_sc must be checked before passing it to sc_strm(). This must be backported to 2.6 which also has the bug.