[MCOL-1085] Add automatic stack trace to ColumnStore binaries Created: 2017-12-06 Updated: 2018-02-12 Resolved: 2018-01-22 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.13, 1.1.3 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2018-01, 2018-02 |
| Description |
|
See this pull request as one example of how to do it: https://github.com/mariadb-corporation/mariadb-columnstore-data-adapters/pull/5/files |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2017-12-31 ] |
|
We also need -fno-omit-frame-pointer |
| Comment by Andrew Hutchings (Inactive) [ 2018-01-03 ] |
|
Patch for develop-1.0 to be merged up. It will create trace files automatically when a ColumnStore process crashes and put them in /var/log/mariadb/columnstore/trace. The file will contain the date/time, signal number and the stack at time of crash. The file names are in "ProcessName.PID.log" format. For QA: try "kill -11" on a ColumnStore daemon process and look for the new log files. |
| Comment by Daniel Lee (Inactive) [ 2018-01-22 ] |
|
Build verified: 1.1.3-1 Github source /root/columnstore/mariadb-columnstore-server Merge pull request #84 from mariadb-corporation/ /root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine Merge pull request #375 from mariadb-corporation/dev-1.1-build-fix Fix missing compiler flag from 1.0 -> 1.1 merge [root@localhost trace]# cat PrimProc.9715.log [0x7ff284c63200] |
| Comment by Daniel Lee (Inactive) [ 2018-01-22 ] |
|
1.0.13-1: /root/columnstore/mariadb-columnstore-server Merge pull request #83 from mariadb-corporation/ /root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine Merge pull request #376 from mariadb-corporation/ |