| Bug #77747 | Crash on "show global status like '%ssl%'" | ||
|---|---|---|---|
| Submitted: | 16 Jul 2015 20:09 | Modified: | 8 Nov 2015 10:58 |
| Reporter: | Daniël van Eeden (OCA) | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | 5.7.8 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | crash | ||
[16 Jul 2015 20:15]
Daniël van Eeden
Set to "S2 (Serious)"
[16 Jul 2015 20:51]
Daniël van Eeden
With the help of c++filt: /opt/mysql/5.7.8/bin/mysqld(my_print_stacktrace+0x35)[0xed9825] /opt/mysql/5.7.8/bin/mysqld(handle_fatal_signal+0x4a4)[0x763ae4] /lib64/libpthread.so.0(+0x10430)[0x7f4e752b4430] /opt/mysql/5.7.8/bin/mysqld[0x125c1e5] /opt/mysql/5.7.8/bin/mysqld[0x753898] /opt/mysql/5.7.8/bin/mysqld(PFS_status_variable_cache::manifest(THD*, st_mysql_show_var const*, system_status_var*, char const*, bool, bool)+0x1c4)[0x11c5a04] /opt/mysql/5.7.8/bin/mysqld(PFS_status_variable_cache::do_materialize_global()+0x95)[0x11c7ef5] /opt/mysql/5.7.8/bin/mysqld(table_global_status::rnd_init(bool)+0x9c)[0x11f300c] /opt/mysql/5.7.8/bin/mysqld(ha_perfschema::rnd_init(bool)+0x3c)[0x1199a1c] /opt/mysql/5.7.8/bin/mysqld(handler::ha_rnd_init(bool)+0x19)[0x7a32d9] /opt/mysql/5.7.8/bin/mysqld(init_read_record(READ_RECORD*, THD*, TABLE*, QEP_TAB*, int, bool, bool)+0x553)[0xc2ba93] /opt/mysql/5.7.8/bin/mysqld(join_init_read_record(QEP_TAB*)+0xae)[0xc920ce] /opt/mysql/5.7.8/bin/mysqld(sub_select(JOIN*, QEP_TAB*, bool)+0x2b2)[0xc933b2] /opt/mysql/5.7.8/bin/mysqld(JOIN::exec()+0x282)[0xc91932] /opt/mysql/5.7.8/bin/mysqld(handle_query(THD*, LEX*, Query_result*, unsigned long long, unsigned long long)+0x248)[0xcfc258] /opt/mysql/5.7.8/bin/mysqld[0xcbdb33] /opt/mysql/5.7.8/bin/mysqld(mysql_execute_command(THD*)+0x15dd)[0xcbf38d] /opt/mysql/5.7.8/bin/mysqld(mysql_parse(THD*, Parser_state*)+0x3a8)[0xcc2e98] /opt/mysql/5.7.8/bin/mysqld(dispatch_command(THD*, COM_DATA*, enum_server_command)+0x1232)[0xcc4142] /opt/mysql/5.7.8/bin/mysqld(do_command(THD*)+0x194)[0xcc5314] /opt/mysql/5.7.8/bin/mysqld(handle_connection+0x28c)[0xd8d55c] /opt/mysql/5.7.8/bin/mysqld(pfs_spawn_thread+0x160)[0x119d0e0] /lib64/libpthread.so.0(+0x7555)[0x7f4e752ab555] /lib64/libc.so.6(clone+0x6d)[0x7f4e73f01b9d]
[17 Jul 2015 6:15]
Daniël van Eeden
When I tried I couldn't reproduce this crash, so I probably missed something which triggers this.
[27 Aug 2015 23:26]
MySQL Verification Team
If I understood your last comment you aren't able to repeat the crash, right?
[28 Aug 2015 5:18]
Daniël van Eeden
That's correct
[28 Aug 2015 5:38]
MySQL Verification Team
was this a self-built mysqld ? or which exact package is it from ?
[2 Oct 2015 10:08]
MySQL Verification Team
http://bugs.mysql.com/bug.php?id=78476
[8 Nov 2015 10:58]
MySQL Verification Team
couldn't repeat on 5.7.9 (where hidden bug #78476 ) is fixed.

