First trust prompt leads to reboot (arale, midori)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
Critical
|
Unassigned | ||
Mir |
Invalid
|
Undecided
|
Unassigned | ||
Telegram app |
Invalid
|
Undecided
|
Unassigned | ||
arale |
Confirmed
|
Undecided
|
Unassigned | ||
trust-store |
Invalid
|
Undecided
|
Unassigned | ||
mir (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
qtdeclarative-opensource-src (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Test case.
- Flash the phone.
- Open Telegram app.
- Fill the account details.
- Add a contact (if needed).
- Select a contact to send a message.
- Tap on the clip to attach a photo.
- Select the camera.
Expected result.
- After accepting the permission dialog, camera app allows to take a picture.
Actual result.
- After accepting the permission dialog, phone reboots.
I'm not sure whether this is a problem with Telegram or with the camera. However, I couldn't reproduce the problem using the messaging-app. And once the permission dialog is accepted, the reboot is gone.
com.ubuntu.
current build number: 259
device name: arale
channel: ubuntu-
-------
Same happens with the following steps:
1. Flash device (arale) with
$ ubuntu-device-flash touch --device arale --channel ubuntu/
2. Wait until flash process is done
3. Go through first-start wizard
4. Pass tutorial
5. Directly launch camera-app, approve trust-prompt
Repeat 1-5 multiple times and you will see a frozen device after step 5. You can verify it happened due to a kernel panic mentioned in comment #7.
You can reset the trust db entry for the camera app using :
$rm -rf ~/.local/
$restart cameraservice-
Run the following to get the command line for all threads so you can match the pid from the kmsg later (see below):
ps H -eo 'pid tid cmd:250 comm'
To verify it was really the kernel panic run
$ sudo cat /proc/last_kmsg
once the device has rebooted.
Changed in canonical-devices-system-image: | |
importance: | Undecided → Critical |
milestone: | none → ww08-2016 |
Changed in mir (Ubuntu): | |
status: | Incomplete → Confirmed |
status: | Confirmed → New |
tags: | added: regression-proposed |
Changed in mir (Ubuntu): | |
assignee: | Cemil Azizoglu (cemil-azizoglu) → nobody |
status: | New → Invalid |
Changed in mir: | |
status: | New → Incomplete |
status: | Incomplete → Invalid |
Changed in trust-store: | |
status: | New → Invalid |
Changed in canonical-devices-system-image: | |
milestone: | 11 → 12 |
no longer affects: | midori |
Changed in canonical-devices-system-image: | |
milestone: | 12 → 12.1 |
Changed in canonical-devices-system-image: | |
milestone: | fi → backlog |
Changed in canonical-devices-system-image: | |
assignee: | Yuan-Chen Cheng (ycheng-twn) → nobody |
If the device reboots, I'm fairly sure this shouldn't happen on a "lower" level. Is this better suited for canonical- devices- system- image perhaps?