Remove TCMALLOC_DONT_PREFER_LIBUNWIND from debug builds

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 7.0.17, 6.0.21
    • Component/s: None
    • Workload Scheduling
    • ALL
    • Workload Scheduling 2025-03-17, Workload Scheduling 2025-04-28, Workload Scheduling 2025-06-23, Workload Scheduling 2025-07-07, Workload Scheduling 2025-07-21, Workload Scheduling 2025-08-04
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As we discovered in BF-36357, setting TCMALLOC_DONT_PREFER_LIBUNWIND will make TCMalloc choose a stack unwinding implementation that relies on frame pointers. When using a standard library that does not push frame pointers on stack, TCMalloc will cause a segfault when trying to report the stack trace.

              Assignee:
              Vojislav Stojkovic
              Reporter:
              Vojislav Stojkovic
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: