首页 / 浏览问题 / 移动GIS / 问题详情
imobile添加图层程序崩溃
82EXP 2022年04月13日
各位大佬,我在使用mMap!!.layers.add(ds.datasets.get(0), true)添加图层时,程序崩溃,崩溃日志:

pc 01646cbe  /data/app/com.xtkj.nczjd-P1DOIsnJf9Ji_iGCZIZZxg==/lib/arm/libimb_v1012.so (OGDC::OgdcRect2D::OgdcRect2D(OGDC::OgdcRect2D const&))
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #01 pc 00efac6f  /data/app/com.xtkj.nczjd-P1DOIsnJf9Ji_iGCZIZZxg==/lib/arm/libimb_v1012.so (UGC::UGLayers::CheckBounds(UGC::UGLayer*, unsigned char)+174)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #02 pc 00efaf3d  /data/app/com.xtkj.nczjd-P1DOIsnJf9Ji_iGCZIZZxg==/lib/arm/libimb_v1012.so (UGC::UGLayers::ComputeBounds(unsigned char)+116)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #03 pc 00f15eb7  /data/app/com.xtkj.nczjd-P1DOIsnJf9Ji_iGCZIZZxg==/lib/arm/libimb_v1012.so (UGC::UGMap::ViewEntire(OGDC::OgdcRect)+20)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #04 pc 00f0818d  /data/app/com.xtkj.nczjd-P1DOIsnJf9Ji_iGCZIZZxg==/lib/arm/libimb_v1012.so (UGC::UGLayerWebRaster::SetDataset(UGC::UGDataset*, unsigned char, unsigned char)+932)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #05 pc 00ef3429  /data/app/com.xtkj.nczjd-P1DOIsnJf9Ji_iGCZIZZxg==/lib/arm/libimb_v1012.so (UGC::UGLayer::CreateLayer(UGC::UGDataset*, UGC::UGTheme*, UGC::UGLayers*)+424)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #06 pc 00efbb31  /data/app/com.xtkj.nczjd-P1DOIsnJf9Ji_iGCZIZZxg==/lib/arm/libimb_v1012.so (UGC::UGLayers::AddDataset(UGC::UGDataset*, unsigned char, UGC::UGLayer::UGLayerType, OGDC::OgdcUnicodeString, UGC::UGTheme*)+48)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #07 pc 00f7c447  /data/app/com.xtkj.nczjd-P1DOIsnJf9Ji_iGCZIZZxg==/lib/arm/libimb_v1012.so (UGC::UGMobileMap::AddDataset(UGC::UGLayers*, UGC::UGDataset*, unsigned char, UGC::UGLayer::UGLayerType, OGDC::OgdcUnicodeString, UGC::UGTheme*)+174)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #08 pc 009da935  /data/app/com.xtkj.nczjd-P1DOIsnJf9Ji_iGCZIZZxg==/lib/arm/libimb_v1012.so (Java_com_supermap_mapping_LayersNative_jni_1AddLayer+96)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #09 pc 000e7519  /apex/com.android.runtime/lib/libart.so (art_quick_generic_jni_trampoline+40) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #10 pc 000e2bc5  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #11 pc 0044970f  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+246) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #12 pc 000eb029  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #13 pc 00220c01  /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+280) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #14 pc 0021c537  /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+774) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #15 pc 00227ffb  /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+12834) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #16 pc 000e8075  /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #17 pc 0041cc68  [anon:dalvik-classes.dex extracted in memory from /data/app/com.xtkj.nczjd-P1DOIsnJf9Ji_iGCZIZZxg==/base.apk] (com.supermap.mapping.Layers.add)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #18 pc 001fc3a9  /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.15054657403141590456+492) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #19 pc 00200d35  /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #20 pc 0021c521  /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #21 pc 0022938b  /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17842) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #22 pc 000e8075  /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #23 pc 000e5e70  [anon:dalvik-classes2.dex extracted in memory from /data/app/com.xtkj.nczjd-P1DOIsnJf9Ji_iGCZIZZxg==/base.apk!classes2.dex] (com.xtkj.nczjd.UI.map.Handler.MapEditCommonUtility$Companion.initMap)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #24 pc 001fc3a9  /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.15054657403141590456+492) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #25 pc 00200d35  /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #26 pc 0021c521  /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #27 pc 0022938b  /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17842) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)
2022-04-13 16:11:55.642 26172-26172/? A/DEBUG:       #28 pc 000e8075  /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: 89de80f52abd38d6cf7ba67e3f450010)

1个回答

您好,请问您使用的iMobile版本是多少
3,690EXP 2022年04月13日
supermap-imobile-10.1.2-220-android-zip-chs
10i,包是supermap-imobile-10.1.2-220-android-zip-chs_(精简绿色包)
您好,这边根据您提供的信息来看,没有报错信息,全是debug信息,还请您把报错信息找到呢
这个是程序崩溃后输出的backtrace日志。
请问您的编译器或者测试机都不输出错误信息吗

输出的是这个啊crying

Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 26169 (Thread-210), pid 25881 (com.xtkj.nczjd)

根据这个在logcat下找到的有用的信息就是上面那部分

您好,这边判断是数据配图风格的问题,建议您用iDesktop将数据的配图风格修改为默认风格呢,再保存数据将数据在移动端打开。

希望可以帮助到你。
...