Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seastar-addr2line: support more flexible syslog-style backtraces #1207

Merged
merged 2 commits into from
Sep 9, 2022

Conversation

bhalevy
Copy link
Member

@bhalevy bhalevy commented Sep 7, 2022

Some may contain space characters around the '+' operator in, e.g.:

    #1  0x00007fd2dab4f950 abort (libc.so.6 + 0x26950)

Fixes #1206

Signed-off-by: Benny Halevy bhalevy@scylladb.com

@bhalevy bhalevy requested a review from nyh September 7, 2022 04:59
@bhalevy bhalevy marked this pull request as draft September 7, 2022 09:01
@bhalevy
Copy link
Member Author

bhalevy commented Sep 7, 2022

please do not merge.
it's a problem that the offsets in the column are different that the addresses in the 2nd column.
we need to decoded the addresses on the second column

Some may contain space characters around the '+' operator in, e.g.:
```
    scylladb#1  0x00007fd2dab4f950 abort (libc.so.6 + 0x26950)
```

Fixes scylladb#1206

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
@bhalevy bhalevy force-pushed the seastar-addr2line-add-syslog-format branch from 8be90d1 to 35af86d Compare September 7, 2022 09:28
@bhalevy bhalevy marked this pull request as ready for review September 7, 2022 09:28
@bhalevy
Copy link
Member Author

bhalevy commented Sep 7, 2022

In v2 (35af86d):

  • fixed regular expressions to extract the right address column in "syslog" type input lines.

So not to get confused by a prefix a spaces

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
@xemul xemul merged commit 53ca955 into scylladb:master Sep 9, 2022
@bhalevy
Copy link
Member Author

bhalevy commented Sep 11, 2022

@benipeled can you please update the seastar submodule in scylla_s3_reloc_server to include this change?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

seastar-addr2line: add support for decoding syslog style backtraces
2 participants