Closed
Bug 1055893
Opened 12 years ago
Closed 8 years ago
[Dolphin] appwindow div is still active while app is killed after monkey test due to "TypeError: this.app.element is null"
Categories
(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)
Tracking
(blocking-b2g:-, b2g-v1.4 affected)
People
(Reporter: yaoyao.wu, Unassigned)
Details
Attachments
(1 file)
|
375.25 KB,
image/png
|
Details |
The bug is aiming at the remaining issue of bug 1031225.
After monkey test ,the div is active while the app is killed .
The main log is :
08-19 02:10:25.120 781 781 E GeckoConsole: Content JS LOG at app://system.gaiamobile.org/js/app_window.js:811 in aw_debug: [Dump: AppWindow][Camera][84257.356] publishing internal event: crashed
08-19 02:10:25.120 781 781 E GeckoConsole: Content JS LOG at app://system.gaiamobile.org/js/app_window.js:811 in aw_debug: [Dump: AppWindow][Camera][84257.356] publishing external event: crashed
08-19 02:10:25.120 781 781 E GeckoConsole: Content JS LOG at app://system.gaiamobile.org/js/app_window.js:374 in aw_kill: kill Camera
08-19 02:10:25.120 781 781 E GeckoConsole: Content JS LOG at app://system.gaiamobile.org/js/app_window.js:811 in aw_debug: [Dump: AppWindow][Camera][84257.358] publishing internal event: requestclose
08-19 02:10:25.120 781 781 E GeckoConsole: Content JS LOG at app://system.gaiamobile.org/js/app_window.js:811 in aw_debug: [Dump: AppWindow][Camera][84257.358] publishing external event: requestclose
08-19 02:10:25.120 781 781 E GeckoConsole: Content JS LOG at app://system.gaiamobile.org/js/app_window.js:811 in aw_debug: [Dump: AppWindow][Camera][84257.374] publishing internal event: terminated
08-19 02:10:25.120 781 781 E GeckoConsole: Content JS LOG at app://system.gaiamobile.org/js/app_window.js:811 in aw_debug: [Dump: AppWindow][Camera][84257.375] publishing external event: terminated
08-19 02:10:25.330 781 781 E GeckoConsole: [JavaScript Error: "TypeError: this.app.element is null" {file: "app://system.gaiamobile.org/js/app_transition_controller.js" line: 156}]
the corresponding kernel log is :
08-19 02:10:23.370 <6>[84361.488252] c0 lowmemorykiller: Killing 'Homescreen' (12737), adj 3
From the kernel log we can see that homescreen is killed due to lowmemorykiller.
Comment 2•12 years ago
|
||
And just to confirm, when this happens the user can not return to the homescreen?
(In reply to Kevin Grandon :kgrandon from comment #2)
> And just to confirm, when this happens the user can not return to the
> homescreen?
Hi Kevin,
Yes ,the phone stay in the crashed app,and could't back to homescreen.Press the home button still can't back to homescreen .
[Blocking Requested - why for this release]:
the problem blocks monkey test seriously
blocking-b2g: --- → 1.4?
Comment 5•12 years ago
|
||
Per my bug 1031225 comment 96, the reproducibility is very low here. Mozilla has been running monkey for over 2 weeks on dolphin 1.4 and have not encountered this.
In addition, after bug 1047645 is uplifted to 1.4 the rate here should be even lower. Don't see this as blocking.
cc'ing danny whos been running monkey at Taipei
blocking-b2g: 1.4? → -
Hi Wayne,
The issue can be reproduced while switching between music->email->homescreen manually.
The STR is :
1 launch E-Mail
2 launch Music ,choose a song and share with E-Mail
3 press back of E-Mail
4 press Discard ,and then press home button as quickly as possible
After several times ,the issue will reproduce.
After bug1047645 is uplifted to v1.4, the phone gets better,but the issue still can be reproduced manaully.After a litter longer time the issue still can be reproduced.
I think maybe we shouldn't just return in transition controller when this.app is null,see https://github.com/mozilla-b2g/gaia/commit/4da989c284108dea7296edff6adaa330ffc62f4d [1]
We met an issue that the phone stays in email and couldn't back to homescreen after running monkey test.The version has included [1] .The attachment is the app-manager.You could see there are still two active apps:email and homescreen. What's more wired is that the screen is locked.
Hi,Alive
Would [1] will cause some app states wrong if we just return when we met 'this.app is null' error?
Flags: needinfo?(alive)
Comment 9•12 years ago
|
||
(In reply to yang.zhao from comment #7)
> I think maybe we shouldn't just return in transition controller when
> this.app is null,see
> https://github.com/mozilla-b2g/gaia/commit/
> 4da989c284108dea7296edff6adaa330ffc62f4d [1]
>
> We met an issue that the phone stays in email and couldn't back to
> homescreen after running monkey test.The version has included [1] .The
> attachment is the app-manager.You could see there are still two active
> apps:email and homescreen. What's more wired is that the screen is locked.
>
> Hi,Alive
> Would [1] will cause some app states wrong if we just return when we met
> 'this.app is null' error?
OK, the early return means: you don't want to perform the close/open animation, so nothing will happen but no javascript error.
A random thought is not killing homescreen div in its mozbrowsererror handling but just remove the iframe src.
Flags: needinfo?(alive)
Comment 10•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•