Skip to content

Add CrashReporter #2109

Closed
Closed

Description

@dschmidt

Add Crash Reporter

  • Mirall: implement crash handler Implement CrashReporter using libcrashreporter-qt #2110
  • Server:
    • Acquire VM and install Socorro
    • Security Review (by @LukasReschke)
    • Archive server to store all symbol dumps
    • Discard old symbols of nightly builds after ~2 weeks
  • Deployment: build with RelWithDebInfo, extract debug symbols and upload them)
    • Establish Upload debug symbols to Soccoro
    • Windows (Rotor)
      • Generate .sym files for binaries from OBS for Windows
      • Generate .sym files for our own binaries (RelWithDebInfo!)
      • Upload symbols
    • Mac OS X
      • Generate .sym files for binaries from Homebrew (?)
      • Generate .sym files for our own binaries (RelWithDebInfo!)
      • Upload symbols
    • Linux
      • Decide if desired at all (Not ATM)

Activity

  1. danimo commented on Aug 26, 2014

    @danimo
    Contributor
  2. dschmidt commented on Aug 28, 2014

    @dschmidt
    MemberAuthor

    Progress #2110

  3. dschmidt commented on Aug 30, 2014

    @dschmidt
    MemberAuthor

    For Tomahawk I did not use that script but basically hacked it into our existing deploy script, the interesting part for you is probably this:

    From the build dir, I do:

    mkdir -p symbols/
    
    shopt -s globstar
    for f in *.dll *.exe
    do
        echo "Generate symbols for $f"
        i686-w64-mingw32-gen_sym_files "$f"
        i686-w64-mingw32-strip "$f"
    done
    
    # Pull in OBS built debug symbols
    for f in $(egrep "^   File.*dll" ../cmake/modules/NSIS.template.in | sed -e 's/^.*\\//' | sed -e 's/\"$//')
    do
        if [ ! -d "symbols/$f.sym" ]; then
            if [ ! -d "/usr/i686-w64-mingw32/sys-root/mingw/symbols/$f" ]; then
                echo "No debug symbols available for $f"
                exit -1
            else
                echo "Pull in symbols for $f"
                cp -rvf "/usr/i686-w64-mingw32/sys-root/mingw/symbols/$f.sym" symbols/$f
            fi
        fi
    done
    
    echo "Compress all collected debug symbols"
    pushd symbols
    tar cvJf ../symbols.tar.xz *
    popd
    
    scp symbols.tar.xz foo@bar:/data/symbols
    ssh -2 foo@bar \
       "set -e;
        umask 0022;
        cd /data/symbols;
        tar xvJf '$0.tar.xz';
        rm -v '$0.tar.xz';"
    
  4. added
    p2-high
    on Jan 21, 2015
  5. added this to the 1.8 - UI Enhancements milestone on Jan 21, 2015
  6. self-assigned this
    on Jan 22, 2015
  7. LukasReschke commented on Jan 23, 2015

    @LukasReschke
    Contributor

    Security Review (by @LukasReschke)

    Looks pretty good for me. Did some digging in the code as well and found nothing that would be a showstopper. Nice stuff 👍

  8. luciamaestro commented on Feb 19, 2015

    @luciamaestro

    @danimo any news?

  9. dragotin commented on Mar 4, 2015

    @dragotin
    Contributor

    Status here is that we ship the crashreporter only for Windows platfrom on 1.8.0. The infrastructural changes for Mac (and maybe linux) have to be pushed to 1.8.1: #2918

    Setting this one to Ready-For-Test - @jturcotte could you help testing this? Thx.

  10. added
    ReadyToTest
    on Mar 4, 2015
  11. assigned and unassigned on Mar 4, 2015
  12. danimo commented on Mar 12, 2015

    @danimo
    Contributor

    Last issues sorted out.

  13. dschmidt commented on Mar 22, 2015

    @dschmidt
    MemberAuthor

    👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ReadyToTestp2-high

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions