Skip to content

Instantly share code, notes, and snippets.

@ckerr
Created September 26, 2018 20:19
Show Gist options
  • Save ckerr/8a011c1315ba1a8bbb68d05fa7032068 to your computer and use it in GitHub Desktop.
Save ckerr/8a011c1315ba1a8bbb68d05fa7032068 to your computer and use it in GitHub Desktop.
#2 0x00007fffecf985d0 in ui::Accelerator::Accelerator(ui::KeyboardCode, int, ui::Accelerator::KeyState, base::TimeTicks) (this=0x7fffffff7dc0, key_code=ui::VKEY_Q, modifiers=4, key_state=ui::Accelerator::KeyState::PRESSED, time_stamp=...)
at ../../ui/base/accelerators/accelerator.cc:52
#3 0x0000000000d44fda in accelerator_util::StringToAccelerator(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, ui::Accelerator*) (shortcut=..., accelerator=0x7fffffff8280)
at ../../electron/atom/browser/ui/accelerator_util.cc:66
#4 0x0000000000dea4fe in mate::Converter<ui::Accelerator, void>::FromV8(v8::Isolate*, v8::Local<v8::Value>, ui::Accelerator*) (isolate=0x15419fc7b020, val=..., out=0x7fffffff8280) at ../../electron/atom/common/native_mate_converters/accelerator_converter.cc:20
#5 0x0000000000de0e1d in mate::ConvertFromV8<ui::Accelerator>(v8::Isolate*, v8::Local<v8::Value>, ui::Accelerator*) (isolate=0x15419fc7b020, input=..., result=0x7fffffff8280) at ../../electron/native_mate/native_mate/converter.h:353
#6 0x0000000000dde92f in atom::api::Menu::GetAcceleratorForCommandIdWithParams(int, bool, ui::Accelerator*) const (this=
0x15419f818a70, command_id=1, use_default_accelerator=true, accelerator=0x7fffffff8280)
at ../../electron/atom/browser/api/atom_api_menu.cc:74
#7 0x0000000000d41f79 in atom::AtomMenuModel::GetAcceleratorAtWithParams(int, bool, ui::Accelerator*) const (this=
0x1541a0290560, index=0, use_default_accelerator=true, accelerator=0x7fffffff8280)
at ../../electron/atom/browser/ui/atom_menu_model.cc:40
#8 0x0000000000d45113 in accelerator_util::GenerateAcceleratorTable(std::__1::map<ui::Accelerator, accelerator_util::MenuItem, std::__1::less<ui::Accelerator>, std::__1::allocator<std::__1::pair<ui::Accelerator const, accelerator_util::MenuItem> > >*, atom::AtomMenuModel*) (table=0x15419fd514a0, model=0x1541a0290560) at ../../electron/atom/browser/ui/accelerator_util.cc:81
#9 0x0000000000d450f0 in accelerator_util::GenerateAcceleratorTable(std::__1::map<ui::Accelerator, accelerator_util::MenuItem, std::__1::less<ui::Accelerator>, std::__1::allocator<std::__1::pair<ui::Accelerator const, accelerator_util::MenuItem> > >*, atom::AtomMenuModel*) (table=0x15419fd514a0, model=0x1541a02902c0) at ../../electron/atom/browser/ui/accelerator_util.cc:78
#10 0x0000000000d43de0 in atom::RootView::RegisterAccelerators(atom::AtomMenuModel*) (this=
0x15419fd512a0, menu_model=0x1541a02902c0) at ../../electron/atom/browser/ui/views/root_view.cc:188
#11 0x0000000000d43807 in atom::RootView::SetMenu(atom::AtomMenuModel*) (this=0x15419fd512a0, menu_model=0x1541a02902c0)
at ../../electron/atom/browser/ui/views/root_view.cc:55
#12 0x0000000000ceb324 in atom::NativeWindowViews::SetMenu(atom::AtomMenuModel*) (this=0x1541a031b020, menu_model=0x1541a02902c0)
at ../../electron/atom/browser/native_window_views.cc:900
#13 0x0000000000c541b6 in atom::api::TopLevelWindow::SetMenu(v8::Isolate*, v8::Local<v8::Value>) (this=0x15419f7ab160, isolate=0x154---Type <return> to continue, or q <return> to quit---
19fc7b020, value=...) at ../../electron/atom/browser/api/atom_api_top_level_window.cc:642
#14 0x0000000000c4348b in base::internal::FunctorTraits<void (atom::api::WebContents::*)(v8::Isolate*, v8::Local<v8::Value>), void>::Invoke<atom::api::WebContents*, v8::Isolate*, v8::Local<v8::Value> >(void (atom::api::WebContents::*)(v8::Isolate*, v8::Local<v8::Value>), atom::api::WebContents*&&, v8::Isolate*&&, v8::Local<v8::Value>&&) (method=
(void (atom::api::WebContents::*)(atom::api::WebContents * const, v8::Isolate *, v8::Local<v8::Value>)) 0xc53d20 <atom::api::TopLevelWindow::SetMenu(v8::Isolate*, v8::Local<v8::Value>)>, receiver_ptr=@0x7fffffff8c38: 0x15419f7ab160, args=@0x7fffffff8c30: 0x15419fc7b020, args=...) at ../../base/bind_internal.h:447
#15 0x0000000000c433da in base::internal::InvokeHelper<false, void>::MakeItSo<void (atom::api::WebContents::* const&)(v8::Isolate*, v8::Local<v8::Value>), atom::api::WebContents*, v8::Isolate*, v8::Local<v8::Value> >(void (atom::api::WebContents::* const&)(v8::Isolate*, v8::Local<v8::Value>), atom::api::WebContents*&&, v8::Isolate*&&, v8::Local<v8::Value>&&) (functor=
@0x15419fd33eb0: (void (atom::api::WebContents::*)(atom::api::WebContents * const, v8::Isolate *, v8::Local<v8::Value>)) 0xc53d20 <atom::api::TopLevelWindow::SetMenu(v8::Isolate*, v8::Local<v8::Value>)>, args=@0x7fffffff8c38: 0x15419f7ab160, args=@0x7fffffff8c30: 0x15419fc7b020, args=...) at ../../base/bind_internal.h:530
#16 0x0000000000c43351 in base::internal::Invoker<base::internal::BindState<void (atom::api::WebContents::*)(v8::Isolate*, v8::Local<v8::Value>)>, void (atom::api::WebContents*, v8::Isolate*, v8::Local<v8::Value>)>::RunImpl<void (atom::api::WebContents::* const&)(v8::Isolate*, v8::Local<v8::Value>), std::__1::tuple<> const&>(void (atom::api::WebContents::* const&)(v8::Isolate*, v8::Local<v8::Value>), std::__1::tuple<> const&, std::__1::integer_sequence<unsigned long>, atom::api::WebContents*&&, v8::Isolate*&&, v8::Local<v8::Value>&&) (functor=
@0x15419fd33eb0: (void (atom::api::WebContents::*)(atom::api::WebContents * const, v8::Isolate *, v8::Local<v8::Value>)) 0xc53d20 <atom::api::TopLevelWindow::SetMenu(v8::Isolate*, v8::Local<v8::Value>)>, bound=..., unbound_args=@0x7fffffff8c38: 0x15419f7ab160, unbound_args=@0x7fffffff8c30: 0x15419fc7b020, unbound_args=...) at ../../base/bind_internal.h:604
#17 0x0000000000c432ef in base::internal::Invoker<base::internal::BindState<void (atom::api::WebContents::*)(v8::Isolate*, v8::Local<v8::Value>)>, void (atom::api::WebContents*, v8::Isolate*, v8::Local<v8::Value>)>::Run(base::internal::BindStateBase*, atom::api::WebContents*, v8::Isolate*, v8::Local<v8::Value>&&) (base=0x15419fd33e90, unbound_args=0x15419f7ab160, unbound_args=0x15419fc7b020, unbound_args=...) at ../../base/bind_internal.h:586
#18 0x0000000000c431f6 in base::RepeatingCallback<void (atom::api::WebContents*, v8::Isolate*, v8::Local<v8::Value>)>::Run(atom::api::WebContents*, v8::Isolate*, v8::Local<v8::Value>) const & (this=0x7fffffff8d30, args=0x15419f7ab160, args=0x15419fc7b020, args=...) at ../../base/callback.h:124
#19 0x0000000000c42fe3 in mate::internal::Invoker<mate::internal::IndicesHolder<0ul, 1ul, 2ul>, atom::api::WebContents*, v8::Isolate*, v8::Local<v8::Value> >::DispatchToCallback(base::RepeatingCallback<void (atom::api::WebContents*, v8::Isolate*, v8::Local<v8::Value>)>) (this=0x7fffffff8d80, callback=...) at ../../electron/native_mate/native_mate/function_template.h:205
---Type <return> to continue, or q <return> to quit---
#20 0x0000000000c42e08 in mate::internal::Dispatcher<void (atom::api::WebContents*, v8::Isolate*, v8::Local<v8::Value>)>::DispatchToCallback(v8::FunctionCallbackInfo<v8::Value> const&) (info=...) at ../../electron/native_mate/native_mate/function_template.h:239
#21 0x00007fffe98107fa in v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) (this=0x7fffffff8ee8, handler=<optimized out>) at ../../v8/src/api-arguments-inl.h:93
#22 0x00007fffe97bc180 in v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) (isolate=<optimized out>, function=..., new_target=..., fun_data=..., receiver=..., args=...) at ./../../v8/src/builtins/builtins-api.cc:108
#23 0x00007fffe97ba289 in v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) (args=..., isolate=0x15419fc7b020) at ./../../v8/src/builtins/builtins-api.cc:138
#24 0x00007fffe97b9ced in v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) (args_length=6, args_object=0x7fffffff91b0, isolate=0x15419fc7b020) at ./../../v8/src/builtins/builtins-api.cc:126
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment