Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5327] iOS: "Result of expression 'Ti.UI.iPhone.TableViewSeparatorStyle' [undefined] is not an object." and similar errors

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2011-09-21T12:50:32.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sSprint 2011-38, Release 1.8.0
ComponentsiOS
Labelsbranch-5062
ReporterStephen Tramer
AssigneeStephen Tramer
Created2011-09-21T08:30:01.000+0000
Updated2011-12-19T17:49:40.000+0000

Description

Messages such as this one indicate that something is getting garbage collected when it shouldn't be. The issues are intermittent and difficult to reproduce, indicating timing or involvement of other system resources.

Comments

  1. Stephen Tramer 2011-09-21

    These tests are actually the easiest way to duplicate the issue. See instructions on the ticket for testing.
  2. Stephen Tramer 2011-09-21

    OK. These are very intermittent problems, BUT can be consistently reproduced in exactly one way: - Synch Sabil's timob-4653 branch - Clean up all resources used by drillbit - Launch drillbit (drillbit.py --platforms=iphone) - Run ALL tests to completion (or until drillbit hangs) -- IF THE BUG PERSISTS: You will see the 'iPhone.UI.3DMatrixValue' test fail, with a message similar to the one in the description (probably "'Ti.UI.iOS.create3DMatrix' [undefined] is not an object") -- IF THE BUG IS FIXED: The test will pass! (or fail for some other reason) - Now, once drillbit is done (or crashed, hung, etc. and you've rebooted it) run the iPhone.UI.3DMatrixValue test ONLY. -- IF THE BUG PERSISTS: You will see the test fail in the manner described above -- IF THE BUG IS FIXED: The test will pass! (or fail for some other reason) *DO NOT LAUNCH ANY OTHER APPLICATIONS OR PERFORM ANY TASKS WHICH COULD POSSIBLY REALIGN ANYTHING IN RAM, OR ALTER PAGES, _INCLUDING PERFORMING OTHER DRILLBIT RUNS OF DIFFERENT TESTS AFTER THE INITIAL COMPLETE SUITE_ WHILE ATTEMPTING TO REPRODUCE THIS BUG. IT IS DEPENDENT UPON MEMORY ALIGNMENT. DOING SO MAY ALTER THE RESULTS SO THAT THE TEST 'PASSES', EVEN IF THE BUG PERSISTS.*
  3. Natalie Huynh 2011-12-19

    Drillbit runs and 3D matrix test passes. version=1.8.0.1 module_apiversion=2 timestamp=12/19/11 17:35 githash=8e3e43d

JSON Source