Bug #88336 myisampack reports "error 140 on open"
Submitted: 2 Nov 2017 17:15 Modified: 3 Nov 2017 5:20
Reporter: Geoff Montee Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: MyISAM storage engine Severity:S3 (Non-critical)
Version:5.6.38, 5.7.20, 5.5.57 OS:Any
Assigned to: CPU Architecture:Any
Tags: myisam, myisampack, regression

[2 Nov 2017 17:15] Geoff Montee
Description:
myisampack included with MySQL 5.6.38 appears to be broken.

How to repeat:
Create a table:

USE db1;
CREATE TABLE tab (id int primary key, str varchar(50)) ENGINE=MyISAM;

Then run myisampack:

cd /var/lib/mysql/db1/
myisampack tab.MYI

This fails:

# myisampack tab.MYI
tab.MYI gave error 140 on open

Suggested fix:
myisampack should work in this case.
[3 Nov 2017 5:20] MySQL Verification Team
Hello Montee,

Thank you for the report.
Observed that myisampack from 5.6.38/5.7.20 affected.

Thanks,
Umesh