← Back to team overview

touch-packages team mailing list archive

[Bug 1388089] Re: [webapp-container] apps are not handled by lifecycle management properly

 

Let's stop calling it "lifecycle managed" as that suggests our app
management actually has anything to do with it. It's all about the out-
of-memory killer and how it behaves. It will just kill one process that
it sees fit to kill (in this case, the renderer), so the *app*, being
the webapp container, lives on. So there's no screenshot, per se, it's
all the app still working (but SIGSTOP'ed, suspended). Once you focus
it, it realizes it lost the renderer and the web canvas goes blank
(totally blank if webapp has no header, header still around if it was
there in the first place).

There's two potential solutions here:
a) get OOM to kill the whole pgroup
b) make the webapp container recover by restarting its renderer

a) would be more in line with our overall lifecycle management
b) could be quicker, as we only need to start the renderer, not the whole app, but the shell won't have control over how the recovery looks

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1388089

Title:
  [webapp-container] apps are not handled by lifecycle management
  properly

Status in Oxide Webview:
  New
Status in Web Browser App:
  New
Status in “qtmir” package in Ubuntu:
  New
Status in “webbrowser-app” package in Ubuntu:
  New
Status in “qtmir” package in Ubuntu RTM:
  New
Status in “webbrowser-app” package in Ubuntu RTM:
  New

Bug description:
  in image 137, if you open a gazillion of apps and have webapps among
  them, the webapp screenshots never turn blurry when the OOM score is
  reached on high memory pressure ... once you switch to such a webapp,
  the whole content window turns white (sometimes the app header stays
  around, sometimes the whole app window is white).

  seemingly the renderer is lifecycle managed and gets properly OOM
  killed on high memory pressure , but the frontend of the webapp does
  not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1388089/+subscriptions


References