InnoDB: Failing assertion: heap->magic_n == MEM_BLOCK_MAGIC_N | abort in mem_heap_check | Using the --innodb-buffer-pool-populate option can cause the server to abort/be killed
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Won't Fix
|
Undecided
|
Unassigned | |||
5.5 |
Triaged
|
High
|
Unassigned | |||
5.6 |
Triaged
|
High
|
Unassigned | |||
5.7 |
Triaged
|
High
|
Unassigned |
Bug Description
2 Ways this issue can be seen:
1. "Killed"
9s file contains:
/sde/Percona-
$ ./9s
./9s: line 1: 30116 Killed [...]
2. Assert:
2013-09-30 08:05:54 3095 [Note] InnoDB: Initializing buffer pool, size = 40.0G
InnoDB: mmap(44816138240 bytes) failed; errno 12
2013-09-30 08:05:54 7fdb449707e0 InnoDB: Assertion failure in thread 140579725314016 in file mem0dbg.cc line 680
InnoDB: Failing assertion: heap->magic_n == MEM_BLOCK_MAGIC_N
command for (2)
[roel@R420 618951]$ cat 9d Server- 5.6.13- rc60.5- 450-debug. Linux.x86_ 64/bin/ mysqld --basedir= /sde/Percona- Server- 5.6.13- rc60.5- 450-debug. Linux.x86_ 64 --datadir=/tmp --port=39799 --pid=/ ssd/1380539109/ pid.pid --log-error= /ssd/1380539109 /error. log.out --socket= /ssd/1380539109 /socket. sock --user=roel --innodb- buffer- pool-populate --core 2>&1
/sde/Percona-
/tmp is not a datadir, it's just a dummy option for datadir. Note also that strace above may have been on dummy datadir also (but it matters little).