handle_fatal_signal (sig=11) in MYSQLparse
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Triaged
|
High
|
Unassigned | |||
5.6 |
Triaged
|
Medium
|
Unassigned | |||
5.7 |
Triaged
|
Medium
|
Unassigned |
Bug Description
Core was generated by `/sda/PS091117-
Program terminated with signal 11, Segmentation fault.
#0 0x00007f91e6d899b1 in __pthread_kill (threadid=
at ../nptl/
61 val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid),
(gdb) bt
#0 0x00007f91e6d899b1 in __pthread_kill (threadid=
at ../nptl/
#1 0x00000000007f9bc8 in my_write_core (sig=11) at /home/roel/
#2 0x00000000006b9803 in handle_fatal_signal (sig=11) at /home/roel/
#3 <signal handler called>
#4 0x00000000006838a5 in MYSQLparse (YYTHD=
#5 0x000000000059e904 in parse_sql (thd=thd@
creation_
#6 0x000000000059ebcc in mysql_parse (thd=thd@
parser_
#7 0x00000000005a0721 in dispatch_command (command=
packet=
#8 0x00000000005a256f in do_command (thd=0x7f91d7fd
#9 0x0000000000651406 in do_handle_
at /home/roel/
#10 0x00000000006514fc in handle_
#11 0x00007f91e6d84e25 in start_thread (arg=0x7f91e737
#12 0x00007f91e558234d in clone () at ../sysdeps/
Testcase:
SOURCE testcase.sql # attached
Issue does not reproduce on MS 5.5.58
5.6 and 5.7 give different outputs yet again (looks buggy) but do not crash