[MDEV-9377] Crash with signal 11 since last update (2 time in one month) Created: 2016-01-06 Updated: 2018-04-17 Resolved: 2018-04-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 5.5.47, 10.0.25 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Aurélien Bras | Assignee: | Alice Sherepa |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
Debian Wheezy 7.9 on Xen guest |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Hello, Since upgrade to MariaDB 5.5.47 (5.5.47+maria-1~wheezy from 5.5.46+maria-1~wheezy) I have crash on only one MySQL server (9 servers with same production load/environement got the same update). I'm using InnoDB and MyISAM storage. RAM/CPU/DISK usage is normal before the crash. I had only two crash in one month, and I cannot reproduce the bug by myself. It's a heavy loaded server so it's really difficult for me to activate debug mode. That's all I have :
Thanks for your help. Regards. |
| Comments |
| Comment by Elena Stepanova [ 2016-01-11 ] | ||
|
Please attach your cnf file(s). Did both crashes happen at approximately the same time of the day? Can it be that you have some process on this server (backup, maintenance, analytics, what not) that does not exist on other servers? Do you happen to have server audit or slow log enabled? If you do, do they contain anything interesting around this time, or do they contain anything at all about connection 17204365 during that run? It may be not the query that caused the crash, but it might give you the idea what the connection was about, and what else it could be doing. Any guesses in regard to what kind of queries and on which tables this connection performed could be helpful. | ||
| Comment by Aurélien Bras [ 2016-01-11 ] | ||
|
cnf file is now attached, there is no inclusion more. This happen first time the december at 12h45 and the second time 16 january at 16h11, there was no special process when the crash happen and the server is exactly the same than the others. It's a shared hosting with thousands users/databases, I cannot guess what can be the request. I lost the log of the first crash. | ||
| Comment by Elena Stepanova [ 2016-01-26 ] | ||
|
We have a bug with a very similar stacktrace (or even identical, it's hard to say with non-debug stack traces): | ||
| Comment by Aurélien Bras [ 2016-02-23 ] | ||
|
I updated to mariadb 5.5.48 (5.5.48+maria-1~wheezy) but I still have crash with same stacktrace. | ||
| Comment by Aurélien Bras [ 2016-03-24 ] | ||
|
I still have crash, maybe more often since last update I have now a segfault in the log : Mar 24 02:37:32 cl1-sql-tmp mysqld: 160324 2:37:32 [ERROR] mysqld got signal 11 ; | ||
| Comment by Aurélien Bras [ 2016-04-01 ] | ||
|
I don't know how to re-open this bug issue, I hope I'm the only one concerned, and I will try an upgrade to MariaDB 10.0 next week to see if it's better. I will upgrade to another system too, to see if issue still persist. I will re-open a new bug if crash persist. | ||
| Comment by Elena Stepanova [ 2016-04-01 ] | ||
|
Is it all that it writes to the log, no stack trace anymore? If there is, could you please paste it – is it identical to the previous one? | ||
| Comment by Aurélien Bras [ 2016-04-01 ] | ||
|
I have no more crash since, but I have log from another crash (2016/2103) :
| ||
| Comment by Elena Stepanova [ 2016-04-01 ] | ||
|
Right, it's the same stacktraceless output as above. You said you're getting crashes more often now, are they all like this? | ||
| Comment by Aurélien Bras [ 2016-04-01 ] | ||
|
With hindsight, not really more often. Logs are always the sames. | ||
| Comment by Elena Stepanova [ 2016-04-06 ] | ||
|
| ||
| Comment by Aurélien Bras [ 2016-08-01 ] | ||
|
Hello I have more information about the bug, two crash with identical requests, it's a sql injection, so it's not very beautiful, not sure it can be related to the other bug :
and
I tried to reproduce it without success, this request cannot be run, it complain about duplicate entry. MariaDB version, I have now : 10.0.25-MariaDB-0+deb8u1 | ||
| Comment by Alice Sherepa [ 2018-03-20 ] | ||
|
Aurélien Bras, I can see that |