[MDEV-28186] crash on startup after crash while regular use Created: 2022-03-28 Updated: 2022-05-29 Resolved: 2022-05-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.4.23, 10.7.3 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Maxim | Assignee: | Michael Widenius |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | crash | ||
| Environment: |
Windows 11 x86 |
||
| Attachments: |
|
| Description |
|
|
| Comments |
| Comment by Sergei Golubchik [ 2022-03-30 ] |
|
there's likely more than one bug here. But at the very least, if translog_init() failed in ha_maria_init() at ha_maria.cc:3853, then maria_end() at ma_init.c:95 should not do translog_sync(). |
| Comment by Michael Widenius [ 2022-03-31 ] |
|
The code line is: translog_sync_files(min, max, sync_log_dir >= TRANSLOG_SYNC_DIR_ALWAYS); I cannot see any way this line could fail. Could be inside translog_sync_files(), but then What was in the error log before the exception? I added some simulation of failed log init, and found one case where one could get an assert if trans_init() failed in an unlikely spot, which I have now fixed. However it is very unlikely that this has anything to do with the reported issue. |
| Comment by Elena Stepanova [ 2022-05-01 ] |
|
sailormax, |