Bug #52618 with compression: SEGV in buf_LRU_add_block_low() buf0lru.c:1345
Submitted: 6 Apr 2010 13:45 Modified: 6 Apr 2010 14:38
Reporter: Mikhail Izioumtchenko Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S1 (Critical)
Version:mysql-5.5.4-iplus OS:Any
Assigned to: Sunny Bains CPU Architecture:Any

[6 Apr 2010 13:45] Mikhail Izioumtchenko
Description:
SEGV with the following stack:

#2  0x0000000000531b3b in handle_segfault (sig=11)
    at /spare2/mizioumt/ctc/mysql_src_c552/sql/mysqld.cc:2751
#3  <signal handler called>
#4  0x00000000008cae78 in buf_LRU_add_block_low (bpage=0x2aaaacb79e00, old=1)
    at /spare2/mizioumt/ctc/mysql_src_c552/storage/innobase/buf/buf0lru.c:1345
#5  0x00000000008cae1a in buf_LRU_add_block (bpage=0x2aaaacb79e00, old=1)
    at /spare2/mizioumt/ctc/mysql_src_c552/storage/innobase/buf/buf0lru.c:1406
#6  0x00000000008c42c9 in buf_page_init_for_read (err=0x4b59a450, mode=132,
    space=5, zip_size=1024, unzip=0, tablespace_version=7, offset=6)
    at /spare2/mizioumt/ctc/mysql_src_c552/storage/innobase/buf/buf0buf.c:3621
#7  0x00000000008cca52 in buf_read_page_low (err=0x4b59a450, sync=1, mode=132,
    space=5, zip_size=1024, unzip=0, tablespace_version=7, offset=6)
    at /spare2/mizioumt/ctc/mysql_src_c552/storage/innobase/buf/buf0rea.c:120
#8  0x00000000008cccb0 in buf_read_page (space=5, zip_size=1024, offset=6)
    at /spare2/mizioumt/ctc/mysql_src_c552/storage/innobase/buf/buf0rea.c:184

above buf_read_page() could be pretty much anything. This is highly reproducible as long as row_format=compressed is used. The binary didn't have any UNIV.*DEBUG defined. 

How to repeat:
srcover.sh detach kbs 4