[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

相关文章

MySQL之InnoDB存储引擎中的索引用法及说明

《MySQL之InnoDB存储引擎中的索引用法及说明》:本文主要介绍MySQL之InnoDB存储引擎中的索引用法及说明,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐... 目录1、背景2、准备3、正篇【1】存储用户记录的数据页【2】存储目录项记录的数据页【3】聚簇索引【4】二

MySQL中的InnoDB单表访问过程

《MySQL中的InnoDB单表访问过程》:本文主要介绍MySQL中的InnoDB单表访问过程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录1、背景2、环境3、访问类型【1】const【2】ref【3】ref_or_null【4】range【5】index【6】

MySQL之InnoDB存储页的独立表空间解读

《MySQL之InnoDB存储页的独立表空间解读》:本文主要介绍MySQL之InnoDB存储页的独立表空间,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录1、背景2、独立表空间【1】表空间大小【2】区【3】组【4】段【5】区的类型【6】XDES Entry区结构【

关于MyISAM和InnoDB对比分析

《关于MyISAM和InnoDB对比分析》:本文主要介绍关于MyISAM和InnoDB对比分析,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录开篇:从交通规则看存储引擎选择理解存储引擎的基本概念技术原理对比1. 事务支持:ACID的守护者2. 锁机制:并发控制的艺

MySQL启动报错:InnoDB表空间丢失问题及解决方法

《MySQL启动报错:InnoDB表空间丢失问题及解决方法》在启动MySQL时,遇到了InnoDB:Tablespace5975wasnotfound,该错误表明MySQL在启动过程中无法找到指定的s... 目录mysql 启动报错:InnoDB 表空间丢失问题及解决方法错误分析解决方案1. 启用 inno

mysql出现ERROR 2003 (HY000): Can‘t connect to MySQL server on ‘localhost‘ (10061)的解决方法

《mysql出现ERROR2003(HY000):Can‘tconnecttoMySQLserveron‘localhost‘(10061)的解决方法》本文主要介绍了mysql出现... 目录前言:第一步:第二步:第三步:总结:前言:当你想通过命令窗口想打开mysql时候发现提http://www.cpp

Mysql中InnoDB与MyISAM索引差异详解(最新整理)

《Mysql中InnoDB与MyISAM索引差异详解(最新整理)》InnoDB和MyISAM在索引实现和特性上有差异,包括聚集索引、非聚集索引、事务支持、并发控制、覆盖索引、主键约束、外键支持和物理存... 目录1. 索引类型与数据存储方式InnoDBMyISAM2. 事务与并发控制InnoDBMyISAM

MySQL InnoDB引擎ibdata文件损坏/删除后使用frm和ibd文件恢复数据

《MySQLInnoDB引擎ibdata文件损坏/删除后使用frm和ibd文件恢复数据》mysql的ibdata文件被误删、被恶意修改,没有从库和备份数据的情况下的数据恢复,不能保证数据库所有表数据... 参考:mysql Innodb表空间卸载、迁移、装载的使用方法注意!此方法只适用于innodb_fi

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