New issue
Advanced search Search tips

Issue 698620 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 698759
Owner: ----
Closed: Mar 2017
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Canary crashes on launch

Reported by sivakuma...@gmail.com, Mar 6 2017

Issue description

Steps to reproduce the problem:
1. On launching the browser it immediately crashes

What is the expected behavior?

What went wrong?
After a chrome restart after a regular update few days before reporting this issue the browser started crashing. I've since then tried removing chrome canary and tried builds for three days in succession but that didn't help either.

Crashed report ID: no

How much crashed? Whole browser

Is it a problem with a plugin? No 

Did this work before? N/A 

Chrome version:   Channel: canary
OS Version: OS X 10.12.3
Flash Version:

 
canary_crash.log
76.1 KB View Download
Labels: Needs-Triage-M58
It's crashing here:

// Set up a sockaddr appropriate for messaging.
void SetupSockAddr(const std::string& path, struct sockaddr_un* addr) {
  addr->sun_family = AF_UNIX;
  CHECK(path.length() < arraysize(addr->sun_path))
      << "Socket path too long: " << path;
  base::strlcpy(addr->sun_path, path.c_str(), arraysize(addr->sun_path));
}

It's saying that the path to your user data dir is too long (e.g. too deeply nested).

If you run Chrome from Terminal.app like, e.g.,

$ /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary

then it should print out the path it's trying to use.
It failed to launch even on command line.
Was there an error printed to the terminal?

Something like "Socket path too long: <pathname>"

If yes, then that <pathname> printed will help us confirm this issue.
Mergedinto: 698759
Status: Duplicate (was: Unconfirmed)
Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000

Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   com.google.Chrome.framework   	0x000000010557111f ProcessSingleton::NotifyOtherProcessWithTimeout(base::CommandLine const&, int, base::TimeDelta const&, bool) + process_singleton_posix.cc:223
1   com.google.Chrome.framework   	0x00000001055717bd ProcessSingleton::NotifyOtherProcessWithTimeoutOrCreate(base::CommandLine const&, int, base::TimeDelta const&) + process_singleton_posix.cc:885
2   com.google.Chrome.framework   	0x000000010557176a ProcessSingleton::NotifyOtherProcessOrCreate() + process_singleton_posix.cc:874
3   com.google.Chrome.framework   	0x000000010521b83a ChromeBrowserMainParts::PreMainMessageLoopRunImpl() + chrome_browser_main.cc:1535
4   com.google.Chrome.framework   	0x000000010521b49e ChromeBrowserMainParts::PreMainMessageLoopRun() + chrome_browser_main.cc:1242
5   com.google.Chrome.framework   	0x00000001040f0743 content::BrowserMainLoop::PreMainMessageLoopRun() + trace_event.h:1033
6   com.google.Chrome.framework   	0x000000010441c086 content::StartupTaskRunner::RunAllTasksNow() + callback.h:85
7   com.google.Chrome.framework   	0x00000001040eea22 content::BrowserMainLoop::CreateStartupTasks() + trace_event.h:1033
8   com.google.Chrome.framework   	0x00000001040f36d4 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) + memory:2586
9   com.google.Chrome.framework   	0x00000001040ec474 content::BrowserMain(content::MainFunctionParams const&) + browser_main.cc:42
10  com.google.Chrome.framework   	0x00000001051d5b50 content::ContentMainRunnerImpl::Run() + content_main_runner.cc:836
11  com.google.Chrome.framework   	0x00000001051d4e66 content::ContentMain(content::ContentMainParams const&) + content_main.cc:20
12  com.google.Chrome.framework   	0x0000000103c47a9f ChromeMain + chrome_main.cc:0
13  com.google.Chrome.canary      	0x0000000103bcad9a main + 522
14  libdyld.dylib                 	0x00007fffc7c36255 start + 1


On cli it showed the message,

1]    4700 trace trap  /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary

I've attached the logs that error reporting brought up during this crash
cli-crash.log
76.7 KB View Download

Sign in to add a comment