FATAL:x11_util.cc(337)] Check failed: cursor_image->colorType() == kN32_SkColorType. |
||||||||||||
Issue descriptionVersion: 51.0.2688.0 (Developer Build) (64-bit) with dcheck_always_on=1 OS: Linux What steps will reproduce the problem? (1) browsing https://map.googleplex.com/?vlat=35.660378606042016&vlng=139.72917090388756&zoom=21&vlevel=44&q=TOK-RPG-44-09%20Hanamaki-Internal%20(6)%20GVC%20(No%20external%20guests)&lat=35.6604889465&lng=139.728715083&radius=263&searchtype=nearby&level=44 (2) (3) What is the expected output? What do you see instead? browser crashed. [10399:10399:0322/084507:FATAL:x11_util.cc(337)] Check failed: cursor_image->colorType() == kN32_SkColorType. (gdb) bt #0 0x00007fffeeee0cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007fffeeee40d8 in __GI_abort () at abort.c:89 #2 0x00007ffff7ebf402 in base::debug::BreakDebugger() () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libbase.so #3 0x00007ffff7ee095a in logging::LogMessage::~LogMessage() () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libbase.so #4 0x00007ffff6da8a30 in ui::SkBitmapToXcursorImage(SkBitmap const*, gfx::Point const&) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libui_base.so #5 0x00007ffff5763cf7 in content::WebCursor::GetPlatformCursor() () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #6 0x00007ffff5763a89 in content::WebCursor::GetNativeCursor() () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #7 0x00007ffff5af7181 in content::RenderWidgetHostViewAura::UpdateCursorIfOverSelf() () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #8 0x00007ffff5af7028 in content::RenderWidgetHostViewAura::UpdateCursor(content::WebCursor const&) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #9 0x00007ffff5aecf1f in content::RenderWidgetHostImpl::OnMessageReceived(IPC::Message const&) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #10 0x00007ffff5add2ce in content::RenderProcessHostImpl::OnMessageReceived(IPC::Message const&) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #11 0x00007ffff4e21e3e in IPC::ChannelProxy::Context::OnDispatchMessage(IPC::Message const&) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libipc.so #12 0x00007ffff7ec1e6c in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask const&) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libbase.so #13 0x00007ffff7eea27b in base::MessageLoop::RunTask(base::PendingTask const&) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libbase.so #14 0x00007ffff7eea598 in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libbase.so #15 0x00007ffff7eea7bb in base::MessageLoop::DoWork() () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libbase.so #16 0x00007ffff7eec95a in base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libbase.so #17 0x00007ffff1f0ee04 in g_main_dispatch (context=0x1e17adab840) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064 #18 g_main_context_dispatch (context=context@entry=0x1e17adab840) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663 #19 0x00007ffff1f0f048 in g_main_context_iterate ( context=context@entry=0x1e17adab840, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734 #20 0x00007ffff1f0f0ec in g_main_context_iteration (context=0x1e17adab840, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795 #21 0x00007ffff7eec6a6 in base::MessagePumpGlib::Run(base::MessagePump::Delegate*) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libbase.so #22 0x00007ffff7ee9dcc in base::MessageLoop::RunHandler() () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libbase.so #23 0x00007ffff7f1413c in base::RunLoop::Run() () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libbase.so #24 0x0000555555a7342f in ChromeBrowserMainParts::MainMessageLoopRun(int*) () #25 0x00007ffff5862268 in content::BrowserMainLoop::RunMainMessageLoopParts() () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #26 0x00007ffff5865648 in content::BrowserMainRunnerImpl::Run() () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #27 0x00007ffff585d78c in content::BrowserMain(content::MainFunctionParams const&) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #28 0x00007ffff61bd37b in content::RunNamedProcessTypeMain(std::string const&, content::MainFunctionParams const&, content::ContentMainDelegate*) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #29 0x00007ffff61bdde3 in content::ContentMainRunnerImpl::Run() () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #30 0x00007ffff61bc920 in content::ContentMain(content::ContentMainParams const&) () from /usr/local/google/home/ukai/src/chromium-git/src/out.0/Release/./libcontent.so #31 0x0000555555a2abf8 in ChromeMain () #32 0x00007fffeeecbec5 in __libc_start_main (main=0x555555a2aba0 <main>, argc=2, argv=0x7fffffffdb68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdb58) at libc-start.c:287 #33 0x0000555555a2aac1 in _start () Please use labels and text to provide additional information. https://chromium.googlesource.com/chromium/src/+/c80330da285c29734836b0a0c6213bf2716cf472
,
Jul 6 2016
did we change anything in this area recently?
,
Jul 6 2016
I've been touching native widget code, so will at least try to reproduce and triage.
,
Jul 6 2016
The test in c#1 is using .ico images, so this may be related to the recent lazy-ico work (https://codereview.chromium.org/2044093002).
,
Jul 6 2016
c#1 reproduces cleanly and easily. In the debugger, at the time of the crash we're seeing a cursor_image that is completely zeroed out, so colorType is unknown instead of the N32 we expect. After a few cursors fail to load, we stop crashing. It doesn't *consistently* reproduce when I have low-level breakpoints in the debugger, suggesting another thread at work - more evidence that it's lazy decoding? This seems to be a debug-only "problem": we get warnings out of the X server, but we properly load a custom cursor, perhaps after a few frames of delay. scroggo@ is out, so adding msarett@. Leaving it at priority 3; we don't expect to further diagnose or fix it any time soon.
,
Jul 6 2016
Thanks for the diagnose! Since it's debug-only I will just go ahead and ignore this issue.
,
Feb 9 2017
Why are we ignoring this because it's debug-only? This impacts my workflow because I have to comment out the DCHECK during development (I run with DCHECKs on.... because that is the point of DCHECKs). Can we remove the DCHECK if we are just ignoring it?
,
Feb 9 2017
Issue 640695 has been merged into this issue.
,
Feb 9 2017
My comment 7 was probably too inflammatory, sorry. I realized now that comment 6 is from a reporter of this bug, not someone who was assigned to it. However I indeed feel frustrated by the amount of DCHECKs that fail when running Chrome. I hit this going to a maps link, like the original bug report.
,
Feb 9 2017
Perhaps if this is a bad DCHECK (i.e. it is possible for it to fail), we should just temporarily remove it? This is also impacting my work, as I am consistently hitting this DCHECK while investigating another issue.
,
Feb 9 2017
That is fine with me. I'm not aware that anyone is actively investigating this bug.
,
Feb 9 2017
Sounds good to me, I can upload a patch with a todo referencing this bug.
,
Feb 9 2017
Thanks. Marking this bug as available.
,
Feb 20 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2cf716e4b8cecd7600fa3740a28fedb5269ab195 commit 2cf716e4b8cecd7600fa3740a28fedb5269ab195 Author: csharrison <csharrison@chromium.org> Date: Mon Feb 20 23:30:25 2017 Remove bad DCHECK in SkBitmapToXcursorImage This DCHECK can be triggered in the code, but it doesn't cause any major problems in production. This patch removes it in favor of a TODO. BUG= 596782 Review-Url: https://codereview.chromium.org/2686163002 Cr-Commit-Position: refs/heads/master@{#451671} [modify] https://crrev.com/2cf716e4b8cecd7600fa3740a28fedb5269ab195/ui/base/x/x11_util.cc
,
Feb 27 2017
I believe this is fixed with #14, so closing this out.
,
Feb 27 2017
Let's keep it open. The code that landed includes a TODO referencing this bug. The underlying issue should still be investigated and fixed, and the DCHECK re-added if possible.
,
Mar 9 2018
Un-cc-ing me from all bugs on my final day.
,
Sep 13
Archiving old bugs that haven't been actively assigned in over 180 days. If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks! |
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by chongz@chromium.org
, Jul 5 2016