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

Investigate DBException left uncaught even though there is a handler (gcc, opt + dbg)

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Build

      On gcc builds with opt=on and dbg=on (x86, but haven't tried others) such as buildvariant "! Linux x86 Shared Library DEBUG", if I place a `uasserted` in this function which is part of a command execution, the DBException is left uncaught and crashes the server, even though there's a handler for it.

      The same does not reproduce on clang builds, nor on gcc builds with "opt=on dbg=off" or "opt=off dbg=on".

            Assignee:
            Unassigned Unassigned
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: