New issue
Advanced search Search tips

Issue 612162 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner: ----
Closed: May 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug



Sign in to add a comment

Crash in CreateAllocatorForFile

Project Member Reported by ellyjo...@chromium.org, May 16 2016

Issue description

The browser crashes ~1s after launch (before displaying anything on the screen).

Happens reliably at startup in 52.0.2738.0 on 10.11.4.

Thread 0 ( * CRASHED * EXC_BREAKPOINT / 0x00000002 @ 0x1011c8e21 )
0	 [Google Chrome Framework	 -	 debugger_posix.cc:258] base::debug::BreakDebugger()
1	 [Google Chrome Framework	 -	 persistent_memory_allocator.h:306] base::PersistentMemoryAllocator::PersistentMemoryAllocator(void*, unsigned long, unsigned long, unsigned long long, base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, bool)
2	 [Google Chrome Framework	 -	 persistent_memory_allocator.cc:350] base::PersistentMemoryAllocator::PersistentMemoryAllocator(void*, unsigned long, unsigned long, unsigned long long, base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, bool)
3	 [Google Chrome Framework	 -	 memory:2252] metrics::FileMetricsProvider::CreateAllocatorForFile(metrics::FileMetricsProvider::FileInfo*)
4	 [Google Chrome Framework	 -	 memory:2730] metrics::FileMetricsProvider::RecordInitialHistogramSnapshots(base::HistogramSnapshotManager*)
5	 [Google Chrome Framework	 -	 iterator:1198] metrics::MetricsService::RecordCurrentStabilityHistograms()
6	 [Google Chrome Framework	 -	 metrics_service.cc:937] metrics::MetricsService::PrepareInitialStabilityLog()
7	 [Google Chrome Framework	 -	 metrics_service.cc:607] metrics::MetricsService::InitializeMetricsState()
8	 [Google Chrome Framework	 -	 weak_ptr.h:289] metrics::MetricsService::InitializeMetricsRecordingState()
9	 [Google Chrome Framework	 -	 chrome_browser_main.cc:760] ChromeBrowserMainParts::SetupMetricsAndFieldTrials()
10	 [Google Chrome Framework	 -	 memory:2729] ChromeBrowserMainParts::PreCreateThreadsImpl()
11	 [Google Chrome Framework	 -	 chrome_browser_main.cc:877] ChromeBrowserMainParts::PreCreateThreads()
12	 [Google Chrome Framework	 -	 browser_main_loop.cc:730] content::BrowserMainLoop::PreCreateThreads()
13	 [Google Chrome Framework	 -	 callback.h:397] content::StartupTaskRunner::RunAllTasksNow()
14	 [Google Chrome Framework	 -	 browser_main_loop.cc:842] content::BrowserMainLoop::CreateStartupTasks()
15	 [Google Chrome Framework	 -	 memory:2729] content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&)
16	 [Google Chrome Framework	 -	 browser_main.cc:42] content::BrowserMain(content::MainFunctionParams const&)
17	 [Google Chrome Framework	 -	 content_main_runner.cc:788] content::ContentMainRunnerImpl::Run()
18	 [Google Chrome Framework	 -	 content_main.cc:20] content::ContentMain(content::ContentMainParams const&)
19	 [Google Chrome Framework	 -	 chrome_main.cc:84] ChromeMain
20	 [Google Chrome Canary	 -	 chrome_exe_main_mac.c:91] main
21	 [Google Chrome Canary	 -	 0xb24] start

Thread 1
0	 [libsystem_kernel.dylib	 -	 0x175e2] __workq_kernreturn
1	 [libsystem_pthread.dylib	 -	 0x1341] start_wqthread
2	 [libdispatch.dylib	 -	 0x5aa5] _dispatch_worker_thread3

Thread 2
0	 [libsystem_kernel.dylib	 -	 0x17efa] kevent_qos
1	 [libdispatch.dylib	 -	 0x7dcd] _dispatch_autorelease_pool_pop

Thread 3
0	 [libsystem_kernel.dylib	 -	 0x175e2] __workq_kernreturn
1	 [libsystem_pthread.dylib	 -	 0x1341] start_wqthread
2	 [libdispatch.dylib	 -	 0x5aa5] _dispatch_worker_thread3

Thread 4
0	 [libsystem_kernel.dylib	 -	 0x175e2] __workq_kernreturn
1	 [libsystem_pthread.dylib	 -	 0x1341] start_wqthread
2	 [libdispatch.dylib	 -	 0x5aa5] _dispatch_worker_thread3

Thread 5
0	 [libsystem_kernel.dylib	 -	 0x10f72] mach_msg_trap
1	 [Google Chrome Framework	 -	 mach_message.cc:190] crashpad::MachMessageWithDeadline(mach_msg_header_t*, int, unsigned int, unsigned int, unsigned long long, unsigned int, bool)
2	 [Google Chrome Framework	 -	 mach_message_server.cc:104] crashpad::MachMessageServer::Run(crashpad::MachMessageServer::Interface*, unsigned int, int, crashpad::MachMessageServer::Persistent, crashpad::MachMessageServer::ReceiveLarge, unsigned int)
3	 [Google Chrome Framework	 -	 crashpad_client_mac.cc:487] crashpad::(anonymous namespace)::HandlerStarter::RestartThreadMain(void*)
4	 [libsystem_pthread.dylib	 -	 0x399d] _pthread_body
5	 [libsystem_pthread.dylib	 -	 0x391a] _pthread_body
6	 [libsystem_pthread.dylib	 -	 0x1351] thread_start
7	 [Google Chrome Framework	 -	 crashpad_client_mac.cc:481] crashpad::(anonymous namespace)::HandlerStarter::RestartThreadMain(void*)

Thread 6
0	 [libsystem_kernel.dylib	 -	 0x175e2] __workq_kernreturn
1	 [libsystem_pthread.dylib	 -	 0x1341] start_wqthread
2	 [libdispatch.dylib	 -	 0x5aa5] _dispatch_worker_thread3

Thread 7
0	 [libsystem_kernel.dylib	 -	 0x16db6] __psynch_cvwait
1	 [Foundation	 -	 0xcbac5] -[NSLock lockBeforeDate:]
2	 [KeystoneRegistration	 -	 KSRegistrationAction.m:156] -[KSRegistrationAction keystoneInstallationLockThread]
3	 [Foundation	 -	 0x35d64] __NSThread__start__
4	 [libsystem_pthread.dylib	 -	 0x399d] _pthread_body
5	 [libsystem_pthread.dylib	 -	 0x391a] _pthread_body
6	 [libsystem_pthread.dylib	 -	 0x1351] thread_start
7	 [Foundation	 -	 0x3581d] __NSThread__start__

Thread 8
0	 [libsystem_kernel.dylib	 -	 0x10f72] mach_msg_trap
1	 [CoreFoundation	 -	 0x8a1c4] __CFRunLoopServiceMachPort
2	 [CoreFoundation	 -	 0x8968c] __CFRunLoopRun
3	 [CoreFoundation	 -	 0x88ed8] CFRunLoopRunSpecific
4	 [Foundation	 -	 0x24dd9] -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
5	 [Google Chrome Framework	 -	 message_pump_mac.mm:606] base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*)
6	 [Google Chrome Framework	 -	 message_pump_mac.mm:246] base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*)
7	 [Google Chrome Framework	 -	 run_loop.cc:36] base::RunLoop::Run()
8	 [Google Chrome Framework	 -	 message_loop.cc:295] base::MessageLoop::Run()
9	 [Google Chrome Framework	 -	 lock.h:26] base::Thread::ThreadMain()
10	 [Google Chrome Framework	 -	 platform_thread_posix.cc:72] base::(anonymous namespace)::ThreadFunc(void*)
11	 [libsystem_pthread.dylib	 -	 0x399d] _pthread_body
12	 [libsystem_pthread.dylib	 -	 0x391a] _pthread_body
13	 [libsystem_pthread.dylib	 -	 0x1351] thread_start
14	 [Google Chrome Framework	 -	 platform_thread_posix.cc:47] base::(anonymous namespace)::ThreadFunc(void*)

Thread 9
0	 [libsystem_kernel.dylib	 -	 0x17eca] kevent
1	 [Google Chrome Framework	 -	 event.c:512] event_base_loop
2	 [Google Chrome Framework	 -	 message_pump_libevent.cc:244] base::MessagePumpLibevent::Run(base::MessagePump::Delegate*)
3	 [Google Chrome Framework	 -	 run_loop.cc:36] base::RunLoop::Run()
4	 [Google Chrome Framework	 -	 message_loop.cc:295] base::MessageLoop::Run()
5	 [Google Chrome Framework	 -	 lock.h:26] base::Thread::ThreadMain()
6	 [Google Chrome Framework	 -	 platform_thread_posix.cc:72] base::(anonymous namespace)::ThreadFunc(void*)
7	 [libsystem_pthread.dylib	 -	 0x399d] _pthread_body
8	 [libsystem_pthread.dylib	 -	 0x391a] _pthread_body
9	 [libsystem_pthread.dylib	 -	 0x1351] thread_start
10	 [Google Chrome Framework	 -	 platform_thread_posix.cc:47] base::(anonymous namespace)::ThreadFunc(void*)

Thread 10
0	 [libsystem_kernel.dylib	 -	 0x16db6] __psynch_cvwait
1	 [Google Chrome Framework	 -	 condition_variable_posix.cc:125] base::ConditionVariable::TimedWait(base::TimeDelta const&)
2	 [Google Chrome Framework	 -	 worker_pool_posix.cc:179] base::PosixDynamicThreadPool::WaitForTask()
3	 [Google Chrome Framework	 -	 worker_pool_posix.cc:87] base::(anonymous namespace)::WorkerThread::ThreadMain()
4	 [Google Chrome Framework	 -	 platform_thread_posix.cc:72] base::(anonymous namespace)::ThreadFunc(void*)
5	 [libsystem_pthread.dylib	 -	 0x399d] _pthread_body
6	 [libsystem_pthread.dylib	 -	 0x391a] _pthread_body
7	 [libsystem_pthread.dylib	 -	 0x1351] thread_start
8	 [Google Chrome Framework	 -	 platform_thread_posix.cc:47] base::(anonymous namespace)::ThreadFunc(void*)

Thread 11
0	 [libsystem_kernel.dylib	 -	 0x16db6] __psynch_cvwait
1	 [Google Chrome Framework	 -	 condition_variable_posix.cc:125] base::ConditionVariable::TimedWait(base::TimeDelta const&)
2	 [Google Chrome Framework	 -	 worker_pool_posix.cc:179] base::PosixDynamicThreadPool::WaitForTask()
3	 [Google Chrome Framework	 -	 worker_pool_posix.cc:87] base::(anonymous namespace)::WorkerThread::ThreadMain()
4	 [Google Chrome Framework	 -	 platform_thread_posix.cc:72] base::(anonymous namespace)::ThreadFunc(void*)
5	 [libsystem_pthread.dylib	 -	 0x399d] _pthread_body
6	 [libsystem_pthread.dylib	 -	 0x391a] _pthread_body
7	 [libsystem_pthread.dylib	 -	 0x1351] thread_start
8	 [Google Chrome Framework	 -	 platform_thread_posix.cc:47] base::(anonymous namespace)::ThreadFunc(void*)

Thread 12
0	 [libsystem_kernel.dylib	 -	 0x18362] read
1	 [Google Chrome Framework	 -	 platform_thread_posix.cc:72] base::(anonymous namespace)::ThreadFunc(void*)
2	 [libsystem_pthread.dylib	 -	 0x399d] _pthread_body
3	 [libsystem_pthread.dylib	 -	 0x391a] _pthread_body
4	 [libsystem_pthread.dylib	 -	 0x1351] thread_start
5	 [Google Chrome Framework	 -	 platform_thread_posix.cc:47] base::(anonymous namespace)::ThreadFunc(void*)

Thread 13
0	 [libsystem_kernel.dylib	 -	 0x16db6] __psynch_cvwait
1	 [Google Chrome Framework	 -	 sequenced_worker_pool.cc:900] base::SequencedWorkerPool::Inner::ThreadLoop(base::SequencedWorkerPool::Worker*)
2	 [Google Chrome Framework	 -	 ref_counted.h:328] base::SequencedWorkerPool::Worker::Run()
3	 [Google Chrome Framework	 -	 simple_thread.cc:67] base::SimpleThread::ThreadMain()
4	 [Google Chrome Framework	 -	 platform_thread_posix.cc:72] base::(anonymous namespace)::ThreadFunc(void*)
5	 [libsystem_pthread.dylib	 -	 0x399d] _pthread_body
6	 [libsystem_pthread.dylib	 -	 0x391a] _pthread_body
7	 [libsystem_pthread.dylib	 -	 0x1351] thread_start

 
Mergedinto: 612073
Status: Duplicate (was: Available)
In case anyone else is looking for a workaround:

   You can use the flag --reset-variation-state 

The core bug is now fixed (https://codereview.chromium.org/1985733002/)

Sign in to add a comment