New issue
Advanced search Search tips

Issue 772745 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

FATAL:lock_impl_posix.cc(63)] Check failed: rv == 0 (22 vs. 0). Invalid argument

Reported by kenorb@gmail.com, Oct 8 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3235.0 Safari/537.36

Steps to reproduce the problem:
I've tried to login to Chromium account from the Settings page.

What is the expected behavior?

What went wrong?
[79496:1547:1008/205559.503516:FATAL:lock_impl_posix.cc(63)] Check failed: rv == 0 (22 vs. 0). Invalid argument
0   libbase.dylib                       0x000000010467d56e base::debug::StackTrace::StackTrace(unsigned long) + 174
1   libbase.dylib                       0x000000010467d62d base::debug::StackTrace::StackTrace(unsigned long) + 29
2   libbase.dylib                       0x000000010467b8dc base::debug::StackTrace::StackTrace() + 28
3   libbase.dylib                       0x000000010471483f logging::LogMessage::~LogMessage() + 479
4   libbase.dylib                       0x00000001047121a5 logging::LogMessage::~LogMessage() + 21
5   libbase.dylib                       0x00000001048d8dbe base::internal::LockImpl::Lock() + 270
6   libbase.dylib                       0x0000000104614aa3 base::Lock::Acquire() + 35
7   libbase.dylib                       0x0000000104614a73 base::AutoLock::AutoLock(base::Lock&) + 35
8   libbase.dylib                       0x000000010461475d base::AutoLock::AutoLock(base::Lock&) + 29
9   libbase.dylib                       0x000000010486d63d base::SequenceCheckerImpl::CalledOnValidSequence() const + 61
10  libbase.dylib                       0x00000001048d1db4 base::SupportsUserData::GetUserData(void const*) const + 68
11  libchrome_dll.dylib                 0x000000010f4d8f5b content::WebContentsUserData<web_modal::WebContentsModalDialogManager>::FromWebContents(content::WebContents*) + 219
12  libchrome_dll.dylib                 0x00000001167e74fc SigninViewControllerDelegate::~SigninViewControllerDelegate() + 60
13  libchrome_dll.dylib                 0x0000000116b241e3 SigninViewControllerDelegateMac::~SigninViewControllerDelegateMac() + 547
14  libchrome_dll.dylib                 0x0000000116b24205 SigninViewControllerDelegateMac::~SigninViewControllerDelegateMac() + 21
15  libchrome_dll.dylib                 0x0000000116b24269 SigninViewControllerDelegateMac::~SigninViewControllerDelegateMac() + 25
16  libchrome_dll.dylib                 0x0000000116b2431e SigninViewControllerDelegateMac::CleanupAndDeleteThis() + 62
17  libchrome_dll.dylib                 0x0000000116b242d9 SigninViewControllerDelegateMac::OnConstrainedWindowClosed(ConstrainedWindowMac*) + 25
18  libchrome_dll.dylib                 0x0000000116987a40 ConstrainedWindowMac::OnDialogClosing() + 48
19  libchrome_dll.dylib                 0x0000000116b339d0 SingleWebContentsDialogManagerCocoa::Close() + 160
20  libchrome_dll.dylib                 0x0000000116987a00 ConstrainedWindowMac::CloseWebContentsModalDialog() + 48
21  libchrome_dll.dylib                 0x0000000116b255e7 SigninViewControllerDelegateMac::PerformClose() + 215
22  libchrome_dll.dylib                 0x00000001167e7616 SigninViewControllerDelegate::CloseModalSignin() + 38
23  libchrome_dll.dylib                 0x00000001167e6d99 SigninViewController::CloseModalSignin() + 73
24  libchrome_dll.dylib                 0x00000001167fbe94 InlineLoginHandler::HandleDialogClose(base::ListValue const*) + 68
25  libchrome_dll.dylib                 0x00000001167fdd00 void base::internal::FunctorTraits<void (InlineLoginHandler::*)(base::ListValue const*), void>::Invoke<InlineLoginHandler*, base::ListValue const*>(void (InlineLoginHandler::*)(base::ListValue const*), InlineLoginHandler*&&, base::ListValue const*&&) + 144
26  libchrome_dll.dylib                 0x00000001167fdc2f void base::internal::InvokeHelper<false, void>::MakeItSo<void (InlineLoginHandler::* const&)(base::ListValue const*), InlineLoginHandler*, base::ListValue const*>(void (InlineLoginHandler::* const&&&)(base::ListValue const*), InlineLoginHandler*&&, base::ListValue const*&&) + 95
27  libchrome_dll.dylib                 0x00000001167fdba3 void base::internal::Invoker<base::internal::BindState<void (InlineLoginHandler::*)(base::ListValue const*), base::internal::UnretainedWrapper<InlineLoginHandler> >, void (base::ListValue const*)>::RunImpl<void (InlineLoginHandler::* const&)(base::ListValue const*), std::__1::tuple<base::internal::UnretainedWrapper<InlineLoginHandler> > const&, 0ul>(void (InlineLoginHandler::* const&&&)(base::ListValue const*), std::__1::tuple<base::internal::UnretainedWrapper<InlineLoginHandler> > const&&&, std::__1::integer_sequence<unsigned long, 0ul>, base::ListValue const*&&) + 115
28  libchrome_dll.dylib                 0x00000001167fdad4 base::internal::Invoker<base::internal::BindState<void (InlineLoginHandler::*)(base::ListValue const*), base::internal::UnretainedWrapper<InlineLoginHandler> >, void (base::ListValue const*)>::Run(base::internal::BindStateBase*, base::ListValue const*&&) + 68
29  libcontent.dylib                    0x0000000126e997ce base::RepeatingCallback<void (base::ListValue const*)>::Run(base::ListValue const*) const + 94
30  libcontent.dylib                    0x0000000126e996b0 content::WebUIImpl::ProcessWebUIMessage(GURL const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::ListValue const&) + 1152
31  libcontent.dylib                    0x0000000126e96746 content::WebUIImpl::OnWebUISend(GURL const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::ListValue const&) + 422
32  libcontent.dylib                    0x0000000126e9abbe void base::DispatchToMethodImpl<content::WebUIImpl*, void (content::WebUIImpl::*)(GURL const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::ListValue const&), std::__1::tuple<GURL, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, base::ListValue>, 0ul, 1ul, 2ul>(content::WebUIImpl* const&, void (content::WebUIImpl::*)(GURL const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::ListValue const&), std::__1::tuple<GURL, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, base::ListValue>&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul>) + 254
33  libcontent.dylib                    0x0000000126e9aab0 void base::DispatchToMethod<content::WebUIImpl*, void (content::WebUIImpl::*)(GURL const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::ListValue const&), std::__1::tuple<GURL, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, base::ListValue> >(content::WebUIImpl* const&, void (content::WebUIImpl::*)(GURL const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::ListValue const&), std::__1::tuple<GURL, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, base::ListValue>&&) + 96
34  libcontent.dylib                    0x0000000126e9a935 void IPC::DispatchToMethod<content::WebUIImpl, void (content::WebUIImpl::*)(GURL const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::ListValue const&), void, std::__1::tuple<GURL, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, base::ListValue> >(content::WebUIImpl*, void (content::WebUIImpl::*)(GURL const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::ListValue const&), void*, std::__1::tuple<GURL, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, base::ListValue>&&) + 117
35  libcontent.dylib                    0x0000000126e96519 bool IPC::MessageT<ViewHostMsg_WebUISend_Meta, std::__1::tuple<GURL, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, base::ListValue>, void>::Dispatch<content::WebUIImpl, content::WebUIImpl, void, void (content::WebUIImpl::*)(GURL const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::ListValue const&)>(IPC::Message const*, content::WebUIImpl*, content::WebUIImpl*, void*, void (content::WebUIImpl::*)(GURL const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::ListValue const&)) + 841
36  libcontent.dylib                    0x0000000126e961a8 content::WebUIImpl::OnMessageReceived(IPC::Message const&) + 120
37  libcontent.dylib                    0x0000000126dd9eee content::WebContentsImpl::OnMessageReceived(content::RenderViewHostImpl*, IPC::Message const&) + 126
38  libcontent.dylib                    0x00000001269114ab content::RenderViewHostImpl::OnMessageReceived(IPC::Message const&) + 219
39  libcontent.dylib                    0x000000012692593a content::RenderWidgetHostImpl::OnMessageReceived(IPC::Message const&) + 234
40  libcontent.dylib                    0x000000012689cdb0 content::RenderProcessHostImpl::OnMessageReceived(IPC::Message const&) + 960
41  libipc.dylib                        0x0000000107625cd8 IPC::ChannelProxy::Context::OnDispatchMessage(IPC::Message const&) + 152
42  libipc.dylib                        0x000000010762cf2f void base::internal::FunctorTraits<void (IPC::ChannelProxy::Context::*)(IPC::Message const&), void>::Invoke<scoped_refptr<IPC::ChannelProxy::Context> const&, IPC::Message const&>(void (IPC::ChannelProxy::Context::*)(IPC::Message const&), scoped_refptr<IPC::ChannelProxy::Context> const&&&, IPC::Message const&&&) + 143
43  libipc.dylib                        0x000000010762ce2f void base::internal::InvokeHelper<false, void>::MakeItSo<void (IPC::ChannelProxy::Context::* const&)(IPC::Message const&), scoped_refptr<IPC::ChannelProxy::Context> const&, IPC::Message const&>(void (IPC::ChannelProxy::Context::* const&&&)(IPC::Message const&), scoped_refptr<IPC::ChannelProxy::Context> const&&&, IPC::Message const&&&) + 95
44  libipc.dylib                        0x000000010762cdbd void base::internal::Invoker<base::internal::BindState<void (IPC::ChannelProxy::Context::*)(IPC::Message const&), scoped_refptr<IPC::ChannelProxy::Context>, IPC::Message>, void ()>::RunImpl<void (IPC::ChannelProxy::Context::* const&)(IPC::Message const&), std::__1::tuple<scoped_refptr<IPC::ChannelProxy::Context>, IPC::Message> const&, 0ul, 1ul>(void (IPC::ChannelProxy::Context::* const&&&)(IPC::Message const&), std::__1::tuple<scoped_refptr<IPC::ChannelProxy::Context>, IPC::Message> const&&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>) + 125
45  libipc.dylib                        0x000000010762cccc base::internal::Invoker<base::internal::BindState<void (IPC::ChannelProxy::Context::*)(IPC::Message const&), scoped_refptr<IPC::ChannelProxy::Context>, IPC::Message>, void ()>::Run(base::internal::BindStateBase*) + 44
46  libbase.dylib                       0x000000010461b16f base::OnceCallback<void ()>::Run() && + 95
47  libbase.dylib                       0x000000010467fba4 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 884
48  libbase.dylib                       0x000000010475ea46 base::internal::IncomingTaskQueue::RunTask(base::PendingTask*) + 246
49  libbase.dylib                       0x0000000104766d05 base::MessageLoop::RunTask(base::PendingTask*) + 901
50  libbase.dylib                       0x0000000104767257 base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) + 71
51  libbase.dylib                       0x00000001047680b4 base::MessageLoop::DoWork() + 564
52  libbase.dylib                       0x0000000104778d42 base::MessagePumpCFRunLoopBase::RunWork() + 98
53  libbase.dylib                       0x0000000104778ccc ___ZN4base24MessagePumpCFRunLoopBase13RunWorkSourceEPv_block_invoke + 28
54  libbase.dylib                       0x000000010471987a base::mac::CallWithEHFrame(void () block_pointer) + 10
55  libbase.dylib                       0x0000000104777b95 base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 101
56  CoreFoundation                      0x00007fffb1a39551 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
57  CoreFoundation                      0x00007fffb1a1a6bd __CFRunLoopDoSources0 + 557
58  CoreFoundation                      0x00007fffb1a19bb6 __CFRunLoopRun + 934
59  CoreFoundation                      0x00007fffb1a195b4 CFRunLoopRunSpecific + 420
60  HIToolbox                           0x00007fffb0fbaf6c RunCurrentEventLoopInMode + 240
61  HIToolbox                           0x00007fffb0fbaca9 ReceiveNextEventCommon + 184

Crashed report ID: 

How much crashed? Whole browser

Is it a problem with a plugin? No 

Did this work before? N/A 

Chrome version: e7f0416cefe3af6fee4921a25611b0af4cedf868  Channel: canary
OS Version: OS X 10.12.0
Flash Version:
 

Comment 1 Deleted

Comment 2 Deleted

Comment 3 by kenorb@gmail.com, Oct 8 2017

Related  Issue 712556 ?

Comment 4 Deleted

Comment 5 by kenorb@gmail.com, Oct 8 2017

My build has commit from  Issue 771872 , but it's still crashing.

Comment 6 Deleted

Labels: Needs-Triage-M63
Labels: Needs-Feedback
Tested this issue on Mac OS X 10.12.6 using chrome canary #63.0.3235.0 and unable to reproduce the issue.

Steps that included are:
-----------------------
1.opened Settings page
2.tried to log in with my chromium account and Observed login successful,no crash is seen.

kenorb@ Could you please confirm whether the build is Debug build or canary build.

Thanks..!


Comment 9 by kenorb@gmail.com, Oct 9 2017

I've followed steps from mac_build_instructions.md, so I believe it's a Debug build.
Project Member

Comment 10 by sheriffbot@chromium.org, Oct 9 2017

Cc: rkalavakuntla@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "rkalavakuntla@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: UI
Labels: TE-NeedsTraige-help
Seems it is out of scope from TE end as it is debug build related issue, adding TE-NeedsTraige-help label to move this out of our triaging bucket.

Could someone from dev team please take a look into this issue.
Thanks..!

Comment 12 by kenorb@gmail.com, Oct 11 2017

It is crashing the browser. Otherwise, is there any workaround to ignore Fatal errors which results in closing the web browser each time it happens?

Comment 13 by a...@chromium.org, Oct 11 2017

Owner: a...@chromium.org
Status: Started (was: Unconfirmed)
Repro:

1. Go to the settings page
2. Click "Sign into Chromium"
3. Click the X in the upper left

Definitely mine. Taking.
Project Member

Comment 14 by bugdroid1@chromium.org, Oct 12 2017

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

commit ffc55b2b3676fdc290f8ccfcaa41ebf8be02381b
Author: Avi Drissman <avi@chromium.org>
Date: Thu Oct 12 03:24:19 2017

Don't do work in ~SigninViewControllerDelegate().

It's not clear what the control flow is here, and previous
attempts to do the right thing by deregistering in it have
yielded crashes.

For now, do a partial revert of 0ff0ce07098193d46000c413a8ef976bc5ee493d,
keeping the change in WebContentsModalDialogManager::WillClose().
That change should prevent the original crash that this was
intended to address.

BUG= 772745 , 771872 ,771142

Change-Id: I34fe8615a758fd12e1c8817651937009261d0b08
Reviewed-on: https://chromium-review.googlesource.com/707199
Reviewed-by: Mike Wittman <wittman@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508244}
[modify] https://crrev.com/ffc55b2b3676fdc290f8ccfcaa41ebf8be02381b/chrome/browser/ui/signin_view_controller_delegate.cc

Comment 15 by a...@chromium.org, Oct 12 2017

Status: Fixed (was: Started)

Sign in to add a comment