[MDEV-14530] garbd binary from linux generic "glibc_214" tarballs segfault with config file Created: 2017-11-29 Updated: 2018-01-27 Resolved: 2018-01-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera Arbitrator garbd |
| Affects Version/s: | 10.2.10 |
| Fix Version/s: | 10.2.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Hartmut Holzgraefe | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
When using binary tarballs from mariabd.org on Ubuntu 16.04 garbd from the "glibc_214" tarball crashes when reading options from a config file. The garbd binaries from the other two tarballs work fine with the same config file, and all three binaries work fine when passing the same options via command line options directly instead of putting them into a config file. Looking further the content of the config file doesn't even really matter, garbd even crashes on an empty config file. Core file backtrace: (gdb) bt |
| Comments |
| Comment by Andrii Nikitin (Inactive) [ 2017-11-29 ] | ||||||||||||||
|
It looks parse_config_file() does corrupt memory somehow - I bet it is related to compiler-related issues
| ||||||||||||||
| Comment by Andrii Nikitin (Inactive) [ 2017-11-30 ] | ||||||||||||||
|
The problem doesn't happen with 10.2.11-glibc_214 packages, probably because libgalera version was upgraded:
Or because different compiler was used in 10.2.11
| ||||||||||||||
| Comment by Elena Stepanova [ 2018-01-27 ] | ||||||||||||||
|
Closing as fixed in 10.2.11 based on the comment above. Please comment if you still experience the problem with 10.2.11+. |