- Electron version: 1.4.3
- Operating system: MacOS 10.11.6

When setCertificateVerifyProc is used, Electron will crash as soon as the callback method is called. Crash log is attached and I've created a very simple project to demonstrate how this can be reproduced: https://github.com/gregnolle/electron-cert-verify-demo

[Electron_2016-10-15-120129_Gregs-iMac.crash.txt](https://github.com/electron/electron/files/531093/Electron_2016-10-15-120129_Gregs-iMac.crash.txt)

atom/browser/atom_browser_context.h
class AtomPermissionManager;
class WebViewManager;
class AtomBrowserContext : public brightray::BrowserContext {
 public:
  
  
  
  static scoped_refptr<AtomBrowserContext> From(
      const std::string& partition, bool in_memory,
      const base::DictionaryValue& options = base::DictionaryValue());
  void SetUserAgent(const std::string& user_agent);
  
  net::NetworkDelegate* CreateNetworkDelegate() override;
  net::CookieMonsterDelegate* CreateCookieDelegate() override;
  std::string GetUserAgent() override;
  std::unique_ptr<net::URLRequestJobFactory> CreateURLRequestJobFactory(
      content::ProtocolHandlerMap* protocol_handlers) override;
  net::HttpCache::BackendFactory* CreateHttpCacheBackendFactory(
      const base::FilePath& base_path) override;
  std::unique_ptr<net::CertVerifier> CreateCertVerifier() override;
  net::SSLConfigService* CreateSSLConfigService() override;
  std::vector<std::string> GetCookieableSchemes() override;
  
  content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
  content::BrowserPluginGuestManager* GetGuestManager() override;
  content::PermissionManager* GetPermissionManager() override;
  
  void RegisterPrefs(PrefRegistrySimple* pref_registry) override;
  AtomBlobReader* GetBlobReader();
  AtomNetworkDelegate* network_delegate() const { return network_delegate_; }