| Summary: | ASSERT(m_sendPort) in IPC::Connection::open() when running some iOS unit tests | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
| Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | ap, bfulgham, darin, ggaren, kkinnunen, pvollan, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=224004 | ||||||
| Attachments: |
|
||||||
|
Description
Chris Dumez
2021-03-30 20:43:53 PDT
Created attachment 424732 [details]
Patch
Committed r275268: <https://commits.webkit.org/r275268> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424732 [details]. Other places that check against MACH_PORT_NULL but not MACH_PORT_DEAD:
ResourceUsageThread::platformCollectCPUData: ResourceUsageThreadCocoa.mm
hasMuxCompatibility: GraphicsChecksMac.cpp
NetscapePluginHostManager::spawnPluginHost: NetscapePluginHostManager.mm
NetscapePluginHostManager::initializeVendorPort: NetscapePluginHostManager.mm
NetscapePluginHostProxy::NetscapePluginHostProxy: NetscapePluginHostProxy.mm
NetscapePluginHostProxy::processRequests: NetscapePluginHostProxy.mm
XPCServiceInitializerDelegate::getConnectionIdentifier: XPCServiceEntryPoint.mm
releaseSendRight: MachSendRight.cpp
MachSendRight::operator bool: MachSendRight.h
Maybe one or more of these should be using MACH_PORT_VALID instead?
(In reply to Darin Adler from comment #4) > Other places that check against MACH_PORT_NULL but not MACH_PORT_DEAD: > > ResourceUsageThread::platformCollectCPUData: ResourceUsageThreadCocoa.mm > hasMuxCompatibility: GraphicsChecksMac.cpp > NetscapePluginHostManager::spawnPluginHost: NetscapePluginHostManager.mm > NetscapePluginHostManager::initializeVendorPort: > NetscapePluginHostManager.mm > NetscapePluginHostProxy::NetscapePluginHostProxy: > NetscapePluginHostProxy.mm > NetscapePluginHostProxy::processRequests: NetscapePluginHostProxy.mm > XPCServiceInitializerDelegate::getConnectionIdentifier: > XPCServiceEntryPoint.mm > releaseSendRight: MachSendRight.cpp > MachSendRight::operator bool: MachSendRight.h > > Maybe one or more of these should be using MACH_PORT_VALID instead? I will check and follow-up. |