[MDEV-19427] mysql_upgrade_service throws exception upgrading from 10.0 to 10.3 Created: 2019-05-09  Updated: 2019-05-10  Resolved: 2019-05-09

Status: Closed
Project: MariaDB Server
Component/s: Platform Windows
Affects Version/s: 10.3.14
Fix Version/s: 10.2.25, 10.1.41, 10.3.15, 10.4.5

Type: Bug Priority: Major
Reporter: Ben 136 Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows Server 2008 R2 x64


Attachments: Zip Archive mysql_upgrade_service.exe.2800.dmp.zip    

 Description   

We have MariaDB x64 10.0.19 running on Windows Server R2. I ran the MardiaDB 10.3.14 install. I chose the "upgrade" option, defaults everywhere, and the install went fine, except the final upgrade tool threw an exception. If I go to "c:\program files\mariadb 10.3\bin" and run "mysql_upgrade_service --service=MySQL, then it throws an exception on phase 3/10, ensuring innodb slow shutdown.

Attached is a minidump crash report.



 Comments   
Comment by Ben 136 [ 2019-05-09 ]

Crash report shows:
> KERNELBASE.dll!WriteFile() Unknown
kernel32.dll!WriteFileImplementation() Unknown
MYSQL_UPGRADE_SERVICE.EXE!000000013f511952() Unknown
MYSQL_UPGRADE_SERVICE.EXE!000000013f511f54() Unknown
MYSQL_UPGRADE_SERVICE.EXE!000000013f532344() Unknown

Comment by Ben 136 [ 2019-05-09 ]

I have a full dump as well, but it is too large to attach. The crash is a null pointer write.

The wiki and web site provide no instructions for what to do when this fails...

Comment by Vladislav Vaintroub [ 2019-05-09 ]

Well, this is a bug, which seems to happen only on quite old Windows versions now. Thus was not caught by any internal testing.
thanks for the bug report and for the extra info (dumps).
You'll need to wait until 10.3.15 to upgrade.

Comment by Ben 136 [ 2019-05-09 ]

I can provide more information if need be, or run a version with a pdb file to get a more detailed crash report etc.

Comment by Ben 136 [ 2019-05-09 ]

THANK YOU! Glad the bug report was helpful. Server 2008 is old, but still has active support from Microsoft, at least until 2020. I do need to upgrade it at some point.

Comment by Vladislav Vaintroub [ 2019-05-09 ]

Strictly speaking , Windows 2008 R2 support is not very active support, since 4 years it is in extended support, which is going to end soon.

We do have PDBs, if you're interested, they can be downloaded from https://downloads.mariadb.org/mariadb/10.3.14/ (look for "debugsymbols" ZIPs)

Generated at Thu Feb 08 08:51:37 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.