UITextView-Placeholder icon indicating copy to clipboard operation
UITextView-Placeholder copied to clipboard

Crash when use Sougou Input method

Open publicBenz opened this issue 8 years ago • 8 comments

2016-01-08 16:43:46.797 MyAPP[14249:60b] UMLOG: error: session_id=D24909DC00345158A3E9FC348CA53AAC, context=Only run on the main thread! (null) ( 0 CoreFoundation 0x00000001884bef6c + 160 1 libobjc.A.dylib 0x00000001949c81fc objc_exception_throw + 60 2 CoreFoundation 0x00000001884bee10 + 0 3 Foundation 0x0000000188ff6e20 + 88 4 UIFoundation 0x00000001915dc654 + 416 5 UIFoundation 0x00000001915dc318 + 1752 6 UIFoundation 0x000000019160ac2c + 240 7 UIFoundation 0x000000019160e100 + 616 8 UIFoundation 0x000000019160e168 + 36 9 UIFoundation 0x0000000191632a64 + 176 10 UIFoundation 0x000000019163209c + 100 11 UIKit 0x000000018b536a48 + 252 12 UIKit 0x000000018b53692c + 164 13 MyAPP 0x00000001006dfe7c -[UITextView(Placeholder) placeholderLabel] + 168 14 MyAPP 0x00000001006e0228 -[UITextView(Placeholder) placeholder] + 36 15 SogouInputIPhone.dylib 0x0000000102036ea0 APPLE_UIKeyboardImpl_getInputTextField_Placeholder + 136 16 SogouInputIPhone.dylib 0x0000000101e0fb94 _ZN17SogouIMENameSpace13t_quantifiers20CheckShowQuantifiersEiNS_17e_QuantifiersTypeENS_9InputTypeEPti + 22008 17 SogouInputIPhone.dylib 0x0000000101e0fdd0 _ZN17SogouIMENameSpace13t_quantifiers20CheckShowQuantifiersEiNS_17e_QuantifiersTypeENS_9InputTypeEPti + 22580 18 Foundation 0x000000018904040c + 1000 19 libsystem_pthread.dylib 0x0000000195137e1c + 168 20 libsystem_pthread.dylib 0x0000000195137d74 + 0 21 libsystem_pthread.dylib 0x0000000195135554 thread_start + 4 )

2016-01-08 16:43:47.815 MyAPP[14249:f017] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Only run on the main thread!'

publicBenz avatar Jan 08 '16 08:01 publicBenz

Hi, @publicBenz, how can I reproduce the bug?

devxoul avatar Jan 08 '16 08:01 devxoul

@devxoul Make the textView becomeFirstResponder, and the change the input method to Sougou, crash..

publicBenz avatar Jan 08 '16 09:01 publicBenz

@publicBenz Thanks, I'll take a look for it soon :)

devxoul avatar Jan 08 '16 11:01 devxoul

@publicBenz What is 'Sougou'?

devxoul avatar Jan 08 '16 15:01 devxoul

@devxoul Sorry, it is Soguo. An input method for iOS. http://pinyin.sogou.com/mac/

publicBenz avatar Jan 11 '16 11:01 publicBenz

@publicBenz 修复了没?一样遇到了

yebw avatar May 13 '16 02:05 yebw

Meet the same bug, increase crash rate with 0.036 %

nutcn avatar Aug 27 '16 00:08 nutcn

@publicBenz, @nutcn: I installed Sogou on my iPhone and it works properly. Which version of UITextView+Placeholder and Sogou are you using?

devxoul avatar Sep 05 '16 09:09 devxoul