Bug #91067 Contribution by Facebook: Do not use sigmask in ppoll for client libraries
Submitted: 29 May 23:07 Modified: 1 Jun 18:16
Reporter: FBContrib Admin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: C API (client library) Severity:S3 (Non-critical)
Version:8.0.11 OS:Any
Assigned to: CPU Architecture:Any

[29 May 23:07] FBContrib Admin
Description:
Background innformation provided by Facebook:
Abstract:

We are unblocking all signals when we call ppoll. It seems like the original usage of ppoll was mainly meant for server usage anyway, and has no effect on clients. Disable using this on clients by checking vio->thread_id.

This fixes bug#90999

Repo: https://github.com/mysql/mysql-server
Patch on top of 8.0.11: https://github.com/mysql/mysql-server/commit/4f1d7cf5fcb11a3f84cff27e37100d7295e7d5ca

How to repeat:
See description

Suggested fix:
See contribution code attached
[29 May 23:07] FBContrib Admin
Do not use sigmask in ppoll for client libraries 
(*) This code is contributed under the Facebook agreement

Contribution: fb_patch_65.txt (text/plain), 652 bytes.

[1 Jun 15:18] Omer Barnir
Thank you for the contribution
[1 Jun 18:16] Paul Dubois
Posted by developer:
 
Fixed in 8.0.13.

In the client library, signals were incorrectly unblocked for
ppoll(). Thanks to Facebook for the patch.
[8 Jun 15:17] Paul Dubois
Fixed in 8.0.12.