Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-64243

Fix segmentation fault in gperftools during backtrace

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch
    • ALL
    • Dev Platform 2022-05-16, Service Arch 2023-11-13, Service Arch 2023-11-27
    • 0

    Description

      gperftools seems to have an issue during stack frame walking where sometimes it will attempt to dereference an invalid address due to not having frame pointers.

      During discussion of the issue we identified some possible resolutions for this problem:

      • We could make a decision to stop using gperftools debug allocation mode. But we internally seem to be using it.
      • We could work with upstream gperftools to make forward progress on a patch that seems to fix this but has been pending to be merged since 2017.
      • We could work with upstream gperftools and/or libunwind to fix the performance issue so that we can let debugallocation use libunwind, which doesn't need frame pointers.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: