[MDEV-14248] Segfault and access to data Created: 2017-11-02 Updated: 2018-03-19 Resolved: 2018-03-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2.9, 10.2.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Gaëtan SL | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
CentOS 7 x64 |
||
| Attachments: |
|
| Description |
|
Hi, Here is the dmesg log we get each time of doing mysqldump or simple "SELECT" : [65080.400295] mysqld[24605]: segfault at a0 ip 00005631c416d13d sp 00007fdb441fd160 error 4 in mysqld[5631c37a1000+1124000] The data inside the DB has been "freshly imported" a few days ago from a SQL dump. Now the server is on prod but impossible to make a backup or access to some records : {{MariaDB [otrs2]> select content from article_attachment where id = 32669; ERROR 2013 (HY000): Lost connection to MySQL server during query MariaDB [otrs2]> update article_attachment set content = 'xx' where id = 32669; MariaDB [otrs2]> delete from article_attachment where id = 32669; Tested a lot of parameters. Here is the current ones :
Thanks |
| Comments |
| Comment by Daniel Black [ 2017-11-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Can you please include the mariadb errorlog. Also 10.2.10 was released yesterday and if convienent could you see if you get a segfault after this update | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Gaëtan SL [ 2017-11-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, Thank you for your answer. I updated yesteday. issue also happens on 10.1 I just uploaded the crash.log Thank you ! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2017-11-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This looks like a massively corrupted innodb files from the datadir. Can you describe the history of your datadir. What mysql/mariadb version what initially installed? What version upgrades/downgrades have you done? If you have attempted to correct these errors though manual manipulation of the datadir files what has been done? Are you experiencing a storage failure? What filesystem is the datadir on? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Gaëtan SL [ 2017-11-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, Thank you for your answer. Strange. This is a "fresh" SQL import from last week. I made some tests before but before the import I did a DROP table. I was using mariadb 10.1 until the begining of the week. Tried to update to 10.2 to solve the issue (with no luck). No manual manipulation done and no storage failure. The filesystem is XFS. A this time I only found one record in this DB which makes the SGBD crash. This is a very critical issue because I cannot do the SQL dump and import again ... And the application is in production is working properly unless we access to this record.. What could we do ? Thanks ! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Gaëtan SL [ 2017-11-07 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, In test environment I tried to exctract what is possible. I was able to extract a lot of data, but now here is the messages I have : MariaDB [otrs2]> select article_id from article_attachment where id = 32669; This is very critical at that time | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-11-20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
gslongo, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-12-19 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Crash report from the log (to make it searchable in JIRA):
|