Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-626

It should be easier to debug test crashes happening in Coin

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Other
    • None

    Description

      Right now we have basic support for core dumps implemented in QTQAINFRA-990. However, according to tosaario it just collects cores as another kind of artifacts, and it's impossible to do extract any information from them without access to original VM.

      I can see two ways how to improve situation (at least for Linux configurations):

      • Preload libSegFault.so (part of glibc) or something similar
        Should be very easy to implement on Linux
        May be used not only when running tests but for builds as well, however I'm not 100% sure it has no performance penalty
        no idea if off-the shelf macOS equivalent exists
      • Process collected cores with gdb at the end of Coin run
        Main complexity here is to match core files with executables which crashed. On Linux it's possible to include full path of executable file into core_pattern (%E, available since 3.0 kernel). AFAIK on macOS it's always just core.$pid

      Attachments

        For Gerrit Dashboard: COIN-626
        # Subject Branch Project Status CR V

        Activity

          People

            tosaario Toni Saario
            annulen Konstantin Tokarev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes