waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

XE 17.x causes random reboots #527

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Factory Reset
2. Pair Glass and normal Setup through Android app
3. Wear Glass and use normally for a few hours

What is the expected output?
Glass should function as expected.

What do you see instead?
When not in active use (screen off), Glass will frequently reboot itself 
randomly. Most times it will boot up fine and go to the home screen. Sometimes 
it will get in a loop where it will reboot every 3-5 minutes. This causes major 
overheating and battery drain (50% drain in 1 hour).
Occasionally, this is also mixed with extreme lagginess of Glass, other times 
Glass seems to function well. But after a few minutes with the screen off, it 
reboots.

What version of the product are you using? On what operating system?
XE 17, 17.1, 17.2
Phone: Nexus 5 Android 4.4.2

Please provide any additional information below.
Here are my most recent logcats:
05-22 10:05:35.135    1645-1683/? E/ConnectivityService﹕ Unexpected mtu 
value: android.net.wifi.WifiStateTracker@41c51e60
05-22 10:29:33.604    1645-1683/? E/ConnectivityService﹕ Exception trying to 
remove a route: java.lang.IllegalStateException: command '249 interface route 
remove wlan0 default 192.168.1.0 24 0.0.0.0' failed with '400 249 Failed to 
remove route from default table (No such process)'
05-22 10:29:33.604    1645-1683/? E/ConnectivityService﹕ Exception trying to 
remove a route: java.lang.IllegalStateException: command '250 interface route 
remove wlan0 default 192.168.1.1 32 0.0.0.0' failed with '400 250 Failed to 
remove route from default table (No such process)'
05-22 10:29:33.604    1645-1683/? E/ConnectivityService﹕ Exception trying to 
remove a route: java.lang.IllegalStateException: command '251 interface route 
remove wlan0 default 0.0.0.0 0 192.168.1.1' failed with '400 251 Failed to 
remove route from default table (No such process)'
05-22 10:29:39.455    1645-1683/? E/ConnectivityService﹕ Unexpected mtu 
value: android.net.wifi.WifiStateTracker@41c51e60
05-22 11:09:07.557    2036-2640/? E/bt-btif﹕ DISCOVERY_COMP_EVT slot id:981, 
failed to find channle,                                       status:1, scn:0
05-22 11:09:37.588    2036-2640/? E/bt-btif﹕ DISCOVERY_COMP_EVT slot id:982, 
failed to find channle,                                       status:1, scn:0
...

05-22 11:12:23.190    2036-2629/? E/bt-btif﹕ property type:3, len:0 is invalid
05-22 11:12:23.190    2036-2629/? E/﹕ ### ASSERT : 
external/bluetooth/bluedroid/main/../btif/src/btif_dm.c line 1189 storing 
remote services failed (1) ###
05-22 11:12:23.190    2036-2629/? E/BluetoothRemoteDevices﹕ 
devicePropertyChangedCallback: bdDevice: BC:F5:AC:85:7F:49, value is empty for 
type: 3
...

05-22 11:26:13.721    1815-1827/? E/System﹕ Uncaught exception thrown by 
finalizer
05-22 11:26:13.721    1815-1827/? E/System﹕ java.io.IOException: Bad file 
number
            at android.net.LocalSocketImpl.shutdown(Native Method)
            at android.net.LocalSocketImpl.shutdownInput(LocalSocketImpl.java:399)
            at android.net.LocalSocket.shutdownInput(LocalSocket.java:206)
            at android.bluetooth.BluetoothSocket.close(BluetoothSocket.java:462)
            at android.bluetooth.BluetoothSocket.finalize(BluetoothSocket.java:226)
            at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:187)
            at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:170)
            at java.lang.Thread.run(Thread.java:841)
05-22 11:26:13.721    1815-1827/? E/System﹕ Uncaught exception thrown by 
finalizer
05-22 11:26:13.721    1815-1827/? E/System﹕ java.io.IOException: socket not 
created
            at android.net.LocalSocketImpl.shutdownInput(LocalSocketImpl.java:396)
            at android.net.LocalSocket.shutdownInput(LocalSocket.java:206)
            at android.bluetooth.BluetoothSocket.close(BluetoothSocket.java:462)
            at android.bluetooth.BluetoothSocket.finalize(BluetoothSocket.java:226)
            at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:187)
            at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:170)
            at java.lang.Thread.run(Thread.java:841)
