[MDEV-18036] Mariadb 10.3 crashed with signal 11 Created: 2018-12-19 Updated: 2019-03-04 Resolved: 2019-03-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Temporary, Storage Engine - InnoDB, Stored routines |
| Affects Version/s: | 10.3.8 |
| Fix Version/s: | 10.3.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Dave Juntgen | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 7 |
||
| Attachments: |
|
| Description |
|
Hello, Below is a crash report from MariaDB 10.3.8, the report isn't much and does not give much direction. Anything I can do to help provide better next steps
|
| Comments |
| Comment by Elena Stepanova [ 2018-12-19 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Is it the very end of the report in the log? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dave Juntgen [ 2018-12-19 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello - the crash report yes, the next few lines are the restart of the service and crash recovery. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-12-19 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Is the crash reproducible? Can you enable the coredump and extract the stack trace next time it occurs? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dave Juntgen [ 2018-12-19 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I will enable core dump according to https://mariadb.com/kb/en/library/enabling-core-dumps/ and report back when signal 11 triggers again if at all. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dave Juntgen [ 2018-12-20 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I am continuing to have failures, and I believe that this may be an issue with a store function that creates a tempory table on disk. I'm still working on capturing a core dump... | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dave Juntgen [ 2018-12-21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello Elena, The crash seems to be taking place with temp tables executed within a SELECT statement that then calls a user-defined FUNCTION(). Below are two backtraces that did not produce core files. maybe config issue here.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-12-21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
If you found the statement which causes the problem, could you then please paste the statement itself and SHOW CREATE for all objects it uses, directly or indirectly (tables, views, functions, etc.)? You can obfuscate names of objects if needed, as long as the obfuscation is consistent (same fake names are used in SELECT and in SHOW CREATE etc.). For tables, it might also be useful to have SHOW INDEX IN <table name>. Please also attach or paste your cnf file(s). Thanks. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dave Juntgen [ 2018-12-21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Below is the function that called this query, the `lost_time_condensed_ranges` is a temporary table. Please note that encryption is enabled for tmporary tables. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dave Juntgen [ 2018-12-21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
FYI - I disabled encrypt_tmp_disk_tables and encrypt_tmp_files to see if the server will run without crashing.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-12-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
djuntgen, are you still getting [ERROR] InnoDB: Trying to read doublewrite buffer page after you disabled encryption for temporary tables/files? We had a bug | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dave Juntgen [ 2019-01-02 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello, I just ran the test procedure from | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2019-02-02 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
djuntgen, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dave Juntgen [ 2019-03-04 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Crash has not appeared seens upgrade from 10.3.8, all looks well. Thanks! | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2019-03-04 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Based on the feedback, we assume that the problem was fixed in the scope of |