Text

Answered

传需要识别的点数据,调用PointerEvent[]中的pointerEvents(events, false)方法时,报错

 06-01 18:42:13.836 18876-18959/com.***..***:.*** A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 18959 (ai85698317)
06-01 18:42:13.845 18876-19013/com..***..***:.*** I/ycc-myscript: contentChanged com.myscript.iink.Editor@5e67a51 [Ljava.lang.String;@80cf2b6
06-01 18:42:13.845 18876-19013/.***..***..***:.*** D/hrj-AiDetector: contentChanged com.myscript.iink.Editor@5e67a51 [Ljava.lang.String;@80cf2b6
06-01 18:42:13.939 240-240/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-01 18:42:13.939 240-240/? A/DEBUG: Build fingerprint: 'Android/rk3368_64/rk3368:6.0.1/MXC89L/builder05271549:userdebug/test-keys'
06-01 18:42:13.939 240-240/? A/DEBUG: Revision: '0'
06-01 18:42:13.939 240-240/? A/DEBUG: ABI: 'arm64'
06-01 18:42:13.939 240-240/? A/DEBUG: pid: 18876, tid: 18959, name: ai85698317  >>> com.boyue.notepad:boyuenote <<<
06-01 18:42:13.939 240-240/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
06-01 18:42:13.966 240-240/? A/DEBUG:     x0   0000000000000000  x1   0000007d22da0d08  x2   0000000000000000  x3   0000000000000057
06-01 18:42:13.967 240-240/? A/DEBUG:     x4   0000000000430000  x5   0000000000570000  x6   0000000000000000  x7   0000000000430000
06-01 18:42:13.967 240-240/? A/DEBUG:     x8   00000055ab233568  x9   00000055ab233568  x10  0000007d3bb679a8  x11  0000000000000035
06-01 18:42:13.967 240-240/? A/DEBUG:     x12  0000000000000002  x13  0000000000000000  x14  0000000000000003  x15  0000000000000000
06-01 18:42:13.967 240-240/? A/DEBUG:     x16  0000007d26781014  x17  0000000000000000  x18  0000000000000000  x19  00000055aa93e6b0
06-01 18:42:13.967 240-240/? A/DEBUG:     x20  0000000000000000  x21  00000055aa7b6570  x22  0000007d22da0dd8  x23  000000000000014b
06-01 18:42:13.967 240-240/? A/DEBUG:     x24  0000000000100005  x25  0000000000000009  x26  000000000020000d  x27  0000007d22da1500
06-01 18:42:13.967 240-240/? A/DEBUG:     x28  000000000000014b  x29  0000007d22da0db0  x30  0000007d2395a698
06-01 18:42:13.967 240-240/? A/DEBUG:     sp   0000007d22da0d20  pc   0000007d2395a6d4  pstate 0000000040000000
06-01 18:42:13.970 240-240/? A/DEBUG: backtrace:
06-01 18:42:13.970 240-240/? A/DEBUG:     #00 pc 00000000003806d4  /data/app/com.boyue.notepad-1/lib/arm64/libiink.so (Java_com_myscript_iink_NativeFunctions_pointerEvents+692)
06-01 18:42:13.970 240-240/? A/DEBUG:     #01 pc 0000000002627994  /data/app/com.boyue.notepad-1/oat/arm64/base.odex (offset 0x192c000)
06-01 18:42:14.154 556-599/system_process E/EventHub: getEvents 3
06-01 18:42:14.154 556-599/system_process E/EventHub: getEvents 4
06-01 18:42:14.154 556-599/system_process E/EventHub: getEvents 1
06-01 18:42:14.154 556-599/system_process E/EventHub: getEvents 2
06-01 18:42:14.884 240-240/? A/DEBUG: Tombstone written to: /data/tombstones/tombstone_00
06-01 18:42:14.884 240-240/? E/DEBUG: AM write failed: Broken pipe


Best Answer

Dear customer,


To answer your both updates:

1-Please provide all the information that causes the crash, otherwise we will not be able to investigate.


2-Indeed, recognition is a very demanding process, and editor.pointerEvents will block the thread as long as recognition is not finished.


Best regards,


Olivier


是调用Editor中的pointerEvents(events, false)方法报错,标题写错

Dear Customer,


Thank you for contacting ys.


Unfortunately, the current information doesn't help much to find out what can cause this crash.


We need a way to reproduce the crash to be able to investigate further:

-Ideally your project, so that we can see how you add your strokes.

-The type of part (Text, Math, Diagram...)

-Your ink file.


Thank you,


Best regards,


Olivier

 Thank you for your reply. It's an AI identification error. It's random. Some data will be sent. I wonder if there's a problem with the point. However, I print out the point data sent to you, and I can't see what's wrong. This problem occurs when AI real-time identification is turned on, and it will be sent to you continuously, or is it your underlying memory overflow?

There's another problem when I call

editor.pointerEvents ( pointerEvents.toArray (new PointerEvent[0]), false);

The thread will be blocked, the program will stop executing, and no exception will be thrown.

Can you help me find out what caused the problem

Answer

Dear customer,


To answer your both updates:

1-Please provide all the information that causes the crash, otherwise we will not be able to investigate.


2-Indeed, recognition is a very demanding process, and editor.pointerEvents will block the thread as long as recognition is not finished.


Best regards,


Olivier

  • Support
  • Forums
  • Text
  • 传需要识别的点数据,调用PointerEvent[]中的pointerEvents(events, false)方法时,报错