Status Update
Comments
ko...@google.com <ko...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Radha Nakade <
Link:
Migrate traffic from pixel2 to mediumphone on FTL emulators.
Expand for full commit details
Migrate traffic from pixel2 to mediumphone on FTL emulators.
Bug: 396715333
Test: ./gradlew emoji2:emoji2-emojipicker:ftlmediumphoneapi33
Change-Id: If5555443ca1a91479128e1bd6f4f909154c40ba2
Files:
- M
buildSrc/private/src/main/kotlin/androidx/build/FtlRunner.kt
Hash: c76f8094154101867327912e659ae47509755957
Date: Wed Feb 26 11:27:46 2025
al...@chromium.org <al...@chromium.org> #3
sc...@google.com <sc...@google.com> #4
Vipul, I think the line referring to multidevice_setup_client_factory.cc
isn't part of the stack trace.
#0 0x7f0aa084332a base::debug::CollectStackTrace()
#1 0x7f0aa07ee207 base::debug::StackTrace::StackTrace()
#2 0x7f0aa07ee165 base::debug::StackTrace::StackTrace()
#3 0x7f0aa0842b43 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#4 0x7f0a1d456590 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x3f58f)
#5 0x7f0a7c9eff05 std::__Cr::__tree<>::__root()
#6 0x7f0a7c9f0511 std::__Cr::__tree<>::__find_equal<>()
#7 0x7f0a7c9f0f34 std::__Cr::__tree<>::__emplace_unique_key_args<>()
#8 0x7f0a7c9ee517 std::__Cr::map<>::operator[]()
#9 0x7f0a7c9ecd21 WebDatabase::GetTable()
#10 0x55a27334c855 autofill::PaymentsAutofillTable::FromWebDatabase()
#11 0x55a27737858a autofill::AutofillWalletUsageDataSyncBridge::GetAutofillTable()
#12 0x55a277378475
[1] 345205 segmentation fault (core dumped) out/cros-debug/chrome
Code search:
I'm not sure why this crashes though.
Aaron, perhaps the build is corrupted? Could you try a fresh build?
ba...@google.com <ba...@google.com> #5
I think that the problem is that in this line db
is a nullptr.
This happens if the database cannot be opened or has been closed.
Based on these lines
#11 0x55a27737858a 2025-02-27T17:09:12.973887Z ERROR chrome[345412:345538]: [default_socket.cc(60)] /run/perfetto/ exists but cannot be accessed. Falling back on /tmp/ (errno: 13, Permission denied)
autofill::AutofillWalletUsageDataSyncBridge::GetAutofillTable()
#12 0x55a277378475 2025-02-27T17:09:13.044530Z ERROR chrome[345205:345399]: [power_bookmark_database_impl.cc(190)] Failed to open power bookmarks database: database is locked
I could imagine that you have some kind of permission problem with your home directory.
My hunch would be that if you add a LOG(ERROR) to the two db_.reset();
lines in
et...@google.com <et...@google.com> #6
As Araon specify, Chrome can't have multiple instances running at the same time and opening the same database.
These database are locked.
What is puzzling me is that we do have code for the process singleton that ensures only one instance of Chrome is running per user-data-dir. How did you manage to have two instances?
Description
(@koulvipul, apologies if you're not the right person to assign to. I saw that there were crashes like this before:
I get this crash at startup every time. I've tried running with and without --user-data-dir, with an empty value for it, or with a directory.
Received signal 11 SEGV_MAPERR 000000000160
#0 0x7f0aa084332a base::debug::CollectStackTrace()
#1 0x7f0aa07ee207 base::debug::StackTrace::StackTrace()
#2 0x7f0aa07ee165 base::debug::StackTrace::StackTrace()
#3 0x7f0aa0842b43 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#4 0x7f0a1d456590 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x3f58f)
#5 0x7f0a7c9eff05 std::__Cr::__tree<>::__root()
#6 0x7f0a7c9f0511 std::__Cr::__tree<>::__find_equal<>()
#7 0x7f0a7c9f0f34 std::__Cr::__tree<>::__emplace_unique_key_args<>()
#8 0x7f0a7c9ee517 std::__Cr::map<>::operator[]()
#9 0x7f0a7c9ecd21 WebDatabase::GetTable()
#10 0x55a27334c855 2025-02-27T17:09:12.757812Z INFO chrome[345205:345205]: [multidevice_setup_client_factory.cc(144)] Allowed. Returning new MultiDeviceSetupClientHolder
2025-02-27T17:09:12.772965Z ERROR chrome[345205:345397]: [power_bookmark_database_impl.cc(190)] Failed to open power bookmarks database: database is locked
2025-02-27T17:09:12.781025Z ERROR chrome[345205:345394]: [sync_appsync_optin_client.cc(37)] Failed to persist opt-in change 1 to daemon-store. State on disk will be inaccurate!
2025-02-27T17:09:12.807783Z ERROR chrome[345205:345395]: [devicetype.cc(46)] Unknown device type ""
autofill::PaymentsAutofillTable::FromWebDatabase()
#11 0x55a27737858a 2025-02-27T17:09:12.973887Z ERROR chrome[345412:345538]: [default_socket.cc(60)] /run/perfetto/ exists but cannot be accessed. Falling back on /tmp/ (errno: 13, Permission denied)
autofill::AutofillWalletUsageDataSyncBridge::GetAutofillTable()
#12 0x55a277378475 2025-02-27T17:09:13.044530Z ERROR chrome[345205:345399]: [power_bookmark_database_impl.cc(190)] Failed to open power bookmarks database: database is locked
[1] 345205 segmentation fault (core dumped) out/cros-debug/chrome