Skip to content

抓到 iOS 的一个 bug #21

@hellohejinyu

Description

@hellohejinyu
[log] @@@@: networkUrl: https://cos.ap-shanghai.myqcloud.com/868b-shanghai-090-sharedv4-01-1303031839/b1bb-1400703153/c7cf-IM_25990/f761a0a0bc2d314bd80d436dccc5fa9e-440118.pdf
[log] @@@@: localUrl: /private/var/mobile/Containers/Data/Application/90FDC56E-6C96-4AEF-8C4D-F06ADB3C3737/tmp/1400703153-IM_25990-8J5hBFH4ziqdTHL7OHda6PW25L65JRV8.pdf
[GETX] GOING TO ROUTE /FilePreviewPage
/private/var/mobile/Containers/Data/Application/90FDC56E-6C96-4AEF-8C4D-F06ADB3C3737/tmp/1400703153-IM_25990-8J5hBFH4ziqdTHL7OHda6PW25L65JRV8.pdf
file开始加载
file加载完成
[lifecycle] [u 20B3934E-3832-4706-ABA9-D27E2D769282:m (null)] [com.apple.PDFKit.PDFExtensionView(1.0)] Connection to plugin interrupted while in use.
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[lifecycle] [u 20B3934E-3832-4706-ABA9-D27E2D769282:m (null)] [com.apple.PDFKit.PDFExtensionView(1.0)] Connection to plugin invalidated while in use.
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Process] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::tryReloadAfterProcessTermination: process crashed and the client did not handle it, not reloading the page because we reached the maximum number of attempts
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Process] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::tryReloadAfterProcessTermination: process crashed and the client did not handle it, not reloading the page because we reached the maximum number of attempts
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Process] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::tryReloadAfterProcessTermination: process crashed and the client did not handle it, not reloading the page because we reached the maximum number of attempts
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Process] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::tryReloadAfterProcessTermination: process crashed and the client did not handle it, not reloading the page because we reached the maximum number of attempts
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Process] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::tryReloadAfterProcessTermination: process crashed and the client did not handle it, not reloading the page because we reached the maximum number of attempts
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Process] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::tryReloadAfterProcessTermination: process crashed and the client did not handle it, not reloading the page because we reached the maximum number of attempts
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Process] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::tryReloadAfterProcessTermination: process crashed and the client did not handle it, not reloading the page because we reached the maximum number of attempts
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Process] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::tryReloadAfterProcessTermination: process crashed and the client did not handle it, not reloading the page because we reached the maximum number of attempts
[Loading] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
[Process] 0x110014818 - [pageProxyID=274, webPageID=275, PID=15305] WebPageProxy::didFailProvisionalLoadForFrame: frameID=3, isMainFrame=1, domain=WebKitErrorDomain, code=102, isMainFrame=1
[NSExtension] __plugin endUsing for '784A4DA7-4D45-48E5-B9B3-0BB551D34920' returned error: [u 20B3934E-3832-4706-ABA9-D27E2D769282:m (null)] [com.apple.PDFKit.PDFExtensionView(1.0)] endUsingRequest: called with unknown/expired request [ED553A9F-9494-4881-BC35-3702FE7BB16F]
Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service

日志如上,此时页面是白屏的。但是我没有找到规律。要是插件这边可以捕获错误就好了,这样前台我可以在错误的回调里面加个提示提示用户重试一下。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions