Bug #36310 InnoDB plugin crash
Submitted: 24 Apr 2008 8:11 Modified: 21 May 2008 22:05
Reporter: Venu Anuganti
Status: Closed
Category:Server: InnoDB Severity:S2 (Serious)
Version:innodb_plugin-1.0.0 OS:Any
Assigned to: Vasil Dimov Target Version:
Tags: MySQL 5.1, InnoDB plugin

[24 Apr 2008 8:11] Venu Anuganti
Description:
InnoDB seems to crash when one starts the 5.1.24 server with one of the un-supported
InnoDB options and querying on the Information Schema plugins.

How to repeat:
1. Build the 5.1.24 server with InnoDB plugin (either with --with-innodb or
--with-plugin-innodb or start and load all InnoDB plugins and stop the server)
2. Restart server by adding innodb_flush_method=fdatasync
3. Query Information_schema.locks

For more information on steps, check:
http://venublog.com/2008/04/23/simple-way-to-crash-innodb-plugin-10/

Suggested fix:
It looks like InnoDB needs to have dependency on the main plugin when it is loading the
information schema plugins or at least it should have validation checks up on querying
the information schema tables for the main plugin. I will file a bug report on this
[24 Apr 2008 16:17] Vasil Dimov
Hi,

I am coining a solution for this right now...

I_S plugins should refuse to start if the "main" innodb storage engine plugin is not
loaded.
[29 Apr 2008 17:30] Vasil Dimov
Patch for this is ready - I_S plugins should not start if the main InnoDB storage engine
is not started.

I found http://bugs.mysql.com/36399 while working on this.
[29 Apr 2008 17:39] Vasil Dimov
Patch committed. Will be present in the next plugin version.
[29 Apr 2008 17:42] Venu Anuganti
Thanks for the immediate attention on the bug, we appreciate that.
[21 May 2008 22:05] Calvin Sun
The fix is in 1.0.1 release.