Device freezes and restarts when audio, probably multiple, is played

Bug #1508927 reported by Andrew Hayzen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oxide
Triaged
Undecided
Justin McPherson
webapps-sprint
Triaged
Undecided
Justin McPherson

Bug Description

I have a QML app with a WebView pointing to https://web.whatsapp.com/ with a custom UA specified below. A few times when this app has been focussed in the foreground, it has caused the whole phone to freeze and reboot.

It appears to be linked to receiving multiple messages at the same time, therefore causing 2 or more audible sounds to be created.

So far I have been unable to find any logs and fully reproducible steps, I will update the description if I do find more information.

$ system-image-cli -i
current build number: 142
device name: mako
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2015-10-22 07:50:36
version version: 142
version ubuntu: 20151022
version device: 20150911

$ apt-cache policy liboxideqtcore0
liboxideqtcore0:
  Installed: 1.9.5-0ubuntu0.15.04.1
  Candidate: 1.9.5-0ubuntu0.15.04.1
  Version table:
 *** 1.9.5-0ubuntu0.15.04.1 0
        100 /var/lib/dpkg/status

Web url: https://web.whatsapp.com/
Custom UA set to "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"

David Barth (dbarth)
Changed in oxide:
assignee: nobody → Justin McPherson (justinmcp)
status: New → Triaged
Changed in webapps-sprint:
assignee: nobody → Justin McPherson (justinmcp)
milestone: none → sprint-15
status: New → Triaged
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-15 → sprint-16
Revision history for this message
Justin McPherson (justinmcp) wrote :

Thanks for your report. Is the source of the app available? It will help with finding the problem. If not, some snippets, or a description of the method for launching the webapp and some details on the contents of the qml would also be welcome.

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

@Justin, I've linked a branch with the source code, note that it has an unconfined apparmor profile, let me know if you need help installing (should just be able to open Qt Creator and deploy).

Also I have yet to experience this issue again, but it only occurred twice in one week before and I haven't had as many simultaneous alert sounds.

Revision history for this message
Justin McPherson (justinmcp) wrote :

Lovely code, thanks very much.

Unfortunately I am not able to replicate this one. A crash, system wide no less, is serious so I am not going to close the bug.

It's probably not an Oxide level problem, more likely an audio system issue.

More investigation is required.

David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-16 → sprint-18
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-18 → sprint-19
Revision history for this message
David Barth (dbarth) wrote :

@Andrew, is that bug still affecting your app? Let us know so we can direct the issue to the right component. Most probably the audio sub-system.

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

I haven't had this occur again, so I'm wondering if maybe it was a media-hub issue that has been fixed. Although due to it not happening all the time before, it is unclear if this has actually be fixed or just not reproduced again.

Maybe someone should just perform some simple stress testing of playing multiple audio tracks in the browser to be perfectly sure.

If I get this again I will post in a comment, otherwise feel free to invalid the bug.

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.