[MDEV-714] LP:1020645 - crash (sig 11) with union query Created: 2012-07-03 Updated: 2014-12-03 Resolved: 2014-02-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.4, 5.3.12, 5.5.33a |
| Fix Version/s: | 5.5.36, 10.0.9, 5.3.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Peter (Stig) Edwards (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | Launchpad | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Hello and thanks for mariadb-5.3.7-Linux-x86_64.tar.gz, Running on 2.6.18-274.7.1.el5 x86_64 x86_64 x86_64 GNU/Linux RedHat EL. We recently upgraded some mysqld instances in a pool from MySQL 5.1.X to mariadb 5.3.7, we have had two crashes (on different instances on different hosts) with the same backtrace and very similar queries, the pool is a production pool so the priority has been restoration of service and a rollback, the query from the first backtrace did not cause a crash when run in isolation on our development and staging instances (I have not tested the 2nd yet), the development and staging instances do not have identical configurations, data or queries running, but are the same version (MariaDB 5.3.7) on the same OS on the same architecture. Oh, also both mariadb instances ran for several days days in production before crashing. Here are the contents of the error log for the first crash (the backtrace is the same for the second crash and the query is very similar). I have removed the actual query reported and have included a representation of the query, I can send the actual query and table definitions privately. I am wondering if (and hoping that) the backtrace looks familiar.
Thank you. |
| Comments |
| Comment by Elena Stepanova [ 2012-07-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: crashes (sig 11) with 5.3.7-MariaDB union query According to the log, the connection is in KILL_CONNECTION status – were you trying to kill it because it was hung? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Peter (Stig) Edwards (Inactive) [ 2012-07-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: crashes (sig 11) with 5.3.7-MariaDB union query | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Peter (Stig) Edwards (Inactive) [ 2012-07-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: crashes (sig 11) with 5.3.7-MariaDB union query | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2012-07-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: crashes (sig 11) with 5.3.7-MariaDB union query | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Peter (Stig) Edwards (Inactive) [ 2012-07-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: crashes (sig 11) with 5.3.7-MariaDB union query | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2012-07-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: crashes (sig 11) with 5.3.7-MariaDB union query You mentioned earlier that you tried the query on your dev/staging instances; but the query that comes with the backtrace that you provided is corrupted (all group by and a part of the order by in the first union part is gone, as well as the end of the query). Do you have the full version? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Peter (Stig) Edwards (Inactive) [ 2012-07-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: crashes (sig 11) with 5.3.7-MariaDB union query | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Rasmus Johansson (Inactive) [ 2012-07-04 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Launchpad bug id: 1020645 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Peter (Stig) Edwards (Inactive) [ 2012-07-04 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: crashes (sig 11) with 5.3.7-MariaDB union query | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2013-03-26 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Possibly the issue was related to | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Peter (Stig) Edwards [ 2013-06-07 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello and thanks for mariadb-5.3.12-Linux-x86_64.tar.gz We have had two more crashes on production mysqld instances running 5.3.12 (based on mysql 5.1.67) on two different hosts, both RHEL5 x86_64. No reproducer yet. The hosts had each been up and running with a production load for several weeks. The trace is the same as previously reported in this bug which was the same database/application but with mariadb-5.3.7-Linux-x86_64.tar.gz (based on 5.1.62), I was wondering if these stack traces might look familiar and be a bug fixed in 5.3.13 (or mysql 5.1.69). http://bugs.mysql.com/bug.php?id=67707 - the stacktrace looks a little similar, as does https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=842052 and this https://bugzilla.redhat.com/show_bug.cgi?id=880104 Stack traces below, thank you.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2013-10-06 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The failure appeared in 5.3 tree with the following revision:
RQG grammar to reproduce (mdev714.yy):
Command line (assuming the server is already running on port 3306):
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Peter (Stig) Edwards [ 2013-11-21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I was wondering if this bug title should have 5.3.7 removed from it as 5.5 and 10.0 are also affected? I know the "Affects Version/s:" list these versions but just thought the title alone could be misleading. Hit it again today. Thanks. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2013-11-21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I think having 5.5 and 10.0 listed in "Affected Versions" is clear enough. But ok, you're the reporter — as you like. Changed. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2014-01-25 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
elenst, I've tried your rqg grammar for both 5.3 and 5.5, debug and optimized builds. No crashes. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-01-31 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Still crashes for me (tried current 5.5 tree). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-01-31 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've set it up on perro, for 5.3 and 5.5, current trees, debug builds.
Logs, including coredumps, are in ./vardir53 and ./vardir55, correspondingly. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Peter (Stig) Edwards [ 2014-02-14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2014-02-17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
If you absolutely want to stay with 5.3, I'd suggest to grab the latest revision from buildbot. See, for example, |