[MDEV-6938] MariaDB 10.0.14 crash (signal 11) Created: 2014-10-24 Updated: 2018-02-01 Due: 2014-11-14 Resolved: 2014-11-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.0.14 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Ján Regeš | Assignee: | Elena Stepanova |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | crash, mariadb, | ||
| Environment: |
Gentoo Linux, MariaDB installed by package system (emerge). |
||
| Description |
|
Hi, our server MariaDB 10.0.14 crashed today, 1 months after upgrade from MySQL 5.1.61, which had 2 years uptime. This server contains only 2 databases with low load and total size about 1GB. One database with Magento e-shop database and one with our database (100x InnoDB tables, 1x Memory, 1x CONNECT and 1x TokuDB). I think, that it is not related to CONNECT, or TokuDB engine. MariaDB crashed during standard mysqldump-based backup proces. Below is also backtrace and MySQL process-list 1-3 seconds before crash. There was no load, just backup simple InnoDB tables of Magento database. Thank you for your help.
MySQL process list 1-3 seconds before crash.
|
| Comments |
| Comment by Elena Stepanova [ 2014-10-24 ] | ||||||||||
|
Hi, How often do you run the same backup procedure? Did it happen before, or was it the first attempt after the upgrade to 10.0.14? Did you re-run the backup after the crash? If you did, did it succeed? How confidential is the data? Would you be able to upload it to our ftp.askmonty.org/private? (only MariaDB developers will have access to it)? If you can't provide all data, maybe at least client_cz_new.ig_cashondelivery_foreign which appears in the processlist – it is no guarantee that it was the last, but there is a chance. In any case, please also attach your cnf file(s) and the exact mysqldump command your process uses (or the backup script which performs it). Thank you. | ||||||||||
| Comment by Ján Regeš [ 2014-10-29 ] | ||||||||||
|
Hi Elena, backup procedure is executed every 6 hours. It happen just once. After re-run everything works fine. I uploaded "my.cnf" and our backup script "make-daily-mysql-backup" into ftp.askmonty.org/private (by jan.reges@siteone.cz). Btw, table "ig_cashondelivery_foreign" is empty, so it's not used. We store whole process-list every 2-3 seconds and it was last before crash. Also, maybe it can depends. We have some UDF:
| ||||||||||
| Comment by Elena Stepanova [ 2014-10-31 ] | ||||||||||
|
Hi Ján, Thanks for the info. There are several things here I have difficulties explaining. First, if the table ig_cashondelivery_foreign is empty, it should not take 1 second or more to select from it, and it should be quite hard to catch it at 'Sending data' phase. Secondly, I don't see anything in the backup process that should cause the stack trace like that. You had 4 connections, is it possible that one of the two others woke up and ran something? E.g. event scheduler started working? (The time is odd, which makes it rather unlikely but not impossible). Or could it be the other connection, the one that's sleeping in the processlist? Finally, about your select from mysql.func – it looks strange too. The first column in the table, 'name', is a primary key, so you should not have two functions called 'microtime'. Do you really, or is it a copy-paste error? If you seem to have two, could you please run check table mysql.func extended? I presume you could not provide the data dump, otherwise you would have, right? Thanks. | ||||||||||
| Comment by Elena Stepanova [ 2014-11-15 ] | ||||||||||
|
Closing for now as incomplete, please comment to re-open if you have more information. |