-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Description
I'm running the sample in WSL, so I have removed the "open browser" part of the code and I authorize manually by following the URL.
I do see an OK response in the browser, however at that point I get a SIGTRAP.
I really can't figure out where this is comming from. I understand that this is an uncaught exception from one of the async tasks, but I'm pretty much reaching the point when everything is wrapped in a try {} catch {}
and it's still happening.
This is the stack trace I'm seeing, unfortunately, not very useful for me, as it seem to be all internal stuff.
raise 0x00007ffff7faa24b
pplx::details::_ExceptionHolder::~_ExceptionHolder pplxtasks.h:952
__gnu_cxx::new_allocator<pplx::details::_ExceptionHolder>::destroy<pplx::details::_ExceptionHolder> new_allocator.h:157
std::allocator_traits<std::allocator<pplx::details::_ExceptionHolder> >::destroy<pplx::details::_ExceptionHolder> alloc_traits.h:526
std::_Sp_counted_ptr_inplace<pplx::details::_ExceptionHolder, std::allocator<pplx::details::_ExceptionHolder>, (__gnu_cxx::_Lock_policy)2>::_M_dispose shared_ptr_base.h:560
std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release shared_ptr_base.h:158
std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count shared_ptr_base.h:733
std::__shared_ptr<pplx::details::_ExceptionHolder, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr shared_ptr_base.h:1183
std::shared_ptr<pplx::details::_ExceptionHolder>::~shared_ptr shared_ptr.h:121
pplx::details::_Task_impl_base::~_Task_impl_base pplxtasks.h:1718
pplx::details::_Task_impl<unsigned char>::~_Task_impl pplxtasks.h:2425
__gnu_cxx::new_allocator<pplx::details::_Task_impl<unsigned char> >::destroy<pplx::details::_Task_impl<unsigned char> > new_allocator.h:157
std::allocator_traits<std::allocator<pplx::details::_Task_impl<unsigned char> > >::destroy<pplx::details::_Task_impl<unsigned char> > alloc_traits.h:526
std::_Sp_counted_ptr_inplace<pplx::details::_Task_impl<unsigned char>, std::allocator<pplx::details::_Task_impl<unsigned char> >, (__gnu_cxx::_Lock_policy)2>::_M_dispose shared_ptr_base.h:560
std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release shared_ptr_base.h:158
std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count shared_ptr_base.h:733
std::__shared_ptr<pplx::details::_Task_impl<unsigned char>, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr shared_ptr_base.h:1183
std::shared_ptr<pplx::details::_Task_impl<unsigned char> >::~shared_ptr shared_ptr.h:121
pplx::details::_PPLTaskHandle<unsigned char, pplx::task<unsigned char>::_ContinuationTaskHandle<void, void, oauth2_code_listener::oauth2_code_listener(web::uri, web::http::oauth2::experimental::oauth2_config&)::{lambda(web::http::http_request)#1}::operator()(web::http::http_request) const::{lambda(pplx::task<void>)#1}, std::integral_constant<bool, true>, pplx::details::_TypeSelectorNoAsync>, pplx::details::_ContinuationTaskHandleBase>::~_PPLTaskHandle() pplxtasks.h:1628
pplx::task<unsigned char>::_ContinuationTaskHandle<void, void, oauth2_code_listener::oauth2_code_listener(web::uri, web::http::oauth2::experimental::oauth2_config&)::{lambda(web::http::http_request)#1}::operator()(web::http::http_request) const::{lambda(pplx::task<void>)#1}, std::integral_constant<bool, true>, pplx::details::_TypeSelectorNoAsync>::~_ContinuationTaskHandle() pplxtasks.h:3927
pplx::task<unsigned char>::_ContinuationTaskHandle<void, void, oauth2_code_listener::oauth2_code_listener(web::uri, web::http::oauth2::experimental::oauth2_config&)::{lambda(web::http::http_request)#1}::operator()(web::http::http_request) const::{lambda(pplx::task<void>)#1}, std::integral_constant<bool, true>, pplx::details::_TypeSelectorNoAsync>::~_ContinuationTaskHandle() pplxtasks.h:3927
pplx::details::_AutoDeleter<pplx::details::_TaskProcHandle>::~_AutoDeleter pplx.h:98
pplx::details::_TaskProcHandle::_RunChoreBridge pplx.h:112
boost::_bi::list1<boost::_bi::value<void*> >::operator()<void (*)(void*), boost::_bi::list0> bind.hpp:259
boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > >::operator() bind.hpp:1294
boost::asio::asio_handler_invoke<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > > handler_invoke_hook.hpp:69
boost_asio_handler_invoke_helpers::invoke<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > >, boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > > handler_invoke_helpers.hpp:37
boost::asio::detail::handler_work<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > >, boost::asio::system_executor, boost::asio::system_executor>::complete<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > > handler_work.hpp:100
boost::asio::detail::completion_handler<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > >::do_complete completion_handler.hpp:70
boost::asio::detail::scheduler_operation::complete scheduler_operation.hpp:40
boost::asio::detail::scheduler::do_run_one scheduler.ipp:447
boost::asio::detail::scheduler::run scheduler.ipp:200
boost::asio::io_context::run io_context.ipp:63
(anonymous namespace)::threadpool_impl::thread_start threadpool.cpp:79
operator() threadpool.cpp:64
boost::asio::detail::posix_thread::func<(anonymous namespace)::threadpool_impl::add_thread()::<lambda()> >::run(void) posix_thread.hpp:86
boost::asio::detail::boost_asio_detail_posix_thread_function posix_thread.ipp:74
start_thread 0x00007ffff7f9e609
clone 0x00007ffff7cc9103
Metadata
Metadata
Assignees
Labels
No labels