打开地图不久后,发生底层库崩溃

0 投票

使用产品:supermap-imobile-10.1.2-220-android-zip-chs_(精简绿色包)

操作系统:Android(Redmi 5 Plus,MIUI 11.0.3)

问题详细描述:

今天我们发布了新的三维服务,我替换服务后,发现启动App打开三维地图不久后,发生了底层库崩溃。

崩溃日志如下:

05-06 16:33:51.036 12601 12663 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 12663 (Thread-5), pid 12601 (.xxxxx.map.base)
05-06 16:33:51.145 12727 12727 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-06 16:33:51.146 12727 12727 F DEBUG   : Build fingerprint: 'xiaomi/vince/vince:8.1.0/OPM1.171019.019/V11.0.3.0.OEGCNXM:user/release-keys'
05-06 16:33:51.146 12727 12727 F DEBUG   : Revision: '0'
05-06 16:33:51.146 12727 12727 F DEBUG   : ABI: 'arm'
05-06 16:33:51.146 12727 12727 F DEBUG   : pid: 12601, tid: 12663, name: Thread-5  >>> net.xxxxx.map.base <<<
05-06 16:33:51.146 12727 12727 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
05-06 16:33:51.146 12727 12727 F DEBUG   :     r0 00000000  r1 00003177  r2 00000006  r3 00000008
05-06 16:33:51.146 12727 12727 F DEBUG   :     r4 00003139  r5 00003177  r6 cbf75a6c  r7 0000010c
05-06 16:33:51.146 12727 12727 F DEBUG   :     r8 00000000  r9 c56fe0dc  sl ce6e7174  fp cbf75aa4
05-06 16:33:51.146 12727 12727 F DEBUG   :     ip c8463980  sp cbf75a58  lr eea05fcf  pc ee9ff9b8  cpsr 200f0030
05-06 16:33:51.164 12727 12727 F DEBUG   :
05-06 16:33:51.164 12727 12727 F DEBUG   : backtrace:
05-06 16:33:51.164 12727 12727 F DEBUG   :     #00 pc 0001a9b8  /system/lib/libc.so (abort+63)
05-06 16:33:51.164 12727 12727 F DEBUG   :     #01 pc 016990e0  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (__gnu_cxx::__verbose_terminate_handler()+276)
05-06 16:33:51.164 12727 12727 F DEBUG   :     #02 pc 01695210  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (__cxxabiv1::__terminate(void (*)())+8)
05-06 16:33:51.164 12727 12727 F DEBUG   :     #03 pc 01695254  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (_ZSt9terminatev+20)
05-06 16:33:51.164 12727 12727 F DEBUG   :     #04 pc 01695438  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (__cxa_rethrow+76)
05-06 16:33:51.164 12727 12727 F DEBUG   :     #05 pc 01b02c63  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (Ogre::Texture::loadImage(Ogre::Image const&)+146)
05-06 16:33:51.164 12727 12727 F DEBUG   :     #06 pc 00dbbe69  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGOGRETexture::LoadTexture(unsigned char, unsigned char)+532)
05-06 16:33:51.164 12727 12727 F DEBUG   :     #07 pc 00d29439  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGRenderOSGBModel::InitializeRenderOperationNormalObject(UGC::UGRenderParameter*, unsigned char)+1596)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #08 pc 00d2b761  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGRenderOSGBModel::InitializeRenderOperation(UGC::UGRenderParameter*, unsigned char)+176)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #09 pc 00b125eb  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (_ZN3UGC29SyncRenderQueueEntityPagedLOD17UpdateRenderQueueEPNS_17UGRenderParameterERSt3mapIiPNS_22UGRenderEntityPagedLODESt4lessIiESaISt4pairIKiS5_EEERSt3setIiS7_SaIiEEhSH_RNS_14UGColorValue3DERS3_IjSG_S6_IjESaIS8_IKjSG_EEE+638)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #10 pc 00b127c7  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGLayer3DOSGBFile::Render(UGC::UGRenderParameter*)+230)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #11 pc 00c6b233  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGLayer3Ds::Render(UGC::UGRenderParameter*)+562)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #12 pc 00c8b503  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGScene3D::RenderLayer(UGC::UGCameraWorld*, UGC::UGViewport*)+314)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #13 pc 00c8e96f  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGScene3D::RenderScene(UGC::UGViewport*, unsigned char)+870)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #14 pc 00cc1777  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGCameraWorld::RenderScene(UGC::UGViewport*, unsigned char)+334)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #15 pc 011c4f85  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGViewport::Update()+16)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #16 pc 011b85e7  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGRenderTarget::Update()+150)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #17 pc 011b56eb  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGGraphics3D::UpdateAllRenderTargets()+156)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #18 pc 00c6c469  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/lib/arm/libimb_v1012.so (UGC::UGRoot3D::Render()+12)
05-06 16:33:51.165 12727 12727 F DEBUG   :     #19 pc 000d867f  /data/app/net.xxxxx.map.base-dfJ4MvIbF2YrdNE_IP8ixw==/oat/arm/base.odex (offset 0x45000)

然后我更换为你们的服务:http://www.supermapol.com/realspace/services/3D-saercibao_dantihua_etc/rest/realspace、saercibao_dantihua_etc,发现无此异常。

此次我们发布的服务文件有100G左右的大小,比之前的都大,不知是否有影响?对于移动端来说,发布的服务文件是否存在大小限制?

请问,该问题该如何解决?

5月 6 分类:  44次浏览 | 用户: 15298915605 才疏学浅 (18 分)
修改于 5月 6 用户:15298915605

1个回答

0 投票
 
已采纳
您好,三维场景中具体有哪些数据类型呢?场景中有多少个图层。依据现象应该是内存泄漏导致的,您那边可以在桌面iDesktop软件中做一些优化,可以对图层设置最大最小可见距离,这样在较远处可以不用渲染,节省内存。
5月 7 用户: 董懿鑫 登峰造极 (7,362 分)
采纳于 5月 10 用户:15298915605
...