Closed
Bug 988115
Opened 12 years ago
Closed 8 years ago
[Tarako][MonkeyTest][v1.3t] window_manager.js run fault. WindowManager.getAppFrame(...) is null.Nothing displayed on screen
Categories
(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ying.xu, Unassigned)
Details
Attachments
(2 files)
happened during monkey test. So we dont know the STR.
APPLICATION USER PID PPID VSIZE RSS WCHAN PC NAME
b2g root 555 1 179068 44612 ffffffff 40093518 S /system/b2g/b2g
Homescreen app_1109 1109 1 100492 11864 ffffffff 400fb518 S /system/b2g/plugin-container
(Nuwa) root 1699 555 79784 1228 ffffffff 4010c518 S /system/b2g/plugin-container
(Preallocated a root 7162 1699 86944 6324 ffffffff 4010c518 S /system/b2g/plugin-container
which caused these errors. window_manager.js run fault. Nothing displayed on screen
05-30 06:46:46.020 555 555 E GeckoConsole: [JavaScript Error: "TypeError: app is undefined" {file: "app://system.gaiamobile.org/js/window_manager.js" line: 470}]
05-30 06:46:47.650 555 555 E GeckoConsole: [JavaScript Error: "TypeError: app is undefined" {file: "app://system.gaiamobile.org/js/window_manager.js" line: 470}]
05-30 06:46:47.670 555 571 I Gecko : [Parent 555] WARNING: waitpid failed pid:7151 errno:10: file /android/builder/repo/sp6821a_gonk4.0_monkey/B2G/gecko/ipc/chromium/src/base/process_util_posix.cc, line 254
05-30 06:46:47.740 555 555 E GeckoConsole: [JavaScript Error: "TypeError: app is undefined" {file: "app://system.gaiamobile.org/js/window_manager.js" line: 470}]
05-30 06:46:47.920 555 555 E GeckoConsole: [JavaScript Error: "TypeError: app is undefined" {file: "app://system.gaiamobile.org/js/window_manager.js" line: 470}]
Comment 1•12 years ago
|
||
Homescreen's PPID is never the b2g process on Tarako. It should be Nuwa. From your log the homescreen is obviously reparented to the init daemon. The only reason for it is the Nuwa process that forked it is dead, probably killed by the lowmemory killer. Please check your dmesg log to see if Nuwa was ever killed.
You may test it by killing the Nuwa process, then you will see homescreen reparented to init. This should not affect the correctness of homescreen except that memory usage will be higher.
Comment 2•12 years ago
|
||
From kernel.log:
05-30 04:53:33.025 <3>0[ 1695.883238] Out of memory: Kill process 555 (b2g) score 282 or sacrifice child
05-30 04:53:33.025 <3>0[ 1695.883315] Killed process 605 ((Nuwa)) total-vm:79784kB, anon-rss:124kB, file-rss:1576kB
Summary: [Tarako][MonkeyTest][v1.3t]parent of homescreen app process is 1, rather not b2g main process → [Tarako][MonkeyTest][v1.3t]parent of homescreen app process is 1, rather not b2g main process.which caused window_manager.js run fault. Nothing displayed on screen
The question is gaia run fault.
I can't enter the homescreen window.
which caused these errors. window_manager.js run fault. Nothing displayed on screen
05-30 06:46:46.020 555 555 E GeckoConsole: [JavaScript Error: "TypeError: app is undefined" {file: "app://system.gaiamobile.org/js/window_manager.js" line: 470}]
05-30 06:46:47.650 555 555 E GeckoConsole: [JavaScript Error: "TypeError: app is undefined" {file: "app://system.gaiamobile.org/js/window_manager.js" line: 470}]
05-30 06:46:47.670 555 571 I Gecko : [Parent 555] WARNING: waitpid failed pid:7151 errno:10: file /android/builder/repo/sp6821a_gonk4.0_monkey/B2G/gecko/ipc/chromium/src/base/process_util_posix.cc, line 254
05-30 06:46:47.740 555 555 E GeckoConsole: [JavaScript Error: "TypeError: app is undefined" {file: "app://system.gaiamobile.org/js/window_manager.js" line: 470}]
05-30 06:46:47.920 555 555 E GeckoConsole: [JavaScript Error: "TypeError: app is undefined" {file: "app://system.gaiamobile.org/js/window_manager.js" line: 470}]
Component: GonkIntegration → Gaia::System::Window Mgmt
Summary: [Tarako][MonkeyTest][v1.3t]parent of homescreen app process is 1, rather not b2g main process.which caused window_manager.js run fault. Nothing displayed on screen → [Tarako][MonkeyTest][v1.3t] window_manager.js run fault. WindowManager.getAppFrame(...) is null.Nothing displayed on screen
meet this problem twice, UI operation was stuck
05-30 06:46:47.920 555 555 E GeckoConsole: [JavaScript Error: "TypeError: app is undefined" {file: "app://system.gaiamobile.org/js/window_manager.js" line: 470}]
E/GeckoConsole( 555): [JavaScript Error: "TypeError: WindowManager.getAppFrame(...) is null" {file: "app://system.gaiamobile.org/js/lockscreen.js" line: 612}]
Comment 6•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
•