Device shuts down after Bluetooth has been on for several hours to several days

REPRODUCIBILITY: 75% (often)
OSVERSION: 4.5.0.21
HARDWARE: Sony Xperia 10 II - Dual SIM - xqau52 - xqau52 - 1.0.0.21 - aarch64
UI LANGUAGE: English (US) (user: en_US, os: en_US.utf8)
REGRESSION: yes (since: 4.5.0.19 - aarch64)

DESCRIPTION:

When Bluetooth is enabled in system settings, the phone will eventually shut down. Or it might crash, restart and timeout waiting for disk unlock. I’m not sure since I’ve never been watching when it happened. The time between activating Bluetooth and the shutdown seems to be at least 2 or 3 hours and less than 3 days. Times are vague because I only notice phone has shut down when I try to unlock it tje next time I need it. This behavior is new in 4.5.0.21. When it isn’t shutting down, Bluetooth behaves no better or worse than previous release -I’d initially been investigating the Bluetooth connection issue with my car I’d reported earlier when this new issue arose.

PRECONDITIONS:

Sfos 4.5.0.21 installed. Bluetooth on.

STEPS TO REPRODUCE:

  1. Upgrade to 4.5.0.21
  2. Enable Bluetooth
  3. Use the phone normally while waiting for it to shut down - don’t turn it off intentionally during this time.

EXPECTED RESULTS:

Phone keeps working until intentionally shut down.

ACTUAL RESULTS:

Phone shuts off spontaneously eventually.

MODIFICATIONS:

  • Patchmanager: no
  • OpenRepos: yes
  • Chum: yes
  • Other: none specified

ADDITIONAL INFORMATION:

I suspect the connection to Bluetooth because the phone only shuts down when Bluetooth is on, but the seemingly random time between activation and the shutdown also leaves room for doubt. I don’t think it’s a new hardware failure because the bug hasn’t appeared when not running Bluetooth. I freely admit the connectuon souds odd, but there doesn’t seem to be anytging else that correlates with the issue occuring.
Device Owner User: defaultuser
Home Encryption: enabled

the initial version of this bug report was created using Bugger 0.9.10+git1
1 Like

Just to get it out of the way: it’s not a low battery shutdown, right?

Maybe a kernel oops or something alike.

Can you enable persistent journalling, and dump the just-before-reboot/crash logs?

Right. Every time I rebooted – sometimes needing the hard-reset button combo – the battery has been at 60% or better.

Seems a bit odd since the changelog / release notes from 4.5.0.19 to 4.5.0.21 do not mention bluetooth.

1 Like
  1. OK, right now I’ve got the phone collecting kernel logs in the event of Fatal messages. JIC anything happens when I’m not expecting if and maybe it’ll be enlightening if it does.

  2. Reading the docs, it looks like the Persistent log collection should be initiated right before attempting to provoke the fault, so I’ll have to wait to poke that bear until my wife and I are in earshot of each other. She really doesn’t like me to be unreachable, and will let me know what she thinks of my “nerd phone” if I don’t answer.

@emva I searched the changelog for anything about Bluetooth, since I was hoping to see something related to hands free profile and the weird connect issue I was having. Seeing nothing, I didn’t expect any changes, but I still wanted to test if anything got better, worse, or different. What I certainly didn’t expect in any case was to get a guru meditation.

2 Likes

Okay, I’ve done Round #1 of the persistent logs process and am activating Bluetooth . . . let’s see if anything happens tonight.

I got the phone to shut down late this morning. Had to do the Round #2 of gather-logs.sh over ssh after getting home since the home screen keeps showing the spinning spinny thing of patience and I can’t open up the drawer of applications further than the top 4 quick access apps. Persistent logs are packed up in a gz.

Anyone got an idea of what should I look for in the logs for further troubleshooting?

So the timeline goes: turned on Bluetooth about 16:16 on August 22 and it shut down sometime between 11:00 and 11:35 on August 24, that’s around 43 hours or so if I’m ciphering right.

I definitely needed the hard reset key combo of holding the volume-up and power buttons to restart. Battery was at 88% after reboot. The spinning patience spinner and the lack of application drawer opening thing persisted until I did a normal power off/power on. After that phone operation seems normal.

did you find anything unusual in the logs befor the shutdown?

I didn’t see anything, but I’m not completely sure what I’m searching for. No entries in logcat after turning on Bluetooth on the 22nd thru powering the phone back on on the morning of the 24th. Nothing in journal.

BTW, I’ve had Bluetooth off almost the entire time since August 24 – I used headphone sunglasses for a short time at the pool to listen to online radio – and no shutdowns in that time period.