New issue
Advanced search Search tips

Issue 772520 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

SEGV when specifying --profile-directory

Reported by kenorb@gmail.com, Oct 6 2017

Issue description

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

Steps to reproduce the problem:
Invoked Chrome with --profile-directory="$HOME/Library/Application Support/Google/Chrome", but it crashed.

What is the expected behavior?
I was expecting to run Chrome with all my user profiles.

What went wrong?
$ ./Chromium --args --profile-directory="$HOME/Library/Application Support/Google/Chrome"
[56517:1547:1006/213602.271679:INFO:process_metrics_posix.cc(81)] Failed to set file descriptor limit: Invalid argument (22)
[56517:46339:1006/213602.403028:WARNING:address_sorter_posix.cc(387)] FromSockAddr failed on netmask
[56517:46339:1006/213602.403943:WARNING:address_sorter_posix.cc(387)] FromSockAddr failed on netmask
[56517:46339:1006/213602.407202:WARNING:address_sorter_posix.cc(387)] FromSockAddr failed on netmask
[56517:1547:1006/213602.421838:FATAL:file_path.cc(493)] Check failed: !IsPathAbsolute(appended). 
0   libbase.dylib                       0x000000011b27c56e base::debug::StackTrace::StackTrace(unsigned long) + 174
1   libbase.dylib                       0x000000011b27c62d base::debug::StackTrace::StackTrace(unsigned long) + 29
2   libbase.dylib                       0x000000011b27a8dc base::debug::StackTrace::StackTrace() + 28
3   libbase.dylib                       0x000000011b31383f logging::LogMessage::~LogMessage() + 479
4   libbase.dylib                       0x000000011b3111a5 logging::LogMessage::~LogMessage() + 21
5   libbase.dylib                       0x000000011b2aa106 base::FilePath::Append(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) const + 662
6   libbase.dylib                       0x000000011b2ad29e base::FilePath::Append(base::FilePath const&) const + 94
7   libchrome_dll.dylib                 0x000000010cfd00fe GetStartupProfilePath(base::FilePath const&, base::CommandLine const&) + 142
8   libchrome_dll.dylib                 0x0000000107935455 ChromeBrowserMainPartsMac::PreProfileInit() + 149
9   libchrome_dll.dylib                 0x000000010792d8cc ChromeBrowserMainParts::PreMainMessageLoopRunImpl() + 2492
10  libchrome_dll.dylib                 0x000000010792ce5d ChromeBrowserMainParts::PreMainMessageLoopRun() + 253
11  libcontent.dylib                    0x0000000122157ee0 content::BrowserMainLoop::PreMainMessageLoopRun() + 336
12  libcontent.dylib                    0x000000012215edbd int base::internal::FunctorTraits<int (content::BrowserMainLoop::*)(), void>::Invoke<content::BrowserMainLoop*>(int (content::BrowserMainLoop::*)(), content::BrowserMainLoop*&&) + 125
13  libcontent.dylib                    0x000000012215ed04 int base::internal::InvokeHelper<false, int>::MakeItSo<int (content::BrowserMainLoop::* const&)(), content::BrowserMainLoop*>(int (content::BrowserMainLoop::* const&&&)(), content::BrowserMainLoop*&&) + 68
14  libcontent.dylib                    0x000000012215ec93 int base::internal::Invoker<base::internal::BindState<int (content::BrowserMainLoop::*)(), base::internal::UnretainedWrapper<content::BrowserMainLoop> >, int ()>::RunImpl<int (content::BrowserMainLoop::* const&)(), std::__1::tuple<base::internal::UnretainedWrapper<content::BrowserMainLoop> > const&, 0ul>(int (content::BrowserMainLoop::* const&&&)(), std::__1::tuple<base::internal::UnretainedWrapper<content::BrowserMainLoop> > const&&&, std::__1::integer_sequence<unsigned long, 0ul>) + 99
15  libcontent.dylib                    0x000000012215eb9c base::internal::Invoker<base::internal::BindState<int (content::BrowserMainLoop::*)(), base::internal::UnretainedWrapper<content::BrowserMainLoop> >, int ()>::Run(base::internal::BindStateBase*) + 44
16  libcontent.dylib                    0x0000000123471c5d base::RepeatingCallback<int ()>::Run() const & + 61
17  libcontent.dylib                    0x00000001234c5ad0 content::StartupTaskRunner::RunAllTasksNow() + 528
18  libcontent.dylib                    0x0000000122154016 content::BrowserMainLoop::CreateStartupTasks() + 1910
19  libcontent.dylib                    0x0000000122162483 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) + 1907
20  libcontent.dylib                    0x000000012214c0ad content::BrowserMain(content::MainFunctionParams const&) + 285
21  libcontent.dylib                    0x000000012496db79 content::RunNamedProcessTypeMain(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, content::MainFunctionParams const&, content::ContentMainDelegate*) + 585
22  libcontent.dylib                    0x000000012496f3a0 content::ContentMainRunnerImpl::Run() + 1280
23  libcontent.dylib                    0x000000012496bd4d content::ContentServiceManagerMainDelegate::RunEmbedderProcess() + 61
24  libembedder.dylib                   0x000000011ad8d777 service_manager::Main(service_manager::MainParams const&) + 1911
25  libcontent.dylib                    0x000000012496d8e9 content::ContentMain(content::ContentMainParams const&) + 89
26  libchrome_dll.dylib                 0x0000000105a279be ChromeMain + 270
27  Chromium                            0x0000000103ee5de6 main + 630
28  libdyld.dylib                       0x00007fffc6a4f255 start + 1
29  ???                                 0x0000000000000003 0x0 + 3

[56522:775:1006/213618.320664:INFO:child_thread_impl.cc(833)] ChildThreadImpl::EnsureConnected()
Trace/BPT trap: 5 (core dumped)

Crashed report ID: d5bd0ddd-0066-4f90-9a0c-d4f0d0765a98

How much crashed? Whole browser

Is it a problem with a plugin? No 

Did this work before? N/A 

Chrome version: e7f0416cefe3af6fee4921a25611b0af4cedf868  Channel: n/a
OS Version: OS X 10.12.0
Flash Version:
 

Comment 1 by kenorb@gmail.com, Oct 6 2017

I realized that I should use --user-data-dir instead, however I think above crash should be still fixed.
Cc: jmukthavaram@chromium.org
Labels: Needs-Milestone Needs-Feedback
Thanks for filing the issue.

It would be more helpful if you provide server id from chrome://crashes to triage this issue from TE end.

Please find the attached screenshot for reference.
Serverid.PNG
54.4 KB View Download

Comment 3 by rsesek@chromium.org, Oct 12 2017

Status: WontFix (was: Unconfirmed)
Flags are not an officially supported mechanism, so passing them may indeed cause crashes.

Sign in to add a comment