[MDEV-29015] InnoDB: Assertion failure in file /home/buildbot/buildbot/build/mariadb-10.3.35/storage/innobase/fil/fil0fil.cc line 968 Created: 2022-07-03 Updated: 2022-09-04 Resolved: 2022-09-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.3.35 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Shenyu Zheng | Assignee: | Daniel Black |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Docker |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
Try to do laravel migrate, and it crashes every time on this spot. Was fine with MySQL server. |
| Comments |
| Comment by Thirunarayanan Balathandayuthapani [ 2022-07-10 ] | |||||||||||||
|
Please mention the docker build version and please provide information about OS too. It looks like issue is related to | |||||||||||||
| Comment by Daniel Black [ 2022-07-11 ] | |||||||||||||
|
It looks like WSL related probably exactly issue 8443. Reproducing this should be creating the table organizations, and then alter table `organizations` add index `organizations_stripe_id_index`(`stripe_id`). If you are able to follow the same recording of strace/procmon, and report the version information we can confirm this and add more information to the WSL issue. thiru, on the difference to MySQL, MySQL's os_file_set_size takes an existing current_size, rather than MariaDB's fstat (the failing WSL), to determine the existing size. MYSQL also uses my_seek (lseek wrapper) to SEEK_END (in my_fallocator) to determine the current size, so this might a way to avoid it. | |||||||||||||
| Comment by Daniel Black [ 2022-07-11 ] | |||||||||||||
|
thiru, I did a proof of concept in bb-10.3-danielblack- shenyu, I'll prepare a container later for testing assuming it passes the test suite ok. | |||||||||||||
| Comment by Daniel Black [ 2022-07-11 ] | |||||||||||||
|
The container image is available as quay.io/mariadb-foundation/mariadb-devel:10.3-mdev-29015-avoid-wsl8443. If you are able to test in your test environment this to see if it crashes in a Windows WSL environment that would be appreciated. If it fails for some reason, can you perform a strace on the test case like the instructions in | |||||||||||||
| Comment by Shenyu Zheng [ 2022-07-12 ] | |||||||||||||
|
$ docker version Server: Docker Desktop 4.8.2 (79419) | |||||||||||||
| Comment by Shenyu Zheng [ 2022-07-12 ] | |||||||||||||
|
Daniel, I will try, I don't do this DB debug much so may take some time. Thanks. | |||||||||||||
| Comment by Daniel Black [ 2022-07-12 ] | |||||||||||||
|
| |||||||||||||
| Comment by Daniel Black [ 2022-07-25 ] | |||||||||||||
|
I retested on Windows 10 - 19044.1826 and was unable to reproduce this. I also tested on Windows 11 22000.795 and couldn't reproduce it there either. Can you please retest if your Windows updates resolve this. |