Server started with skip-innodb crashes on SELECT * FROM INNODB_TABLE_STATS or INNODB_INDEX_STATS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
New
|
Undecided
|
Unassigned | ||
5.1 |
New
|
Undecided
|
Unassigned | ||
5.2 |
New
|
Undecided
|
Unassigned | ||
5.3 |
New
|
Undecided
|
Unassigned | ||
5.5 |
Fix Committed
|
Undecided
|
Unassigned | ||
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Low
|
Stewart Smith | ||
5.1 |
Fix Released
|
Low
|
Stewart Smith | ||
5.5 |
Fix Released
|
Low
|
Stewart Smith |
Bug Description
System: Ubuntu 10.04 server with all updates running on Linode VPS
MariaDB Version: '5.2.9-
innodb is disabled (skip-innodb in config)
default_
After installing automysqlbackup from repo and running it manualy, MariaDB crashes and is restarted while backing up information_schema.
Problem is repeatable.
Syslog fragment:
Nov 25 22:52:26 s3 mysqld: 111125 22:52:26 [ERROR] mysqld got signal 11 ;
Nov 25 22:52:26 s3 mysqld: This could be because you hit a bug. It is also possible that this binary
Nov 25 22:52:26 s3 mysqld: or one of the libraries it was linked against is corrupt, improperly built,
Nov 25 22:52:26 s3 mysqld: or misconfigured. This error can also be caused by malfunctioning hardware.
Nov 25 22:52:26 s3 mysqld: We will try our best to scrape up some info that will hopefully help diagnose
Nov 25 22:52:26 s3 mysqld: the problem, but since we have already crashed, something is definitely wrong
Nov 25 22:52:26 s3 mysqld: and this may fail.
Nov 25 22:52:26 s3 mysqld:
Nov 25 22:52:26 s3 mysqld: key_buffer_size=0
Nov 25 22:52:26 s3 mysqld: read_buffer_
Nov 25 22:52:26 s3 mysqld: max_used_
Nov 25 22:52:26 s3 mysqld: max_threads=102
Nov 25 22:52:26 s3 mysqld: threads_connected=1
Nov 25 22:52:26 s3 mysqld: It is possible that mysqld could use up to
Nov 25 22:52:26 s3 mysqld: key_buffer_size + (read_buffer_size + sort_buffer_
Nov 25 22:52:26 s3 mysqld: bytes of memory
Nov 25 22:52:26 s3 mysqld: Hope that's ok; if not, decrease some variables in the equation.
Nov 25 22:52:26 s3 mysqld:
Nov 25 22:52:26 s3 mysqld: Thread pointer: 0xb86b8128
Nov 25 22:52:26 s3 mysqld: Attempting backtrace. You can use the following information to find out
Nov 25 22:52:26 s3 mysqld: where mysqld died. If you see no messages after this, something went
Nov 25 22:52:26 s3 mysqld: terribly wrong...
Nov 25 22:52:26 s3 mysqld: stack_bottom = 0xa8d6436c thread_stack 0x30000
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Nov 25 22:52:26 s3 mysqld: [0xf57fe400]
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Item*, st_order*, unsigned long long, select_result*, st_select_
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Nov 25 22:52:26 s3 mysqld: /usr/sbin/
Nov 25 22:52:26 s3 mysqld: /lib/tls/
Nov 25 22:52:26 s3 mysqld: /lib/tls/
Nov 25 22:52:26 s3 mysqld:
Nov 25 22:52:26 s3 mysqld: Trying to get some variables.
Nov 25 22:52:26 s3 mysqld: Some pointers may be invalid and cause the dump to abort.
Nov 25 22:52:26 s3 mysqld: Query (0xb880eba0): SELECT /*!40001 SQL_NO_CACHE */ * FROM `INNODB_
Nov 25 22:52:26 s3 mysqld: Connection ID (thread ID): 2
Nov 25 22:52:26 s3 mysqld: Status: NOT_KILLED
Nov 25 22:52:26 s3 mysqld:
Nov 25 22:52:26 s3 mysqld: The manual page at http://
Nov 25 22:52:26 s3 mysqld: information that should help you find out what is causing the crash.
Nov 25 22:52:26 s3 mysqld_safe: Number of processes running now: 0
Nov 25 22:52:26 s3 mysqld_safe: mysqld restarted
Nov 25 22:52:26 s3 mysqld: 111125 22:52:26 [Note] PrimeBase XT (PBXT) Engine 1.0.11-7 Pre-GA loaded...
Nov 25 22:52:26 s3 mysqld: 111125 22:52:26 [Note] Paul McCullagh, PrimeBase Technologies GmbH, http://
Nov 25 22:52:26 s3 mysqld: 111125 22:52:26 [Note] The server was not shutdown correctly, recovery required
Nov 25 22:52:26 s3 mysqld: 111125 22:52:26 [Note] Plugin 'InnoDB' is disabled.
Nov 25 22:52:26 s3 mysqld: 111125 22:52:26 [Note] Recovering after a crash using /var/log/
Nov 25 22:52:26 s3 mysqld: 111125 22:52:26 [Note] Starting crash recovery...
Nov 25 22:52:26 s3 mysqld: 111125 22:52:26 [Note] Crash recovery finished.
Nov 25 22:52:26 s3 mysqld: 111125 22:52:26 [Note] Event Scheduler: Loaded 0 events
Nov 25 22:52:26 s3 mysqld: 111125 22:52:26 [Note] /usr/sbin/mysqld: ready for connections.
Nov 25 22:52:26 s3 mysqld: Version: '5.2.9-
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 616 lines (+140/-230)11 files modifiedPercona-Server/mysql-test/r/information_schema.result (+7/-11)
Percona-Server/mysql-test/r/information_schema_db.result (+1/-2)
Percona-Server/mysql-test/r/mysqlshow.result (+2/-4)
Percona-Server/mysql-test/suite/innodb_plugin/r/percona_skip_innodb_i_s.result (+93/-0)
Percona-Server/mysql-test/suite/innodb_plugin/t/percona_skip_innodb_i_s-master.opt (+1/-0)
Percona-Server/mysql-test/suite/innodb_plugin/t/percona_skip_innodb_i_s.test (+21/-0)
Percona-Server/storage/innodb_plugin/Makefile.am (+0/-1)
Percona-Server/storage/innodb_plugin/handler/ha_innodb.cc (+1/-2)
Percona-Server/storage/innodb_plugin/handler/i_s.cc (+14/-158)
Percona-Server/storage/innodb_plugin/handler/i_s.h (+0/-1)
Percona-Server/storage/innodb_plugin/handler/innodb_patch_info.h (+0/-51)
- Alexey Kopytov (community): Approve
-
Diff: 257 lines (+162/-0)4 files modifiedPercona-Server/mysql-test/suite/innodb/r/percona_skip_innodb_i_s.result (+114/-0)
Percona-Server/mysql-test/suite/innodb/t/percona_skip_innodb_i_s-master.opt (+1/-0)
Percona-Server/mysql-test/suite/innodb/t/percona_skip_innodb_i_s.test (+25/-0)
Percona-Server/storage/innobase/handler/i_s.cc (+22/-0)
summary: |
- Crash and restart of MariaDB 5.2.9 after running automysqlbackup on - ubuntu 10.04 + Server started with skip-innodb crashes in mutex_test_and_set on SELECT + * FROM INNODB_TABLE_STATS or INNODB_INDEX_STATS |
Changed in maria: | |
milestone: | none → 5.1 |
description: | updated |
What is the point of disabling innodb *and* running SELECT * FROM `INNODB_ TABLE_STATS` ?
check what plugins you use with "show plugins", you probably did not disabled everything. there are ~10 information schema for innodb plugins (among them | INNODB_TABLE_STATS) that not likely to function, or just useless if you disable the storage engine. You can see them with 'show plugins'. I guess everything will be back to normal if you disable the rest of INNODB_XXX plugins as well.