Observed in CI: https://app.circleci.com/pipelines/github/electron/electron/30672/workflows/69ab6601-3698-411b-8906-93c9aca28870/jobs/675633

```
Received signal 11 SEGV_MAPERR 000000000048
0   Electron Framework                  0x0000000116967079 base::debug::CollectStackTrace(void**, unsigned long) + 9
1   Electron Framework                  0x0000000116861a13 base::debug::StackTrace::StackTrace() + 19
2   Electron Framework                  0x0000000116966f41 base::debug::(anonymous namespace)::StackDumpSignalHandler(int, __siginfo*, void*) + 2385
3   libsystem_platform.dylib            0x00007fff68c005fd _sigtramp + 29
4   ???                                 0x00000001026a2a00 0x0 + 4335479296
5   Electron Framework                  0x0000000111155798 base::ObserverList<content::SerialDelegate::Observer, false, true, base::internal::CheckedObserverAdapter>::RemoveObserver(content::SerialDelegate::Observer const*) + 104
6   Electron Framework                  0x0000000111158b20 electron::SerialChooserController::~SerialChooserController() + 256
7   Electron Framework                  0x00000001111535fc electron::ElectronSerialDelegate::~ElectronSerialDelegate() + 124
8   Electron Framework                  0x00000001110ed524 electron::ElectronBrowserClient::~ElectronBrowserClient() + 132
9   Electron Framework                  0x00000001110ed5ee electron::ElectronBrowserClient::~ElectronBrowserClient() + 14
10  Electron Framework                  0x0000000110fdbde7 ElectronMain + 151
```
shell/browser/serial/serial_chooser_controller.cc
v8::Isolate* isolate,
      const device::mojom::SerialPortInfoPtr& port) {
    gin_helper::Dictionary dict = gin::Dictionary::CreateEmpty(isolate);
    dict.Set("portId", port->token.ToString());
    dict.Set("portName", port->path.BaseName().LossyDisplayName());
    if (port->display_name && !port->display_name->empty()) {
      dict.Set("displayName", *port->display_name);
    }
    if (port->has_vendor_id) {
      dict.Set("vendorId", base::StringPrintf("%u", port->vendor_id));
    }
    if (port->has_product_id) {
      dict.Set("productId", base::StringPrintf("%u", port->product_id));
    }
    if (port->serial_number && !port->serial_number->empty()) {
      dict.Set("serialNumber", *port->serial_number);
    }
#if defined(OS_MAC)
    if (port->usb_driver_name && !port->usb_driver_name->empty()) {
      dict.Set("usbDriverName", *port->usb_driver_name);
    }
#elif defined(OS_WIN)