New issue
Advanced search Search tips

Issue 841967 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 841685
Owner:
Closed: May 2018
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocking:
issue 823534



Sign in to add a comment

Crash in net/ssl/channel_id_service.cc:338

Project Member Reported by alemate@chromium.org, May 10 2018

Issue description

Samus device, ToT:


(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 19169]
net::ChannelIDService::GetChannelIDStore (this=0x0) at ../../../../src/chromium/src/net/ssl/channel_id_service.cc:338
338       return channel_id_store_.get();
(gdb) bt
#0  net::ChannelIDService::GetChannelIDStore (this=0x0) at ../../../../src/chromium/src/net/ssl/channel_id_service.cc:338
#1  0x000060784d5a65a4 in (anonymous namespace)::BrowsingDataChannelIDHelperImpl::FetchOnIOThread(base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> const&) (this=0xcadeda20, callback=...)
    at ../../../../src/chromium/src/chrome/browser/browsing_data/browsing_data_channel_id_helper.cc:91
#2  0x000060784d5a69ff in base::internal::FunctorTraits<void ((anonymous namespace)::BrowsingDataChannelIDHelperImpl::*)(base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> const&), void>::Invoke<void ((anonymous namespace)::BrowsingDataChannelIDHelperImpl::*)(base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> const&), scoped_refptr<(anonymous namespace)::BrowsingDataChannelIDHelperImpl>, base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> >(void ((anonymous namespace)::BrowsingDataChannelIDHelperImpl::*)(base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> const&), scoped_refptr<(anonymous namespace)::BrowsingDataChannelIDHelperImpl>&&, base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)>&&) (method=
    (void ((anonymous namespace)::BrowsingDataChannelIDHelperImpl::*)((anonymous namespace)::BrowsingDataChannelIDHelperImpl * const, const base::RepeatingCallback<void (const std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > &)> &)) 0x4d5a63c0, this adjustment 24696, 
    receiver_ptr=<unknown type in /mnt/ssd2/alemate/build/chromium/out_samus/Debug/chrome, CU 0x0, DIE 0x16599>, 
    args=<unknown type in /mnt/ssd2/alemate/build/chromium/out_samus/Debug/chrome, CU 0x0, DIE 0x165a6>) at ../../../../src/chromium/src/base/bind_internal.h:447
#3  0x000060784d5a692f in base::internal::InvokeHelper<false, void>::MakeItSo<void ((anonymous namespace)::BrowsingDataChannelIDHelperImpl::*)(base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> const&), scoped_refptr<(anonymous namespace)::BrowsingDataChannelIDHelperImpl>, base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> >(void ((anonymous namespace)::BrowsingDataChannelIDHelperImpl::*&&)(base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> const&), scoped_refptr<(anonymous namespace)::BrowsingDataChannelIDHelperImpl>&&, base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)>&&) (
    functor=<unknown type in /mnt/ssd2/alemate/build/chromium/out_samus/Debug/chrome, CU 0x0, DIE 0x164fb>, 
    args=<unknown type in /mnt/ssd2/alemate/build/chromium/out_samus/Debug/chrome, CU 0x0, DIE 0x16515>, 
    args=<unknown type in /mnt/ssd2/alemate/build/chromium/out_samus/Debug/chrome, CU 0x0, DIE 0x16515>) at ../../../../src/chromium/src/base/bind_internal.h:547
#4  0x000060784d5a68bd in base::internal::Invoker<base::internal::BindState<void ((anonymous namespace)::BrowsingDataChannelIDHelperImpl::*)(base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> const&), scoped_refptr<(anonymous namespace)::BrowsingDataChannelIDHelperImpl>, base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> >, void ()>::RunImpl<void ((anonymous namespace)::BrowsingDataChannelIDHelperImpl::*)(base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> const&), std::__1::tuple<scoped_refptr<(anonymous namespace)::BrowsingDataChannelIDHelperImpl>, base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> >, 0ul, 1ul>(void ((anonymous namespace)::BrowsingDataChannelIDHelperImpl::*&&)(base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> const&), std::__1::tuple<scoped_refptr<(anonymous namespace)::BrowsingDataChannelIDHelperImpl>, base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> >&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>) (
    functor=<unknown type in /mnt/ssd2/alemate/build/chromium/out_samus/Debug/chrome, CU 0x0, DIE 0x114ac>, 
    bound=<unknown type in /mnt/ssd2/alemate/build/chromium/out_samus/Debug/chrome, CU 0x0, DIE 0x114ba>) at ../../../../src/chromium/src/base/bind_internal.h:621
