New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 847557 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

desktopui_MashLogin crash on device in wm::CursorManager

Project Member Reported by jamescook@chromium.org, May 29 2018

Issue description

I think this is the usual problem that chrome --enable-features=Mash doesn't have an ash cursor manager. ws2 should fix this in the medium term, so just early exit for now.

See  issue 631103  and  issue 837705 .

Operating system: Linux
                  0.0.0 Linux 3.14.0 #1 SMP PREEMPT Tue May 29 04:17:30 PDT 2018 x86_64
CPU: amd64
     family 6 model 61 stepping 4
     1 CPU

GPU: UNKNOWN

Crash reason:  SIGSEGV
Crash address: 0x0
Process uptime: not available

Thread 0 (crashed)
 0  chrome!wm::CursorManager::SetCursor(ui::Cursor) [memory : 2586 + 0x0]
    rax = 0x2fa9fc0032399d00   rdx = 0x0000000000000000
    rcx = 0x0000000000000000   rbx = 0x00007ffc4dc62ff0
    rsi = 0x00007ffc4dc62ff0   rdi = 0x0000000000000000
    rbp = 0x00007ffc4dc62fc0   rsp = 0x00007ffc4dc62e40
     r8 = 0x000004a130b6ea40    r9 = 0x000004a130b8b280
    r10 = 0x00007ffc4dc63100   r11 = 0x000060136ac3ad70
    r12 = 0x000004a131db8168   r13 = 0x0000000000000001
    r14 = 0x0000000000000000   r15 = 0x000060136ac3ad70
    rip = 0x000060136ff3f000
    Found by: given as instruction pointer in context
 1  chrome!exo::Pointer::UpdateCursor() [pointer.cc : 515 + 0xb]
    rbx = 0x00007ffc4dc62ff0   rbp = 0x00007ffc4dc63120
    rsp = 0x00007ffc4dc62fd0   r12 = 0x000004a131db8168
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x000060136ac3ad70   rip = 0x000060136ac158c2
    Found by: call frame info
 2  chrome!exo::Pointer::SetCursorType(ui::CursorType) [pointer.cc : 168 + 0x8]
    rbx = 0x000004a131db7fc0   rbp = 0x00007ffc4dc631a0
    rsp = 0x00007ffc4dc63130   r12 = 0xfffffffffffffffc
    r13 = 0x0000000000000001   r14 = 0x00007ffc4dc63148
    r15 = 0x000060136ac3ad70   rip = 0x000060136ac15b36
    Found by: call frame info
 3  libffi.so.6.0.2!ffi_call_unix64 + 0x4c
    rbx = 0x0000000000000000   rbp = 0x00007ffc4dc631b0
    rsp = 0x00007ffc4dc631b0   r12 = 0xfffffffffffffffc
    r13 = 0x0000000000000001   r14 = 0x0000000000000004
    r15 = 0x000060136ac3ad70   rip = 0x0000795c9a8e2d02
    Found by: call frame info
 4  libffi.so.6.0.2!ffi_call [ffi64.c : 525 + 0xf]
    rbx = 0x0000000000000000   rbp = 0x00007ffc4dc63270
    rsp = 0x00007ffc4dc631d0   r12 = 0xfffffffffffffffc
    r13 = 0x0000000000000001   r14 = 0x0000000000000004
    r15 = 0x000060136ac3ad70   rip = 0x0000795c9a8e240b
    Found by: call frame info
 5  chrome!wl_closure_invoke [connection.c : 935 + 0x7]
    rbx = 0x0000000000000000   rbp = 0x00007ffc4dc63450
    rsp = 0x00007ffc4dc63280   r12 = 0x00000000001461a1
    r13 = 0x0000000000000002   r14 = 0x0000601372397a48
    r15 = 0x0000000000000002   rip = 0x000060136e4437be
    Found by: call frame info
 6  chrome!wl_client_connection_data [wayland-server.c : 408 + 0x1a]
    rbx = 0x0000000000000000   rbp = 0x00007ffc4dc63500
    rsp = 0x00007ffc4dc63460   r12 = 0x00007ffc4dc634a8
    r13 = 0x000004a13155ca80   r14 = 0x000004a131ced1c0
    r15 = 0x000004a130beb6c0   rip = 0x000060136e440aef
    Found by: call frame info
 7  chrome!wl_event_loop_dispatch [event-loop.c : 423 + 0x5]
    rbx = 0x00007ffc4dc63520   rbp = 0x00007ffc4dc636d0
    rsp = 0x00007ffc4dc63510   r12 = 0x000004a1313f3fb8
    r13 = 0x000004a130a2e100   r14 = 0x0000000000000001
    r15 = 0x000004a1313f3fa0   rip = 0x000060136e440002
    Found by: call frame info
 8  chrome!ash::WaylandServerController::WaylandWatcher::OnFileCanReadWithoutBlocking(int) [server.cc : 5278 + 0x7]
    rbx = 0x000004a1313f4060   rbp = 0x00007ffc4dc636f0
    rsp = 0x00007ffc4dc636e0   r12 = 0x000004a1313f4068
    r13 = 0x000004a130a2e100   r14 = 0x0000000000000051
    r15 = 0x0000000000000002   rip = 0x000060136ac011bb
    Found by: call frame info
 9  chrome!base::MessagePumpLibevent::OnLibeventNotification(int, short, void*) [message_pump_libevent.cc : 90 + 0x8]
    rbx = 0x0000601371599626   rbp = 0x00007ffc4dc637a0
    rsp = 0x00007ffc4dc63700   r12 = 0x000004a1313f4068
    r13 = 0x000004a130a2e100   r14 = 0x0000000000000051
    r15 = 0x0000000000000002   rip = 0x000060136bece1a7
    Found by: call frame info
