Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26893] iOS: Crashes in ListView "itemclick" event

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 8.0.0
Fix Version/sn/a
ComponentsiOS
LabelsengSchedule
ReporterHans Knöchel
AssigneeAbir Mukherjee
Created2019-03-11T21:08:25.000+0000
Updated2020-11-23T18:06:11.000+0000

Description

There is a crash being reported if a file is require'd inside an "itemclick" event of a ListView. Crash:
Crashed: com.apple.main-thread
0  JavaScriptCore                 0x1afbe4400 llint_slow_path_jfalse + 356
1  JavaScriptCore                 0x1afbe42d8 llint_slow_path_jfalse + 60
2  JavaScriptCore                 0x1af4ddb28 llint_entry + 26184
3  JavaScriptCore                 0x1af4dea1c llint_entry + 30012
4  JavaScriptCore                 0x1af4dea1c llint_entry + 30012
5  JavaScriptCore                 0x1af4d72e4 vmEntryToJavaScript + 308
6  JavaScriptCore                 0x1afb451c8 JSC::Interpreter::executeProgram(JSC::SourceCode const&, JSC::ExecState*, JSC::JSObject*) + 9620
7  JavaScriptCore                 0x1afd20d64 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&) + 320
8  JavaScriptCore                 0x1af4fff44 JSEvaluateScript + 488
9  TitaniumKit                    0x1024b478c -[KrollEval jsInvokeInContext:exception:] + 196
10 TitaniumKit                    0x10247dd7c -[KrollBridge loadCommonJSModule:withSourceURL:] + 332
11 TitaniumKit                    0x10247e774 -[KrollBridge loadJavascriptText:fromFile:withContext:] + 84
12 TitaniumKit                    0x10247fc8c -[KrollBridge require:path:] + 428
13 TitaniumKit                    0x1024b59a4 CommonJSRequireCallback + 120
14 JavaScriptCore                 0x1af5009c0 long long JSC::APICallbackFunction::call<JSC::JSCallbackFunction>(JSC::ExecState*) + 348
15 JavaScriptCore                 0x1af4df5c0 llint_entry + 32992
16 JavaScriptCore                 0x1af4de9b4 llint_entry + 29908
17 JavaScriptCore                 0x1af4dea1c llint_entry + 30012
18 JavaScriptCore                 0x1af4dea1c llint_entry + 30012
19 JavaScriptCore                 0x1af4d72e4 vmEntryToJavaScript + 308
20 JavaScriptCore                 0x1afb451c8 JSC::Interpreter::executeProgram(JSC::SourceCode const&, JSC::ExecState*, JSC::JSObject*) + 9620
21 JavaScriptCore                 0x1afd20d64 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&) + 320
22 JavaScriptCore                 0x1af4fff44 JSEvaluateScript + 488
23 TitaniumKit                    0x1024b478c -[KrollEval jsInvokeInContext:exception:] + 196
24 TitaniumKit                    0x10247dd7c -[KrollBridge loadCommonJSModule:withSourceURL:] + 332
25 TitaniumKit                    0x10247e774 -[KrollBridge loadJavascriptText:fromFile:withContext:] + 84
26 TitaniumKit                    0x10247fc8c -[KrollBridge require:path:] + 428
27 TitaniumKit                    0x1024b59a4 CommonJSRequireCallback + 120
28 JavaScriptCore                 0x1af5009c0 long long JSC::APICallbackFunction::call<JSC::JSCallbackFunction>(JSC::ExecState*) + 348
29 JavaScriptCore                 0x1af4df5c0 llint_entry + 32992
30 JavaScriptCore                 0x1af4de9b4 llint_entry + 29908
31 JavaScriptCore                 0x1af4de9b4 llint_entry + 29908
32 JavaScriptCore                 0x1af4dea1c llint_entry + 30012
33 JavaScriptCore                 0x1af4d72e4 vmEntryToJavaScript + 308
34 JavaScriptCore                 0x1afb465d4 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 424
35 JavaScriptCore                 0x1afcfdb78 JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 188
36 JavaScriptCore                 0x1af50ccbc JSObjectCallAsFunction + 368
37 TitaniumKit                    0x1024947bc __TiBindingEventProcess_block_invoke + 48
38 TitaniumKit                    0x1024946d4 TiBindingEventProcess + 716
39 TitaniumKit                    0x1024b5040 -[KrollContext invoke:] + 116
40 TitaniumKit                    0x1024b50b4 -[KrollContext enqueue:] + 96
41 TitaniumKit                    0x1024bcdd4 TiBindingRunLoopEnqueue + 92
42 TitaniumKit                    0x10249c51c -[TiViewProxy fireEvent:withObject:propagate:reportSuccess:errorCode:message:] + 240
43 MyApp                         0x1008bbf78 -[TiUIListView fireClickForItemAtIndexPath:tableView:accessoryButtonTapped:] (TiUIListView.m:2248)
44 UIKitCore                      0x1d5536458 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1348
45 UIKitCore                      0x1d55366bc -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 268
46 UIKitCore                      0x1d533487c _runAfterCACommitDeferredBlocks + 296
47 UIKitCore                      0x1d5322878 _cleanUpAfterCAFlushAndRunDeferredBlocks + 384
48 UIKitCore                      0x1d5351880 _afterCACommitHandler + 132
49 CoreFoundation                 0x1a811d6bc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
50 CoreFoundation                 0x1a8118350 __CFRunLoopDoObservers + 412
51 CoreFoundation                 0x1a81188f0 __CFRunLoopRun + 1264
52 CoreFoundation                 0x1a81180e0 CFRunLoopRunSpecific + 436
53 GraphicsServices               0x1aa391584 GSEventRunModal + 100
54 UIKitCore                      0x1d5328c00 UIApplicationMain + 212
55 MyApp                         0x1007f0e94 main (main.m:66)
56 libdyld.dylib                  0x1a7bd6bb4 start + 4
From the logs, it seems like a common-js module is require'd and in that one, another one is require'd. That's all we get from Firebase, so I hope it helps

Comments

No comments

JSON Source