Description:
2024-02-02 07:16:43 0x7f5099bc9700 InnoDB: Assertion failure in thread 139984153384704 in file fsp0fsp.cc line 3976
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.7/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
07:16:43 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.
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=16777216
read_buffer_size=131072
max_used_connections=6
max_threads=151
thread_count=4
connection_count=4
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 76391 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7f508c000b60
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 = 7f5099bc8dd0 thread_stack 0x30000
/usr/sbin/mysqld(my_print_stacktrace+0x3b)[0xef07ab]
/usr/sbin/mysqld(handle_fatal_signal+0x377)[0x77b317]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7f50bbd94980]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f50bb090e87]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f50bb0927f1]
/usr/sbin/mysqld[0x7514dc]
/usr/sbin/mysqld(_Z25fseg_free_step_not_headerPhbP5mtr_t+0x33d)[0x118bced]
/usr/sbin/mysqld[0x1087963]
/usr/sbin/mysqld[0x1092268]
/usr/sbin/mysqld(_Z9trx_purgemmb+0xb37)[0x1093097]
/usr/sbin/mysqld(srv_purge_coordinator_thread+0xb0e)[0x10649ee]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7f50bbd896db]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f50bb17361f]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0): is an invalid pointer
Connection ID (thread ID): 0
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.
2024-02-02T07:16:44.246189Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2024-02-02T07:16:44.251963Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.42-0ubuntu0.18.04.1) starting as process 30619 ...
2024-02-02T07:16:44.274940Z 0 [Note] InnoDB: PUNCH HOLE support available
2024-02-02T07:16:44.275083Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2024-02-02T07:16:44.275129Z 0 [Note] InnoDB: Uses event mutexes
2024-02-02T07:16:44.275189Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2024-02-02T07:16:44.275244Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
2024-02-02T07:16:44.275326Z 0 [Note] InnoDB: Using Linux native AIO
2024-02-02T07:16:44.277593Z 0 [Note] InnoDB: Number of pools: 1
2024-02-02T07:16:44.278452Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2024-02-02T07:16:44.294108Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2024-02-02T07:16:44.383416Z 0 [Note] InnoDB: Completed initialization of buffer pool
2024-02-02T07:16:44.392600Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2024-02-02T07:16:44.414271Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2024-02-02T07:16:44.423590Z 0 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49817751470
2024-02-02T07:16:44.423664Z 0 [Note] InnoDB: Doing recovery: scanned up to log sequence number 49817751950
2024-02-02T07:16:44.423789Z 0 [Note] InnoDB: Database was not shutdown normally!
2024-02-02T07:16:44.423829Z 0 [Note] InnoDB: Starting crash recovery.
2024-02-02T07:16:46.809924Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2024-02-02T07:16:46.810093Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2024-02-02T07:16:46.810381Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-02-02T07:16:46.880505Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2024-02-02T07:16:46.885780Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2024-02-02T07:16:46.885881Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2024-02-02T07:16:46.888209Z 0 [Note] InnoDB: Waiting for purge to start
2024-02-02T07:16:46.938561Z 0 [Note] InnoDB: 5.7.42 started; log sequence number 49817751950
2024-02-02T07:16:46.939995Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2024-02-02T07:16:46.940096Z 0 [Note] Plugin 'FEDERATED' is disabled.
2024-02-02T07:16:46.945154Z 0 [Note] InnoDB: Buffer pool(s) load completed at 240202 7:16:46
2024-02-02T07:16:46.963511Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2024-02-02T07:16:46.963602Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
2024-02-02T07:16:46.963633Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
2024-02-02T07:16:46.963652Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
2024-02-02T07:16:46.966500Z 0 [Warning] CA certificate ca.pem is self signed.
2024-02-02T07:16:46.966822Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
2024-02-02T07:16:46.967336Z 0 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
2024-02-02T07:16:46.967407Z 0 [Note] - '127.0.0.1' resolves to '127.0.0.1';
2024-02-02T07:16:46.967535Z 0 [Note] Server socket created on IP: '127.0.0.1'.
2024-02-02T07:16:47.049767Z 0 [Note] Event Scheduler: Loaded 0 events
2024-02-02T07:16:47.050641Z 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.7.42-0ubuntu0.18.04.1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu)
It crashes repeatedly after certain amount of time.
How to repeat:
It happens repeatly, but there are enough storage space and ram.