三维场景OnTouchListener清空渲染一个圆面到追踪层快速点击闪退 [已关闭]

0 投票
2020-05-18 11:28:40.467 29682-29682/com.smartcity.sm3d.firecontrol I/System.out: 我按下了:orgX=1290  orgY=1047
2020-05-18 11:28:40.476 29682-29735/com.smartcity.sm3d.firecontrol W/libEGL: EGLNativeWindowType 0x99173d88 disconnect failed
2020-05-18 11:28:40.482 29682-29748/com.smartcity.sm3d.firecontrol W/InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
2020-05-18 11:28:40.482 29682-29735/com.smartcity.sm3d.firecontrol D/OpenGLRenderer: disableOutlineDraw is true
2020-05-18 11:28:40.713 29682-29748/com.smartcity.sm3d.firecontrol W/google-breakpad: Failed to generate minidump.
2020-05-18 11:28:40.822 29682-29748/com.smartcity.sm3d.firecontrol W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
2020-05-18 11:28:40.822 29682-29748/com.smartcity.sm3d.firecontrol W/google-breakpad: Chrome build fingerprint:
2020-05-18 11:28:40.822 29682-29748/com.smartcity.sm3d.firecontrol W/google-breakpad: 9.1.2.351
2020-05-18 11:28:40.822 29682-29748/com.smartcity.sm3d.firecontrol W/google-breakpad: 111
2020-05-18 11:28:40.822 29682-29748/com.smartcity.sm3d.firecontrol W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
2020-05-18 11:28:40.824 29682-29748/com.smartcity.sm3d.firecontrol A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8d in tid 29748 (Thread-3), pid 29682 (m3d.firecontrol)

错误提示。

三维场景OnTouchListener中,每次点击后,清空后渲染一个圆面到追踪层, 如果快速多次点击会导致闪退
问题关闭原因: 个人问题touch事件中绘制操作放到UI线程就好了
5月 18 分类:  45次浏览 | 用户: kgh0 才疏学浅 (10 分)
已关闭 5月 19 用户:kgh0

1个回答

0 投票
您好,麻烦贴一下详细的报错信息?您那边的需求是点击一次模型就会添加一个面到跟踪层吗?您在快速点击的时候看面是否已经添加到跟踪图层了,建议您那边是添加成功后再添加第二个
5月 18 用户: 董懿鑫 登峰造极 (5,394 分)
个人问题touch事件中绘制操作放到UI线程就好了。
...