mapzen / eraser-map

Privacy-focused mapping application for Android
GNU General Public License v3.0
74 stars 24 forks source link

Rotation causes map pins to move off their original spot #763

Closed msmollin closed 7 years ago

msmollin commented 7 years ago
ecgreb commented 7 years ago

I hit the following native crash when trying to reproduce.

11-01 11:09:12.482 24404-24483/? D/Tangram: TANGRAM tangram.cpp:169: Loading scene file: styles/bubble-wrap/bubble-wrap.yaml
11-01 11:09:12.537 1164-1204/? I/WindowManager: Screen frozen for +293ms due to Window{9c87c6d u0 com.mapzen.erasermap/com.mapzen.erasermap.controller.MainActivity}
11-01 11:09:12.548 2695-2695/? W/Binder_5: type=1400 audit(0.0:238765): avc: denied { ioctl } for path="socket:[2155205]" dev="sockfs" ino=2155205 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
11-01 11:09:12.548 2695-2695/? W/Binder_5: type=1400 audit(0.0:238766): avc: denied { ioctl } for path="socket:[2155205]" dev="sockfs" ino=2155205 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
11-01 11:09:12.559 1164-5995/? D/LocationManagerService: getLastLocation: Request[ACCURACY_FINE gps requested=0 fastest=0 num=1]
11-01 11:09:12.560 1164-3509/? D/LocationManagerService: getLastLocation: Request[POWER_LOW network requested=0 fastest=0 num=1]

                                                         --------- beginning of crash
11-01 11:09:12.607 24404-24412/? A/libc: Fatal signal 7 (SIGBUS), code 1, fault addr 0x7f516a803f in tid 24412 (FinalizerDaemon)
11-01 11:09:12.732 622-622/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-01 11:09:12.733 622-622/? A/DEBUG: Build fingerprint: 'Nextbit/ether/ether:6.0.1/MMB29M/00WW_1_450:user/release-keys'
11-01 11:09:12.733 622-622/? A/DEBUG: Revision: '0'
11-01 11:09:12.733 622-622/? A/DEBUG: ABI: 'arm64'
11-01 11:09:12.733 622-622/? A/DEBUG: pid: 24404, tid: 24412, name: FinalizerDaemon  >>> com.mapzen.erasermap <<<
11-01 11:09:12.733 622-622/? A/DEBUG: signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x7f516a803f
11-01 11:09:12.814 622-622/? A/DEBUG:     x0   0000007f516a8037  x1   0000007f516a803f  x2   0000000000000010  x3   0000000000570000
11-01 11:09:12.815 622-622/? A/DEBUG:     x4   0000000000430000  x5   0000000000000000  x6   0000007f74bfa000  x7   0000007f74bfc9a8
11-01 11:09:12.815 622-622/? A/DEBUG:     x8   0000000000000035  x9   0000007f6e805da8  x10  0000000000000000  x11  0000007f74bfe398
11-01 11:09:12.815 622-622/? A/DEBUG:     x12  0000000000000001  x13  0000000000000000  x14  0000007f74c035bc  x15  0000000000000000
11-01 11:09:12.815 622-622/? A/DEBUG:     x16  0000007f785567d0  x17  0000007f77b4138c  x18  0000007f6e805c00  x19  0000007f53b78000
11-01 11:09:12.816 622-622/? A/DEBUG:     x20  0000007f784adca8  x21  0000007f6e805c00  x22  0000000013b14790  x23  0000000013b4f3c0
11-01 11:09:12.816 622-622/? A/DEBUG:     x24  0000007f73e862a8  x25  0000007f73e862c8  x26  000000007046a89d  x27  0000000070016c78
11-01 11:09:12.816 622-622/? A/DEBUG:     x28  0000007f6add6840  x29  0000007f73e85f00  x30  0000007f784adcc4
11-01 11:09:12.816 622-622/? A/DEBUG:     sp   0000007f73e85f00  pc   0000007f77b413a8  pstate 0000000060000000
11-01 11:09:12.864 622-622/? A/DEBUG: backtrace:
11-01 11:09:12.864 622-622/? A/DEBUG:     #00 pc 00000000001963a8  /system/lib64/libskia.so (_ZN7SkPaintD2Ev+28)
11-01 11:09:12.864 622-622/? A/DEBUG:     #01 pc 00000000000f3cc0  /system/lib64/libandroid_runtime.so
11-01 11:09:12.864 622-622/? A/DEBUG:     #02 pc 00000000723c5f90  /data/dalvik-cache/arm64/system@framework@boot.oat (offset 0x1f59000)
11-01 11:09:12.908 2710-3209/? D/NetworkController.MobileSignalController(2): onSignalStrengthsChanged signalStrength=SignalStrength: 99 0 -120 -160 -120 -1 -1 15 -115 -15 8 2147483647 2147483647 gsm|lte level=2
11-01 11:09:12.908 2710-3209/? D/NetworkController.MobileSignalController(2): updateTelephony: hasService=true ss=SignalStrength: 99 0 -120 -160 -120 -1 -1 15 -115 -15 8 2147483647 2147483647 gsm|lte
11-01 11:09:12.986 1164-1204/? V/WindowManager: rotationForOrientationLw(orient=-1, last=3); user=0 
11-01 11:09:13.158 1164-2614/? D/ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 141]
11-01 11:09:13.161 3433-3433/? I/QCNEJ: |CORE| CNE received action RSSI/Link Changed events: android.net.wifi.RSSI_CHANGED
11-01 11:09:13.162 3433-3433/? I/QCNEJ: |CORE| sendWifiStatus - subType: 21 networkState: 1 softApState: 11 rssi=-52 ssid=FiOS-4E06E-5G bssid=48:5d:36:3d:b0:36 ipV4Addr=192.168.1.173 ifNameV4=wlan0 ipAddrV6= ifNameV6= timeStamp:2016-11-01 11:09:13.162 net handle=605606824670 isAndroidValidated = true DNS addrs= 192.168.1.1, 0.0.0.0, 0.0.0.0, 0.0.0.0, 
11-01 11:09:13.163 2710-3209/? D/NetworkController.WifiSignalController: Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=false,rssi=-45,lastModified=11-01 11:09:12,ssid="FiOS-4E06E-5G"
                                                                            to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=false,rssi=-52,lastModified=11-01 11:09:12,ssid="FiOS-4E06E-5G"
11-01 11:09:13.414 2710-2710/? D/NetworkController.WifiSignalController: Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=false,rssi=-52,lastModified=11-01 11:09:13,ssid="FiOS-4E06E-5G"
                                                                            to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=true,activityOut=true,rssi=-52,lastModified=11-01 11:09:13,ssid="FiOS-4E06E-5G"
11-01 11:09:13.650 622-622/? A/DEBUG: Tombstone written to: /data/tombstones/tombstone_02
11-01 11:09:13.650 622-622/? E/DEBUG: AM write failed: Broken pipe
11-01 11:09:13.657 1164-24639/? W/ActivityManager:   Force finishing activity com.mapzen.erasermap/.controller.MainActivity
ecgreb commented 7 years ago

Possibly related to rendering issue described here https://github.com/mapzen/eraser-map/issues/762

msmollin commented 7 years ago

Fixed in master-1811. Not seeing a crash there either.