[MDEV-29229] Server crashes every time the slave SQL thread encounters an error Created: 2022-08-02 Updated: 2023-01-09 Resolved: 2022-08-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication, Server |
| Affects Version/s: | 10.6.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Marvin Hoffmann | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 22.04 LTS (GNU/Linux 5.15.0-1013-aws x86_64) |
||
| Issue Links: |
|
||||||||
| Description |
|
Server crashes every time the slave SQL thread encounters an error.
|
| Comments |
| Comment by Daniel Black [ 2022-08-02 ] |
|
Most likely a duplicate of MDEV-25633 |
| Comment by Sergei Golubchik [ 2022-08-07 ] |
|
the stack trace makes no sense. May be it's corrupted where did you get the binary from? |
| Comment by Daniel Black [ 2022-08-07 ] |
|
Stack traces have been corrupted in the same way for innodb for quite a while. Cause still unknown. By the version this is the original ubuntu released MariaDB-10.6. Install the mariadb from the jammy updates and it will have the LTO fix (http://changelogs.ubuntu.com/changelogs/pool/universe/m/mariadb-10.6/mariadb-10.6_10.6.7-2ubuntu1.1/changelog) which should resolve this issue. This upstream bug https://bugs.launchpad.net/ubuntu/+source/mariadb-10.6/+bug/1979695 is the same. While your slave thread was stopped due to errors rather than manually, but the end interaction of stopping the SQL slave thread is the same. This as best we've looked so far is some interaction between LTO causing an assert in the pthread_exit (MDEV-25633). |