ionic-team / ionic-plugin-keyboard

Ionic Keyboard Plugin for Cordova
Apache License 2.0
610 stars 274 forks source link

iPad App getting crashed #251

Open Visakh-SR opened 7 years ago

Visakh-SR commented 7 years ago

I am getting this crash when I start typing the keyboard quickly when it appears. Its a Cordova application and using latest ionic keyboard plugin version 2.2.1

    Incident Identifier: BA0E7E0E-4A3C-4694-A53C-54EA7DC6DD79
  CrashReporter Key:   44e158289abe95b965023aff6cfc7907d59ff16c
  Hardware Model:      iPad5,3
  Process:             AppName [521]

  Path:                /private/var/containers/Bundle/Application/488730EB-0B07-481E-8D0F-034457B0D3F7/AppName.app/AppName
  Identifier:          com.AppName.Appstore
  Version:             2.1.0 (2.3)
  Code Type:           ARM-64 (Native)
  Role:                Foreground
  Parent Process:      launchd [1]
  Coalition:           com.AppName.Appstore [502]

  Date/Time:           2017-02-28 10:35:18.1241 +0530
  Launch Time:         2017-02-27 18:58:13.4913 +0530
  OS Version:          iPhone OS 10.2.1 (14D27)
  Report Version:      104

  Exception Type:  EXC_CRASH (SIGABRT)
  Exception Codes: 0x0000000000000000, 0x0000000000000000
  Exception Note:  EXC_CORPSE_NOTIFY
  Triggered by Thread:  13

  Application Specific Information:
  abort() called

  Filtered syslog:
  None found

  Last Exception Backtrace:
 (0x1876191b8 0x18605055c 0x18761908c 0x1880d102c 0x18db9d960 0x18db9b970 0x1864a21fc 0x1864a21bc 0x1864b03dc 0x1864a59a4 0x1864b234c 0x1864b20ac 0x1866ab2a0 0x1866aad8c)

  Thread 0 name:  Dispatch queue: com.apple.main-thread
  Thread 0:
  0   libsystem_pthread.dylib           0x00000001866b0f60 0x1866aa000 + 28512
  1   Foundation                        0x00000001880288b4 0x188023000 + 22708
  2   Foundation                        0x00000001880288b4 0x188023000 + 22708
  3   QuartzCore                        0x000000018a96c328 0x18a85d000 + 1110824
  4   QuartzCore                        0x000000018a96c9d4 0x18a85d000 + 1112532
  5   UIKit                             0x000000018d4c2064 0x18d4b8000 + 41060
  6   UIKit                             0x000000018d4c5494 0x18d4b8000 + 54420
  7   UIKit                             0x000000018d655700 0x18d4b8000 + 1693440
  8   UIKit                             0x000000018d88dd88 0x18d4b8000 + 4021640
  9   libobjc.A.dylib                   0x000000018604ef10 0x186048000 + 28432
  10  libobjc.A.dylib                   0x000000018605b7f4 0x186048000 + 79860
  11  libobjc.A.dylib                   0x000000018605b858 0x186048000 + 79960
  12  UIKit                             0x000000018d864d28 0x18d4b8000 + 3853608
  13  UIKit                             0x000000018d4c5688 0x18d4b8000 + 54920
  14  UIKit                             0x000000018d5fb0bc 0x18d4b8000 + 1323196
  15  UIKit                             0x000000018db5a28c 0x18d4b8000 + 6955660
  16  libobjc.A.dylib                   0x0000000186069fe0 0x186048000 + 139232
  17  CoreFoundation                    0x00000001874f2028 0x1874e9000 + 36904
  18  UIKit                             0x000000018d74aae8 0x18d4b8000 + 2697960
  19  UIKit                             0x000000018d76b250 0x18d4b8000 + 2830928
  20  CoreFoundation                    0x00000001875c60c0 0x1874e9000 + 905408
  21  CoreFoundation                    0x00000001875c3cf0 0x1874e9000 + 896240
  22  CoreFoundation                    0x00000001875c4180 0x1874e9000 + 897408
  23  CoreFoundation                    0x00000001874f22b8 0x1874e9000 + 37560
  24  GraphicsServices                  0x0000000188fa6198 0x188f9a000 + 49560
  25  UIKit                             0x000000018d5327fc 0x18d4b8000 + 501756
  26  UIKit                             0x000000018d52d534 0x18d4b8000 + 480564
  27  AppName                       0x000000010007a184 0x100074000 + 24964
  28  libdyld.dylib                     0x00000001864d55b8 0x1864d1000 + 17848

  Thread 1 name:  com.apple.uikit.eventfetch-thread
  Thread 1:
  0   libsystem_kernel.dylib            0x00000001865c9188 0x1865c8000 + 4488
  1   libsystem_kernel.dylib            0x00000001865c8ff8 0x1865c8000 + 4088
  2   CoreFoundation                    0x00000001875c65d0 0x1874e9000 + 906704
  3   CoreFoundation                    0x00000001875c41ec 0x1874e9000 + 897516
  4   CoreFoundation                    0x00000001874f22b8 0x1874e9000 + 37560
  5   Foundation                        0x000000018802f26c 0x188023000 + 49772
  6   Foundation                        0x000000018804fdd0 0x188023000 + 183760
  7   UIKit                             0x000000018dea6c38 0x18d4b8000 + 10415160
  8   Foundation                        0x000000018812ce68 0x188023000 + 1089128
  9   libsystem_pthread.dylib           0x00000001866ad850 0x1866aa000 + 14416
  10  libsystem_pthread.dylib           0x00000001866ad760 0x1866aa000 + 14176
  11  libsystem_pthread.dylib           0x00000001866aad94 0x1866aa000 + 3476

  Thread 2 name:  com.apple.NSURLConnectionLoader
  Thread 2:
  0   libsystem_kernel.dylib            0x00000001865c9188 0x1865c8000 + 4488
  1   libsystem_kernel.dylib            0x00000001865c8ff8 0x1865c8000 + 4088
  2   CoreFoundation                    0x00000001875c65d0 0x1874e9000 + 906704
  3   CoreFoundation                    0x00000001875c41ec 0x1874e9000 + 897516
  4   CoreFoundation                    0x00000001874f22b8 0x1874e9000 + 37560
  5   CFNetwork                         0x0000000187cf7a70 0x187c18000 + 916080
  6   Foundation                        0x000000018812ce68 0x188023000 + 1089128
  7   libsystem_pthread.dylib           0x00000001866ad850 0x1866aa000 + 14416
  8   libsystem_pthread.dylib           0x00000001866ad760 0x1866aa000 + 14176
  9   libsystem_pthread.dylib           0x00000001866aad94 0x1866aa000 + 3476

  Thread 3:
  0   libsystem_kernel.dylib            0x00000001865e6e1c 0x1865c8000 + 126492
  1   libsystem_pthread.dylib           0x00000001866ac9c0 0x1866aa000 + 10688
  2   libc++.1.dylib                    0x0000000185fd53ec 0x185fce000 + 29676
  3   JavaScriptCore                    0x000000018bdef5d0 0x18b516000 + 9278928
  4   JavaScriptCore                    0x000000018bdef544 0x18b516000 + 9278788
  5   JavaScriptCore                    0x000000018bdef424 0x18b516000 + 9278500
  6   JavaScriptCore                    0x000000018bdef6d4 0x18b516000 + 9279188
  7   libsystem_pthread.dylib           0x00000001866ad850 0x1866aa000 + 14416
  8   libsystem_pthread.dylib           0x00000001866ad760 0x1866aa000 + 14176
  9   libsystem_pthread.dyl

  Thread 4 name:  WebThread
  Thread 4:
  0   libsystem_kernel.dylib            0x00000001865e6e64 0x1865c8000 + 126564
  1   libsystem_pthread.dylib           0x00000001866b0da4 0x1866aa000 + 28068
  2   libsystem_pthread.dylib           0x00000001866b0fa8 0x1866aa000 + 28584
  3   WebCore                           0x000000018c0f3958 0x18c08b000 + 428376
  4   WebCore                           0x000000018c0f38b8 0x18c08b000 + 428216
  5   CoreFoundation                    0x00000001875c60c0 0x1874e9000 + 905408
  6   CoreFoundation                    0x00000001875c3cf0 0x1874e9000 + 896240
  7   CoreFoundation                    0x00000001875c4330 0x1874e9000 + 897840
  8   CoreFoundation                    0x00000001874f22b8 0x1874e9000 + 37560
  9   WebCore                           0x000000018c0f1490 0x18c08b000 + 418960
  10  libsystem_pthread.dylib           0x00000001866ad850 0x1866aa000 + 14416
  11  libsystem_pthread.dylib           0x00000001866ad760 0x1866aa000 + 14176
  12  libsystem_pthread.dylib           0x00000001866aad94 0x1866aa000 + 3476

  Thread 5 name:  JIT Worklist Worker Thread
  Thread 5:
  0   libsystem_kernel.dylib            0x00000001865e6e1c 0x1865c8000 + 126492
  1   libsystem_pthread.dylib           0x00000001866ac9c0 0x1866aa000 + 10688
  2   libc++.1.dylib                    0x0000000185fd53ec 0x185fce000 + 29676
  3   JavaScriptCore                    0x000000018bdd7d64 0x18b516000 + 9182564
  4   JavaScriptCore                    0x000000018bbafa5c 0x18b516000 + 6920796
  5   JavaScriptCore                    0x000000018bbafeac 0x18b516000 + 6921900
  6   JavaScriptCore                    0x000000018b52000c 0x18b516000 + 40972
  7   JavaScriptCore                    0x000000018b51ff1c 0x18b516000 + 40732
  8   libsystem_pthread.dylib           0x00000001866ad850 0x1866aa000 + 14416
  9   libsystem_pthread.dylib           0x00000001866ad760 0x1866aa000 + 14176
  10  libsystem_pthread.dylib           0x00000001866aad94 0x1866aa000 + 3476

  Thread 6 name:  WTF Parallel Helper Thread
  Thread 6:
  0   libsystem_kernel.dylib            0x00000001865e6e1c 0x1865c8000 + 126492
  1   libsystem_pthread.dylib           0x00000001866ac9c0 0x1866aa000 + 10688
  2   libc++.1.dylib                    0x0000000185fd53ec 0x185fce000 + 29676
  3   JavaScriptCore                    0x000000018bdd7d64 0x18b516000 + 9182564
  4   JavaScriptCore                    0x000000018bdd72e8 0x18b516000 + 9179880
  5   JavaScriptCore                    0x000000018bdd7088 0x18b516000 + 9179272
  6   JavaScriptCore                    0x000000018b52000c 0x18b516000 + 40972
  7   JavaScriptCore                    0x000000018b51ff1c 0x18b516000 + 40732
  8   libsystem_pthread.dylib           0x00000001866ad850 0x1866aa000 + 14416
  9   libsystem_pthread.dylib           0x00000001866ad760 0x1866aa000 + 14176
  10  libsystem_pthread.dylib           0x00000001866aad94 0x1866aa000 + 3476

  Thread 7 name:  WTF Parallel Helper Thread
  Thread 7:
  0   libsystem_kernel.dylib            0x00000001865e6e1c 0x1865c8000 + 126492
  1   libsystem_pthread.dylib           0x00000001866ac9c0 0x1866aa000 + 10688
  2   libc++.1.dylib                    0x0000000185fd53ec 0x185fce000 + 29676
  3   JavaScriptCore                    0x000000018bdd7d64 0x18b516000 + 9182564
  4   JavaScriptCore                    0x000000018bdd72e8 0x18b516000 + 9179880
  5   JavaScriptCore                    0x000000018bdd7088 0x18b516000 + 9179272
  6   JavaScriptCore                    0x000000018b52000c 0x18b516000 + 40972
  7   JavaScriptCore                    0x000000018b51ff1c 0x18b516000 + 40732
  8   libsystem_pthread.dylib           0x00000001866ad850 0x1866aa000 + 14416
  9   libsystem_pthread.dylib           0x00000001866ad760 0x1866aa000 + 14176
  10  libsystem_pthread.dylib           0x00000001866aad94 0x1866aa000 + 3476

  Thread 8 name:  WebCore: LocalStorage
  Thread 8:
  0   libsystem_kernel.dylib            0x00000001865e6e1c 0x1865c8000 + 126492
  1   libsystem_pthread.dylib           0x00000001866ac9c0 0x1866aa000 + 10688
  2   libc++.1.dylib                    0x0000000185fd53ec 0x185fce000 + 29676
  3   JavaScriptCore                    0x000000018bdd7d64 0x18b516000 + 9182564
  4   WebKitLegacy                      0x000000018d1d7e00 0x18d1ac000 + 179712
  5   WebKitLegacy                      0x000000018d1d7c18 0x18d1ac000 + 179224
  6   WebKitLegacy                      0x000000018d1d7240 0x18d1ac000 + 176704
  7   JavaScriptCore                    0x000000018b52000c 0x18b516000 + 40972
  8   JavaScriptCore                    0x000000018b51ff1c 0x18b516000 + 40732
  9   libsystem_pthread.dylib           0x00000001866ad850 0x1866aa000 + 14416
  10  libsystem_pthread.dylib           0x00000001866ad760 0x1866aa000 + 14176
  11  libsystem_pthread.dylib           0x00000001866aad94 0x1866aa000 + 3476

  Thread 9 name:  com.apple.CFNetwork.CustomProtocols
  Thread 9:
  0   libsystem_kernel.dylib            0x00000001865c9188 0x1865c8000 + 4488
  1   libsystem_kernel.dylib            0x00000001865c8ff8 0x1865c8000 + 4088
  2   CoreFoundation                    0x00000001875c65d0 0x1874e9000 + 906704
  3   CoreFoundation                    0x00000001875c41ec 0x1874e9000 + 897516
  4   CoreFoundation                    0x00000001874f22b8 0x1874e9000 + 37560
  5   CFNetwork                         0x0000000187e51a40 0x187c18000 + 2333248
  6   libsystem_pthread.dylib           0x00000001866ad850 0x1866aa000 + 14416
  7   libsystem_pthread.dylib           0x00000001866ad760 0x1866aa000 + 14176
  8   libsystem_pthread.dylib           0x00000001866aad94 0x1866aa000 + 3476

  Thread 10:
  0   libsystem_pthread.dylib           0x00000001866aad88 0x1866aa000 + 3464

  Thread 11:
  0   libsystem_pthread.dylib           0x00000001866aad88 0x1866aa000 + 3464

  Thread 12:
  0   libsystem_kernel.dylib            0x00000001865e7a88 0x1865c8000 + 129672
  1   libsystem_pthread.dylib           0x00000001866ab344 0x1866aa000 + 4932
  2   libsystem_pthread.dylib           0x00000001866aad8c 0x1866aa000 + 3468

  Thread 13 name:  Dispatch queue: _UIKBRTRecognizerQueue
  Thread 13 Crashed:
  0   libsystem_kernel.dylib            0x00000001865e7014 0x1865c8000 + 126996
  1   libsystem_pthread.dylib           0x00000001866af450 0x1866aa000 + 21584
  2   libsystem_c.dylib                 0x000000018655b400 0x1864f8000 + 406528
  3   libc++abi.dylib                   0x00000001860252d4 0x186024000 + 4820
  4   libc++abi.dylib                   0x0000000186042cc0 0x186024000 + 126144
  5   libobjc.A.dylib                   0x0000000186050844 0x186048000 + 34884
  6   libc++abi.dylib                   0x000000018603f66c 0x186024000 + 112236
  7   libc++abi.dylib                   0x000000018603f234 0x186024000 + 111156
  8   libobjc.A.dylib                   0x000000018605071c 0x186048000 + 34588
  9   UIKit                             0x000000018db9ba5c 0x18d4b8000 + 7223900
  10  libdispatch.dylib                 0x00000001864a21fc 0x1864a1000 + 4604
  11  libdispatch.dylib                 0x00000001864a21bc 0x1864a1000 + 4540
  12  libdispatch.dylib                 0x00000001864b03dc 0x1864a1000 + 62428
  13  libdispatch.dylib                 0x00000001864a59a4 0x1864a1000 + 18852
  14  libdispatch.dylib                 0x00000001864b234c 0x1864a1000 + 70476
  15  libdispatch.dylib                 0x00000001864b20ac 0x1864a1000 + 69804
  16  libsystem_pthread.dylib           0x00000001866ab2a0 0x1866aa000 + 4768
  17  libsystem_pthread.dylib           0x00000001866aad8c 0x1866aa000 + 3468

  Thread 14:
  0   libsystem_kernel.dylib            0x00000001865e7a88 0x1865c8000 + 129672
  1   libsystem_pthread.dylib           0x00000001866ab344 0x1866aa000 + 4932
  2   libsystem_pthread.dylib           0x00000001866aad8c 0x1866aa000 + 3468

  Thread 13 crashed with ARM Thread State (64-bit):  x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x00000001702f5db7 x4: 0x0000000186043bc3   x5: 0x000000016e126720   x6: 0x000000000000006e   x7: 0xffffffffffffffec x8: 0x000000000c000000   x9: 0x0000000004000000  x10: 0x000000000000000b  x11: 0x0000000000000010 x12: 0x0000000186572772  x13: 0x0000000000000000  x14: 0x0000030000000300  x15: 0x0000000000000000 x16: 0x0000000000000148  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000006 x20: 0x000000016e127000  x21: 0x000000016e126720  x22: 0x00000001a71a96c0  x23: 0x00000001782286a0 x24: 0x0000000000000000  x25: 0x0000000000000000  x26: 0x0000000000000014  x27: 0x000000016e1270e0  x28: 0xffffffffffffffff   fp: 0x000000016e126680   lr: 0x00000001866af450 sp: 0x000000016e126660   pc: 0x00000001865e7014 cpsr: 0x00000000

