Failing assertion: (ulint) index == offsets[3] at rem0rec.ic line 973
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
New
|
Undecided
|
Unassigned | ||
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
High
|
Unassigned | ||
5.1 |
Won't Fix
|
High
|
Unassigned | ||
5.5 |
Triaged
|
High
|
Unassigned | ||
5.6 |
Invalid
|
High
|
Unassigned |
Bug Description
Version: '5.5.19-debug-log'
120113 21:55:09 InnoDB: Assertion failure in thread 2810686320 in file rem0rec.ic line 973
InnoDB: Failing assertion: (ulint) index == offsets[3]
#2 0x084939f4 in my_write_core (sig=6) at /home/elenst/
#3 0x0818ea21 in handle_segfault (sig=6) at /home/elenst/
#4 <signal handler called>
#5 0xffffe430 in __kernel_vsyscall ()
#6 0xb75607af in raise () from /lib/libc.so.6
#7 0xb75620f0 in abort () from /lib/libc.so.6
#8 0x0864d173 in rec_offs_validate (rec=0xb68944ec "\200", index=0x919cd88, offsets=0xa78796d4)
at /home/elenst/
#9 0x0865681a in lock_rec_
at /home/elenst/
#10 0x08656fe9 in lock_rec_
#11 0x08657256 in lock_validate () at /home/elenst/
#12 0x08656242 in lock_print_
at /home/elenst/
#13 0x0856f2d2 in srv_printf_
at /home/elenst/
#14 0x0856fc7e in srv_monitor_thread (arg=0x0) at /home/elenst/
#15 0xb7838b25 in start_thread () from /lib/libpthread
RQG test (run on a debug version of the server):
perl runall.pl \
--queries=10M \
--duration=300 \
--mysqld=
--threads=2 \
--grammar=assert.yy \
--gendata=assert.zz \
--engine=InnoDB \
--basedir=<path to the debug server> \
--vardir=<path to vardir>
# assert.yy
query:
UPDATE _table SET _field_no_pk = _digit ;
# end of assert.yy
# assert.zz
$tables = {
partitions => [ 'KEY (pk) PARTITIONS 2' ],
rows => [ 10, 100 ]
};
$fields = {
types => [ 'int' ],
indexes => [ 'key' ],
charsets => ['latin1']
};
$data = {
numbers => [ 'digit' ],
}
# end of assert.zz
Also fails on Oracle MySQL 5.5.19 and 5.5.20, but could not reproduce on 5.6.4.