[MDEV-23468] inline_mysql_socket_send: Assertion `mysql_socket.fd != -1' failed on shutdown Created: 2020-08-13 Updated: 2020-12-22 Resolved: 2020-12-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.4.18, 10.5.9, 10.6.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Roel Van de Paar | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | affects-tests | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Seen with some regularity in [recent or 10.4] test runs;
jplindst any idea what happens here? Very hard to reproduce. Seems WSREP kills a connection and server does subsequently assert. I am attaching full details (full trial, core dump, data dir, logs). Core can be debugged as follows:
Or
Error log in log/master.err, used sql in default.node.tld_thread-0.sql (55k lines, not reducible as bug will not reproduce likely due to some 'required state' or 'timing' or 'os slicing' issue. |
| Comments |
| Comment by Stepan Patryshev (Inactive) [ 2020-08-27 ] |
|
It fails sporadically on galera_sr.galera_sr_cc_master MTR, see |
| Comment by Jan Lindström (Inactive) [ 2020-09-23 ] |
|
| Comment by Roel Van de Paar [ 2020-09-23 ] |
|
jplindst thank you for the core analysis and testcase. mkaruza It will be super great to see this mysql_socket.fd Unable to render embedded object: File (= -1 issue resolved as I see many tests fail with similar assertion message, and I suspect they are various issues (potentially not related to wsrep at all?). Thank you) not found. Question; do you think this issue is present in 10.5 as well? |
| Comment by Michael Widenius [ 2020-12-03 ] |
|
I have updated the pull request with a suggestion for a better fix. |