[MDEV-14552] Random crashes: Assertion failure in lock0lock.cc line 8150 Created: 2017-11-30 Updated: 2020-05-18 Resolved: 2020-05-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Insert, Locking, Replication, Storage Engine - InnoDB |
| Affects Version/s: | 10.2.6 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Trey Ormsbee | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | innodb, need_feedback | ||
| Environment: |
CentOS 6.8, Linux mmsc-db1.ei.iot1.com 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Master/Master replication setup two nodes involved, both have the same crashes. All tables are innodb. Rpm's installed from official mariadb repos. |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
I am randomly running to crashes on a pair of master/master maria 10.2.6 instances. Below is the output of the crash in the log. I do not seem to be getting cores for these crashes but the backtrace is in the log output. also note the query on each crash is the same type of data into the same table each time. I am at a loss, and not sure how to proceed, so any suggestions would be appreciated. log output of crash.
|
| Comments |
| Comment by Elena Stepanova [ 2017-12-01 ] |
|
Please try to upgrade to the latest 10.2 and see if the problem goes away. There have been numerous fixes on the side of locking and InnoDB, it's quite possible that this particular problem has been fixed as well. |
| Comment by Trey Ormsbee [ 2017-12-05 ] |
|
I have found a configuration error that has most likely been the cause of this issue. The servers in question only had 64GB of ram. So my innodb_buffer_pool setting was way to high. I have not crashed since lowering that value to 45GB. I do plan to upgrade to 10.2.11 as soon as I have a chance to get the upgrade scheduled. |
| Comment by Trey Ormsbee [ 2017-12-06 ] |
|
The innodb_buffer_pool was not the cause of the crash. Crashing has resumed. Will update this ticket again when I get on 10.2.11. |
| Comment by Elena Stepanova [ 2018-01-03 ] |
|
treyormsbee, have you had a chance to check whether newer versions work for you? |
| Comment by Trey Ormsbee [ 2018-01-03 ] |
|
I have not been able to schedule the upgrade as of yet. I hope to get permission to do it this week or next. If I can I will stall until the release of 10.2.12. Thank you! |
| Comment by Trey Ormsbee [ 2018-01-31 ] |
|
I have now upgraded to 10.2.12 as of today. Ill report back if the crash happens again. It generally happens multiple times per day so I should know in 24-48 hours if all is good or not. Thanks, |
| Comment by Trey Ormsbee [ 2018-02-06 ] |
|
EDIT-----It has been 6 almost 7 days now and I have not had a single crash since the update. I think this can be closed now. If it happens to creep back in ill open a new ticket and reference this one. Thanks, I spoke too soon, the log scraper I had looking for this was not catching the crash any more. 2018-02-04 03:15:01 0x7f3fc4220700 InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.2.12/storage/innobase/lock/lock0lock.cc line 8204 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.2.12-MariaDB-log Thread pointer: 0x7f3354001288 Trying to get some variables. Connection ID (thread ID): 11 Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains |
| Comment by Trey Ormsbee [ 2018-03-19 ] |
|
Anyone able to comment on this? |
| Comment by Marko Mäkelä [ 2019-01-28 ] |
|
treyormsbee, so, you repeated the same issue with 10.2.12. Have you tried a newer release, such as 10.2.21? The locking should have changed a little by the following:
|