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

Improved error handling #184

Open
Stivius opened this issue Apr 8, 2020 · 0 comments
Open

Improved error handling #184

Stivius opened this issue Apr 8, 2020 · 0 comments
Milestone

Comments

@Stivius
Copy link
Collaborator

Stivius commented Apr 8, 2020

Is your feature request related to a problem? Please describe.
Right now we are spending a lot of time to find out the problem source in case if it's related to segfault or segabort. We need to improve error handling to have more info that could help us to investigate bugs.

Describe the solution you'd like
Add more logs for trace and debug levels, intercept SIGSEGV/SIGABRT signals and print stack trace.

Stivius pushed a commit to Stivius/xibo-linux that referenced this issue Apr 8, 2020
We print stack trace using boost::stacktrace::stacktrace() which is not the safest way to do it in a
signal handler however it gives us more info if compared to safe call. xibosignage#184
@dasgarner dasgarner added this to the 1.8 R6 milestone Jul 6, 2020
@dasgarner dasgarner modified the milestones: 1.8 R6, 1.8 R7 Oct 15, 2020
@dasgarner dasgarner modified the milestones: 1.8 R7, 1.8 R8 May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants