[ERROR] [MY-013183] [InnoDB] Assertion failure: ut0ut.cc:555

2023-10-17 01:58

本文主要是介绍[ERROR] [MY-013183] [InnoDB] Assertion failure: ut0ut.cc:555,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

mysql 8025 故障日志:


2022-02-23T13:59:27.477020Z 0 [Warning] [MY-010909] [Server] /root/opt/mysql/8.0.25/bin/mysqld: Forcing close of thread 8  user: 'root'.
2022-02-23T13:59:27.926166Z 0 [System] [MY-010910] [Server] /root/opt/mysql/8.0.25/bin/mysqld: Shutdown complete (mysqld 8.0.25)  MySQL Community Server - GPL.
2022-02-23T13:59:30.507485Z 0 [System] [MY-010116] [Server] /root/opt/mysql/8.0.25/bin/mysqld (mysqld 8.0.25) starting as process 1615
2022-02-23T13:59:30.528471Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-02-23T13:59:30.860832Z 0 [ERROR] [MY-012684] [InnoDB] [FATAL] is_short 0, info_and_status_bits 0, offset 367, o_offset 7, mismatch index 18446744073709551578, end_seg_len 68 parsed len 4
2022-02-23T13:59:30.861386Z 0 [ERROR] [MY-013183] [InnoDB] Assertion failure: ut0ut.cc:555 thread 140041256920832
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/8.0/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
13:59:30 UTC - mysqld got signal 6 ;
Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware.
Thread pointer: 0x0
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 = 0 thread_stack 0x46000
/root/opt/mysql/8.0.25/bin/mysqld(my_print_stacktrace(unsigned char const*, unsigned long)+0x2e) [0x1e7746e]
/root/opt/mysql/8.0.25/bin/mysqld(handle_fatal_signal+0x303) [0xec1fa3]
/lib64/libpthread.so.0(+0xf5d0) [0x7f5dfa8315d0]
/lib64/libc.so.6(gsignal+0x37) [0x7f5df8ab9207]
/lib64/libc.so.6(abort+0x148) [0x7f5df8aba8f8]
/root/opt/mysql/8.0.25/bin/mysqld() [0xc15bce]
/root/opt/mysql/8.0.25/bin/mysqld() [0x2121a4c]
/root/opt/mysql/8.0.25/bin/mysqld(page_cur_parse_insert_rec(unsigned long, unsigned char const*, unsigned char const*, buf_block_t*, dict_index_t*, mtr_t*)+0xb20) [0x2034570]
/root/opt/mysql/8.0.25/bin/mysqld() [0x2006d4f]
/root/opt/mysql/8.0.25/bin/mysqld(recv_recover_page_func(bool, buf_block_t*)+0x607) [0x2009a67]
/root/opt/mysql/8.0.25/bin/mysqld(buf_page_io_complete(buf_page_t*, bool)+0x3c4) [0x2183274]
/root/opt/mysql/8.0.25/bin/mysqld(fil_aio_wait(unsigned long)+0x133) [0x223be93]
/root/opt/mysql/8.0.25/bin/mysqld() [0x20c8360]
/root/opt/mysql/8.0.25/bin/mysqld(std::thread::_State_impl<std::thread::_Invoker<std::tuple<Runnable, void (*)(unsigned long), unsigned long> > >::_M_run()+0xa2) [0x20c91e2]
/root/opt/mysql/8.0.25/bin/mysqld() [0x25bd3a0]
/lib64/libpthread.so.0(+0x7dd5) [0x7f5dfa829dd5]
/lib64/libc.so.6(clone+0x6d) [0x7f5df8b80ead]
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.

##函数解析:

page_cur_parse_insert_rec()

byte* page_cur_parse_insert_rec(ibool is_short,
const byte * ptr,
const byte * end_ptr,
buf_block_t * block,
dict_index_t * index,
mtr_t * mtr 
)

Parses a log record of a record insert on a page.

Returns

end of log record or NULL in: mtr or NULL

end of log record or NULL

Parameters

is_shortin: TRUE if short inserts
ptrin: buffer
end_ptrin: buffer end
blockin: page or NULL
indexin: record descriptor
mtrin: mtr or NULL

recv_recover_page_func()

void recv_recover_page_func(bool just_read_in,
buf_block_t * block 
)

Applies the hashed log records to the page, if the page lsn is less than the lsn of a log record.

