By code analysis, attaching GDB to mysqld while it is writing to socket will result in the same issue. This is harder to reproduce though.
By code analysis, attaching GDB to mysqld while it is writing to socket will result in the same issue. This is harder to reproduce though.