[MXS-700] Segfault on startup Created: 2016-04-28 Updated: 2016-04-28 Resolved: 2016-04-28 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 1.4.2 |
| Fix Version/s: | 1.4.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Guillaume Ceccarelli | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Gentoo, MySQL server versions 5.6.27 (source builds) |
||
| Description |
|
MaxScale crashes on startup with the following backtrace:
I've tracked the problem down to the following commit: https://github.com/mariadb-corporation/MaxScale/commit/7f18c579a4615eb505e8fee89aacd213f704223d It looks like in my setup, server->server->server_string is NULL at that point, causing the crash in the strstr call. Please let me know if I can do anything further with regards to testing or providing you with more information. |
| Comments |
| Comment by Johan Wikman [ 2016-04-28 ] |
|
Thank's for reporting this. We've been able to reproduce this and will make a 1.4.3 as soon as possible. |
| Comment by markus makela [ 2016-04-28 ] |
|
The server_string is now properly initialized if it isn't yet. |