| Bug #115542 | MY-012872 MySQL Issues crash on long running large table update | ||
|---|---|---|---|
| Submitted: | 8 Jul 2024 11:24 | Modified: | 8 Jul 2024 11:32 |
| Reporter: | Rob de Wit | Email Updates: | |
| Status: | Analyzing | Impact on me: | |
| Category: | MySQL Server | Severity: | S1 (Critical) |
| Version: | 8.0.34-26 | OS: | Linux |
| Assigned to: | CPU Architecture: | x86 | |
[8 Jul 2024 11:24]
Rob de Wit
[17 Nov 10:05]
Shujun Chen
alike error: 2025-11-17T00:17:25.565896+08:00 0 [Warning] [MY-012985] [InnoDB] A long semaphore wait: --Thread 140711984473856 has waited at fil0fil.cc line 2219 for 268 seconds the semaphore: Mutex at 0x7ffb4c2c4130, Mutex FIL_SHARD created fil0fil.cc:2000, locked by 140712349570816 2025-11-17T00:17:25.565920+08:00 0 [Warning] [MY-012985] [InnoDB] A long semaphore wait: --Thread 140711969707776 has waited at fil0fil.cc line 2219 for 263 seconds the semaphore: Mutex at 0x7ffb4c2c4130, Mutex FIL_SHARD created fil0fil.cc:2000, locked by 140712349570816 2025-11-17T00:17:25.565943+08:00 0 [Warning] [MY-012985] [InnoDB] A long semaphore wait: --Thread 140711965488896 has waited at srv0tmp.h line 191 for 263 seconds the semaphore: Mutex at 0x7ffb4e789c00, Mutex TEMP_POOL_MANAGER created srv0tmp.cc:182, locked by 140712349570816 InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info: InnoDB: Pending preads 0, pwrites 0 InnoDB: ###### Diagnostic info printed to the standard error stream 2025-11-17T00:17:55.566160+08:00 0 [ERROR] [MY-012872] [InnoDB] [FATAL] Semaphore wait has lasted > 600 seconds. We intentionally crash the server because it appears to be hung. 2025-11-17T00:17:55.566228+08:00 0 [ERROR] [MY-013183] [InnoDB] Assertion failure: srv0srv.cc:1878:ib::fatal triggered thread 140716773775104 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. 2025-11-16T16:17:55Z UTC - mysqld got signal 6 ; Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware. BuildID[sha1]=f7f7356a527b9ed410773c69291cedce564eede9 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 0x100000 /data/mysql/base/8.0.34/bin/mysqld(my_print_stacktrace(unsigned char const*, unsigned long)+0x2e) [0x20a03be] /data/mysql/base/8.0.34/bin/mysqld(print_fatal_signal(int)+0x3c3) [0x112c933] /data/mysql/base/8.0.34/bin/mysqld(my_server_abort()+0x5e) [0x112ca3e] /data/mysql/base/8.0.34/bin/mysqld(my_abort()+0xa) [0x209a6ca] /data/mysql/base/8.0.34/bin/mysqld(ut_dbg_assertion_failed(char const*, char const*, unsigned long)+0x30c) [0x22e7f5c] /data/mysql/base/8.0.34/bin/mysqld(ib::fatal::~fatal()+0x98) [0x22eab38] /data/mysql/base/8.0.34/bin/mysqld(srv_error_monitor_thread()+0x470) [0x2280ad0] /data/mysql/base/8.0.34/bin/mysqld(std::thread::_State_impl<std::thread::_Invoker<std::tuple<Detached_thread, void (*)()> > >::_M_run()+0xc4) [0x21a2c44] /data/mysql/base/8.0.34/bin/mysqld() [0x2a9e7ef] /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7ffb60ca4609] /lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7ffb5fcfc353] 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.
