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

Back out of ASSERT in stacktrace_test.cpp

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Dev Tools 2019-09-23
    • 0

      https://jira.mongodb.org/browse/BF-14768

      On RHEL6 buildvariants, the __libc_start_main at the bottom of a main thread's backtrace doesn't resolve to a section of memory known to the processInfo.somap in the stacktrace. Libc.so.* has a section but it has a different address.

      Maybe there is more than one section for that .so and the somap needs to be expanded.
      But in the meantime we can take out the assert. The section being missing from the somap is apparently to be expected for the stacktrace code as implemented.

      // TODO: (BF-14768) fails on RHEL6 when looking up `__libc_start_main`.              
      // ASSERT_TRUE(soEntryIter != soMap.end()) << "not in soMap: 0x{:X}"_format(btBase); 
      

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: