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

Standardized "bug report" format across platforms #4

Open
staticfloat opened this issue Apr 16, 2020 · 0 comments
Open

Standardized "bug report" format across platforms #4

staticfloat opened this issue Apr 16, 2020 · 0 comments

Comments

@staticfloat
Copy link
Member

Right now this is very rr focused, but it would be good, IMO, to start thinking about what we can offer for non-rr capable systems. I'm thinking things like auto-uploading a manifest, perhaps a gdb backtrace or similar? Making it such that julia --bug-report gives us at least something (and that that something is as consistent as possible across platforms), then building BugReporting.jl to give us the capture and analysis tools to make squashing bugs fun and profitable.

Ideas of information we might want to know:

  • rr trace (only on x86_64-linux-gnu)
  • Manifest.toml (saved out in the bug report such that it's very easy for another dev to instantiate and see what's going on)
  • Basic system vital statistics; how many cores, how much RAM available, how much disk space available, etc... Help us quickly figure out if something is going to need specialized hardware/conditions to debug (like an OOM doing something nasty).
  • Would be cool if we could offer to auto-upload source code; In an rr context I know this will be automatically part of the trace and we can post-process it out, but it would also be nice if we could, for instance, hook into include() and copy all files that are included (filtering out things from base, stdlib and packages) into the tarball that gets uploaded. This could make it very easy to provide even moderate-size reproducers.
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

No branches or pull requests

1 participant