handle_fatal_signal (sig=11) in sql_digest_storage::copy
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
||||
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
New
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
High
|
Unassigned | |||
5.7 |
Fix Released
|
High
|
Unassigned |
Bug Description
2017-01-
Version: '5.7.17-11-debug' socket: '/sda/PS300117-
21:58:13 UTC - mysqld got signal 11 ;
Core was generated by `/sda/PS300117-
Program terminated with signal 11, Segmentation fault.
#0 0x00007fd808000741 in __pthread_kill (threadid=
61 val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid),
(gdb) bt
#0 0x00007fd808000741 in __pthread_kill (threadid=
#1 0x000000000185027e in my_write_core (sig=11) at /git/PS-
#2 0x0000000000e81bc1 in handle_fatal_signal (sig=11) at /git/PS-
#3 <signal handler called>
#4 __memcpy_ssse3_back () at ../sysdeps/
#5 0x000000000188a298 in sql_digest_
#6 0x000000000188ebd4 in find_or_
at /git/PS-
#7 0x0000000001885de7 in pfs_end_
#8 0x00000000015159a9 in inline_
#9 0x000000000151b031 in dispatch_command (thd=0x7fd7c381
#10 0x0000000001518849 in do_command (thd=0x7fd7c381
#11 0x0000000001656dfe in handle_connection (arg=0x7fd7ee01
#12 0x000000000187ee4d in pfs_spawn_thread (arg=0x7fd7fd79
#13 0x00007fd807ffbdc5 in start_thread (arg=0x7fd8085e
#14 0x00007fd80645673d in clone () at ../sysdeps/
Start server with --no-defaults --performance-
Then execute any query like SELECT 1;
This testcase does NOT crash MS 5.7.17
Related to TokuDB PFS perhaps?
TokuDB PFS is not merged. Roel, can you please test PS and MySQL under Valgrind and/or ASan with this testcase?