Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Crash after 8 min: WKErrorDomain Code 2 #66

@VioletteA

Description

@VioletteA

Hi,

The application crashes after a few minutes (about 7-8 minutes), with the following error message:

ERROR: Evaluating jscode:
Error Domain=WKErrorDomain Code=2 "The Web Content process was terminated"
UserInfo={NSLocalizedDescription=The Web Content process was terminated}

I couldn't find where the bug came from. I tested on several pages, including https://google-ar.github.io/three.ar.js/examples/spawn-at-camera.html to see if it could come from my code or not: it happens every time.

For all tests, camera frames were enabled (SEND_CAMERA_FRAME_TO_JS=true) and arView.vrDisplay.passThroughCameraImage_.src was displayed in a div in the background.

When the error occurs, the console closes, so I can't see any particular warning or error message...

Thank you for your time

bug-webaronarkit_code2

EDIT: While consulting the device's console, I saw this notification, which happens shortly before the crash:
"10:31:10.136189 +0200 com.apple.WebKit.WebContent Got memory pressure notification (critical)"

So it seems that it is in fact a memory problem. I'm working on an ipad pro 10.5"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions