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

Issue 687319 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Aug 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

DCHECK on middle click in textarea of http://crbug.com/new

Project Member Reported by rouslan@chromium.org, Jan 31 2017

Issue description

Chrome Version       : 58.0.2999.0
OS: Linux
URLs (if applicable) : http://crbug.com/new

What steps will reproduce the problem?
1. Build Chrome with this GN config:
 is_debug = true
 is_component_build = true
 is_clang = true
2. Open http://crbug.com/new
3. Middle click in a textarea (to paste a stack trace, for example)

What is the expected result?
Paste happens

What happens instead of that?
[41462:41462:0131/164308.946793:FATAL:cursor_loader_x11.cc(39)] Check failed: false. There's no middle-click panning on Linux or ChromeOS
#0 0x7f13be8bdb9b base::debug::StackTrace::StackTrace()
#1 0x7f13be8bc1dc base::debug::StackTrace::StackTrace()
#2 0x7f13be929f6f logging::LogMessage::~LogMessage()
#3 0x7f13bb9dcad6 (anonymous namespace)::CursorCssNameFromId()
#4 0x7f13bb9dc38e ui::CursorLoaderX11::CursorFromId()
#5 0x7f13bb9dc310 ui::CursorLoaderX11::SetPlatformCursor()
#6 0x7f13b3a391d7 views::DesktopNativeCursorManager::SetCursor()
#7 0x7f13b1bbfd6f wm::CursorManager::SetCursor()
#8 0x7f13b864286a content::RenderWidgetHostViewAura::UpdateCursorIfOverSelf()
#9 0x7f13b8642545 content::RenderWidgetHostViewAura::UpdateCursor()
#10 0x7f13b8615fbc content::RenderWidgetHostImpl::SetCursor()
#11 0x7f13b8611292 content::RenderWidgetHostImpl::OnSetCursor()
#12 0x7f13b86271ad _ZN4base20DispatchToMethodImplIPN7content20RenderWidgetHostImplEMS2_FvRKNS1_9WebCursorEERKSt5tupleIJS4_EEJLm0EEEEvRKT_T0_OT1_NS_13IndexSequenceIJXspT2_EEEE
#13 0x7f13b8627100 _ZN4base16DispatchToMethodIPN7content20RenderWidgetHostImplEMS2_FvRKNS1_9WebCursorEERKSt5tupleIJS4_EEEEvRKT_T0_OT1_
#14 0x7f13b862707f _ZN3IPC16DispatchToMethodIN7content20RenderWidgetHostImplEMS2_FvRKNS1_9WebCursorEEvSt5tupleIJS3_EEEEvPT_T0_PT1_RKT2_
#15 0x7f13b861d65b _ZN3IPC8MessageTI26ViewHostMsg_SetCursor_MetaSt5tupleIJN7content9WebCursorEEEvE8DispatchINS3_20RenderWidgetHostImplES8_vMS8_FvRKS4_EEEbPKNS_7MessageEPT_PT0_PT1_T2_
#16 0x7f13b860f476 content::RenderWidgetHostImpl::OnMessageReceived()
#17 0x7f13b85befbb content::RenderProcessHostImpl::OnMessageReceived()
#18 0x7f13bcd96698 IPC::ChannelProxy::Context::OnDispatchMessage()
#19 0x7f13bcd9c43f _ZN4base8internal13FunctorTraitsIMN3IPC12ChannelProxy7ContextEFvRKNS2_7MessageEEvE6InvokeIRK13scoped_refptrIS4_EJS7_EEEvS9_OT_DpOT0_
#20 0x7f13bcd9c326 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN3IPC12ChannelProxy7ContextEFvRKNS4_7MessageEEJRK13scoped_refptrIS6_ES9_EEEvOT_DpOT0_
#21 0x7f13bcd9c2b3 _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12ChannelProxy7ContextEFvRKNS3_7MessageEEJ13scoped_refptrIS5_ES6_EEEFvvEE7RunImplIRKSA_RKSt5tupleIJSC_S6_EEJLm0ELm1EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
#22 0x7f13bcd9c1cc _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12ChannelProxy7ContextEFvRKNS3_7MessageEEJ13scoped_refptrIS5_ES6_EEEFvvEE3RunEPNS0_13BindStateBaseE
#23 0x7f13be8c3971 _ZNO4base8internal8RunMixinINS_8CallbackIFvvELNS0_8CopyModeE0ELNS0_10RepeatModeE0EEEE3RunEv
#24 0x7f13be8c3362 base::debug::TaskAnnotator::RunTask()
#25 0x7f13be94e7af base::MessageLoop::RunTask()
#26 0x7f13be94ea34 base::MessageLoop::DeferOrRunPendingTask()
#27 0x7f13be94ed1e base::MessageLoop::DoWork()
#28 0x7f13be966bac base::MessagePumpGlib::HandleDispatch()
#29 0x7f13be967351 base::(anonymous namespace)::WorkSourceDispatch()
#30 0x7f13ad78ee04 g_main_context_dispatch
#31 0x7f13ad78f048 <unknown>
#32 0x7f13ad78f0ec g_main_context_iteration
#33 0x7f13be966caf base::MessagePumpGlib::Run()
#34 0x7f13be94e357 base::MessageLoop::RunHandler()
#35 0x7f13be9f189a base::RunLoop::Run()
#36 0x7f13c120ef2e ChromeBrowserMainParts::MainMessageLoopRun()
#37 0x7f13b7cf1b98 content::BrowserMainLoop::RunMainMessageLoopParts()
#38 0x7f13b7d007e6 content::BrowserMainRunnerImpl::Run()
#39 0x7f13b7ceb008 content::BrowserMain()
#40 0x7f13b94bd316 content::RunNamedProcessTypeMain()
#41 0x7f13b94bf72c content::ContentMainRunnerImpl::Run()
#42 0x7f13b94bc482 content::ContentMain()
#43 0x7f13bf9c070a ChromeMain
#44 0x7f13bf9c0632 main
#45 0x7f13aab7cf45 __libc_start_main
#46 0x7f13bf9c0535 <unknown>

Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.2999.0 Safari/537.36

