[MXS-209] MaxScale received fatal signal 11. Attempting backtrace. Created: 2015-06-17 Updated: 2015-08-23 Resolved: 2015-07-24 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | mariadbmon |
| Affects Version/s: | 1.1.1 |
| Fix Version/s: | 1.2.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Sergey | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Hi, I have maxscale server installed with version 1.1.1 release 2. The problem is crashing of maxscale service with the following output: 2015-06-17 12:20:06 Fatal: MaxScale received fatal signal 11. Attempting backtrace. Earlier it worked fine, just noticed this problem after some permission changes for maxscale user on backend mysql server. Reverting/recreation of user permissions doesn't help. Also mysql client is installed What might be the reason of that? Maxscale.cnf content [maxscale] [MySQL Monitor] [qla] [fetch] [Read Connection Router] [Debug Interface] [Debug Listener] [CLI] [CLI Listener] [Read Connection Listener] [zzz] Regards |
| Comments |
| Comment by Dipti Joshi (Inactive) [ 2015-06-17 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
szemlyanoy Can you please attach the core-dump file ? | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey [ 2015-06-19 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Sorry, where can I get it? | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2015-06-19 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
You need do following to enable coredump
After this run your traffic that causes fatal singal 11, you should find the core file in /tmp directory. It will be named core-maxscale-* | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey [ 2015-06-22 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Guys, Attaching of coredump would be cumbersome since it's about 400mb. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2015-06-23 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
szemlyanoy What is the exact OS version of your system ? We need to give you debug build for your OS version- so that the coredump will be useful. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey [ 2015-06-24 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, CentOS release 6.5 (Final) | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2015-06-24 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
tturenko, markus makela Please generate a debug build of 1.1.1 on CentOS 6.5 (Final) - so that we can give to Sergey to produce coredump. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2015-06-24 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
szemlyanoy Here you can download MaxScale debug build rpm from http://maxscale-jenkins.mariadb.com/repository/1.1.1-debug/mariadb-maxscale/yum/centos6/x86_64/ Change repo config in your /etc/yum.repo.d/maxscale.repo
Then do following to reinstall maxscale
Next ,enable coredump as per earlier instructions, run traffic to cause crash and generate coredump. If you could upload the generated coredump somewhere and provide us a link - we will download from there. Also include all the log files for MaxScale. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey [ 2015-06-25 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
please check it now | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2015-06-25 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Was the core generated with the debug build? | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2015-06-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
szemlyanoyThanks for providing these core dumps - unfortunately the debug RPM that we provided you earlier had some build issues and hence was missing debug symbols. We have fixed it now. If you could do following again, yum reinstall maxscale Then run the traffic to cause the crash, and provide us the new core dump file please. Thanks for providing us with these coredumps. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2015-06-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
The core dump doesn't seem to work with the debug RPM. The command issued was gdb --core=<path to core> /usr/local/mariadb-maxscale/bin/maxscale. This did load the executable which had the debugging symbols but the core file still did not display correctly with debug info. You can confirm that the binary has debug symbols by starting GDB with the maxscale binary as the parameter: GDB should output some information and as the last line it should print: If there are no debugging symbols, the following is printed: Here is the GDB output of the latest core file with the latest RPM:
| ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2015-06-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Another option is to run MaxScale under GDB until the segmentation fault appears. After the crash has happened either generate the core dump manually with the command generate--core-file or examine the backtrace with the command backtrace. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2015-06-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
szemlyanoy Looks like the your reinstall did not pick up the updated debug binaries. With your /etc/yum.repo.d/maxscale.repo looking like this
Please do following
And then generate the core. Thanks for working with us on this. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Timofey Turenko [ 2015-06-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Reproduced! sql_queries test with Maxscale 1.1.1 and MySLQ 5.1 backend. Program terminated with signal 11, Segmentation fault. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2015-06-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks tturenko ! Please send coredump with debug builds to markus makela for analysis ! | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2015-07-01 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
szemlyanoy We have reproduced and identified the issue. We are working on a fix. Once the fix is ready we will let you know. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey [ 2015-07-01 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Hi guys, Thanks for update. Looking forward for a fix | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey [ 2015-07-09 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Hi guys, Cheers | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2015-07-09 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
The fix has been implemented and is under testing. To my knowledge this will be in the 1.2 release. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey [ 2015-07-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Can someone provide me with yum repository with recently released maxscale v1.2 ? Thanks | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2015-07-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Please find it here https://mariadb.com/my_portal/download - under "MariaDB Enterprise Repository" click on RedHat/CentOS | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey [ 2015-07-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
but there is no maxscale rpms. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Dipti Joshi (Inactive) [ 2015-07-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
When you install "mariadb-enterprise-repository.rpm" per Step 1- it configures the /etc/yum/repo.d file with mariadb-enterprise as well as maxscale And then in step 2 you do "yum install maxscale" Then going forward your maxscale will stay uptodate | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey [ 2015-08-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks! |