首页 / 浏览问题 / 移动GIS / 问题详情
三维场景OnTouchListener清空渲染一个圆面到追踪层快速点击闪退
10EXP 2020年05月18日
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线程就好了

1个回答

您好,麻烦贴一下详细的报错信息?您那边的需求是点击一次模型就会添加一个面到跟踪层吗?您在快速点击的时候看面是否已经添加到跟踪图层了,建议您那边是添加成功后再添加第二个
9,127EXP 2020年05月18日
个人问题touch事件中绘制操作放到UI线程就好了。
...