缩放时GoogleMap会随机崩溃 - 致命信号11(SIGSEGV)位于0x00000000(代码= 1)

时间:2014-09-13 20:30:27

标签: android google-maps-android-api-2 sigsegv

我使用GoogleMap(com.google.android.gms.maps.GoogleMap)以非常标准的方式在GoogleMapFragment上绘制两点之间的路线。浏览并缩放地图几分钟后,包含此片段的活动崩溃。我可以在DDMS上看到堆分配大约是80%,我上一次执行导致下面显示的日志摘录。

我尝试clear()地图并限制允许的最大缩放量,但这只会导致崩溃再花费几分钟。我的目标是KitKat(4.4.2)。请帮忙吗?

09-13 15:31:49.387: I/System.out(27068): Thread-2472(HTTPLog):automaticallyReleaseConnectionToPool: connection=com.android.okhttp.Connection@44a220d0, connectionReleased=false
09-13 15:31:49.407: I/System.out(27068): Thread-2472(HTTPLog):stream released with streamCancelled = false, connectionReleased = false, connection = com.android.okhttp.Connection@44a220d0, for engine com.android.okhttp.internal.http.HttpsEngine@4471afd8
09-13 15:31:49.407: I/System.out(27068): Thread-2472(HTTPLog):make Reusable com.android.okhttp.internal.http.HttpTransport$FixedLengthInputStream@446c0010
09-13 15:31:49.407: I/System.out(27068): Thread-2472(HTTPLog):recycle connection com.android.okhttp.Connection@44a220d0
09-13 15:31:49.527: D/dalvikvm(27068): GC_FOR_ALLOC freed 4213K, 17% free 48683K/58204K, paused 63ms, total 64ms
09-13 15:31:49.537: I/dalvikvm-heap(27068): Grow heap (frag case) to 54.320MB for 4194320-byte allocation
09-13 15:31:49.557: I/System.out(27068): Thread-2471(HTTPLog):stream released with streamCancelled = true, connectionReleased = true, connection = null, for engine com.android.okhttp.internal.http.HttpsEngine@44597bd8
09-13 15:31:49.587: A/libc(27068): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 29994 (pool-4-thread-4)

0 个答案:

没有答案