...

05-22 11:36:12.901    2743-5567/? E/Volley﹕ [123] mg.a: Unexpected response 
code 403 for 
https://www.googleapis.com/userlocation/v1/settings/851257563?nlpVersion=2008&pl
atform=android%2FGoogle%2Fglass_1%2Fglass-1%3A4.4.2%2FXRV49%2F1180275%3Auser%2Fr
elease-keys
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ VolleyError: lc, response is 
non-null
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse: status code is 
:403
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse data is:{
    "error": {
    "errors": [
    {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
    }
    ],
    "code": 403,
    "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
    }
    }
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse header: 
X-Frame-Options:SAMEORIGIN
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse header: 
Transfer-Encoding:chunked
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse header: 
Date:Thu, 22 May 2014 15:36:13 GMT
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse header: 
X-XSS-Protection:1; mode=block
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse header: 
Expires:Thu, 22 May 2014 15:36:13 GMT
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse header: 
Alternate-Protocol:443:quic
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse header: 
Content-Encoding:gzip
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse header: 
Content-Type:application/json; charset=UTF-8
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse header: 
Server:GSE
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse header: 
X-Content-Type-Options:nosniff
05-22 11:36:12.909    2743-7015/? E/GCoreUlr﹕ networkResponse header: 
Cache-Control:private, max-age=0
05-22 11:36:12.916    2743-7015/? E/GCoreUlr﹕ java.io.IOException
            at bvo.a(SourceFile:141)
            at bwu.b(SourceFile:187)
            at bwu.a(SourceFile:134)
            at bwz.onPerformSync(SourceFile:155)
            at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
     Caused by: lc
            at mg.a(SourceFile:142)
            at lm.run(SourceFile:110)
...

05-22 11:45:06.120    1815-7035/? E/ServiceConnection﹕ Malformed indicator 
info response: com.google.glass.bluetooth.handsfree.CindAtResult@41c9f9f8
...

05-22 12:27:47.385    1810-1831/? E/StrictMode﹕ A resource was acquired at 
attached stack trace but never released. See java.io.Closeable for information 
on avoiding resource leaks.
    java.lang.Throwable: Explicit termination method 'close' not called
            at dalvik.system.CloseGuard.open(CloseGuard.java:184)
            at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:278)
            at android.net.SSLCertificateSocketFactory.verifyHostname(SSLCertificateSocketFactory.java:190)
            at android.net.SSLCertificateSocketFactory.createSocket(SSLCertificateSocketFactory.java:435)
            at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:382)
            at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
            at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
            at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
            at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:452)
            at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
            at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
            at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
            at android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:252)
            at com.google.glass.net.PendingHttpRequest.execute(PendingHttpRequest.java:58)
            at com.google.glass.net.AndroidHttpRequestDispatcher.postWithHeaders(AndroidHttpRequestDispatcher.java:99)
            at com.google.glass.net.ProtoRequestDispatcher.service(ProtoRequestDispatcher.java:666)
            at com.google.glass.net.ProtoRequestDispatcher.run(ProtoRequestDispatcher.java:589)
            at java.lang.Thread.run(Thread.java:841)
05-22 12:27:48.284    1645-1645/? E/MPL-storeload﹕ calData from 
inv_save_mpl_states, size=2
05-22 12:28:12.682    1645-1645/? E/MPL-storeload﹕ calData from 
inv_save_mpl_states, size=2