#5  0x000060784d5a67d9 in base::internal::Invoker<base::internal::BindState<void ((anonymous namespace)::BrowsingDataChannelIDHelperImpl::*)(base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> const&), scoped_refptr<(anonymous namespace)::BrowsingDataChannelIDHelperImpl>, base::RepeatingCallback<void (std::__1::list<net::ChannelIDStore::ChannelID, std::__1::allocator<net::ChannelIDStore::ChannelID> > const&)> >, void ()>::RunOnce(base::internal::BindStateBase*) (base=0xc6ba3f20) at ../../../../src/chromium/src/base/bind_internal.h:589
#6  0x000060784438c8ec in base::OnceCallback<void ()>::Run() && (this=0x96d62b8) at ../../../../src/chromium/src/base/callback.h:96
#7  0x000060784d75445e in base::debug::TaskAnnotator::RunTask (this=0xc2623868, queue_function=0x5e59ec26 "MessageLoop::PostTask", pending_task=0x96d62b8)
    at ../../../../src/chromium/src/base/debug/task_annotator.cc:101
#8  0x000060784d9fe1e9 in base::internal::IncomingTaskQueue::RunTask (this=0xc2623820, pending_task=0x96d62b8)
    at ../../../../src/chromium/src/base/message_loop/incoming_task_queue.cc:124
#9  0x000060784d7c13bd in base::MessageLoop::RunTask (this=0xc2623620, pending_task=0x96d62b8) at ../../../../src/chromium/src/base/message_loop/message_loop.cc:319
#10 0x000060784d7c1658 in base::MessageLoop::DeferOrRunPendingTask (this=0xc2623620, pending_task=...)
    at ../../../../src/chromium/src/base/message_loop/message_loop.cc:329
#11 0x000060784d7c1968 in base::MessageLoop::DoWork (this=0xc2623620) at ../../../../src/chromium/src/base/message_loop/message_loop.cc:373
#12 0x000060784d9d4160 in base::MessagePumpLibevent::Run (this=0xc260b020, delegate=0xc2623620)
    at ../../../../src/chromium/src/base/message_loop/message_pump_libevent.cc:210
#13 0x000060784d7c0bab in base::MessageLoop::Run (this=0xc2623620, application_tasks_allowed=true)
    at ../../../../src/chromium/src/base/message_loop/message_loop.cc:271
#14 0x000060784d85048d in base::RunLoop::Run (this=0x96d76e8) at ../../../../src/chromium/src/base/run_loop.cc:131
#15 0x000060784d8e87e8 in base::Thread::Run (this=0xc2985aa0, run_loop=0x96d76e8) at ../../../../src/chromium/src/base/threading/thread.cc:255
#16 0x0000607847115ee1 in content::BrowserProcessSubThread::IOThreadRun (this=0xc2985aa0, run_loop=0x96d76e8)
    at ../../../../src/chromium/src/content/browser/browser_process_sub_thread.cc:155
#17 0x0000607847115dca in content::BrowserProcessSubThread::Run (this=0xc2985aa0, run_loop=0x96d76e8)
    at ../../../../src/chromium/src/content/browser/browser_process_sub_thread.cc:105
#18 0x000060784d8e971c in base::Thread::ThreadMain (this=0xc2985aa0) at ../../../../src/chromium/src/base/threading/thread.cc:337
#19 0x000060784d9cfe3d in base::(anonymous namespace)::ThreadFunc (params=0xc26ed160) at ../../../../src/chromium/src/base/threading/platform_thread_posix.cc:76
#20 0x000078091045b2b8 in start_thread (arg=0x7809096d8700) at pthread_create.c:333
#21 0x000078090f5e5fad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) 


83
84      void BrowsingDataChannelIDHelperImpl::FetchOnIOThread(
(gdb) 
85          const FetchResultCallback& callback) {
86        DCHECK_CURRENTLY_ON(BrowserThread::IO);
87        DCHECK(!callback.is_null());
88
89        net::ChannelIDStore* cert_store =
90            request_context_getter_->GetURLRequestContext()->
91            channel_id_service()->GetChannelIDStore();
92        if (cert_store) {
93          cert_store->GetAllChannelIDs(base::Bind(
94              &BrowsingDataChannelIDHelperImpl::OnFetchComplete, this, callback));
(gdb) 
95        } else {
96          OnFetchComplete(callback, net::ChannelIDStore::ChannelIDList());
97        }
98      }
99

 
Blocking: 823534
Labels: -Restrict-View-Google
Owner: alemate@chromium.org
Mergedinto: 841685
Status: Duplicate (was: Untriaged)

Sign in to add a comment