Issue metadata
Sign in to add a comment
|
Chrome: Crash Report - base::BasicStringPiece<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::BasicStringPiece<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > |
||||||||||||||||||||||
Issue description**Getting 400 Error when creating the bug via g/chromecrash.** Crash id: 5232aa3900000000 Stack trace: ============ Thread 11 CRASHED [EXCEPTION_ACCESS_VIOLATION_READ @ 0x00000268 ] MAGIC SIGNATURE THREAD 0x0fa8132a (chrome.dll -string_piece.h:186 ) base::BasicStringPiece<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::BasicStringPiece<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >(std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &) 0x11b96a19 (chrome.dll -autofill_wallet_metadata_syncable_service.cc:203 ) autofill::`anonymous namespace'::GetServerId<autofill::AutofillProfile> 0x11b97a5e (chrome.dll -autofill_wallet_metadata_syncable_service.cc:411 ) autofill::AutofillWalletMetadataSyncableService::GetLocalData(base::ScopedPtrHashMap<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::unique_ptr<autofill::AutofillProfile,std::default_delete<autofill::AutofillProfile> > > *,base::ScopedPtrHashMap<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::unique_ptr<autofill::CreditCard,std::default_delete<autofill::CreditCard> > > *) 0x11b97bdf (chrome.dll -autofill_wallet_metadata_syncable_service.cc:453 ) autofill::AutofillWalletMetadataSyncableService::MergeData(std::vector<syncer::SyncData,std::allocator<syncer::SyncData> > const &) 0x11b97f33 (chrome.dll -autofill_wallet_metadata_syncable_service.cc:228 ) autofill::AutofillWalletMetadataSyncableService::MergeDataAndStartSyncing(syncer::ModelType,std::vector<syncer::SyncData,std::allocator<syncer::SyncData> > const &,std::unique_ptr<syncer::SyncChangeProcessor,std::default_delete<syncer::SyncChangeProcessor> >,std::unique_ptr<syncer::SyncErrorFactory,std::default_delete<syncer::SyncErrorFactory> >) 0x11ac069c (chrome.dll -shared_change_processor.cc:121 ) syncer::SharedChangeProcessor::StartAssociation(base::Callback<void ,1,1>,syncer::SyncClient * const,syncer::UserShare *,std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> >) 0x11ab94f1 (chrome.dll -bind_internal.h:214 ) base::internal::FunctorTraits<void ( syncer::SharedChangeProcessor::*)(base::Callback<void ,1,1>,syncer::SyncClient *,syncer::UserShare *,std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> >),void>::Invoke<scoped_refptr<syncer::SharedChangeProcessor> const &,base::Callback<void ,1,1> const &,syncer::SyncClient * const &,syncer::UserShare * const &,std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> > >(void ( syncer::SharedChangeProcessor::*)(base::Callback<void ,1,1>,syncer::SyncClient *,syncer::UserShare *,std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> >),scoped_refptr<syncer::SharedChangeProcessor> const &,base::Callback<void ,1,1> const &,syncer::SyncClient * const &,syncer::UserShare * const &,std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> > &&) 0x11ab953c (chrome.dll -bind_internal.h:361 ) base::internal::Invoker<base::internal::BindState<void ( syncer::SharedChangeProcessor::*)(base::Callback<void ,1,1>,syncer::SyncClient *,syncer::UserShare *,std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> >),scoped_refptr<syncer::SharedChangeProcessor>,base::Callback<void ,1,1>,syncer::SyncClient *,syncer::UserShare *,base::internal::PassedWrapper<std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> > > >,void >::RunImpl<void ( syncer::SharedChangeProcessor::*const &)(base::Callback<void ,1,1>,syncer::SyncClient *,syncer::UserShare *,std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> >),std::tuple<scoped_refptr<syncer::SharedChangeProcessor>,base::Callback<void ,1,1>,syncer::SyncClient *,syncer::UserShare *,base::internal::PassedWrapper<std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> > > > const &,0,1,2,3,4>(void ( syncer::SharedChangeProcessor::*const &)(base::Callback<void ,1,1>,syncer::SyncClient *,syncer::UserShare *,std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> >),std::tuple<scoped_refptr<syncer::SharedChangeProcessor>,base::Callback<void ,1,1>,syncer::SyncClient *,syncer::UserShare *,base::internal::PassedWrapper<std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> > > > const &,base::IndexSequence<0,1,2,3,4>) 0x11aba1cd (chrome.dll -bind_internal.h:339 ) base::internal::Invoker<base::internal::BindState<void ( syncer::SharedChangeProcessor::*)(base::Callback<void ,1,1>,syncer::SyncClient *,syncer::UserShare *,std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> >),scoped_refptr<syncer::SharedChangeProcessor>,base::Callback<void ,1,1>,syncer::SyncClient *,syncer::UserShare *,base::internal::PassedWrapper<std::unique_ptr<syncer::DataTypeErrorHandler,std::default_delete<syncer::DataTypeErrorHandler> > > >,void >::Run(base::internal::BindStateBase *) 0x0fb2cbb8 (chrome.dll -task_annotator.cc:52 ) base::debug::TaskAnnotator::RunTask(char const *,base::PendingTask *) 0x0faab49e (chrome.dll -message_loop.cc:413 ) base::MessageLoop::RunTask(base::PendingTask *) 0x0faac644 (chrome.dll -message_loop.cc:515 ) base::MessageLoop::DoWork() 0x0fb2ead9 (chrome.dll -message_pump_default.cc:35 ) base::MessagePumpDefault::Run(base::MessagePump::Delegate *) 0x0fb02b98 (chrome.dll -run_loop.cc:35 ) base::RunLoop::Run() 0x0fae0574 (chrome.dll -thread.cc:245 ) base::Thread::Run(base::RunLoop *) 0x10354802 (chrome.dll -browser_thread_impl.cc:221 ) content::BrowserThreadImpl::DBThreadRun(base::RunLoop *) 0x10355220 (chrome.dll -browser_thread_impl.cc:278 ) content::BrowserThreadImpl::Run(base::RunLoop *) 0x0fae08e7 (chrome.dll -thread.cc:333 ) base::Thread::ThreadMain() 0x0fa9d8fe (chrome.dll -platform_thread_win.cc:84 ) base::`anonymous namespace'::ThreadFunc 0x77d66393 (KERNEL32.DLL + 0x00016393 ) BaseThreadInitThunk 0x77e902fa (ntdll.dll + 0x000602fa ) __RtlUserThreadStart 0x77e902ca (ntdll.dll + 0x000602ca ) _RtlUserThreadStart Link to to the list of the builds: ================================== https://crash.corp.google.com/browse?q=custom_data.ChromeCrashProto.ptype%3D%27browser%27%20AND%20custom_data.ChromeCrashProto.magic_signature_1.name%3D%27base%3A%3ABasicStringPiece%3Cstd%3A%3Abasic_string%3Cchar%2Cstd%3A%3Achar_traits%3Cchar%3E%2Cstd%3A%3Aallocator%3Cchar%3E%20%3E%20%3E%3A%3ABasicStringPiece%3Cstd%3A%3Abasic_string%3Cchar%2Cstd%3A%3Achar_traits%3Cchar%3E%2Cstd%3A%3Aallocator%3Cchar%3E%20%3E%20%3E%27%20AND%20product.name%3D%27Chrome%27&ignore_case=false&enable_rewrite=true&omit_field_name=&omit_field_value=&omit_field_opt=%3D#samplereports:5,productversion:1000 Note: ===== 1. This has spiked in the latest canary(56.0.2896.0 - 24 crashes from 22 clients on canary live for 2 hours) on Windows and is #1 browser crash. Considering below as the changelog: ==================================== https://chromium.googlesource.com/chromium/src/+log/56.0.2895.0..56.0.2896.0?pretty=fuller&n=10000 Suspecting: https://chromiumcodereview.appspot.com/2403773002 for 'autofill_wallet_metadata_syncable_service.cc' related changes. avi@: Please take a look at these crashes. Thanks in advance!
,
Oct 20 2016
,
Oct 20 2016
Workaround if you're blocked: Start Canary with a new profile (e.g. canary --user-data-dir=C:\temp3) so that you don't have any stored credit cards.
,
Oct 20 2016
Issue 657873 has been merged into this issue.
,
Oct 20 2016
Underfined parameter evaluation at https://cs.chromium.org/chromium/src/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc?rcl=1476847656&l=411 unique_ptr dereference and std::move in the same parameter list. Fix is at https://chromiumcodereview.appspot.com/2437123002
,
Oct 20 2016
Avi, I've picked this up.
,
Oct 20 2016
rogerm@, thank you for the quick fix. Could you please merge this fix to 2896 branch once it has been landed? We are planning to create a back-up build for tomorrow's dev release just in case tonight's canary is unstable. Repro Steps: ============= Just update Chrome to latest Canary with user data contains 'Autofill' information. Then the chrome is crashing each time we launch. Thanks again!
,
Oct 20 2016
,
Oct 20 2016
Issue 657907 has been merged into this issue.
,
Oct 20 2016
,
Oct 20 2016
once the panic is over it would be good to see some sort of analysis/postmortem as to why this was not detected in our test coverage, and how we can improve this in the future.
,
Oct 20 2016
Issue 657928 has been merged into this issue.
,
Oct 20 2016
Issue 657801 has been merged into this issue.
,
Oct 20 2016
Unrestricting view.
,
Oct 20 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/884c98b01d2daebaa2f519300d3f64b2850f31fe commit 884c98b01d2daebaa2f519300d3f64b2850f31fe Author: rogerm <rogerm@chromium.org> Date: Thu Oct 20 19:03:13 2016 Dereference and std::move in same param list == top crasher Fix a top crasher (2016/10/20) caused by defer of a unique_ptr and a std::move of the same unique_ptr in the same parameter list. The order of evalulation is unspecified, so this is unsafe. BUG= 657778 R=ajha@chromium.org, avi@chromium.org Review-Url: https://chromiumcodereview.appspot.com/2437123002 Cr-Commit-Position: refs/heads/master@{#426553} [modify] https://crrev.com/884c98b01d2daebaa2f519300d3f64b2850f31fe/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc
,
Oct 20 2016
,
Oct 20 2016
Your change meets the bar and is auto-approved for M55 (branch: 2883)
,
Oct 20 2016
Sorry, my bad. I need to merge to 2896 branch (see comment #7 above), and I thought it was m55. It is actually m56. So I won't merge this to m55.
,
Oct 20 2016
Reg c#18: Yes please. More over you do not need any merge approval for 2896 branch, since it is yet to be branched officially.
,
Oct 20 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/99267e28b9e6977de841fef3d3ee62f8d028718a commit 99267e28b9e6977de841fef3d3ee62f8d028718a Author: Roger Tawa <rogerta@google.com> Date: Thu Oct 20 19:36:37 2016 Dereference and std::move in same param list == top crasher Fix a top crasher (2016/10/20) caused by defer of a unique_ptr and a std::move of the same unique_ptr in the same parameter list. The order of evalulation is unspecified, so this is unsafe. BUG= 657778 R=ajha@chromium.org, avi@chromium.org Review-Url: https://chromiumcodereview.appspot.com/2437123002 Cr-Commit-Position: refs/heads/master@{#426553} (cherry picked from commit 884c98b01d2daebaa2f519300d3f64b2850f31fe) Review URL: https://codereview.chromium.org/2438803002 . Cr-Commit-Position: refs/branch-heads/2896@{#3} Cr-Branched-From: eb410d934c054b358be84d4bc63724e99cefa7c8-refs/heads/master@{#426358} [modify] https://crrev.com/99267e28b9e6977de841fef3d3ee62f8d028718a/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc
,
Oct 20 2016
Issue 657973 has been merged into this issue.
,
Oct 20 2016
,
Oct 20 2016
Users experienced this crash on the following builds: Win Canary 56.0.2896.0 - 1612.76 CPM, 5884 reports, 3722 clients (signature autofill::`anonymous namespace'::GetServerId<autofill::AutofillProfile>) Win Canary 56.0.2896.0 - 114.84 CPM, 419 reports, 260 clients (signature base::BasicStringPiece<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::BasicStringPiece<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >) If this update was incorrect, please add "Fracas-Wrong" label to prevent future updates. - Go/Fracas
,
Oct 21 2016
Just to update: This is the top#1 browser crash on Android canary #56.0.2896.0 with 74 instances from 45 unique client Ids
,
Oct 21 2016
Issue 657942 has been merged into this issue.
,
Oct 21 2016
No crashes seen on Windows latest canary(56.0.2896.3) live for 10 hours now. Adding the verified label therefore. Please close the issue if there is no further work to be done here.
,
Oct 21 2016
56.0.2896.0 canary (64-bit) displaying "Google Chrome is up to date" here (then usual crash after few secs).
,
Oct 21 2016
@leo I'm assuming they are waiting for 56.0.2897.x
,
Oct 21 2016
@leo The fix landed on between 56.0.2896.0 and 56.0.2896.3 So, it's expected that you'll still see the crash if you haven't updated.
,
Oct 21 2016
@rogerm I have updated even with the chromesetup.exe and canary is still on 56.0.2896.0
,
Oct 21 2016
It looks like win64 canary is running slightly behind. http://omahaproxy.appspot.com
,
Oct 21 2016
manoranjanr@ or ajha@: can you provide some insight as to the ETA of this rolling out to the various canaries?
,
Oct 21 2016
@Rogerm the update just rolled out. Thanks you.
,
Oct 21 2016
Made it to 56.0.2896.3 canary (64-bit)! Few restarts later, no more crashes. chrome://help/ About 'Checking for updates…' then 'An error occurred while checking for updates: The updater is currently running. Refresh in a minute to check again.' No debug.log's created.
,
Oct 21 2016
Confirmed Now working ,Thanks you everyone Version 56.0.2896.3 canary (64-bit)
,
Oct 22 2016
The fix has been successfully rolled out through Chrome#56.0.2896.3. Thank you all for confirming the fix!
,
Nov 29
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by ajha@chromium.org
, Oct 20 2016