handle_fatal_signal (sig=11) in free_root from TABLE_SHARE::destroy on ALTER TABLE t1 ADD COLUMN ... COLUMN_FORMAT COMPRESSED
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Critical
|
Yura Sorokin | ||
5.6 |
Fix Released
|
Critical
|
Yura Sorokin |
Bug Description
Program terminated with signal 11, Segmentation fault.
#0 0x00007fee9e7eb741 in __pthread_kill (threadid=
61 val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid),
(gdb) bt
+bt
#0 0x00007fee9e7eb741 in __pthread_kill (threadid=
#1 0x0000000000ac0e2a in my_write_core (sig=11) at /git/compressio
#2 0x00000000007360ff in handle_fatal_signal (sig=11) at /git/compressio
#3 <signal handler called>
#4 0x0000000000ab4fec in free_root (root=0x7fee9ed
#5 0x00000000008ae898 in TABLE_SHARE:
#6 0x00000000008aea3d in free_table_share (share=
#7 0x0000000000772470 in table_def_
#8 0x0000000000aa1ba7 in my_hash_delete (hash=0x179a0a0 <table_def_cache>, record=
#9 0x0000000000772e18 in release_table_share (share=
#10 0x00000000008b42d3 in closefrm (table=
#11 0x00000000007733c2 in intern_close_table (table=
#12 0x000000000077491b in close_thread_table (thd=0x7fee6eac
#13 0x00000000007742b2 in close_all_
#14 0x000000000085f5be in mysql_inplace_
#15 0x00000000008643a4 in mysql_alter_table (thd=0x7fee6eac
#16 0x00000000009ac859 in Sql_cmd_
#17 0x00000000007f1361 in mysql_execute_
#18 0x00000000007f4ab1 in mysql_parse (thd=0x7fee6eac
#19 0x00000000007e6768 in dispatch_command (command=COM_QUERY, thd=0x7fee6eacf000, packet=
#20 0x00000000007e5609 in do_command (thd=0x7fee6eac
#21 0x00000000007acbad in do_handle_
#22 0x00000000007ac62d in handle_
#23 0x0000000000b0f8cd in pfs_spawn_thread (arg=0x7fee843f
#24 0x00007fee9e7e6dc5 in start_thread (arg=0x7fee9ed5
#25 0x00007fee9cc43ced in clone () at ../sysdeps/
ALTER TABLE t1 ADD COLUMN c VARCHAR(1000) COLUMN_FORMAT COMPRESSED;
Testcase will follow tomorrow. Sporadic but highly present. qablocker.
no longer affects: | percona-server/5.7 |
Changed in percona-server: | |
status: | New → Fix Released |
importance: | Undecided → Critical |
assignee: | nobody → Yura Sorokin (yura-sorokin) |
Similar stack from other trial
+bt <optimized out>, signo=11) at ../nptl/ sysdeps/ unix/sysv/ linux/pthread_ kill.c: 61 n2_dbg/ mysys/stacktrac e.c:422 n2_dbg/ sql/signal_ handler. cc:236 edc30, MyFlags=0) at /git/compressio n2_dbg/ mysys/my_ alloc.c: 368 :destroy (this=0x7f310c0 f6410) at /git/compressio n2_dbg/ sql/table. cc:499 0x7f310c0f6410) at /git/compressio n2_dbg/ sql/table. cc:540 free_entry (share= 0x7f310c0f6410) at /git/compressio n2_dbg/ sql/sql_ base.cc: 351 0x7f310c0f6410 '\217' <repeats 1500 times>...) at /git/compressio n2_dbg/ mysys/hash. c:603 0x7f310c0f6410) at /git/compressio n2_dbg/ sql/sql_ base.cc: 682 0x7f310c066000, free_share=true) at /git/compressio n2_dbg/ sql/table. cc:2528 0x7f310c066000) at /git/compressio n2_dbg/ sql/sql_ base.cc: 817 d000, table_ptr= 0x7f3113ecd0d0) at /git/compressio n2_dbg/ sql/sql_ base.cc: 1521 tables_ for_name (thd=0x7f3113ec d000, share=0x7f310c0 f6410, remove_ from_locked_ tables= false, skip_table=0x0) at /git/compressio n2_dbg/ sql/sql_ base.cc: 1297 alter_table (thd=0x7f3113ec d000, table_list= 0x7f310c01f148, table=0x7f310c0 66000, altered_ table=0x7f310c1 18e00, ha_alter_ info=0x7f31440e e810, inplace_ supported= HA_ALTER_ INPLACE_ NO_LOCK_ AFTER_PREPARE, target_ mdl_request= 0x7f31440ee260, alter_ctx= 0x7f31440eed70) at /git/compressio n2_dbg/ sql/sql_ table.cc: 6913 d000, new_db= 0x7f310c01f6a8 "test", new_name=0x0, create_ info=0x7f31440e fc30, table_list= 0x7f310c01f148, alter_info= 0x7f31440efb70, order_num=0, order=0x0, ignore=false) at /git/compressio n2_dbg/ sql/sql_ table.cc: 8943 alter_table: :execute (this=0x7f310c0 1f788, thd=0x7f3113ecd000) at /git/compressio n2_dbg/ sql/sql_ alter.cc: 317 command (thd=0x7f3113ec d000) at /git/compressio n2_dbg/ sql/sql_ parse.cc: 5528 d000, rawbuf= 0x7f310c01f010 "ALTER TABLE t1 ADD COLUMN c VARCHAR(1000) COLUMN_FORMAT COMPRESSED", length=66, parser_ state=0x7f31440 f1500) at /git/compressio n2_dbg/ sql/sql_ parse.cc: 7002 0x7f3113ed1001 "ALTER TABLE t1 ADD COLUMN c VARCHAR(1000) COLUMN_FORMAT COMPRESSED;", packet_length=67) at /git/compressio n2_dbg/ sql/sql_ parse.cc: 1450 d000) at /git/compressio n2_dbg/ sql/sql_ parse.cc: 1058
#0 0x00007f3143b3f741 in __pthread_kill (threadid=
#1 0x0000000000ac0e2a in my_write_core (sig=11) at /git/compressio
#2 0x00000000007360ff in handle_fatal_signal (sig=11) at /git/compressio
#3 <signal handler called>
#4 0x0000000000ab4f8f in free_root (root=0x7f31440
#5 0x00000000008ae898 in TABLE_SHARE:
#6 0x00000000008aea3d in free_table_share (share=
#7 0x0000000000772470 in table_def_
#8 0x0000000000aa1ba7 in my_hash_delete (hash=0x179a0a0 <table_def_cache>, record=
#9 0x0000000000772e18 in release_table_share (share=
#10 0x00000000008b42d3 in closefrm (table=
#11 0x00000000007733c2 in intern_close_table (table=
#12 0x000000000077491b in close_thread_table (thd=0x7f3113ec
#13 0x00000000007742b2 in close_all_
#14 0x000000000085f5be in mysql_inplace_
#15 0x00000000008643a4 in mysql_alter_table (thd=0x7f3113ec
#16 0x00000000009ac859 in Sql_cmd_
#17 0x00000000007f1361 in mysql_execute_
#18 0x00000000007f4ab1 in mysql_parse (thd=0x7f3113ec
#19 0x00000000007e6768 in dispatch_command (command=COM_QUERY, thd=0x7f3113ecd000, packet=
#20 0x00000000007e5609 in do_command (thd=0x7f3113ec
#21 0x00000000007acbad in do_handle_one_c...