starlte : Bluetooth crashes on trying to connect to bluetooth car audio.
- /e/ version: e-0.21-o-20220127159790-stable-starlte
- Device model(s): starlte
- Device rooted: no
Summary
starlte : Bluetooth crashes on trying to connect to bluetooth car audio.
The problem
Steps to reproduce
Try to connect to bluetooth car audio
What is the current behavior?
Bluetooth app crashes.
What is the expected correct behavior?
Bluetooth connection should be successful.
Technical informations
Relevant logs (adb logcat
)
4250 01-28 13:09:23.424 8433 8433 V MediaRouter: Adding route: RouteInfo{ name=VW Radio, description=Bluetooth audio, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO , presentationDisplay=null }
4251 01-28 13:09:23.425 6984 6984 V MediaRouter: Adding route: RouteInfo{ name=VW Radio, description=Bluetooth audio, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO , presentationDisplay=null }
4252 01-28 13:09:23.426 6984 6984 V MediaRouter: Audio routes updated: AudioRoutesInfo{ type=SPEAKER, bluetoothName=VW Radio }, a2dp=true
4253 01-28 13:09:23.426 6984 6984 V MediaRouter: Selecting route: RouteInfo{ name=VW Radio, description=Bluetooth audio, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO , presentationDisplay=null }
4254 01-28 13:09:23.452 8433 8433 V MediaRouter: Audio routes updated: AudioRoutesInfo{ type=SPEAKER, bluetoothName=VW Radio }, a2dp=true
4255 01-28 13:09:23.452 8433 8433 V MediaRouter: Selecting route: RouteInfo{ name=VW Radio, description=Bluetooth audio, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO , presentationDisplay=null }
4256 01-28 13:09:23.460 8433 8433 V MediaRouter: Selecting route: RouteInfo{ name=VW Radio, description=Bluetooth audio, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO , presentationDisplay=null }
4257 01-28 13:09:23.754 13490 13554 I chatty : uid=1002(bluetooth) com.android.bluetooth expire 3 lines
4258 01-28 13:09:23.756 13490 13512 I chatty : uid=1002(bluetooth) com.android.bluetooth expire 2 lines
4259 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: Exception while connecting!
4260 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: javax.net.ssl.SSLHandshakeException: SSL handshake terminated: ssl=0x7d85037600: I/O error during system call, No such file or directory
4261 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
4262 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: at com.android.org.conscrypt.SslWrapper.doHandshake(SslWrapper.java:374)
4263 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: at com.android.org.conscrypt.ConscryptFileDescriptorSocket.startHandshake(ConscryptFileDescriptorSocket.java:217)
4264 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: at com.android.org.conscrypt.ConscryptFileDescriptorSocket.waitForHandshake(ConscryptFileDescriptorSocket.java:468)
4265 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: at com.android.org.conscrypt.ConscryptFileDescriptorSocket.getInputStream(ConscryptFileDescriptorSocket.java:431)
4266 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: at org.microg.gms.gcm.McsService.connect(McsService.java:445)
4267 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: at org.microg.gms.gcm.McsService.handleMessage(McsService.java:645)
4268 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: at android.os.Handler.dispatchMessage(Handler.java:102)
4269 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: at android.os.Looper.loop(Looper.java:164)
4270 01-28 13:09:26.560 8185 8213 W GmsGcmMcsSvc: at org.microg.gms.gcm.McsService$HandlerThread.run(McsService.java:174)
4271 01-28 13:09:26.570 8185 8213 D GmsGcmMcsSvc: Connect initiated, reason: Intent { act=org.microg.gms.gcm.mcs.RECONNECT flg=0x14 cmp=com.google.android.gms/org.microg.gms.gcm.TriggerReceiver (has extras) }
4272 01-28 13:09:26.571 8185 8213 D GmsGcmMcsSvc: Connection is not enabled or dead.
4273 01-28 13:09:26.596 8185 8213 D GmsGcmMcsSvc: Starting MCS connection...
4274 01-28 13:09:26.683 8185 8213 D GmsGcmMcsSvc: Connected to mtalk.google.com:5228
4275 01-28 13:09:26.726 8185 8213 D GmsGcmMcsSvc: Activated SSL with mtalk.google.com:5228
4276 01-28 13:09:26.940 8185 13618 D GmsGcmMcsSvc: Sending login request...
4277 01-28 13:09:26.948 8185 8213 D GmsGcmMcsSvc: Scheduling heartbeat in 312 seconds...
4278 01-28 13:09:26.956 8185 8213 D GmsGcmMcsSvc: Teardown initiated, reason: javax.net.ssl.SSLHandshakeException: SSL handshake terminated: ssl=0x7d85037600: I/O error during system call, No such file or directory
4279 01-28 13:09:26.958 8185 13617 W GmsGcmMcsInput:
4280 01-28 13:09:26.958 8185 13617 W GmsGcmMcsInput: java.net.SocketException: socket is closed
4281 01-28 13:09:26.958 8185 13617 W GmsGcmMcsInput: at com.android.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read(ConscryptFileDescriptorSocket.java:546)
4282 01-28 13:09:26.958 8185 13617 W GmsGcmMcsInput: at com.android.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read(ConscryptFileDescriptorSocket.java:512)
4283 01-28 13:09:26.958 8185 13617 W GmsGcmMcsInput: at org.microg.gms.gcm.McsInputStream.ensureVersionRead(McsInputStream.java:119)
4284 01-28 13:09:26.958 8185 13617 W GmsGcmMcsInput: at org.microg.gms.gcm.McsInputStream.read(McsInputStream.java:129)
4285 01-28 13:09:26.958 8185 13617 W GmsGcmMcsInput: at org.microg.gms.gcm.McsInputStream.run(McsInputStream.java:77)
4286 01-28 13:09:26.965 8185 13617 D GmsGcmMcsSvc: I/O error: java.net.SocketException: Socket is closed
4287 01-28 13:09:26.966 8185 8213 D GmsGcmMcsSvc: Scheduling reconnect in 5 seconds...
4288 01-28 13:09:26.977 8185 8213 D GmsGcmMcsSvc: Teardown initiated, reason: java.net.SocketException: Socket is closed
4289 01-28 13:09:26.984 8185 8213 D GmsGcmMcsSvc: Scheduling reconnect in 10 seconds...
4290 01-28 13:09:27.544 6751 6759 D NetlinkEvent: Unknown ND option type 31
4291 01-28 13:09:29.248 6790 6812 I chatty : uid=1000(system) ActivityManager expire 10 lines
4292 01-28 13:09:29.249 6984 6984 D BluetoothInputDevice: Proxy object disconnected
4293 01-28 13:09:29.249 6984 6984 D HidProfile: Bluetooth service disconnected
4294 01-28 13:09:29.250 6984 6984 D BluetoothMap: Proxy object disconnected
4295 01-28 13:09:29.250 6984 6984 D MapProfile: Bluetooth service disconnected
4296 01-28 13:09:29.256 6984 6984 D BluetoothPbap: Proxy object disconnected
s9-bluetooth-crash-car-audio.txt Relevant screenshots
Solutions
Workaround
Possible fixes