mash: Period crash for enterprise enrolled device |
||||
Issue descriptionThe crash is in CalculateIdleTime in idle_chromeos.cc which depends on UserActivityDetector [1]. The root is probably from DeviceStatusCollector::CheckIdleState, which runs on an enrolled device. Program received signal SIGSEGV, Segmentation fault. CalculateIdleTime () at ../../ui/base/idle/idle_chromeos.cc:15 15 base::TimeDelta idle_time = base::TimeTicks::Now() - (gdb) bt #0 CalculateIdleTime () at ../../ui/base/idle/idle_chromeos.cc:15 #1 0x000063bd77988291 in CalculateIdleState () at ../../ui/base/idle/idle.cc:29 #2 0x000063bd76237fae in CheckIdleState () at ../../chrome/browser/chromeos/policy/device_status_collector.cc:533 #3 0x000063bd770dbd53 in Run () at ../../base/callback.h:80 #4 RunScheduledTask () at ../../base/timer/timer.cc:232 #5 0x000063bd77103ea6 in Run () at ../../base/callback.h:91 [1]: https://cs.chromium.org/chromium/src/ui/base/idle/idle_chromeos.cc?rcl=8ba4e2e2f7cab6455607be4902f72379c9e49060&l=16
,
Jun 19 2017
From blocking issue 626899: "We'll also need to instantiate ui::UserActivityDetector, ui::UserActivityPowerManagerNotifier, and ui::UserActivityForwarder in Chrome-on-mus. Right now, all three are instantiated by ash::Shell (the latter only for mash)." Is that what we're hitting here? Where's the right place to instantiate these objects?
,
Jun 19 2017
Yes, the crash is in idle_chromeos.cc CalculateIdleTime [1], where we try to access UserActivityDetector in browser process in mash. Not sure where is the right place though. Maybe create a UserActivityDetector in chrome_browser_main_extra_parts_ash.cc for the browser process under mash? [1]: https://cs.chromium.org/chromium/src/ui/base/idle/idle_chromeos.cc?rcl=9d7e219c5242cd3a3cb38c982de807ac52d3e0ee&l=16
,
Jun 20 2017
Fixed by https://chromium-review.googlesource.com/c/540282/
,
Jan 22 2018
,
Feb 26 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by jamescook@chromium.org
, Jun 19 2017