A DCHECK should be used for conditions that cannot happen and should not be handled. Since this DCHECK was hit, its condition can happen, and therefore should be handled.
 
Labels: TE-NeedsTriageHelp
Labels: Needs-Feedback
I can't seem to repro this in a clean build of chromium with the gn args specified above. 
Try these additional flags:
  dcheck_always_on = true
  symbol_level = 1

Does your clipboard have anything in it? On Linux, you can select something to copy it.

I was in fluxbox window manager, but not sure if that played a role. Just in case, here's my fluxbox config: https://github.com/rsolomakhin/dotfiles/tree/master/fluxbox.
Project Member

Comment 4 by sheriffbot@chromium.org, Feb 9 2017

Labels: -Needs-Feedback Needs-Review
Owner: nainar@chromium.org
Thank you for providing more feedback. Adding requester "nainar@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-TestConfirmation

Comment 6 by nainar@chromium.org, Feb 14 2017

Status: Available (was: Unconfirmed)
Yup. Can repro this. Marking this as Triaged. 

Comment 7 by nainar@chromium.org, Feb 14 2017

Owner: ----

Comment 8 by nainar@chromium.org, Feb 14 2017

Labels: -Needs-TestConfirmation -Needs-Review Hotlist-Polish

Comment 9 by nainar@chromium.org, Feb 14 2017

Labels: Update-Quarterly

Comment 10 by suzyh@chromium.org, Mar 27 2017

Labels: -Update-Quarterly Update-Monthly
Owner: nainar@chromium.org
Status: Assigned (was: Available)
Why is this a Blink>CSS issue? It also sounds like a higher update frequency is warranted.

Comment 11 by suzyh@chromium.org, Mar 27 2017

Cc: suzyh@chromium.org
The DCHECK is in CursorCssNameFromId. Is there a better component for it?

Comment 13 by suzyh@chromium.org, Mar 27 2017

The CursorCssNameFromId function is in src/ui/base, and nothing in the stack trace above suggests Blink code (which is src/third_party/WebKit), so it's not clear to me that this issue is the responsibility of the Blink Style team.
Cc: nainar@chromium.org
Owner: ----
Status: Available (was: Assigned)

Comment 15 by suzyh@chromium.org, Mar 28 2017

Components: -Blink>CSS
Labels: -Update-Monthly -TE-NeedsTriageHelp
Status: Untriaged (was: Available)
Having consulted with the Blink Style team re comment #13, removing Blink>CSS and sending this back to Untriaged for the attention of the UI component.

Comment 16 by suzyh@chromium.org, Jun 13 2017

Cc: -suzyh@chromium.org
Status: Archived (was: Untriaged)
Archiving old bugs that haven't been actively assigned in over a year.

If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks!

Archiving old bugs that haven't been actively assigned in over a year.

If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks!
Archiving old bugs that haven't been actively assigned in over a year.

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