This can be called when a buffer page has just been read in, or also for a page already in the buffer pool.

Parameters

[in]just_read_intrue if the IO handler calls this for a freshly read page
[in,out]blockbuffer block

◆ buf_page_io_complete()

bool buf_page_io_complete(buf_page_t * bpage,
bool evict 
)

Completes an asynchronous read or write request of a file page to or from the buffer pool.

Parameters

[in]bpagepointer to the block in question
[in]evictwhether or not to evict the page from LRU list

Returns

true if successful

根据mysql 的崩溃堆栈函数信息,可以推测mysql 是在事务一致性恢复时崩溃;

处理方式:
#innodb_force_recovery=6

强制启动mysql ,逻辑导出导入;

这篇关于[ERROR] [MY-013183] [InnoDB] Assertion failure: ut0ut.cc:555的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/222165

相关文章

InnoDB的多版本一致性读的实现

InnoDB是支持MVCC多版本一致性读的,因此和其他实现了MVCC的系统如Oracle,PostgreSQL一样,读不会阻塞写,写也不会阻塞读。虽然同样是MVCC,各家的实现是不太一样的。Oracle通过在block头部的事务列表,和记录中的锁标志位,加上回滚段,个人认为实现上是最优雅的方式。 而PostgreSQL则更是将多个版本的数据都放在表中,而没有单独的回滚段,导致的一个结果是回滚非

编译linux内核出现 arm-eabi-gcc: error: : No such file or directory

external/e2fsprogs/lib/ext2fs/tdb.c:673:29: warning: comparison between : In function 'max2165_set_params': -。。。。。。。。。。。。。。。。。。 。。。。。。。。。。。。。 。。。。。。。。 host asm: libdvm <= dalvik/vm/mterp/out/Inte

MySQL技术内幕_innodb存储引擎

MySQL技术内幕_innodb存储引擎 INNODB innodb中如果表没有主键 表是否由 非空唯一键,有则该字段为主键没有,则自动创建一个6字节大小的指针 innodb存储引擎的所有数据都存储在表空间中,表空间由段,区,页(块)组成。 如果启用了 innodb_file_per_table, 则每张表内的数据可以单独放在一个表空间中即使启用了上面参数,共享表空间也会因为 系统事务信息

收藏:解决 pip install 出现 error: subprocess-exited-with-error 错误的方法

在使用 pip 安装 Python 包时,有时候会遇到 error: subprocess-exited-with-error 错误。这种错误通常是由于 setuptools 版本问题引起的。本文将介绍如何解决这一问题 当你使用 pip install 安装某个 Python 包时,如果 setuptools 版本过高或过低,可能会导致安装过程出错,并出现类似以下错误信息:error: subpr

Nn criterions don’t compute the gradient w.r.t. targets error「pytorch」 (debug笔记)

Nn criterions don’t compute the gradient w.r.t. targets error「pytorch」 ##一、 缘由及解决方法 把这个pytorch-ddpg|github搬到jupyter notebook上运行时,出现错误Nn criterions don’t compute the gradient w.r.t. targets error。注:我用

src/pyaudio/device_api.c:9:10: fatal error: portaudio.h: 没有那个文件或目录

(venv) shgbitai@shgbitai-C9X299-PGF:~/pythonworkspace/ai-accompany$ pip install pyaudio sounddeviceCollecting pyaudioDownloading PyAudio-0.2.14.tar.gz (47 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ERROR 2003 (HY000): Can't connect to MySQL server on (10061)

在linux系统上装了一个mysql-5.5,启动后本机都是可以访问的,操作都正常,同时建了一个%的用户(支持远程访问), root@debian:/# mysql -u loongson -pEnter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id

pip install pyaudio sounddevice error: externally-managed-environment

shgbitai@shgbitai-C9X299-PGF:~/pythonworkspace/ai-accompany$ pip install pyaudio sounddeviceerror: externally-managed-environment× This environment is externally managed╰─> To install Python package

C++常见异常汇总(三): fatal error: google/protobuf/port_def.inc

文章目录 1、fatal error : sw/redis++/redis.h2、fatal error: dwarf.h: No such file or directory3、fatal error: elfutils/libdw.h: No such file or directory4、fatal error: libunwind.h: No such file or directo

error while loading shared libraries: libnuma.so.1: cannot open shared object file:

腾讯云CentOS,安装Mysql时: 1.yum remove libnuma.so.1 2.yum install numactl.x86_64