Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2448] iOS: Intermittent crash when adding views to scrollableViews (seen 2X, then never again)

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-05-16T11:05:59.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-13
ComponentsiOS
Labelscrash, ios, regression, release-1.7.0, scrollable, view
ReporterThomas Huelbert
AssigneeBlain Hamon
Created2011-04-15T03:20:06.000+0000
Updated2011-05-16T11:05:59.000+0000

Description

was seen on a 4gt ipod touch 1.5.0.faa27c7

1.Base UI > views > Scroll Views > scrollable View
2.Tap add quickly 4-5 times

as noted, its intermittent. logging and attaching crashlog in the hopes it makes sense to dev.

Mon Nov 29 10:54:40 unknown KitchenSink[1527] : *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 0]'

*** Call stack at first throw:
(
    0   CoreFoundation                      0x3048e987 __exceptionPreprocess + 114
    1   libobjc.A.dylib                     0x33a0849d objc_exception_throw + 24
    2   CoreFoundation                      0x3048e7c9 +[NSException raise:format:arguments:] + 68
    3   CoreFoundation                      0x3048e803 +[NSException raise:format:] + 34
    4   QuartzCore                          0x32d75229 _ZL18CALayerSetPositionP7CALayerRKN2CA4Vec2IdEEb + 140
    5   QuartzCore                          0x32d75197 -[CALayer setPosition:] + 38
    6   UIKit                               0x313d737f -[UIView(Geometry) setCenter:] + 22
    7   KitchenSink                         0x00058a5b 0x0 + 363099
    8   KitchenSink                         0x00037bff 0x0 + 228351
    9   KitchenSink                         0x00038205 0x0 + 229893
    10  KitchenSink                         0x000c317b 0x0 + 799099
    11  CoreFoundation                      0x304450a3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 14
    12  CoreFoundation                      0x30444b5b __CFRunLoopDoTimer + 850
    13  CoreFoundation                      0x304161b5 __CFRunLoopRun + 1088
    14  CoreFoundation                      0x30415c87 CFRunLoopRunSpecific + 230
    15  CoreFoundation                      0x30415b8f CFRunLoopRunInMode + 58
    16  GraphicsServices                    0x31eec4ab GSEventRunModal + 114
    17  GraphicsServices                    0x31eec557 GSEventRun + 62
    18  UIKit                               0x313cf329 -[UIApplication _run] + 412
    19  UIKit                               0x313cce93 UIApplicationMain + 670
    20  KitchenSink                         0x0000465f 0x0 + 18015
    21  KitchenSink                         0x00003d00 0x0 + 15616
)

Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : [ERROR] The application has crashed with an unhandled exception. Stack trace:
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 0 CoreFoundation 0x3048e975 exceptionPreprocess + 96
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 1 libobjc.A.dylib 0x33a0849d objc_exception_throw + 24
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 2 CoreFoundation 0x3048e7c9 +[NSException raise:format:arguments:] + 68
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 3 CoreFoundation 0x3048e803 +[NSException raise:format:] + 34
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 4 QuartzCore 0x32d75229 _ZL18CALayerSetPositionP7CALayerRKN2CA4Vec2IdEEb + 140
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 5 QuartzCore 0x32d75197 -[CALayer setPosition:] + 38
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 6 UIKit 0x313d737f -[UIView(Geometry) setCenter:] + 22
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 7 KitchenSink 0x00058a5b 0x0 + 363099
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 8 KitchenSink 0x00037bff 0x0 + 228351
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 9 KitchenSink 0x00038205 0x0 + 229893
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 10 KitchenSink 0x000c317b 0x0 + 799099
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 11 CoreFoundation 0x304450a3
CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 14
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 12 CoreFoundation 0x30444b5b
CFRunLoopDoTimer + 850
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 13 CoreFoundation 0x304161b5 _CFRunLoopRun + 1088
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 14 CoreFoundation 0x30415c87 CFRunLoopRunSpecific + 230
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 15 CoreFoundation 0x30415b8f CFRunLoopRunInMode + 58
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 16 GraphicsServices 0x31eec4ab GSEventRunModal + 114
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 17 GraphicsServices 0x31eec557 GSEventRun + 62
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 18 UIKit 0x313cf329 -[UIApplication
run] + 412
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 19 UIKit 0x313cce93 UIApplicationMain + 670
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 20 KitchenSink 0x0000465f 0x0 + 18015
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : 21 KitchenSink 0x00003d00 0x0 + 15616
Mon Nov 29 10:54:40 unknown UIKitApplication:com.appcelerator.KitchenSink[0xf9db][1527] : terminate called after throwing an instance of 'NSException'

Comments

  1. Reggie Seagraves 2011-04-15

    I believe this may have been fixed when I checked in a fix involving some uninitialized variables in the layout code. Please regress.

  2. Thomas Huelbert 2011-05-11

    4.3 ipad2 [INFO] Titanium SDK version: 1.7.0 (05/10/11 19:34 879871b...)

JSON Source