05-22 12:28:27.370    1810-1831/? E/StrictMode﹕ A resource was acquired at 
attached stack trace but never released. See java.io.Closeable for information 
on avoiding resource leaks.
    java.lang.Throwable: Explicit termination method 'release' not called
            at dalvik.system.CloseGuard.open(CloseGuard.java:184)
            at android.view.Surface.setNativeObjectLocked(Surface.java:404)
            at android.view.Surface.<init>(Surface.java:135)
            at com.google.android.glass.timeline.HostedCard$1.onSurfaceTextureAvailable(HostedCard.java:177)
            at android.view.TextureView.getHardwareLayer(TextureView.java:385)
            at android.view.View.getDisplayList(View.java:13335)
            at android.view.View.getDisplayList(View.java:13411)
            at android.view.View.draw(View.java:14190)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.getDisplayList(View.java:13364)
            at android.view.View.getDisplayList(View.java:13411)
            at android.view.View.draw(View.java:14190)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.draw(View.java:14476)
            at com.google.glass.home.timeline.TimelineView.draw(TimelineView.java:165)
            at android.view.View.getDisplayList(View.java:13369)
            at android.view.View.getDisplayList(View.java:13411)
            at android.view.View.draw(View.java:14190)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.draw(View.java:14476)
            at android.widget.FrameLayout.draw(FrameLayout.java:472)
            at android.view.View.getDisplayList(View.java:13369)
            at android.view.View.getDisplayList(View.java:13411)
            at android.view.View.draw(View.java:14190)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.getDisplayList(View.java:13364)
            at android.view.View.getDisplayList(View.java:13411)
            at android.view.View.draw(View.java:14190)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.getDisplayList(View.java:13364)
            at android.view.View.getDisplayList(View.java:13411)
            at android.view.View.draw(View.java:14190)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.draw(View.java:14476)
            at android.widget.FrameLayout.draw(FrameLayout.java:472)
            at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2429)
            at android.view.View.getDisplayList(View.java:13369)
            at android.view.View.getDisplayList(View.java:13411)
            at android.view.HardwareRenderer$GlRenderer.buildDisplayList(HardwareRenderer.java:1570)
            at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1449)
            at android.view.ViewRootImpl.draw(ViewRootImpl.java:2406)
            at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2278)
            at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1908)
            at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1025)
            at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5699)
            at android.view.Choreographer$CallbackRecord.run(Choreographer.java:771)
            at android.view.Choreographer.doCallbacks(Choreographer.java:574)
            at android.view.Choreographer.doFrame(Choreographer.java:544)
            at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:757)
            at android.os.Handler.handleCallback(Handler.java:733)
            at android.os.Handler.dispatchMessage(Handler.java:95)
            at android.os.Looper.loop(Looper.java:149)
            at android.app.ActivityThread.main(ActivityThread.java:5061)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:515)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
            at dalvik.system.NativeStart.main(Native Method)
05-22 12:28:39.995    1645-1645/? E/MPL-storeload﹕ calData from 
inv_save_mpl_states, size=2
05-22 12:28:56.260    1786-1801/? E/AndroidHttpRequestDispatcher﹕ Exception 
thrown while doing a post with headers -- returning null
    java.net.SocketTimeoutException: Read timed out
            at com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
            at com.android.org.conscrypt.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:689)
            at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
            at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
            at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
            at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
            at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
            at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
            at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
            at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
            at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
            at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
            at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
            at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
            at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
            at android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:252)
            at com.google.glass.net.PendingHttpRequest.execute(PendingHttpRequest.java:58)
            at com.google.glass.net.AndroidHttpRequestDispatcher.postWithHeaders(AndroidHttpRequestDispatcher.java:99)
            at com.google.glass.net.ProtoRequestDispatcher.service(ProtoRequestDispatcher.java:666)
            at com.google.glass.net.ProtoRequestDispatcher.run(ProtoRequestDispatcher.java:589)
            at java.lang.Thread.run(Thread.java:841)

Original issue reported on code.google.com by Splak...@gmail.com on 22 May 2014 at 4:47

GoogleCodeExporter commented 9 years ago
There is a good bit of anecdotal evidence here: 
https://www.glass-community.com/t5/Everything-Else/XE17-17-1-Introduced-random-r
estart/td-p/124320

Mostly it points to this issue not being dependent upon WiFi, Wink Detection, 
On Head Detection, or screen lock.

Original comment by Splak...@gmail.com on 22 May 2014 at 4:56

GoogleCodeExporter commented 9 years ago
Hello,

Thanks for the report! However, this tracker is meant for issue related to the 
platform and its API.
You will find better help with your guide (Support tab on MyGlass).

Best,
Alain

Original comment by ala...@google.com on 22 May 2014 at 6:22