Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26985] iOS: Native modules are not protected

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2019-05-08T16:54:41.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.0.1
ComponentsiOS
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2019-04-16T00:51:39.000+0000
Updated2019-05-12T22:35:31.000+0000

Description

- Native modules are not protected from deallocation by JavascriptCore. This means cached modules can have their proxies released.

Comments

  1. Hans Knöchel 2019-04-16

    Super interesting! Is this causing TIMOB-26852 internally? Let me know if I can test internally.
  2. Gary Mathews 2019-04-16

    aca: https://github.com/appcelerator-modules/appcelerator.aca/pull/17
  3. Gary Mathews 2019-04-18

    master: https://github.com/appcelerator/titanium_mobile/pull/10855
  4. Hans Knöchel 2019-04-19

    [~vijaysingh] [~smohammed] Do you know if this is also the ultimate fix for TIMOB-26852?
  5. Vijay Singh 2019-04-19

    [~hknoechel] 1. We are going to test this PR in issue mentioned in TIMOB-26852. And 2. This PR in conjunction with the PR in TIMOB-26852 and let you know. If you can try at your end as well , will be great. Thanks!
  6. Vijay Singh 2019-04-19

    PR(8_0_X) - https://github.com/appcelerator/titanium_mobile/pull/10859
  7. Lokesh Choudhary 2019-04-29

  8. Lokesh Choudhary 2019-05-01

  9. Christopher Williams 2019-05-08

    merged to master
  10. Lokesh Choudhary 2019-05-08

    FR Passed. PR's Merged.
  11. Nick Kemp 2019-05-09

    We are seeing hang on splash after a large period of time. This PR has reduced the incidence rate, but it is still happening. There is no crash just a hang on splash. Not sure how I can help with no crash log to provide, but wanted the team to know that there appears to be an issue still.
  12. Nick Kemp 2019-05-12

    Further to last comment we have solved the hang by removing the ti.worker module from our project. It appears there maybe a problem with that module and this SDK.

JSON Source