Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7692] iOS: Crash on context close

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-02-16T15:42:40.000+0000
Affected Version/sRelease 1.8.2
Fix Version/sSprint 2012-04, Release 2.0.0, Release 1.8.2
Componentsn/a
Labelsn/a
ReporterStephen Tramer
AssigneeNeeraj Gupta
Created2012-02-16T14:48:36.000+0000
Updated2012-08-15T10:10:53.000+0000

Description

There's a self ref in a block during -[TiModule dealloc]. This needs to be referenced via a __block id reference to self to avoid the retain.

TESTING

---- * Run KS * Click around constantly between tests (going back and forth). If you don't get a crash the bug is fixed. Seems to be easy to repro off of Base UI->Window Standalone moving backwards. The bug is very scheduling dependent but does appear frequently.

Comments

  1. Max Stepanov 2012-02-16

    Pull requests https://github.com/appcelerator/titanium_mobile/pull/1448 https://github.com/appcelerator/titanium_mobile/pull/1449 merged.
  2. Rima Umbrasas 2012-08-15

    Verified fixed with : Mobile sdk-2.2.0.v20120810080115 Titanium Studio, build: 2.1.1.201207271312 Device: Ipad 5.1

JSON Source