[MDEV-8164] Server crashes in pfs_mutex_enter_func after fil_crypt_is_closing or alike Created: 2015-05-15 Updated: 2015-05-28 Resolved: 2015-05-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 10.1.4 |
| Fix Version/s: | 10.1.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Run with --repeat=N (depends on the machine, e.g. it fails for me on 1st or 2nd attempt on my local box, but on ~10th attempt or so on perro).
You might get a slighly different stack trace or an assertion failure, it happened to me. Example:
|
| Comments |
| Comment by Sergei Golubchik [ 2015-05-15 ] |
|
jplindst, could you please look at it? |
| Comment by Jan Lindström (Inactive) [ 2015-05-15 ] |
|
Looks very similar to |
| Comment by Jan Lindström (Inactive) [ 2015-05-18 ] |
|
commit 20c23048c1d2f28942f2f99e4150a58b6545c0cd Analysis: Problem was that tablespaces not encrypted might not have Fixed by always creating crypt_data to memory cache of the tablespace. Analysis: crypt_data->type is not updated correctly on memory Fixed by updating memory cache of crypt_data->type correctly based on |