[MXS-312] Include debug symbols in MaxScale builds Created: 2015-08-15 Updated: 2015-10-30 Resolved: 2015-10-30 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | build |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.0 |
| Type: | Task | Priority: | Critical |
| Reporter: | Dipti Joshi (Inactive) | Assignee: | Timofey Turenko |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Epic Link: | MaxScale 1.3 |
| Description |
|
MaxScale builds that are on mariadb.com portal should contain debug symbols ( without turning on debug and trace log level) - so that if there is a crash, the coredump will be useful. Also make sure that when such build core dumps it prints file name and line numbers of the function call in stack trace. |
| Comments |
| Comment by Johan Wikman [ 2015-08-25 ] |
|
There's a bit of confusion here. The builds at mariadb.com should not contain debug symbols, but symbol information. But the packages at mariadb.com already do that (at least CentOS 6 and CentOS 7). That is, given a stacktrace containing only module + address information, the source file + line can be digged out using the current packages. Instructions for doing this is found here https://github.com/mariadb-corporation/MaxScale/wiki/Debugging and the program script/stacktrace in the MaxScale distribution can do that automatically. However, it is confusing that the stacktraces pasted to Jira typically (it seems) do not contain sourcecode + line information, but only module + address. Namely, that information is logged explicitly by MaxScale itself, using system functions that should provide the symbolic information. But there should be packages that have extra checking turned on. That way, if someone is experiencing problems we could instruct them to use such a package instead, in which case problems will hopefully be detected before they manifest themselves as a crash. Timofey is working on that now. |
| Comment by Dipti Joshi (Inactive) [ 2015-08-25 ] |
|
johan.wikman So there are two requests
|
| Comment by Dipti Joshi (Inactive) [ 2015-09-12 ] |
|
johan.wikman tturenko Any update on this ? Thanks, |
| Comment by Timofey Turenko [ 2015-10-30 ] |
|
all builds by default contains debug symbols now. closing |