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

Please create a human-readable backtrace file #181

Open
jfilak opened this issue Sep 2, 2014 · 3 comments
Open

Please create a human-readable backtrace file #181

jfilak opened this issue Sep 2, 2014 · 3 comments

Comments

@jfilak
Copy link
Contributor

jfilak commented Sep 2, 2014

Create 'backtrace' from mini-debuginfo along with 'core_backtrace'.

@mmilata
Copy link
Contributor

mmilata commented Sep 4, 2014

Won't the existence of backtrace confuse the rest of ABRT (e.g. workflows with local/remote retracing)?

Do you have any preference wrt format?

@jfilak
Copy link
Contributor Author

jfilak commented Sep 4, 2014

Well, it might confuse ABRT in the future when we decide to not generate backtrace if it already exists, but the current implementation generates backtrace unconditionally whenever user reports an user space crash to Bugzilla.

In case we would like to avoid the future problems, we shouldn't definitely invent a new file (Can you imagine the absurdity of presence 3 files containing backtrace in 3 different formats?). So, what about to change core_backtrace's format from JSON to something human readable and easy parseable? (IIRC we have been there and it wasn't flexible enough and it was error prone).

Hmm, shouldn't we develop a tool/API converting core_backtrace into something human readable?

@mmilata
Copy link
Contributor

mmilata commented Sep 4, 2014

I don't think we should change the format again, for the reasons you mentioned. If it doesn't confuse ABRT into sending the core_backtrace-based-backtrace to e.g. bugzilla then I'm for reusing the backtrace file.

Tool for converting core_backtrace to some gdb-like format is a matter of five lines of python:)

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

3 participants