New issue
Advanced search Search tips

Issue 772557 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2017
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Chrome crash frequently in cros autologin mode

Project Member Reported by lepton@google.com, Oct 6 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.45 Safari/537.36
Platform: R61-9765.79.0

Steps to reproduce the problem:
1. User vm image from M61 head (I am using novato)
2. run ssh chrome /usr/local/autotest/bin/autologin.py
3. Use chrome to browse websites like youtube.com

What is the expected behavior?
Chrome works.

What went wrong?
Chrome frenquently crash. This is a crash stack trace:

#0  std::multiset<std::string, std::less<std::string>, std::allocator<std::string> >::find(std::string const&) () at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/4.9.x/include/g++-v4/bits/stl_tree.h:563
563	/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/4.9.x/include/g++-v4/bits/stl_tree.h: No such file or directory.

warning: (Internal error: pc 0x5be534d86c48 in read in psymtab, but not in symtab.)

(gdb) bt
warning: (Internal error: pc 0x5be534d86c48 in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/extensions/common/common/extension.dwo(0x30828da59ebaa619) referenced by CU at offset 0x8f5ef [in module /usr/local/google/home/lepton/ssd/chromeos/bbb/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x5be538096ad4 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be538096ac0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be538096ad4 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be534d86c48 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be534d86c48 in read in psymtab, but not in symtab.)

#0  std::multiset<std::string, std::less<std::string>, std::allocator<std::string> >::find(std::string const&) () at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/4.9.x/include/g++-v4/bits/stl_tree.h:563
warning: (Internal error: pc 0x5be538096ad4 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be538096ad4 in read in psymtab, but not in symtab.)

#1  0x00005be538096ad5 in extensions::Extension::GetManifestData(std::string const&) const ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/extensions/common/extension.cc:375
warning: (Internal error: pc 0x5be538096ad4 in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/chrome/common/common/app_launch_info.dwo(0xd587a62fc23e887c) referenced by CU at offset 0x5113f [in module /usr/local/google/home/lepton/ssd/chromeos/bbb/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x5be53687ca4c in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be53687ca10 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be53687ca4c in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be53687ca4c in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be53687ca4c in read in psymtab, but not in symtab.)

#2  0x00005be53687ca4d in extensions::AppLaunchInfo::GetLaunchContainer(extensions::Extension const*) ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/chrome/common/extensions/manifest_handlers/app_launch_info.cc:59
warning: (Internal error: pc 0x5be53687ca4c in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/chrome/browser/extensions/extensions/launch_util.dwo(0x6b9cc0b9c46082fe) referenced by CU at offset 0x96e03 [in module /usr/local/google/home/lepton/ssd/chromeos/bbb/crash/debug/opt/google/chrome/chrome.debug]
#3  0x00005be53835fbf6 in extensions::GetLaunchContainer(extensions::ExtensionPrefs const*, extensions::Extension const*) ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/chrome/browser/extensions/launch_util.cc:99
warning: Could not find DWO CU obj/chrome/browser/ui/ui/app_launch_params.dwo(0x56842f4b9d3398b5) referenced by CU at offset 0xad7bf [in module /usr/local/google/home/lepton/ssd/chromeos/bbb/crash/debug/opt/google/chrome/chrome.debug]
#4  0x00005be538b508e1 in CreateAppLaunchParamsUserContainer(Profile*, extensions::Extension const*, WindowOpenDisposition, extensions::AppLaunchSource) ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/chrome/browser/ui/extensions/app_launch_params.cc:62
warning: Could not find DWO CU obj/chrome/browser/chromeos/chromeos/arc_support_host.dwo(0x921756ca120f4e2a) referenced by CU at offset 0x307df [in module /usr/local/google/home/lepton/ssd/chromeos/bbb/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x5be535aab263 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be535aab1e0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be535aab263 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be535aab263 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x5be535aab263 in read in psymtab, but not in symtab.)

#5  0x00005be535aab264 in (anonymous namespace)::RequestOpenApp(Profile*) ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/chrome/browser/chromeos/arc/arc_support_host.cc:110

Crashed report ID: 

How much crashed? Whole browser

Is it a problem with a plugin? N/A 

Did this work before? Yes Image from 60.0.3312.71

Chrome version: 61.0.3163.117  Channel: n/a
OS Version: 
Flash Version:
 
Owner: lepton@chromium.org
So this also happen on real hardware. Way to reproduce:

Flash a reef to ChromeOS-R61-9765.79.0

And then open a terminal, just run:
sudo ls
sudo /usr/local/autotest/bin/autologin.py < /dev/null &> /dev/null &

This will let chromebook in autologin mode.

Then did some random browse for a while. in 1 minute, chrome crash, this is decoded crash:  looks like crash at same location:

(gdb) bt
warning: (Internal error: pc 0x59f94b301908 in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/extensions/common/common/extension.dwo(0x30828da59ebaa619) referenced by CU at offset 0x8f5b7 [in module /usr/local/google/home/lepton/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x59f94e5eef84 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94e5eef70 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94e5eef84 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b301908 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b301908 in read in psymtab, but not in symtab.)

#0  std::multiset<std::string, std::less<std::string>, std::allocator<std::string> >::find(std::string const&) () at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/4.9.x/include/g++-v4/bits/stl_tree.h:563
warning: (Internal error: pc 0x59f94e5eef84 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94e5eef84 in read in psymtab, but not in symtab.)

#1  0x000059f94e5eef85 in extensions::Extension::GetManifestData(std::string const&) const ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/extensions/common/extension.cc:375
warning: (Internal error: pc 0x59f94e5eef84 in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/chrome/common/common/app_launch_info.dwo(0xd587a62fc23e887c) referenced by CU at offset 0x51103 [in module /usr/local/google/home/lepton/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x59f94cdf091c in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94cdf08e0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94cdf091c in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94cdf091c in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94cdf091c in read in psymtab, but not in symtab.)

#2  0x000059f94cdf091d in extensions::AppLaunchInfo::GetLaunchContainer(extensions::Extension const*) ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/chrome/common/extensions/manifest_handlers/app_launch_info.cc:59
warning: (Internal error: pc 0x59f94cdf091c in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/chrome/browser/extensions/extensions/launch_util.dwo(0x6b9cc0b9c46082fe) referenced by CU at offset 0x96dcb [in module /usr/local/google/home/lepton/crash/debug/opt/google/chrome/chrome.debug]
#3  0x000059f94e8b84b6 in extensions::GetLaunchContainer(extensions::ExtensionPrefs const*, extensions::Extension const*) ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/chrome/browser/extensions/launch_util.cc:99
warning: Could not find DWO CU obj/chrome/browser/ui/ui/chrome_pages.dwo(0x9212353c68034c92) referenced by CU at offset 0xa9a63 [in module /usr/local/google/home/lepton/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x59f94ef44f80 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94ef44e80 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94ef44f80 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94ef44f80 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94ef44f80 in read in psymtab, but not in symtab.)

#4  0x000059f94ef44f81 in chrome::(anonymous namespace)::ShowHelpImpl(Browser*, Profile*, chrome::HelpSource)
    () at ../../../../../../../home/chrome-bot/chrome_root/src/chrome/browser/ui/chrome_pages.cc:112
warning: (Internal error: pc 0x59f94ef44f80 in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/ash/public/interfaces/interfaces_internal/system_tray.mojom.dwo(0x7532051b38b8d13a) referenced by CU at offset 0x2bcee [in module /usr/local/google/home/lepton/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x59f94bf85539 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94bf851e0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94bf85539 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94bf85539 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94bf85539 in read in psymtab, but not in symtab.)

#5  0x000059f94bf8553a in ash::mojom::SystemTrayClientStubDispatch::Accept(ash::mojom::SystemTrayClient*, mojo::Message*) () at gen/ash/public/interfaces/system_tray.mojom.cc:1587
warning: (Internal error: pc 0x59f94bf85539 in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/mojo/public/cpp/bindings/bindings/interface_endpoint_client.dwo(0x3cc663917fdb1d18) referenced by CU at offset 0x554c7 [in module /usr/local/google/home/lepton/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x59f94b013f63 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b013f00 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b013f63 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b013f63 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b013f63 in read in psymtab, but not in symtab.)

#6  0x000059f94b013f64 in mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:420
warning: (Internal error: pc 0x59f94b013f63 in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/mojo/public/cpp/bindings/bindings/multiplex_router.dwo(0xf522fe43de2fc74f) referenced by CU at offset 0x55597 [in module /usr/local/google/home/lepton/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x59f94ceb7bd3 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94ceb7a60 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94ceb7bd3 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94ceb7bd3 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94ceb7bd3 in read in psymtab, but not in symtab.)

#7  0x000059f94ceb7bd4 in mojo::internal::MultiplexRouter::ProcessIncomingMessage(mojo::Message*, mojo::internal::MultiplexRouter::ClientCallBehavior, base::SequencedTaskRunner*) ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/mojo/public/cpp/bindings/lib/multiplex_router.cc:886
warning: (Internal error: pc 0x59f94ceb7bd3 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b015a60 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b015a60 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b015700 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b015a60 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b015a60 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b015a60 in read in psymtab, but not in symtab.)

#8  0x000059f94b015a61 in mojo::internal::MultiplexRouter::Accept(mojo::Message*) ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/mojo/public/cpp/bindings/lib/multiplex_router.cc:613
warning: (Internal error: pc 0x59f94b015a60 in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/mojo/public/cpp/bindings/bindings/connector.dwo(0x284a5a5a57d28659) referenced by CU at offset 0x55493 [in module /usr/local/google/home/lepton/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x59f94b013b11 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b013980 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b013b11 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b013b11 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b013b11 in read in psymtab, but not in symtab.)

#9  0x000059f94b013b12 in mojo::Connector::ReadAllAvailableMessages() ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/mojo/public/cpp/bindings/lib/connector.cc:440
warning: (Internal error: pc 0x59f94b013b11 in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/content/browser/browser/appcache_service_impl.dwo(0xce41a58bb3ed56a4) referenced by CU at offset 0x1896e [in module /usr/local/google/home/lepton/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x59f94b827931 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b827910 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b827931 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b827931 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b827931 in read in psymtab, but not in symtab.)

#10 0x000059f94b827932 in chromeos::file_system_provider::Int64ToIntCompletionCallback(base::Callback<void (int), (base::internal::CopyMode)1, (base::internal::RepeatMode)1>, long) ()
    at ../../../../../../../home/chrome-bot/chrome_root/src/base/callback.h:80
warning: (Internal error: pc 0x59f94b827931 in read in psymtab, but not in symtab.)

warning: Could not find DWO CU obj/mojo/public/cpp/system/system/simple_watcher.dwo(0x4d2e186fd2880457) referenced by CU at offset 0x55b97 [in module /usr/local/google/home/lepton/crash/debug/opt/google/chrome/chrome.debug]
#11 0x000059f94cec167c in mojo::SimpleWatcher::OnHandleReady(int, unsigned int, mojo::HandleSignalsState const&) () at ../../../../../../../home/chrome-bot/chrome_root/src/base/callback.h:80
warning: Could not find DWO CU obj/base/base/task_annotator.dwo(0xda6ddbd98336e91c) referenced by CU at offset 0x546df [in module /usr/local/google/home/lepton/crash/debug/opt/google/chrome/chrome.debug]
warning: (Internal error: pc 0x59f94b00edc9 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b00ecf0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b00edc9 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b00edc9 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x59f94b00edc9 in read in psymtab, but not in symtab.)

---Type <return> to continue, or q <return> to quit---
This is the way to trigger this crash:

flash device with test image, then open a chrome shell to run it in autologin mode: /usr/local/autotest/bin/autologin.py,

After this, just click menu "Help -> ? Get help". It crash

Comment 4 by lepton@chromium.org, Oct 10 2017

This crash because  in autologin mode, by default, we add "--disable-default-apps" to disable most apps for chrome. So genuieapp is not available.
Project Member

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

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

commit 1bd5e0b00371a63bb635b294a817ac3f18b2f4b5
Author: Lepton Wu <lepton@chromium.org>
Date: Thu Oct 12 19:42:28 2017

Fix null pointer reference to extension.

When chrome running with default apps disabled, GeniusApp is not
available.

R=benwells@chromium.org

Bug:  772557 
Change-Id: I7edde3f498c8c4fecb093e8c5d0a0801cce9cd61
Reviewed-on: https://chromium-review.googlesource.com/707585
Reviewed-by: Trent Apted <tapted@chromium.org>
Commit-Queue: Lepton Wu <lepton@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508380}
[modify] https://crrev.com/1bd5e0b00371a63bb635b294a817ac3f18b2f4b5/chrome/browser/ui/chrome_pages.cc

Comment 6 by lepton@chromium.org, Oct 12 2017

Status: Fixed (was: Unconfirmed)

Comment 7 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Comment 8 by dchan@chromium.org, Jan 23 2018

Status: Fixed (was: Archived)

Sign in to add a comment