InnoDB crashes with buffer pool in shared memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
High
|
Unassigned |
Bug Description
Sometimes I got crash when InnoDB starts with existing buffer pool
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x59bee940 (LWP 18353)]
ha_insert_
166 ha/ha0ha.c: No such file or directory.
in ha/ha0ha.c
(gdb) bt
#0 ha_insert_
#1 0x00000000007d291e in btr_search_
n_fields=<value optimized out>, n_bytes=<value optimized out>, left_side=<value optimized out>) at btr/btr0sea.c:1520
#2 0x00000000007d3419 in btr_search_
#3 0x00000000007c7362 in btr_search_
latch_
mtr=0x59beaa40) at ./include/
#4 btr_cur_
cursor=
#5 0x0000000000789d68 in btr_pcur_
mode=2, prebuilt=
#6 row_search_
match_mode=1, direction=0) at row/row0sel.c:3705
#7 0x0000000000730675 in ha_innobase:
buf=
find_
#8 0x000000000068efd9 in handler:
buf=
keypart_map=3, find_flag=
#9 0x0000000000618f77 in join_read_const (tab=0x13959cc0) at sql_select.cc:11923
#10 0x0000000000623afd in join_read_
#11 0x000000000062453c in make_join_
keyuse_
#12 0x0000000000625f6f in JOIN::optimize (this=0x13958198) at sql_select.cc:1041
#13 0x000000000062e991 in mysql_select (thd=0x2aca1c0e
wild_num=0, fields=..., conds=0x13957ff0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0,
select_
#14 0x000000000062f3e5 in handle_select (thd=0x2aca1c0e
setup_
#15 0x00000000005bd141 in execute_
#16 0x00000000005c03c1 in mysql_execute_
#17 0x000000000063aab0 in Prepared_
open_
#18 0x000000000063cb64 in Prepared_
packet=<value optimized out>, packet_end=<value optimized out>) at sql_prepare.cc:3551
#19 0x000000000063ce64 in mysqld_stmt_execute (thd=0x2aca1c0e
at sql_prepare.cc:2598
#20 0x00000000005c6821 in dispatch_command (command=
packet_
#21 0x00000000005c79f0 in do_command (thd=0x2aca1c0e
#22 0x00000000005b9af2 in handle_
#23 0x0000003d2760673d in start_thread () from /lib64/
#24 0x0000003d26ed3d1d in clone () from /lib64/libc.so.6
Related branches
- Vadim Tkachenko: Approve
- Fred Linhoss (community): Approve (documentation)
-
Diff: 291 lines (+77/-39)1 file modifiedinnodb_buffer_pool_shm.patch (+77/-39)
Changed in percona-server: | |
status: | Confirmed → Fix Committed |
Changed in percona-server: | |
status: | Fix Committed → Fix Released |
stack trace for all threads
http:// pastebin. com/gftNhxrQ