Skip to content

Catch segfaults on builders and report backtraces with symbols #9371

Closed

Description

@jdm

Firefox does this, but I'm not certain what it entails. Maybe it's via the breakpad signal handler that writes out minidumps and then the test harness reads that? Our debugging info with RUST_BACKTRACE=1 is great, but we have zero visibility into actual crashes.

cc @metajack @larsbergstrom

Activity

  1. changed the title [-]Catch segfaults on builders and report them with symbols[/-] [+]Catch segfaults on builders and report backtraces with symbols[/+] on Jan 18, 2016
  2. Ms2ger commented on Jan 18, 2016

    @Ms2ger
    Contributor
  3. luser commented on Jan 18, 2016

    @luser
    Contributor

    Yes, we use Breakpad to write minidumps, and test harnesses look for minidumps and print out stacks using the mozcrash module + a minidump_stackwalk binary.

    This is what the harness bit of that looks like in Mochitest:
    https://dxr.mozilla.org/mozilla-central/rev/8cb42e7a16b42162c9930f37b9e1f820c2eb126b/testing/mochitest/runtests.py#2019

  4. jdm commented on May 31, 2016

    @jdm
    MemberAuthor

    I wonder how well signal handlers work with Rust programs? I just stumbled across http://neugierig.org/software/blog/2012/06/backtraces.html and it might be enough to get us useful information without having to deal with the whole breakpad situation.

  5. added a commit that references this issue on Jun 9, 2016
    33ecedb
  6. added 3 commits that reference this issue on Jun 20, 2016
    51d5bd3
    ef9286b
    2c4c2d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions