[
https://issues.apache.org/jira/browse/WEEX-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
xingZhang resolved WEEX-211.
----------------------------
Resolution: Fixed
> crash in text component on iOS10
> --------------------------------
>
> Key: WEEX-211
> URL: https://issues.apache.org/jira/browse/WEEX-211
> Project: Weex
> Issue Type: Bug
> Components: iOS
> Environment: iPad iOS 10.0.2
> Reporter: fjzznjsh
> Assignee: xingZhang
> Priority: Major
>
> Exception Type: SIGSEGV
> Exception Codes: SEGV_ACCERR at 000000000000000000
> Crashed Thread: 48
> Thread 48 Name: com.taobao.weex.component
> Thread 48 Crashed:
> 0 CoreFoundation 0x000000018a80e174 CFStringCreateCopy + 28
> 1 CoreText 0x000000018d5e0b18
> TCharStreamCFString::TCharStreamCFString(__CFString const*, __CFDictionary
> const*) + 60
> 2 CoreText 0x000000018d57adf0
> TTypesetter::RelayoutRun(std::__1::tuple<TLine const*, TCharStream const*,
> void const* (*)(__CTRun const*, __CFString const*, void*), void*,
> std::__1::shared_ptr<TBidiLevelsProvider>*, unsigned int, unsigned char>
> const&, CTRun*) + 220
> 3 CoreText 0x000000018d55fe04
> TTypesetter::MakeLineConsistent(std::__1::tuple<TLine const*, TCharStream
> const*, void const* (*)(__CTRun const*, __CFString const*, void*), void*,
> std::__1::shared_ptr<TBidiLevelsProvider>*, unsigned int, unsigned char>
> const&, TLine&) + 92
> 4 CoreText 0x000000018d55fd1c
> TTypesetter::FinishLineFill(std::__1::tuple<TLine const*, TCharStream const*,
> void const* (*)(__CTRun const*, __CFString const*, void*), void*,
> std::__1::shared_ptr<TBidiLevelsProvider>*, unsigned int, unsigned char>
> const&, TLine&, double, double) + 40
> 5 CoreText 0x000000018d553248
> CTLineCreateFromLineWithOffset + 172
> 6 UIFoundation 0x00000001906e1acc ___NSStringDrawingEngine
> + 11296
> 7 UIFoundation 0x00000001906e5724
> -[NSAttributedString(NSExtendedStringDrawing)
> boundingRectWithSize:options:context:] + 584
> 8 EGame 0x00000001007e1d2c -[WXTextComponent
> calculateTextHeightWithWidth:] + 116
> 9 EGame 0x00000001007df460 ___31-[WXTextComponent
> measureBlock]_block_invoke + 96
> 10 EGame 0x00000001007e706c _cssNodeMeasure + 72
> 11 EGame 0x000000010088d314 _wx_layoutNode + 1572
> 12 EGame 0x000000010088d930 _wx_layoutNode + 3136
> 12 EGame 0x000000010088d930 _wx_layoutNode + 3136
> 12 EGame 0x000000010088d930 _wx_layoutNode + 3136
> 12 EGame 0x000000010088d930 _wx_layoutNode + 3136
> 12 EGame 0x000000010088d930 _wx_layoutNode + 3136
> 17 EGame 0x000000010083aaf8 -[WXCellComponent
> _calculateFrameWithSuperAbsolutePosition:gatherDirtyComponents:] + 308
> 18 EGame 0x00000001007e78ec -[WXComponent(Layout)
> _calculateFrameWithSuperAbsolutePosition:gatherDirtyComponents:] + 524
> 19 EGame 0x0000000100862c08 -[WXScrollerComponent
> _calculateFrameWithSuperAbsolutePosition:gatherDirtyComponents:] + 460
> 18 EGame 0x00000001007e78ec -[WXComponent(Layout)
> _calculateFrameWithSuperAbsolutePosition:gatherDirtyComponents:] + 524
> 21 EGame 0x000000010080466c -[WXComponentManager
> _layout] + 324
> 22 EGame 0x00000001008044ac -[WXComponentManager
> _layoutAndSyncUI] + 28
> 23 EGame 0x0000000100800b88 -[WXComponentManager
> _recursivelyAddComponent:toSupercomponent:atIndex:appendingInTree:] + 860
> 24 EGame 0x000000010080080c -[WXComponentManager
> addComponent:toSupercomponent:atIndex:appendingInTree:] + 120
> 25 EGame 0x000000010087e988 ___42-[WXBridgeContext
> registerGlobalFunctions]_block_invoke_2 + 340
> 26 EGame 0x00000001007ff714 +[WXComponentManager
> _performBlockOnComponentThread:] + 224
> 27 Foundation 0x000000018b4166ec
> ___NSThreadPerformPerform + 340
> 28 CoreFoundation 0x000000018a8de278
> ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
> + 24
> 29 CoreFoundation 0x000000018a8ddbc0 ___CFRunLoopDoSources0 +
> 524
> 30 CoreFoundation 0x000000018a8db7c0 ___CFRunLoopRun + 804
> 24 CoreFoundation 0x000000018a80a048 CFRunLoopRunSpecific +
> 436
> 4 Foundation 0x000000018b318b1c -[NSRunLoop(NSRunLoop)
> runMode:beforeDate:] + 304
> 33 EGame 0x00000001007ff5f8 -[WXComponentManager
> _runLoopThread] + 264
> 6 Foundation 0x000000018b41650c ___NSThread__start__ +
> 1024
> 7 libsystem_pthread.dylib 0x00000001899c3860 __pthread_body + 240
> 8 libsystem_pthread.dylib 0x00000001899c3770 __pthread_body
> 9 libsystem_pthread.dylib 0x00000001899c0dbc start_wqthread + 0
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 13 JavaScriptCore 0x000000018eef9d7c _llint_entry + 25580
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 1 JavaScriptCore 0x000000018eef99e4 _llint_entry + 24660
> 11 JavaScriptCore 0x000000018eef9a48 _llint_entry + 24760
> 4 JavaScriptCore 0x000000018eef37c8 _vmEntryToJavaScript +
> 264
> 5 JavaScriptCore 0x000000018edc6ca8
> JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 168
> 6 JavaScriptCore 0x000000018e816c0c
> JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType,
> JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 352
> 69 JavaScriptCore 0x000000018ea89cf8
> JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue,
> JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 152
> 70 JavaScriptCore 0x000000018e8169c0 JSObjectCallAsFunction +
> 536
> 71 JavaScriptCore 0x000000018eeaaab4 -[JSValue
> callWithArguments:] + 304
> 72 EGame 0x0000000100815614 ___22-[WXJSCoreBridge
> init]_block_invoke_2 + 80
> 73 Foundation 0x000000018b3ffca0 __NSFireDelayedPerform +
> 428
> 74 CoreFoundation 0x000000018a8de8f4
> ___CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
> + 28
> 75 CoreFoundation 0x000000018a8de608 ___CFRunLoopDoTimer +
> 872
> 76 CoreFoundation 0x000000018a8ddec4 ___CFRunLoopDoTimers +
> 244
> 77 CoreFoundation 0x000000018a8dbac0 ___CFRunLoopRun + 1572
> 24 CoreFoundation 0x000000018a80a048 CFRunLoopRunSpecific +
> 436
> 4 Foundation 0x000000018b318b1c -[NSRunLoop(NSRunLoop)
> runMode:beforeDate:] + 304
> 80 EGame 0x000000010081a32c -[WXBridgeManager
> _runLoopThread] + 264
> 6 Foundation 0x000000018b41650c ___NSThread__start__ +
> 1024
> 7 libsystem_pthread.dylib 0x00000001899c3860 __pthread_body + 240
> 8 libsystem_pthread.dylib 0x00000001899c3770 __pthread_body
> 9 libsystem_pthread.dylib 0x00000001899c0dbc start_wqthread + 0
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)