Description: This happened directly after startup. This was the first startup after using mysql_ssl_rsa_setup to enable SSL This was on Fedora 22 with MySQL Sandbox. How to repeat: [dvaneeden@dve-mac msb_5_7_8]$ ./my sql --ssl-ca=data/ca.pem --ssl -h 127.0.0.1 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5 Server version: 5.7.8-rc MySQL Community Server (GPL) Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql [127.0.0.1] {msandbox} ((none)) > \s -------------- /opt/mysql/5.7.8/bin/mysql Ver 14.14 Distrib 5.7.8-rc, for linux-glibc2.5 (x86_64) using EditLine wrapper Connection id: 5 Current database: Current user: msandbox@localhost SSL: Cipher in use is DHE-RSA-AES256-SHA Current pager: stdout Using outfile: '' Using delimiter: ; Server version: 5.7.8-rc MySQL Community Server (GPL) Protocol version: 10 Connection: 127.0.0.1 via TCP/IP Server characterset: latin1 Db characterset: latin1 Client characterset: utf8 Conn. characterset: utf8 TCP port: 5708 Uptime: 1 min 33 sec Threads: 1 Questions: 18 Slow queries: 0 Opens: 107 Flush tables: 1 Open tables: 26 Queries per second avg: 0.193 -------------- mysql [127.0.0.1] {msandbox} ((none)) > show global status like '%ssl%'; 19:14:17 UTC - mysqld got signal 11 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. Attempting to collect some information that could help diagnose the problem. As this is a crash and something is definitely wrong, the information collection process might fail. key_buffer_size=8388608 read_buffer_size=131072 max_used_connections=1 max_threads=151 thread_count=1 connection_count=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68135 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f4e000135e0 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 7f4e4aa95ea8 thread_stack 0x40000 /opt/mysql/5.7.8/bin/mysqld(my_print_stacktrace+0x35)[0xed9825] /opt/mysql/5.7.8/bin/mysqld(handle_fatal_signal+0x4a4)[0x763ae4] /lib64/libpthread.so.0(+0x10430)[0x7f4e752b4430] /opt/mysql/5.7.8/bin/mysqld[0x125c1e5] /opt/mysql/5.7.8/bin/mysqld[0x753898] /opt/mysql/5.7.8/bin/mysqld(_ZN25PFS_status_variable_cache8manifestEP3THDPK17st_mysql_show_varP17system_status_varPKcbb+0x1c4)[0x11c5a04] /opt/mysql/5.7.8/bin/mysqld(_ZN25PFS_status_variable_cache21do_materialize_globalEv+0x95)[0x11c7ef5] /opt/mysql/5.7.8/bin/mysqld(_ZN19table_global_status8rnd_initEb+0x9c)[0x11f300c] /opt/mysql/5.7.8/bin/mysqld(_ZN13ha_perfschema8rnd_initEb+0x3c)[0x1199a1c] /opt/mysql/5.7.8/bin/mysqld(_ZN7handler11ha_rnd_initEb+0x19)[0x7a32d9] /opt/mysql/5.7.8/bin/mysqld(_Z16init_read_recordP11READ_RECORDP3THDP5TABLEP7QEP_TABibb+0x553)[0xc2ba93] /opt/mysql/5.7.8/bin/mysqld(_Z21join_init_read_recordP7QEP_TAB+0xae)[0xc920ce] /opt/mysql/5.7.8/bin/mysqld(_Z10sub_selectP4JOINP7QEP_TABb+0x2b2)[0xc933b2] /opt/mysql/5.7.8/bin/mysqld(_ZN4JOIN4execEv+0x282)[0xc91932] /opt/mysql/5.7.8/bin/mysqld(_Z12handle_queryP3THDP3LEXP12Query_resultyy+0x248)[0xcfc258] /opt/mysql/5.7.8/bin/mysqld[0xcbdb33] /opt/mysql/5.7.8/bin/mysqld(_Z21mysql_execute_commandP3THD+0x15dd)[0xcbf38d] /opt/mysql/5.7.8/bin/mysqld(_Z11mysql_parseP3THDP12Parser_state+0x3a8)[0xcc2e98] /opt/mysql/5.7.8/bin/mysqld(_Z16dispatch_commandP3THDP8COM_DATA19enum_server_command+0x1232)[0xcc4142] /opt/mysql/5.7.8/bin/mysqld(_Z10do_commandP3THD+0x194)[0xcc5314] /opt/mysql/5.7.8/bin/mysqld(handle_connection+0x28c)[0xd8d55c] /opt/mysql/5.7.8/bin/mysqld(pfs_spawn_thread+0x160)[0x119d0e0] /lib64/libpthread.so.0(+0x7555)[0x7f4e752ab555] /lib64/libc.so.6(clone+0x6d)[0x7f4e73f01b9d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (7f4e00000960): show global status like '%ssl%' Connection ID (thread ID): 5 Status: NOT_KILLED The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash. ERROR 2013 (HY000): Lost connection to MySQL server during query mysql [127.0.0.1] {msandbox} ((none)) > 150716 21:14:18 mysqld_safe Number of processes running now: 0 150716 21:14:18 mysqld_safe mysqld restarted