[MDEV-6290] Crash in KILL HARD QUERY USER x@y when slave threads are running Created: 2014-06-02 Updated: 2014-07-25 Resolved: 2014-07-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.3.12, 5.5.37, 10.0.11 |
| Fix Version/s: | 5.5.39, 10.0.13, 5.3.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kristian Nielsen | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This simple test case crashes the server:
It crashes inside kill_threads_for_user(), in this code:
tmp->security_ctx->host is NULL for the slave IO thread, so we get a NULL I'm not sure if the bug here is that the host field is NULL in the replication |
| Comments |
| Comment by Elena Stepanova [ 2014-06-02 ] |
|
Also reproducible on old versions of 5.3 and 5.5 (tried 5.3.7 and 5.5.23)/ |