The phone freez totally

Bug #1465826 reported by Csaba Magyar
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qtmir (Ubuntu)
Fix Released
Critical
Gerry Boland

Bug Description

I want to change between 2 application( dekko to web browser) , but the phone complcompletely freez.
After ~20 minutes I restarted the phone.(pushed the ON buttone until restart)

summary: - The pone freez totally
+ The phone freez totally
affects: phablet-tools (Ubuntu) → ubuntuphone
description: updated
dobey (dobey)
affects: ubuntuphone → unity8 (Ubuntu)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

How often does this happen for you? When it happens again, can you send us some logs (/home/phablet/.cache/upstart/unity8.log)

Changed in unity8 (Ubuntu):
status: New → Incomplete
Revision history for this message
Csaba Magyar (csaba-magyar78) wrote :

It happened twice until now. Ok, I will send the log next time.

Revision history for this message
Csaba Magyar (csaba-magyar78) wrote :

Please find attached the log file

Revision history for this message
SB (emehntehtt) wrote :

This happens every few days for me, I am attaching Unity 8 log.

Revision history for this message
Csaba Magyar (csaba-magyar78) wrote :
Revision history for this message
Michael Zanetti (mzanetti) wrote :

The logs point that it tries to switch to an app that's not around any more.

Changed in qtmir:
assignee: nobody → Gerry Boland (gerboland)
Revision history for this message
SB (emehntehtt) wrote :

Update-UI freeze most often happens during application switching, sometimes it happens when a notification arrives and I try opening it. Also I noticed a different behavior with UI freezes after OTA-4 update, before OTA-4 when UI froze it would reboot itself after a while, but after OTA-4 it freezes permanently and I have to power off the phone to resolve it.

Revision history for this message
Sturm Flut (sturmflut) wrote :

I did a bit of analysis on krillin OTA-4.

1. Go to the apps scope.

2. Swipe in the launcher from the left. No error.

3. Switch to an app. After about a second, the following error is logged to unity8.log:

** (process:2492): WARNING **: Unable to get pids for 'unity8-dash' to send signal 19
ApplicationController::pauseApplication FAILED to pause appId= "unity8-dash"

process 2492 is unity8, signal 19 is SIGSTOP on x86 Linux.

4. Swipe in the launcher from the left. The following error is immediately logged to unity8.log:

** (process:2492): WARNING **: Unable to get pids for 'unity8-dash' to send signal 18
ApplicationController::resumeApplication FAILED to resume appId= "unity8-dash"

Signal 18 is SIGCONT on x86 Linux.

5. Tap inside the app to make the launcher disapper. The following error is immediately logged to unity8.log:

** (process:2492): WARNING **: Unable to get pids for 'unity8-dash' to send signal 19
ApplicationController::pauseApplication FAILED to pause appId= "unity8-dash"

Every time the launcher is shown or hidden while an app is active, those errors appear. But no matter how hard I try to provoke it, the UI doesn't freeze.

Revision history for this message
SB (emehntehtt) wrote :

That freeze happens to me every few days without exception, I am attaching new logs that contain errors not seen in previous logs. "file:///usr/lib/arm-linux-gnueabihf/unity8/qml/Dash/createCardComponent:59: Error: Invalid write to global property"
"file:///usr/share/unity8/Stages/PhoneStage.qml:416: TypeError: Cannot read property 'x' of null"
Etc.

Revision history for this message
SB (emehntehtt) wrote :
Revision history for this message
SB (emehntehtt) wrote :

[1436020484.416946] <WARNING> Loader: Failed to load module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-stub.so (error was:/usr/lib/arm-linux-gnueabihf/mir/server-platform/input-stub.so: undefined symbol: _ZN3mir6events10make_eventExx17MirKeyboardActionjij)

This warning seems to be related to Mir. You will find all these in the last two logs I have uploaded.

Revision history for this message
Gerry Boland (gerboland) wrote :