I am not sure what is the cause. I am stuck with this crash . Could someone point me on right direction?

Note : This crash not occurs frequently

Thank you

mobibob commented 7 years ago

I just received this from one of our Testers. Similar environment, ionic keyboard plugin in Phonegap App. User stated that is crashed entering "last name" and backspacing to change.

Thread 14 name: Dispatch queue: _UIKBRTRecognizerQueue Thread 14 Crashed: 0 libsystem_kernel.dylib 0x0000000192aff014 __pthread_kill + 8 1 libsystem_pthread.dylib 0x0000000192bc7450 pthread_kill + 112 2 libsystem_c.dylib 0x0000000192a73400 abort + 140 3 GST-UAT 0x00000001001eedac 0x100098000 + 1404332 4 CoreFoundation 0x0000000193b31538 __handleUncaughtException + 644 5 libobjc.A.dylib 0x0000000192568838 _objc_terminate() + 112 6 libc++abi.dylib 0x000000019255766c std::__terminate(void (*)()) + 16 7 libc++abi.dylib 0x0000000192557234 __cxa_rethrow + 144 8 libobjc.A.dylib 0x000000019256871c objc_exception_rethrow + 44 9 UIKit 0x000000019a0b3a5c -[_UIKBRTRecognizer _doEndedTouchWithTouchInfo:] + 1884 10 libdispatch.dylib 0x00000001929ba1fc _dispatch_call_block_and_release + 24 11 libdispatch.dylib 0x00000001929ba1bc _dispatch_client_callout + 16 12 libdispatch.dylib 0x00000001929c83dc _dispatch_queue_serial_drain + 928 13 libdispatch.dylib 0x00000001929bd9a4 _dispatch_queue_invoke + 652 14 libdispatch.dylib 0x00000001929ca34c _dispatch_root_queue_drain + 572 15 libdispatch.dylib 0x00000001929ca0ac _dispatch_worker_thread3 + 124 16 libsystem_pthread.dylib 0x0000000192bc32a0 _pthread_wqthread + 1288 17 libsystem_pthread.dylib 0x0000000192bc2d8c start_wqthread + 4