MySQL Forums
Forum List  »  Newbie

Re: Lost connection to MySQL server during query
Posted by: Christopher Popplewell
Date: November 12, 2017 08:39PM

More info:
It tends to crash ever 2-4 hours and no changes out of the ordinary are being made to my knowledge.

# Version
5.6.38

# Below from website.err file:
...
InnoDB: End of page dump
2017-11-12 08:31:38 7fece4bb5700 InnoDB: uncompressed page, stored checksum in field1 1940515531, calculated checksums for field1: crc32 1062689690, innodb 4217881636, none 3735928559, stored checksum in field2 0, calculated checksums for field2: crc32 1062689690, innodb 145366930, none 3735928559, page LSN 6 2465970045, low 4 bytes of LSN at page end 0, page number (if stored to page already) 1, space id (if created with >= MySQL-4.1.1 and stored already) 84948
InnoDB: Page may be an insert buffer bitmap page
InnoDB: Database page corruption on disk or a failed
InnoDB: file read of page 1.
InnoDB: You may have to recover from a backup.
InnoDB: It is also possible that your operating
InnoDB: system has corrupted its own file cache
InnoDB: and rebooting your computer removes the
InnoDB: error.
InnoDB: If the corrupt page is an index page
InnoDB: you can also try to fix the corruption
InnoDB: by dumping, dropping, and reimporting
InnoDB: the corrupt table. You can use CHECK
InnoDB: TABLE to scan your table for corruption.
InnoDB: See also http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
InnoDB: Error: Unable to read tablespace 84948 page no 1 into the buffer pool after 100 attempts
InnoDB: The most probable cause of this error may be that the table has been corrupted.
InnoDB: You can try to fix this problem by using innodb_force_recovery.
InnoDB: Please see reference manual for more details.
InnoDB: Aborting...
2017-11-12 08:31:38 7fece4bb5700 InnoDB: Assertion failure in thread 140655426492160 in file buf0buf.cc line 2740
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
13:31:38 UTC - mysqld got signal 6 ;
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.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=5
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 = 68108 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x3885780
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 = 7fece4bb4e48 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x8d7265]
/usr/sbin/mysqld(handle_fatal_signal+0x494)[0x664b84]
/lib64/libpthread.so.0(+0xf7e0)[0x7fecf5e587e0]
/lib64/libc.so.6(gsignal+0x35)[0x7fecf4b03495]
/lib64/libc.so.6(abort+0x175)[0x7fecf4b04c75]
/usr/sbin/mysqld[0xa84b0d]
/usr/sbin/mysqld[0x9970fe]
/usr/sbin/mysqld[0x99d4f0]
/usr/sbin/mysqld[0xa8094f]
/usr/sbin/mysqld[0xa96124]
/usr/sbin/mysqld[0xa9656b]
/usr/sbin/mysqld[0xa84771]
/usr/sbin/mysqld[0xa6db06]
/usr/sbin/mysqld[0xa15029]
/usr/sbin/mysqld[0x982985]
/usr/sbin/mysqld[0x983b0b]
/usr/sbin/mysqld(_ZN7handler7ha_openEP5TABLEPKcii+0x3e)[0x5aa35e]
/usr/sbin/mysqld(_Z21open_table_from_shareP3THDP11TABLE_SHAREPKcjjjP5TABLEb+0x684)[0x76cda4]
/usr/sbin/mysqld(_Z10open_tableP3THDP10TABLE_LISTP18Open_table_context+0x1c8)[0x69b838]
/usr/sbin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjjP19Prelocking_strategy+0xc9f)[0x69e0cf]
/usr/sbin/mysqld(_Z30open_normal_and_derived_tablesP3THDP10TABLE_LISTj+0x4f)[0x69e1ff]
/usr/sbin/mysqld[0x71892c]
/usr/sbin/mysqld(_Z14get_all_tablesP3THDP10TABLE_LISTP4Item+0x6c0)[0x71f580]
/usr/sbin/mysqld(_Z24get_schema_tables_resultP4JOIN23enum_schema_table_state+0x2f1)[0x70c8f1]
/usr/sbin/mysqld(_ZN4JOIN14prepare_resultEPP4ListI4ItemE+0x9d)[0x700d8d]
/usr/sbin/mysqld(_ZN4JOIN4execEv+0x142)[0x6bf192]
/usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_P10SQL_I_ListI8st_orderESB_S7_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x250)[0x702810]
/usr/sbin/mysqld(_Z13handle_selectP3THDP13select_resultm+0x19f)[0x7030af]
/usr/sbin/mysqld[0x6de3fd]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1952)[0x6e11e2]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x378)[0x6e4628]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x111e)[0x6e57ee]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0xcf)[0x6b1ddf]
/usr/sbin/mysqld(handle_one_connection+0x47)[0x6b1f07]
/lib64/libpthread.so.0(+0x7aa1)[0x7fecf5e50aa1]
/lib64/libc.so.6(clone+0x6d)[0x7fecf4bb9bcd]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7fec98004bb0): is an invalid pointer
Connection ID (thread ID): 29
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.

Options: ReplyQuote


Subject
Written By
Posted
Re: Lost connection to MySQL server during query
November 12, 2017 08:39PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.