Hey guys, thanks for the logs.
This is a tough bug to figure out, sadly your logs haven't given me a clue what might be wrong. Those lines you've pointed out are just warnings, and have no impact on this issue IMO.

If anyone has the capability to get a backtrace of unity8 while it is hug, that would be most helpful. I'll do what I can to reproduce it.

Revision history for this message
SB (emehntehtt) wrote :

I believe SturmFlut successfully reproduced this issue and captured a crash and uploaded it to errors.ubuntu.com, you might check with him.

Revision history for this message
kevin gunn (kgunn72) wrote :

i might be wrong, but i think Gerry's wanting a backtrace from a hung unity8, not a crash.

Revision history for this message
SB (emehntehtt) wrote :

How can I capture such a backtrace?

Revision history for this message
Gerry Boland (gerboland) wrote :

Hey,
If this happens again, please connect your phone to your computer with USB, use "adb shell" from a terminal to get a shell on your phone. Then do

kill -SEGV `pidof unity8`

This will make unity8 crash in the hung state it is in, and apport will do its job of uploading the crash file to us.

To point us to the uploaded crash file, on your phone, please
1. open System Settings and go to Security & Privacy -> Diagnostics -> Previous error reports
2. the web browser will open on a page, this contains all the crashes that were uploaded from your device
Could you grab this URL and share it with us please. For information security reasons, you're welcome to email me the URL directly at <email address hidden>

Thanks
-Gerry

Revision history for this message
SB (emehntehtt) wrote :

I emailed you the link, next time I will try to capture the crash using the command you provided if I am around my computer when it happens.

Revision history for this message
Csaba Magyar (csaba-magyar78) wrote : Re: [Bug 1465826] Re: The phone freez totally

Hi,

I can't send you the file because of the below error.

"sudo adb shell
error: device not found"

BR,

Csaba Magyar

2015-07-31 19:45 keltezéssel, Gerry Boland írta:
> Hey,
> If this happens again, please connect your phone to your computer with USB, use "adb shell" from a terminal to get a shell on your phone. Then do
>
> kill -SEGV `pidof unity8`
>
> This will make unity8 crash in the hung state it is in, and apport will
> do its job of uploading the crash file to us.
>
> To point us to the uploaded crash file, on your phone, please
> 1. open System Settings and go to Security & Privacy -> Diagnostics -> Previous error reports
> 2. the web browser will open on a page, this contains all the crashes that were uploaded from your device
> Could you grab this URL and share it with us please. For information security reasons, you're welcome to email me the URL directly at <email address hidden>
>
> Thanks
> -Gerry
>

Revision history for this message
Gerry Boland (gerboland) wrote :

@Csaba - that command only works if you have Developer Mode enabled on your phone, and the phone is unlocked - i.e. you've entered your PIN and are looking at the Dash, for example.

kevin gunn (kgunn72)
Changed in qtmir:
importance: Undecided → Critical
no longer affects: unity8 (Ubuntu)
Revision history for this message
SB (emehntehtt) wrote :

This still happens after OTA-6 only the phone lasts a bit longer before UI freezes, before OTA-6 phone would freeze every 2 to 3 days almost like clockwork, after I updated to OTA-6 phone lasted for 10 days before freezing, after powering it off and on it lasted for 4 days before freezing once again. Each time it froze during switching between applications via application "roll".

Revision history for this message
Gerry Boland (gerboland) wrote :

I've not heard this complaint in some time. We've done work to avoid situations which might cause a deadlock, hopefully we have this squashed. Marking Fixed, please re-open if you find it happens to you.

Changed in qtmir:
status: New → Fix Released
Revision history for this message
SB (emehntehtt) wrote :

Since OTA-7 stability improved quite a lot, I had one or two freezes since then so it is fixed I would say. Once dialer messed up the phone as the call couldnt be hanged up and I had to power off and power it on again, but that is unlikely to be related to this and is a dialer related bug.

Michał Sawicz (saviq)
affects: qtmir → qtmir (Ubuntu)
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.