[TIMOB-4938] iOS: Debugging with array causes an unhandled exception and crashes the application
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2011-08-11T09:44:05.000+0000 |
Affected Version/s | Release 1.7.2 |
Fix Version/s | Sprint 2011-32 |
Components | iOS |
Labels | array, crash, debugger, exception |
Reporter | Natalie Huynh |
Assignee | Stephen Tramer |
Created | 2011-08-08T11:50:47.000+0000 |
Updated | 2011-10-27T18:33:04.000+0000 |
Description
Steps To Reproduce:
1. Run debug_test application without breakpoints
2. Click on Open Window
3. Click on Array
Actual:
[ERROR] The application has crashed with an unhandled exception. Stack trace:
0 CoreFoundation 0x0238658c __exceptionPreprocess + 156
1 libobjc.A.dylib 0x024da313 objc_exception_throw + 44
2 CoreFoundation 0x023880bb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
3 CoreFoundation 0x022f7966 ___forwarding___ + 966
4 CoreFoundation 0x022f7522 _CF_forwarding_prep_0 + 50
5 debug_test 0x0032ff6b -[TiDebugger log:level:] + 134
6 debug_test 0x003319f0 TiDebuggerLogMessage + 69
7 debug_test 0x00143536 -[APIModule logMessage:severity:] + 486
8 debug_test 0x00143723 -[APIModule info:] + 147
9 CoreFoundation 0x022f6c7d __invoking___ + 29
10 CoreFoundation 0x022f6b51 -[NSInvocation invoke] + 145
11 debug_test 0x0004de69 -[KrollMethod call:] + 3081
12 debug_test 0x0004c90e KrollCallAsFunction + 542
13 debug_test 0x002d91d9 _ZN2TI16TiCallbackObjectINS_8TiObjectEE4callEPNS_10TiExcStateEPS1_NS_7TiValueERKNS_7ArgListE + 391
14 debug_test 0x002b649b cti_op_call_NotTiFunction + 299
15 ??? 0x0d4703bc 0x0 + 222757820
16 debug_test 0x002730f5 _ZN2TI11Interpreter7executeEPNS_18FunctionExecutableEPNS_10TiExcStateEPNS_10TiFunctionEPNS_8TiObjectERKNS_7ArgListEPNS_14ScopeChainNodeEPNS_7TiValueE + 975
17 debug_test 0x002c48cd _ZN2TI10TiFunction4callEPNS_10TiExcStateENS_7TiValueERKNS_7ArgListE + 129
18 debug_test 0x0023bfeb _ZN2TI4callEPNS_10TiExcStateENS_7TiValueENS_8CallTypeERKNS_8CallDataES2_RKNS_7ArgListE + 91
19 debug_test 0x002d74f6 TiObjectCallAsFunction + 454
20 debug_test 0x00056a33 -[KrollObject triggerEvent:withObject:thisObject:] + 739
21 debug_test 0x00048f81 -[KrollEvent invoke:] + 145
22 debug_test 0x00047ced -[KrollContext invoke:] + 189
23 debug_test 0x000468ce -[KrollContext main] + 4478
24 Foundation 0x00675cf4 -[NSThread main] + 81
25 Foundation 0x00675c80 __NSThread__main__ + 1387
26 libSystem.B.dylib 0x922b8259 _pthread_start + 345
27 libSystem.B.dylib 0x922b80de thread_start + 34
Expected:
Console displays:
[INFO] (
1,
2,
a,
{
b = c;
}
)
Last working with 1.7.1
This bug has been fixed in 1.8.0. If it needs to go into 1.7.x then the fix I put in can be cherry-picked and the debugger library updated if necessary (but I remember it being just a Titanium fix).
Bug already fixed. Comment further on TIMOB-4754 regarding whether or not to backport to 1.7.x.
Tested with version=1.8.0 timestamp=08/11/11 10:12 githash=1dc757e