Location detection is not working

Bug #1389874 reported by Rick Spencer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
location-service (Ubuntu)
Fix Released
Undecided
Unassigned
ubuntu-location-provider-here (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

this is krillin r142

My phone stopped getting location updates. This does not seem to be bug #1387708 because my nvram does appear corrupted.

phablet@ubuntu-phablet:/var/log/upstart$ sudo cat /var/log/upstart/ubuntu-location-service.log
Attempted to unregister path (path[0] = ril_1 path[1] = null) which isn't registered
Attempted to unregister path (path[0] = ril_0 path[1] = null) which isn't registered
 name -> com.ubuntu.espoo.Service.Provider
 path -> /com/ubuntu/espoo/Service/Provider
Instantiating and configuring: gps::Provider
Instantiating and configuring: remote::Provider
 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] = ril_1 path[1] = null) which isn't registered
Attempted to unregister path (path[0] = ril_0 path[1] = null) which isn't registered
 name -> com.ubuntu.espoo.Service.Provider
 path -> /com/ubuntu/espoo/Service/Provider
Instantiating and configuring: gps::Provider
Instantiating and configuring: remote::Provider
 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] = ril_1 path[1] = null) which isn't registered
Attempted to unregister path (path[0] = ril_0 path[1] = null) which isn't registered
 name -> com.ubuntu.espoo.Service.Provider
 path -> /com/ubuntu/espoo/Service/Provider
Instantiating and configuring: gps::Provider
Instantiating and configuring: remote::Provider

phablet@ubuntu-phablet:/var/log/upstart$ sudo cat /var/log/upstart/ubuntu-espoo-service.log
[sudo] password for phablet:
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1105 07:02:02.664535 1666 provider.cpp:122] Successfully started position updates.
pure virtual method called
terminate called without an active exception
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1105 08:25:01.957183 1699 provider.cpp:122] Successfully started position updates.
I1105 08:32:30.442076 1699 provider.cpp:122] Successfully started position updates.
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1105 16:04:37.255589 1713 provider.cpp:122] Successfully started position updates.
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1105 16:09:58.814582 1700 provider.cpp:122] Successfully started position updates.
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1105 16:29:45.673939 1626 provider.cpp:568] StartPositionUpdates
I1105 16:29:45.678083 1626 provider.cpp:122] Successfully started position updates.
I1105 16:29:45.680830 1626 provider.cpp:596] StartVelocityUpdates

Related branches

Revision history for this message
Loïc Minier (lool) wrote :

Adding a sleep 15 before slpgwd exec has helped at least Alexander get a position more reliably.

HERE debug on some affected phones shows a "general error" being reported.

I've run a connectivity upstart job with "start on started dbus" to start it in similar conditions; it did show a problematic pattern: it only gets GSM information, and no cell information. As soon as it's restarted, it correctly gets wifi information too. This might be an explanation for lack of HERE location.

I'll debug this further, and also try running the HERE debug binaries to try to find out more about the underlying cause.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-location-provider-here - 0.1+15.04.20141110-0ubuntu1

---------------
ubuntu-location-provider-here (0.1+15.04.20141110-0ubuntu1) vivid; urgency=low

  [ Loïc Minier ]
  * Wait for NM and oFono to be started before starting slpgwd due to a
    bug in location-service-connectivity API (LP 1390490); works around
    LP: #1389874. (LP: #1390490, #1389874)

ubuntu-location-provider-here (0.1+14.10.20141022~rtm-0ubuntu1) 14.09; urgency=low

  [ Loïc Minier ]
  * Use org.freedesktop.Accounts.FindUserByName(); this makes sure the
    user object is properly created when we list properties on it; LP:
    #1384321. (LP: #1384321)
 -- Ubuntu daily release <email address hidden> Mon, 10 Nov 2014 12:38:41 +0000

Changed in ubuntu-location-provider-here (Ubuntu):
status: New → Fix Released
Loïc Minier (lool)
Changed in location-service (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.