Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27832] iOS: Liveview disconnect triggers infinate error loop

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2020-08-11T14:57:07.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.1.0
Componentsn/a
Labelsn/a
ReporterRene Pot
AssigneeJan Vennemann
Created2020-04-06T08:40:23.000+0000
Updated2020-08-11T14:57:07.000+0000

Description

After killing liveview server any iOS simulator still running the app will go into an infinite loop with errors, spiking CPU and Memory usage. First 5 minutes or so CPU/Memory doesn't show increased activity, after that it is going crazy (see screenshot) *Expected result* Liveview should detect a server disconnect and stop checking after that, it should show no more than 1 error.

Attachments

FileDateSize
Screenshot 2020-04-06 at 10.56.14.png2020-04-06T08:56:31.000+000089677
Simulator Screen Shot - iPhone 11 - 2020-04-06 at 10.42.33.png2020-04-06T08:42:43.000+0000243454

Comments

  1. Ewan Harris 2020-04-06

    We're doing some liveview work in 9.1.0 so we'll take a look into this then
  2. Sebastian Klaus 2020-05-27

    Any news on that? I'm developing on 2-3 simulators at once and have this problem when I open another. Have to click up to 20 times until the new simulator is open and the liveview server is active again
  3. Jan Vennemann 2020-05-27

    PR: https://github.com/appcelerator/liveview/pull/170
  4. Satyam Sekhri 2020-06-17

    FR Passed. On disconnecting the liveview server the app continues to show without error screen. Verified with SDK 9.1.0.v20200617090641.
  5. Sebastian Klaus 2020-06-18

    Cannot confirm with SDK 9.1.0.v20200617090641: https://cl.ly/9e4345365e2d
  6. Ewan Harris 2020-06-18

    Good catch [~benutzername], looks like our detection doesn't work if your simulator is set to something other than english. Reopening so we can address that
  7. Sebastian Klaus 2020-06-18

    oh. don't mind, that the language could be responsible for that. thank you
  8. Jan Vennemann 2020-06-18

    PR: https://github.com/appcelerator/liveview/pull/173
  9. Ewan Harris 2020-06-18

    Liveview PR merged, will leave in review til dependabot makes a PR on titanium_mobile to update
  10. Ewan Harris 2020-07-17

    liveview update done here https://github.com/appcelerator/titanium_mobile/pull/11784
  11. Samir Mohammed 2020-07-20

    FR Passed unable to to trigger infinite loop when using liveview even when changing the sim language tested on SDK Version 9.2.0.v20200717151411 and 9.1.0.v20200717151341 *Test Environment*
        MacOS Big Sur: 11.0 Beta
        Xcode: 12.0 Beta 2
        Java Version: 1.8.0_242
        Android NDK: 21.3.6528147
        Node.js: 12.18.1
        "NPM":"5.0.0","CLI":"8.1.0-master.5"
        iphone 8 Sim (14.0 Beta)
        

JSON Source