[MDEV-3443] LP:790513 - MariaDB crashes on startup Created: 2011-05-31 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Walter Heck (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
I wanted to add skip-pbxt to the config of one of a pair of mariadb dual masters. I added it, tried a restart, failure. Removed it, restart, failure. I've since then been trying a bunch of things:
[root@yomamma ~]# cat /etc/my.cnf
log-bin = /mysql/blog/mysql-bin [root@yomamma ~]# mysqld_safe --safe-mode key_buffer_size=0 Thread pointer: 0x10154340 Trying to get some variables. The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains |
| Comments |
| Comment by Walter Heck (Inactive) [ 2011-05-31 ] |
|
Re: MariaDB crashes on startup |
| Comment by Walter Heck (Inactive) [ 2011-05-31 ] |
|
strace log output |
| Comment by Guillaume Lefranc (Inactive) [ 2011-05-31 ] |
|
Re: MariaDB crashes on startup |
| Comment by Sergei Petrunia [ 2011-06-16 ] |
|
Re: MariaDB crashes on startup psergey@pslp2:/dev2/mysql-server-5.5/sql$ ./mysqld --defaults-file=/my1-tmp.cnf |
| Comment by Sergei Petrunia [ 2011-06-16 ] |
|
Re: MariaDB crashes on startup |
| Comment by Sergei Petrunia [ 2011-06-16 ] |
|
Re: MariaDB crashes on startup |
| Comment by Sergei Petrunia [ 2011-06-16 ] |
|
Re: MariaDB crashes on startup The cause of the crash is that mysql.plugin table is read before plugins are initialized. When mysqld tries to open mysql.plugin it will at some point call ha_resolve_by_name() . When it executes this part of that function: if ((plugin= my_plugin_lock_by_name(thd, name, MYSQL_STORAGE_ENGINE_PLUGIN))) it will have (gdb) p plugin hton==NULL because ha_initialize_handlerton() haven't yet been called for xtradb. |
| Comment by Sergei Petrunia [ 2011-06-16 ] |
|
Re: MariaDB crashes on startup http://lists.askmonty.org/pipermail/commits/2011-June/001911.html which makes the crash go away, and one gets this error instead: 110617 1:10:10 [ERROR] Attempt to use a built-in plugin InnoDB before it has been initialized |
| Comment by Rasmus Johansson (Inactive) [ 2011-10-28 ] |
|
Launchpad bug id: 790513 |