10  chrome!event_base_loop [event.c : 381 + 0x9]
    rbx = 0x000004a13085ed40   rbp = 0x00007ffc4dc63840
    rsp = 0x00007ffc4dc637b0   r12 = 0x000004a13088fe18
    r13 = 0x000004a130a2e100   r14 = 0x0000000000000000
    r15 = 0x000004a13088f800   rip = 0x0000601369600c86
    Found by: call frame info
11  chrome!base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) [message_pump_libevent.cc : 247 + 0xa]
    rbx = 0x000004a13089ae00   rbp = 0x00007ffc4dc639b0
    rsp = 0x00007ffc4dc63850   r12 = 0x000004a1308eee40
    r13 = 0x0000000000000000   r14 = 0x00007ffc4dc63a00
    r15 = 0x0000000000000000   rip = 0x00006013695ff906
    Found by: call frame info
12  chrome!content::UtilityMain(content::MainFunctionParams const&) [run_loop.cc : 102 + 0x8]
    rbx = 0x00007ffc4dc639c0   rbp = 0x00007ffc4dc63c20
    rsp = 0x00007ffc4dc639c0   r12 = 0x00000000ffffffff
    r13 = 0x00007ffc4dc642a8   r14 = 0x00007ffc4dc63c50
    r15 = 0x0000000000000000   rip = 0x000060136ba9faf5
    Found by: call frame info
13  chrome!content::ContentMainRunnerImpl::Run() [content_main_runner_impl.cc : 648 + 0x4]
    rbx = 0x0000000000000020   rbp = 0x00007ffc4dc63e90
    rsp = 0x00007ffc4dc63c30   r12 = 0x00000000ffffffff
    r13 = 0x00007ffc4dc642a8   r14 = 0x00007ffc4dc64220
    r15 = 0x00007ffc4dc63c79   rip = 0x000060136babb89e
    Found by: call frame info
14  chrome!service_manager::Main(service_manager::MainParams const&) [main.cc : 459 + 0xa]
    rbx = 0x000004a13087bce0   rbp = 0x00007ffc4dc64200
    rsp = 0x00007ffc4dc63ea0   r12 = 0x00000000ffffffff
    r13 = 0x00007ffc4dc642a8   r14 = 0x0000000000000003
    r15 = 0x0000000000000000   rip = 0x000060136bac5335
    Found by: call frame info
15  chrome!ChromeMain [content_main.cc : 19 + 0x5]
 
Owner: jamescook@chromium.org
Status: Started (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, May 29 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/318d13c0410d8785315df7d3315bb8daedf63ef0

commit 318d13c0410d8785315df7d3315bb8daedf63ef0
Author: James Cook <jamescook@chromium.org>
Date: Tue May 29 20:32:20 2018

chromeos: Fix exo cursor crash with mash

Mash (out-of-process ash) doesn't have a CursorClient yet. We'll have
one in a few weeks as we switch to ws2 (window server as a library
built into ash), so just early exit on null.

Bug:  847557 ,  631103 
Test: chrome --enable-features=Mash can login on device
Change-Id: I3190785c218b455652151acad213fef94e85beec
Reviewed-on: https://chromium-review.googlesource.com/1077074
Reviewed-by: David Reveman <reveman@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562571}
[modify] https://crrev.com/318d13c0410d8785315df7d3315bb8daedf63ef0/components/exo/pointer.cc

Status: Fixed (was: Started)
Project Member

Comment 4 by bugdroid1@chromium.org, May 30 2018

Labels: merge-merged-release-R68-10718.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/b88bc42a7092d89e1f2b71dff3db4828356e9cda

commit b88bc42a7092d89e1f2b71dff3db4828356e9cda
Author: James Cook <jamescook@chromium.org>
Date: Wed May 30 16:35:54 2018

autotest: Disable desktopui_MashLogin on R68 branch

The test fails due to a known mash-only chrome crash that has been
fixed on trunk. Disable the test on the branch to reduce email spam
from the lab.

BUG= chromium:847557 
TEST=desktopui_MashLogin
TBR=xiyuan@chromium.org

Change-Id: I7d85a8c4319b5cebe091c27ead2f4b78cc0a5791
Reviewed-on: https://chromium-review.googlesource.com/1079371
Reviewed-by: James Cook <jamescook@chromium.org>
Tested-by: James Cook <jamescook@chromium.org>

[modify] https://crrev.com/b88bc42a7092d89e1f2b71dff3db4828356e9cda/client/site_tests/desktopui_MashLogin/control

Sign in to add a comment