[MDEV-9323] Triggers cause server crash Created: 2015-12-24 Updated: 2016-03-30 Resolved: 2016-03-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.1.10, 10.0.23-galera |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Cole Busby | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 1 |
| Labels: | need_feedback | ||
| Environment: |
ubuntu 14.04.3 LTS "Trusty" |
||
| Description |
|
When a table has the following, the galera cluster crashes. BEFORE INSERT trigger An Update statement within an event can cause the fail condition. Our reproduction steps were: apt-get upgrade from mariadb-server-10.1.9 to mariadb-server-10.1.10 Restart service PRODUCTION OCCURENCE (original issue which lead to try reproducing): |
| Comments |
| Comment by Elena Stepanova [ 2015-12-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Could you please paste the stack trace, or better attach the error log from the crashing server? Please also provide your cnf files. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Todd Stoffel [ 2016-01-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
160105 19:44:55 [ERROR] mysqld got signal 11 ; To report this bug, see http://kb.askmonty.org/en/reporting-bugs We will try our best to scrape up some info that will hopefully help Server version: 10.1.10-MariaDB-1~wily-log Thread pointer: 0x0x7f8d039fc008 Trying to get some variables. The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-01-07 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Todd Stoffel [ 2016-01-07 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
[client] [mysqld_safe] [mysqld] table_definition_cache = 1000 log_warnings = 1 log-bin = /var/log/mysql/mariadb-bin server_id = 1 default_storage_engine = InnoDB [galera] [mysqldump] [mysql] [isamchk] !includedir /etc/mysql/conf.d/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-01-11 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Does not crash for me:
Could you please provide the exact definition of the table in use show create table, triggers, and example of a query that causes the crash? Thanks. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Allan Sun [ 2016-01-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I am experiencing exactly the same error. Apparently when using INSERT in a trigger the server would crash.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-02-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
allansun, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-03-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Please comment to re-open if you have further information on the issue. Meanwhile, we can only hope that it was fixed along with |