Comment 3 for bug 1514777

Revision history for this message
Andrea Bernabei (faenil) wrote : Re: [HERE] Here maps webapp AGPS location detection doesn't work

Ok, it finally happened again :)

My setup:
Krillin, rc-proposed (after OTA9 freeze), r232

The content of /var/log/ubuntu-location-service/com.ubuntu.location.INFO is
I0116 21:01:57.030153 3319 skeleton.cpp:290] Failed to communicate position update to client: org.freedesktop.DBus.Error.LimitsExceeded: The maximum number of pending replies per connection has been reached
I0116 21:01:57.030221 3319 skeleton.cpp:290] Failed to communicate position update to client: org.freedesktop.DBus.Error.LimitsExceeded: The maximum number of pending replies per connection has been reached
I0116 21:01:57.030285 3319 skeleton.cpp:290] Failed to communicate position update to client: org.freedesktop.DBus.Error.LimitsExceeded: The maximum number of pending replies per connection has been reached
I0116 21:01:57.030354 3319 skeleton.cpp:290] Failed to communicate position update to client: org.freedesktop.DBus.Error.LimitsExceeded: The maximum number of pending replies per connection has been reached
I0116 21:01:57.030424 3319 skeleton.cpp:290] Failed to communicate position update to client: org.freedesktop.DBus.Error.LimitsExceeded:

NOTE1: that it is referring to 16Jan, so it's not referring to the test I have just made (18Jan 16:20 UK time)

NOTE2: I have the same output in /var/log/ubuntu-location-service/com.ubuntu.location.ubuntu-phablet.invalid-user.log.INFO.20160116-205932.3293

I don't have any other file in that folder (I cleared it about a week ago, and I'm quite sure location worked OK after I cleared those logs, so I don't think they had anything useful to offer)

The file /var/log/upstart/ubuntu-location-service.log has the following content:
 name -> com.ubuntu.espoo.Service.Provider
 path -> /com/ubuntu/espoo/Service/Provider
Instantiating and configuring: gps::Provider
Instantiating and configuring: remote::Provider
Attempted to unregister path (path[0] = core path[1] = trust) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 0) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 1) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 2) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 3) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 4) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 5) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 6) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 7) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 8) which isn't registered
Attempted to unregister path (path[0] = core path[1] = trust) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 9) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 10) which isn't registered
Attempted to unregister path (path[0] = sessions path[1] = 11) which isn't registered

phablet@ubuntu-phablet:~$ ubuntu-location-serviced-cli --bus system --get --property visible_space_vehicles
Visible space vehicles:
 (type: gps, prn: 2, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 30 deg, elevation: 62 deg)
 (type: gps, prn: 6, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 8 deg, elevation: 27 deg)
 (type: gps, prn: 12, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 29 deg, elevation: 86 deg)
 (type: gps, prn: 14, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 26 deg, elevation: 226 deg)
 (type: gps, prn: 24, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 4 deg, elevation: 144 deg)
 (type: gps, prn: 25, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 71 deg, elevation: 75 deg)
 (type: gps, prn: 26, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 12 deg, elevation: 275 deg)
 (type: gps, prn: 29, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 64 deg, elevation: 193 deg)
 (type: gps, prn: 31, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 52 deg, elevation: 298 deg)
Attempted to unregister path (path[0] = com path[1] = ubuntu) which isn't registered

This is the output of GLOG_v=1000 GLOG_logtostderr=1 ubuntu-location-serviced-cli --bus system --test
http://pastebin.ubuntu.com/14567800/

Logcat output is full of:
D/mnl_linux(27265): $GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
D/mnl_linux(27265): $GPRMC,000342.000,V,8960.0000,N,00000.0000,E,0.000,0.00,060180,,,N*4B
D/mnl_linux(27265): $GPVTG,0.00,T,,M,0.000,N,0.000,K,N*32
D/mnl_linux(27265): $GPACCURACY,3162.1*3F
D/mnl_linux(27265): mtk_gps_sys_gps_mnl_callback: SVListBitMap: 0
E/mnl_linux(27265): mtk_gps_sys_gps_mnl_callback: Get SV info success
D/mnl_linux(27265): mtk_gps_sys_gps_mnl_callback: MTK_GPS_MSG_FIX_READY,GET_RTC_FAIL
D/mnl_linux(27265): mtk_gps_sys_nmea_output_to_app: $GPGGA,000343.000,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*47
D/mnl_linux(27265): $GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
D/mnl_linux(27265): $GPRMC,000343.000,V,8960.0000,N,00000.0000,E,0.000,0.00,060180,,,N*4A
D/mnl_linux(27265): $GPVTG,0.00,T,,M,0.000,N,0.000,K,N*32
D/mnl_linux(27265): $GPACCURACY,3162.1*3F
D/mnl_linux(27265): mtk_gps_sys_gps_mnl_callback: SVListBitMap: 0
E/mnl_linux(27265): mtk_gps_sys_gps_mnl_callback: Get SV info success
D/mnl_linux(27265): mtk_gps_sys_gps_mnl_callback: MTK_GPS_MSG_FIX_READY,GET_RTC_FAIL
D/mnl_linux(27265): mtk_gps_sys_nmea_output_to_app: $GPGGA,000344.000,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*40
D/mnl_linux(27265): $GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
D/mnl_linux(27265): $GPRMC,000344.000,V,8960.0000,N,00000.0000,E,0.000,0.00,060180,,,N*4D
D/mnl_linux(27265): $GPVTG,0.00,T,,M,0.000,N,0.000,K,N*32
D/mnl_linux(27265): $GPACCURACY,3162.1*3F
D/mnl_linux(27265): mtk_gps_sys_gps_mnl_callback: SVListBitMap: 0
E/mnl_linux(27265): mtk_gps_sys_gps_mnl_callback: Get SV info success
D/mnl_linux(27265): mtk_gps_sys_gps_mnl_callback: MTK_GPS_MSG_FIX_READY,GET_RTC_FAIL