Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10810] iOS: Setting label with empty string causes seg fault with iOS 6

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-09-14T17:14:58.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 2.1.3, Release 3.0.0, Sprint 2012-18 API, 2012 Sprint 18
ComponentsiOS
Labelsapi, qe-testadded
ReporterJason Sznol
AssigneeSabil Rahim
Created2012-08-20T08:15:47.000+0000
Updated2012-09-21T10:04:14.000+0000

Description

When setting a Ti.UI.Label text as an empty string ('' or "") and adding it to a view on iOS 6, the app crashes with a seg fault. This works on iOS 5. Sample code: var win = Ti.UI.createWindow(); var label = Ti.UI.createLabel({ text: '' }); win.add(label); win.show();

Comments

  1. Anirudh Nagesh 2012-09-05

    Hi Jason, ios 6 is not yet officially supported by Titanium. It will be in 2.1.3 GA release. Please test this on 2.1.3 and let us know if there is any issue. Regards, Anirudh
  2. Sabil Rahim 2012-09-06

    https://github.com/appcelerator/titanium_mobile/pull/2846 BY COMMUNITY PR
  3. Max Stepanov 2012-09-13

    Backport PR https://github.com/appcelerator/titanium_mobile/pull/2940
  4. Tamila Smolich 2012-09-14

    Closing bug. Verified and tested on: OS: Mac OS X Lion 10.7.4 Titanium Studio, build: 2.1.2.201208301612 Titanium SDK, build: 2.1.3.v20120913140112 xCode 4.5 GM seed iPod version 6.0 GM seed
  5. Vishal Duggal 2012-09-14

    Reopening to edit labels

JSON Source