Crash in hp_movelink in mysql-55-eb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
percona-projects-qa |
Fix Released
|
High
|
Valentine Gostev |
Bug Description
Not reproducible on mysql-5.5.
Backtrace:
#4 <signal handler called>
#5 0x085fcfe0 in hp_movelink (pos=0xaea11748, next_link=0x0, newlink=0xaea11760) at /home/philips/
#6 0x086020c2 in hp_write_key (info=0xaea14160, keyinfo=0xaea11428, record=0xaea33fe0 "", recpos=0xaea4a840 "")
at /home/philips/
#7 0x086019f0 in heap_write (info=0xaea14160, record=0xaea33fe0 "") at /home/philips/
#8 0x085fa6e0 in ha_heap::write_row (this=0xaea33ec0, buf=0xaea33fe0 "") at /home/philips/
#9 0x08355a43 in handler:
#10 0x081ed5ac in write_record (thd=0xa238fe0, table=0xaea136b8, info=0xb17b703c) at /home/philips/
#11 0x081eb7ee in mysql_insert (thd=0xa238fe0, table_list=
ignore=true) at /home/philips/
#12 0x08203178 in mysql_execute_
#13 0x0820a92a in mysql_parse (thd=0xa238fe0, rawbuf=0xaea046d0 "INSERT IGNORE INTO t1 VALUES ( 'te' , 'm') , ( NULL , 'think' )", length=64,
parser_
#14 0x081feffa in dispatch_command (command=COM_QUERY, thd=0xa238fe0, packet=0xa2d0919 "INSERT IGNORE INTO t1 VALUES ( 'te' , 'm') , ( NULL , 'think' )",
packet_
#15 0x081fe4e8 in do_command (thd=0xa238fe0) at /home/philips/
#16 0x082cced5 in do_handle_
#17 0x082ccb98 in handle_
#18 0x084d9648 in pfs_spawn_thread (arg=0xa2c07a0) at /home/philips/
#19 0x00821919 in start_thread () from /lib/libpthread
#20 0x0076acce in clone () from /lib/libc.so.6
test case:
CREATE TABLE t1 (
f1 VARCHAR ( 128 ) ,
f2 VARCHAR ( 32 ),
PRIMARY KEY ( f2 ( 2 ) , f1 )
)
ENGINE=HEAP KEY_BLOCK_SIZE = 512;
INSERT IGNORE INTO t1 VALUES ( 'te' , 'm') , ( NULL , 'think' );
INSERT IGNORE INTO t1 VALUES ( 'te' , 'm') , ( NULL , 'think' );
Related branches
Changed in percona-projects-qa: | |
assignee: | nobody → Valentine Gostev (core-longbow) |
Changed in percona-projects-qa: | |
status: | Triaged → In Progress |
Changed in percona-projects-qa: | |
status: | In Progress → Triaged |
status: | Triaged → In Progress |
Changed in percona-projects-qa: | |
status: | In Progress → Fix Committed |
summary: |
- Crash in hp_movelink in maria-55-eb + Crash in hp_movelink in mysql-55-eb |
Changed in percona-projects-qa: | |
status: | Fix Committed → Fix Released |
Also repeatable with single-part primary keys. Seems like it is important for the key to be a prefix key.