[MDEV-23214] Buffer overflow during insert Created: 2020-07-18 Updated: 2020-11-09 Resolved: 2020-11-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Insert, Galera |
| Affects Version/s: | 10.4.13 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Xesh | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | crash, need_feedback | ||
| Environment: |
CentOS Linux release 8.1.1911 (Core) |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
After Mariadb is updated from 10.4.12 to 10.4.13, I ran sysbench this test :
There are a lot of conflicts and on the last Insert it just crashes (wsrep::unique_lock<wsrep::mutex>&, wsrep::client_state::state): Assertion `wsrep::this_thread::get_id() == owning_thread_id_' failed. To report this bug, see https://mariadb.com/kb/en/reporting-bugs We will try our best to scrape up some info that will hopefully help Server version: 10.4.13-MariaDB-log Thread pointer: 0x7faba0000c08
|
| Comments |
| Comment by Jan Lindström (Inactive) [ 2020-07-27 ] |
|
Do you run same sysbench command line for every node in your cluster? Can you add error logs and configuration from all nodes please. |
| Comment by Xesh [ 2020-08-03 ] |
|
If you run two tests with the same database on the same node at once or the one test with the same database on each node at the same time this message will appear on only one "failed" node. This his message was on appeared on the failed node, other nodes did not crash. Configuration is attached conf.txt |
| Comment by Jan Lindström (Inactive) [ 2020-10-07 ] |
|
I tested this with 3-node Galera cluster so that I had 2 sysbench runs on one node and 1 sysbench on another node (i.e. using multi-master case). However, I could not repeat any problems. Either, assertion mentioned is fixed on more recent version of MariaDB server and Galera library or I just could not reproduce the issue. Can you please try to upgrade and if issue reproduces I will try again. and then please provide error log and resolve stack dump see https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ |