【问题标题】:HERE Maps crash at libMAPSJNI.soHERE Maps 在 libMAPSJNI.so 崩溃
【发布时间】:2019-05-01 05:49:11
【问题描述】:

我们使用 HERE Premium SDK。 当我们长按地图时,我们正在使用ReverseGeocodeRequest2反转该点的经纬度地址。搜索完成后,地址显示在地图上。

反复长按会导致以下崩溃。

我正在寻找崩溃的原因

请告诉我解决的步骤。

11-29 11:44:16.227 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad:无法生成 minidump。
11-29 11:44:16.284 491-491/? D/SurfaceFlinger:重复图层名称:将 jp.co.zero_sum.m2smart.navi/jp.co.zero_sum.m2smart.navi.MainActivity 更改为 jp.co.zero_sum.m2smart.navi/jp.co.zero_sum.m2smart.navi .MainActivity#1
11-29 11:44:16.440 28186-28103/? A/google-breakpad:跳过了 Microdump(无趣)
11-29 11:44:16.484 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad: ### ### ### ### ### ### ### ## # ### ### ### ### ###
11-29 11:44:16.484 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad:Chrome 构建指纹:
11-29 11:44:16.484 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad: 70.0.3538.80
11-29 11:44:16.484 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad: 353808052
11-29 11:44:16.485 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad: ### ### ### ### ### ### ### ## # ### ### ### ### ###
11-29 11:44:16.485 27937-28103/jp.co.zero_sum.m2smart.navi A/libc:致命信号 11 (SIGSEGV),代码 1 (SEGV_MAPERR),tid 28103(手势)中的故障地址 0x11(手势),pid 27937 (um.m2smart.navi)
11-29 11:44:16.562 28192-28192/? E/DEBUG: 无法读取链接 /proc/28103/fd/148: 没有这样的文件或目录
11-29 11:44:16.606 28192-28192/? I/crash_dump32:从 tombstoned 中获取输出 fd,类型:kDebuggerdTombstone
11-29 11:44:16.612 812-812/? I//system/bin/tombstoned:收到 pid 28103 的崩溃请求
11-29 11:44:16.614 28192-28192/? I/crash_dump32:正在执行进程 27937 的转储(目标 tid = 28103)
11-29 11:44:16.651 28192-28192/? A/DEBUG: * *
11-29 11:44:16.652 28192-28192/? A/DEBUG:构建指纹:'google/marlin/marlin:9/PPR1.180610.009/4898911:user/release-keys'
11-29 11:44:16.652 28192-28192/? A/DEBUG:修订:“0”
11-29 11:44:16.652 28192-28192/? A/DEBUG: ABI: 'arm'
11-29 11:44:16.652 28192-28192/? A/DEBUG: pid: 27937, tid: 28103, name: Gestures >>> jp.co.zero_sum.m2smart.navi 11-29 11:44:16.652 28192-28192/? A/DEBUG:信号 11 (SIGSEGV),代码 1 (SEGV_MAPERR),故障地址 0x11
11-29 11:44:16.652 28192-28192/? A/DEBUG:原因:空指针取消引用
11-29 11:44:16.652 28192-28192/? A/DEBUG: r0 00000001 r1 00000005 r2 c48417b0 r3 00000001
11-29 11:44:16.652 28192-28192/? A/调试:r4 c3bdc190 r5 c0a7a620 r6 c3bdc194 r7 c3bdc194
11-29 11:44:16.652 28192-28192/? A/调试:r8 00000000 r9 00000001 r10 00000000 r11 c2e0b75c
11-29 11:44:16.652 28192-28192/? A/DEBUG: ip c48417d0 sp c2e0b758 lr c97c3828 pc c97c4f9c
11-29 11:44:16.655 28192-28192/? A/DEBUG:回溯:
11-29 11:44:16.655 28192-28192/? A/DEBUG: #00 pc 0026ff9c /data/app/jp.co.zero_sum.m2smart.navi-AWOBSvAp7UkzzwuMoCXHhw==/lib/arm/libMAPSJNI.so

【问题讨论】:

  • 能否请您提供正在使用的 SDK 版本和平台(Android/iOS)?然后我们可以更深入地了解这个主题。
  • 我们使用的是 Android,SDK 版本:3.6.0.523 构建日期:2017 年 12 月 11 日星期一 10:05:29 UTC
  • 我们无法使用最新版本在本地重现此问题。能否请您更新并再试一次?
  • 我们可以很容易地重现,SDK版本是HERE_Android_SDK_Premium_v3.9.0_99。我们的设备是Android 8.0.stacktrace如下。
  • 我们可以提供源代码重现该现象。你能确认一下吗? .

标签: android crash here-api


【解决方案1】:

请立即下载新版本 4.x。另请参阅高级 SDK 下载参考。

https://developer.here.com/documentation/android-premium/api_reference_java/com/here/android/mpa/search/ReverseGeocodeRequest.html

public ReverseGeocodeRequest(GeoCoordinate location,
ReverseGeocodeMode mode,
float bearing)
Creates a reverse geocode request that resolves a GeoCoordinate into an Location.
Parameters:
location - A GeoCoordinate representing the query location context.
mode - A ReverseGeocodeMode mode in which the response should be filtered.
bearing - A bearing expresses the direction in which the vehicle is heading in degrees starting at true North and continuing clockwise around the compass. Ignored if mode is not equal to ReverseGeocodeMode.TRACK_POSITION.
Throws:
java.lang.IllegalArgumentException - Upon a failure to handle a passed argument.

【讨论】:

    猜你喜欢
    • 2019-05-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多