[MDEV-14161] frequently crashs on unknown reason Created: 2017-10-27 Updated: 2018-10-02 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.1.28 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Uwe Muenzberg | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Dragonflybsd 4.8 |
||
| Attachments: |
|
| Description |
|
Server crashs with Signal 10 (sometimes with 11) frequently (2 times per month). We see the bug allready in earlier versions, but this time we get a coredump. We can upload the coredump and the mysql_safe binary if needed.
|
| Comments |
| Comment by Elena Stepanova [ 2017-10-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
um, We don't have Dragonfly in-house. For starters, could you please get all threads' stack trace and full stack trace from the coredump that you stored, like
(or whatever debugging equivalent you have on the system). Thank you. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Uwe Muenzberg [ 2017-11-01 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Here comes our my.cnf, the error log and the output of gdb --batch --eval-command="thread apply all bt full" (gdb2.txt). It seems | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Uwe Muenzberg [ 2017-12-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
We upgraded our server to 5.0-RELEASE of DragonFlyBSD this weekend, because we see some changes in libthread.so. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Uwe Muenzberg [ 2017-12-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The OS-update doesn't solve our issues. We are not sure, if this is the same problem, but we saw the next crash this morning. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-12-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
um, could you please clarify, are you only getting the second kind of the crash after the upgrade (SIGSEGV on a query), or are you still getting the one in libthread, too? I don't know what we can do about the libthread one, there isn't much happening on MariaDB side; but the second one might well relate to MariaDB. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Uwe Muenzberg [ 2018-01-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
During the last month we saw one or two crashs per month. At this time the server runs stable since 2017-12-13. If we see the next crash, I will give a feedback. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Uwe Muenzberg [ 2018-01-24 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
We went forward to 10.1.30 on 2018-01-06. Yesterday we got a crash again. The addr2line process hangs and we kill it this morning manually. After that mysql restarted. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-01-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
From the attached error log (to make it searchable):
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Uwe Muenzberg [ 2018-04-11 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Our server is now stable for more than 2 month. We believe, but we are not absolutly sure, that our issue was triggered by an old client. These client, written in delphi3, use an old component and libmysql for database access. The client connected, made some querys and disconnected 6 times per minute. About 5 to 8 of these clients was on net. On each connect the client read the information schema to provide functions like FieldByName() etc. We saw typical questions often in the processlist. The client was refactored to leave the connection open and disconnect only when the client is closed. It seems that these changes solved our issue. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-07-20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
um, do you happen to remember whether you upgraded to 10.1.31 before the failure stopped happening? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Uwe Muenzberg [ 2018-07-21 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
We used 10.1.30 until 2018-05-22 and then upgraded to 10.1.32. We never used 10.1.31. Our systems have been always stable since february, when we saw our last crash (without any debugging hints). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-07-21 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks for the info. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Uwe Muenzberg [ 2018-10-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I believe I can explain now what action caused the issue. We use some database clients written in Delphi3. All of them are using the component I built a test client using this component which connects to the database server, do Because we never used the getDatabases-function we removed this code from the FYI I appended the source code of TMySQL and the associated dll. WS-00034GHRH2.lit.msb.msc.err_delphi-client |