New issue
Advanced search Search tips

Issue 758895 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Nov 20
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug

Blocking:
issue 770046



Sign in to add a comment

Check failed: used_width <= width

Project Member Reported by battre@chromium.org, Aug 25 2017

Issue description

I have the following DCHECK in views::StyledLabel::CalculateAndDoLayout:

[28162:28162:0825/112908.112313:FATAL:styled_label.cc(408)] Check failed: used_width <= width (327 vs. 326)
#0 0x7f6352898e9d base::debug::StackTrace::StackTrace()
#1 0x7f635289726c base::debug::StackTrace::StackTrace()
#2 0x7f63529277ca logging::LogMessage::~LogMessage()
#3 0x7f6346f5b653 views::StyledLabel::CalculateAndDoLayout()
#4 0x7f6346f5ba60 views::StyledLabel::GetHeightForWidth()
#5 0x561991126b88 autofill::PasswordGenerationPopupViewViews::GetPreferredSizeOfPasswordView()
#6 0x561991126c0c autofill::PasswordGenerationPopupViewViews::GetPreferredSizeOfPasswordView()
#7 0x561990ea0511 autofill::PasswordGenerationPopupControllerImpl::CalculateBounds()
#8 0x561990ea0b03 autofill::PasswordGenerationPopupControllerImpl::Show()
#9 0x56198dbb78c0 ChromePasswordManagerClient::ShowPasswordGenerationPopup()
#10 0x56198d137233 autofill::mojom::PasswordManagerClientStubDispatch::Accept()
#11 0x56198dbbb2d3 autofill::mojom::PasswordManagerClientStub<>::Accept()
#12 0x7f6350ec31eb mojo::InterfaceEndpointClient::HandleValidatedMessage()
#13 0x7f6350ec1ce1 mojo::InterfaceEndpointClient::HandleIncomingMessageThunk::Accept()
#14 0x7f6350ec001c mojo::FilterChain::Accept()
#15 0x7f6350ec5d51 mojo::InterfaceEndpointClient::HandleIncomingMessage()
#16 0x7f6350d86a25 IPC::(anonymous namespace)::ChannelAssociatedGroupController::AcceptOnProxyThread()
#17 0x7f6350d7dbaa _ZN4base8internal13FunctorTraitsIMN3IPC12_GLOBAL__N_132ChannelAssociatedGroupControllerEFvN4mojo7MessageEEvE6InvokeIRK13scoped_refptrIS4_EJS6_EEEvS8_OT_DpOT0_
#18 0x7f6350d7da6f _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN3IPC12_GLOBAL__N_132ChannelAssociatedGroupControllerEFvN4mojo7MessageEEJRK13scoped_refptrIS6_ES8_EEEvOT_DpOT0_
#19 0x7f6350d7d9df _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12_GLOBAL__N_132ChannelAssociatedGroupControllerEFvN4mojo7MessageEEJ13scoped_refptrIS5_ENS0_13PassedWrapperIS7_EEEEEFvvEE7RunImplIRKS9_RKNSt3__15tupleIJSB_SD_EEEJLm0ELm1EEEEvOT_OT0_NSK_16integer_sequenceImJXspT1_EEEE
#20 0x7f6350d7d89c _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12_GLOBAL__N_132ChannelAssociatedGroupControllerEFvN4mojo7MessageEEJ13scoped_refptrIS5_ENS0_13PassedWrapperIS7_EEEEEFvvEE3RunEPNS0_13BindStateBaseE
#21 0x7f63528443f1 _ZNO4base8CallbackIFvvELNS_8internal8CopyModeE0ELNS2_10RepeatModeE0EE3RunEv
#22 0x7f635289dae7 base::debug::TaskAnnotator::RunTask()
#23 0x7f63529513b3 base::MessageLoop::RunTask()
#24 0x7f6352951637 base::MessageLoop::DeferOrRunPendingTask()
#25 0x7f6352952324 base::MessageLoop::DoWork()
#26 0x7f63529597dc base::MessagePumpGlib::HandleDispatch()
#27 0x7f6352959f81 base::(anonymous namespace)::WorkSourceDispatch()
#28 0x7f633bf837f7 g_main_context_dispatch
#29 0x7f633bf83a60 <unknown>

xdpyinfo contains:
screen #0:
  dimensions:    3840x2160 pixels (1016x572 millimeters)
  resolution:    96x96 dots per inch

This is happening on a cinnamon desktop with 1.3 font scaling factor.
 
Components: UI>Browser>Passwords>Generation UI>Browser>Passwords
Owner: ----
Status: Untriaged (was: Assigned)
I am no longer working on passwords code, so punting back to untriaged to hopefully find a better owner.

Comment 2 by vabr@chromium.org, Oct 18 2017

Components: -UI>Browser>Passwords
Owner: dvadym@chromium.org
Status: Assigned (was: Untriaged)
Vadym, git blame tells me that you edited PasswordGenerationPopupViewViews::GetPreferredSizeOfPasswordView recently in r461415.

Could you please check if the DCHECK still reports this and whether it could be fixed?

Comment 3 by kolos@chromium.org, Jan 26 2018

Blocking: 770046
Status: WontFix (was: Assigned)
Generation prompt was redone. So this bug is obsolete for now.

Sign in to add a comment