130116 0:19:01 InnoDB: Assertion failure in thread 337725184 in file buf0buddy.ic line 137
InnoDB: Failing assertion: __builtin_expect(!((size) & ((size) - 1)), (1))
#0 0x0000003da180c60c in pthread_kill () from /lib64/libpthread.so.0
#1 0x00000000007dc4a8 in my_write_core (sig=6) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/mysys/stacktrace.c:433
#2 0x00000000006b1b68 in handle_fatal_signal (sig=6) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/sql/signal_handler.cc:249
#3 <signal handler called>
#4 0x0000003da1435935 in raise () from /lib64/libc.so.6
#5 0x0000003da14370e8 in abort () from /lib64/libc.so.6
#6 0x00000000008f0550 in buf_buddy_free (buf_pool=buf_pool@entry=0x5dc0d28, buf=buf@entry=0x4c2e310, size=size@entry=192, have_page_hash_mutex=have_page_hash_mutex@entry=1) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/storage/innobase/include/buf0buddy.ic:137
#7 0x00000000008f7b91 in buf_LRU_free_block (bpage=bpage@entry=0x6253060, zip=zip@entry=0, have_LRU_mutex=have_LRU_mutex@entry=1) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/storage/innobase/buf/buf0lru.c:1859
#8 0x00000000008bd2d7 in btr_blob_free (block=block@entry=0x6253060, all=0, all@entry=8192, mtr=mtr@entry=0x14211350) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/storage/innobase/btr/btr0cur.c:4318
#9 0x00000000008c6ecc in btr_store_big_rec_extern_fields (index=index@entry=0xe83afe8, rec_block=<optimized out>, rec=rec@entry=0x956163a "p", offsets=offsets@entry=0x18135808, big_rec_vec=big_rec_vec@entry=0x1f4d60b8, btr_mtr=btr_mtr@entry=0x14211c00, op=op@entry=BTR_STORE_INSERT) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/storage/innobase/btr/btr0cur.c:4692
#10 0x00000000009caf04 in row_ins_index_entry_low (mode=mode@entry=33, index=index@entry=0xe83afe8, entry=entry@entry=0x199386d8, n_ext=n_ext@entry=0, thr=thr@entry=0x194527f8) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/storage/innobase/row/row0ins.c:2237
#11 0x00000000009ce8d8 in row_ins_index_entry (index=0xe83afe8, entry=0x199386d8, n_ext=n_ext@entry=0, foreign=foreign@entry=1, thr=thr@entry=0x194527f8) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/storage/innobase/row/row0ins.c:2297
#12 0x00000000009cf61e in row_ins_index_entry_step (thr=0x194527f8, node=0x19451bb0) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/storage/innobase/row/row0ins.c:2373
#13 row_ins (thr=<optimized out>, node=<optimized out>) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/storage/innobase/row/row0ins.c:2505
#14 row_ins_step (thr=thr@entry=0x194527f8) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/storage/innobase/row/row0ins.c:2622
#15 0x00000000008406d0 in row_insert_for_mysql (mysql_rec=0x4da97e0 "\022 @", prebuilt=0x19450698) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/storage/innobase/row/row0mysql.c:1255
#16 0x000000000081d39c in ha_innobase::write_row (this=0x13ebcc30, record=0x4da97e0 "\022 @") at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/storage/innobase/handler/ha_innodb.cc:6007
#17 0x00000000006ba536 in handler::ha_write_row (this=0x13ebcc30, buf=0x4da97e0 "\022 @") at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/sql/handler.cc:5359
#18 0x0000000000585d5f in write_record (thd=thd@entry=0x183161d0, table=table@entry=0x1c0d39c0, info=info@entry=0x142125e0) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/sql/sql_insert.cc:1788
#19 0x0000000000588af8 in mysql_insert (thd=0x183161d0, table_list=0x1821b308, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=true) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/sql/sql_insert.cc:956
#20 0x000000000059c967 in mysql_execute_command (thd=thd@entry=0x183161d0) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/sql/sql_parse.cc:3065
#21 0x00000000005a157d in mysql_parse (thd=thd@entry=0x183161d0, rawbuf=<optimized out>, length=526114, parser_state=parser_state@entry=0x14213760) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/sql/sql_parse.cc:5811
#22 0x00000000005a2058 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x183161d0, packet=packet@entry=0x1be76b91 "INSERT /*! IGNORE */ INTO table100_innodb_compressed VALUES ('v', 5, -2162688, 9, 'if', 'not', '2004-03-11', 'c', NULL, 9, 'on', 'he', 'me', 'but', LOAD_FILE('/ssd/randgen/data/earth579kb.jpg'), 'so', 'ervfxjwwnumldyvbvoxohpqjlthjnpoygbiwhefqgjebmzhhwudctrzzurgappaukigqcjbmcsynlhgknffacbhbgnooevxsfuyqtqlythnkldyqjkmsyqzemhsrkwccjxvbqcypesgagjhxyhtck', 'okay', 't', 'rvfxjwwnumldyvbvoxohpqjlthjnpoygbiwhefqgjebmzhhwudctrzzurgappaukigqcjbmcsynlhgknffacbhbgnooevxsfuyqtqlythnkldyqjkmsyqzemhsrkwccjxvbqcypesgagjhxyhtckdvtvztxxlkgyytirtjzfxcnjciumiedynuxyxdsnripjgwynfylhqqokfwjauarcwjaqjmrvybkzoajwsgmlffaiwjcfdtlogqpqbabsrlxsafnrxvsepjxpnphrawxnmigmzxmffhozblxtcecuphuszsyifajvkyccgaysxydqesprecoutuaxcwvlzaevljxqfnwgrzxxatyroycnptwikjvoblbwcmofyvwvlvoxixzthshkhprlxljpvrjhiptekmwruoqmrfmjctkzvhemgensupxdpbcltcyjpexjverqajkngodiodazdfrppnwcuhjqvbdqeljndldbyzvgjaigndmnfxnpshualbglrvrzlvbfestlvecnpmutovlbbohogkwbxpmzdvqyqncuvlpzhiqqauzhcixnnpebdvlxwlqqzpfqtonasvxiuomzpazvotiwzgepecaptsndjjflycgcppv"..., packet_length=packet_length@entry=526114) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/sql/sql_parse.cc:1061
#23 0x00000000005a3613 in do_command (thd=0x183161d0) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/sql/sql_parse.cc:788
#24 0x000000000064d19c in do_handle_one_connection (thd_arg=thd_arg@entry=0x183161d0) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/sql/sql_connect.cc:1484
#25 0x000000000064d292 in handle_one_connection (arg=0x183161d0) at /ssd/bug1086680/Percona-Server-5.5.28-rel29.2/sql/sql_connect.cc:1391
#26 0x0000003da1807d14 in start_thread () from /lib64/libpthread.so.0
#27 0x0000003da14f168d in clone () from /lib64/libc.so.6
Roel has testcase (same one as for bug bug1086680 / bug 1083058). Laurynas has copy also. Happy to do few patch>test rounds once initial patch is available.