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

The pretty printer for StringData is broken

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Catalog and Routing
    • Fully Compatible
    • ALL

      As of SERVER-82604, the pretty printer for StringData is broken:

      (gdb) frame 13
      #13 0x0000aaaad797fa64 in mongo::(anonymous namespace)::ExternalStateForTest::withShardVersionRetry(mongo::OperationContext*, mongo::NamespaceString const&, mongo::StringData, mongo::unique_function<void ()>) (this=0xfffedd643a60, opCtx=0xfffedb2361a0, nss="sourcedb.sourcecollection", reason=Traceback (most recent call last):
        File "buildscripts/gdb/mongo_printers.py", line 121, in to_string
          size = self.val["_size"]
      gdb.error: There is no member or method named _size.
      , callback=<error reading variable: Cannot access memory at address 0x0>) at src/mongo/db/s/resharding/resharding_recipient_service_test.cpp:194
      

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: