brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.85k stars 2.34k forks source link

Crash in JSSolanaProvider::LoadSolanaWeb3ModuleIfNeeded #40354

Closed LeifXu closed 1 month ago

LeifXu commented 3 months ago

IMPORTANT: Your crash has already been automatically reported to our crash system. Please file this bug only if you can provide more information about it.

Brave Version: 1.68.134 Chromium: 127.0.6533.88 Operating System: Mac OS X 14.5.0

URL (if applicable) where crash occurred:

Can you reproduce this crash?

What steps will reproduce this crash? (If it's not reproducible, what were you doing just before the crash?)

  1. Used polyfill

DO NOT CHANGE BELOW THIS LINE Crash ID: crash/fdce0100-15c1-690c-0000-000000000000

bsclifton commented 2 months ago

Appears to be wallet related

Backtrace for Brave employees: https://brave.sp.backtrace.io/p/brave/debug?time=month&filters=JTVCJTVCJTIyX2RlbGV0ZWQlMjIlMkMlMjJlcXVhbCUyMiUyQyUyMjAlMjIlNUQlMkMlNUIlMjJfcnhpZCUyMiUyQyUyMmVxdWFsJTIyJTJDJTIyZmRjZTAxMDAtMTVjMS02OTBjLTAwMDAtMDAwMDAwMDAwMDAwJTIyJTVEJTVE&fingerprint=944f81ae2519261a3eca6359bad42b07e3d092039771ea2931295f3a4d54abd0&debug=(%228242f01%22,0,0)

Call stack:

[ 00 ] base::ImmediateCrash() ( immediate_crash.h:176 )
[ 01 ] logging::LogMessage::HandleFatal(unsigned long, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&) const ( logging.cc:1048 )
[ 02 ] logging::LogMessage::HandleFatal(unsigned long, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&) const ( logging.cc:1018 )
[ 03 ] logging::LogMessage::Flush()::$_0::operator()() const ( logging.cc:748 )
[ 04 ] absl::cleanup_internal::Storage<logging::LogMessage::Flush()::$_0>::InvokeCallback() ( cleanup.h:87 )
[ 05 ] absl::Cleanup<absl::cleanup_internal::Tag, logging::LogMessage::Flush()::$_0>::~Cleanup() ( cleanup.h:106 )
[ 06 ] absl::Cleanup<absl::cleanup_internal::Tag, logging::LogMessage::Flush()::$_0>::~Cleanup() ( cleanup.h:104 )
[ 07 ] logging::LogMessage::Flush() ( logging.cc:931 )
[ 08 ] logging::LogMessageFatal::~LogMessageFatal() ( logging.cc:1053 )
[ 09 ] logging::LogMessageFatal::~LogMessageFatal() ( logging.cc:1052 )
[ 10 ] blink::ReportV8FatalError(char const*, char const*) ( v8_initializer.cc:801 )
[ 11 ] v8::Utils::ReportApiFailure(char const*, char const*) ( api.cc:326 )
[ 12 ] v8::MaybeLocal<v8::Value>::ToLocalChecked() ( api.h:194 )
[ 13 ] brave_wallet::JSSolanaProvider::LoadSolanaWeb3ModuleIfNeeded(v8::Isolate*) ( js_solana_provider.cc:1079 )
[ 14 ] brave_wallet::JSSolanaProvider::CreatePublicKey(v8::Local<v8::Context>, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&) ( js_solana_provider.cc:1095 )
[ 15 ] brave_wallet::JSSolanaProvider::OnConnect(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&) ( js_solana_provider.cc:677 )
[ 16 ] void base::internal::DecayedFunctorTraits<void (brave_wallet::JSSolanaProvider::*)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), brave_wallet::JSSolanaProvider*, v8::Global<v8::Context>&&, v8::Global<v8::Promise::Resolver>&&, v8::Isolate*&&>::Invoke<void (brave_wallet::JSSolanaProvider::*)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), brave_wallet::JSSolanaProvider*, v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&>(void (brave_wallet::JSSolanaProvider::*)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), brave_wallet::JSSolanaProvider*&&, v8::Global<v8::Context>&&, v8::Global<v8::Promise::Resolver>&&, v8::Isolate*&&, brave_wallet::mojom::SolanaProviderError&&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&) ( bind_internal.h:738 )
[ 17 ] void base::internal::InvokeHelper<false, base::internal::FunctorTraits<void (brave_wallet::JSSolanaProvider::*&&)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), brave_wallet::JSSolanaProvider*, v8::Global<v8::Context>&&, v8::Global<v8::Promise::Resolver>&&, v8::Isolate*&&>, void, 0ul, 1ul, 2ul, 3ul>::MakeItSo<void (brave_wallet::JSSolanaProvider::*)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), std::__Cr::tuple<base::internal::UnretainedWrapper<brave_wallet::JSSolanaProvider, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, base::internal::UnretainedWrapper<v8::Isolate, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&>(void (brave_wallet::JSSolanaProvider::*&&)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), std::__Cr::tuple<base::internal::UnretainedWrapper<brave_wallet::JSSolanaProvider, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, base::internal::UnretainedWrapper<v8::Isolate, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>&&, brave_wallet::mojom::SolanaProviderError&&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&) ( bind_internal.h:930 )
[ 18 ] void base::internal::Invoker<base::internal::FunctorTraits<void (brave_wallet::JSSolanaProvider::*&&)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), brave_wallet::JSSolanaProvider*, v8::Global<v8::Context>&&, v8::Global<v8::Promise::Resolver>&&, v8::Isolate*&&>, base::internal::BindState<true, true, false, void (brave_wallet::JSSolanaProvider::*)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), base::internal::UnretainedWrapper<brave_wallet::JSSolanaProvider, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, base::internal::UnretainedWrapper<v8::Isolate, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, void (brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&)>::RunImpl<void (brave_wallet::JSSolanaProvider::*)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), std::__Cr::tuple<base::internal::UnretainedWrapper<brave_wallet::JSSolanaProvider, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, base::internal::UnretainedWrapper<v8::Isolate, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, 0ul, 1ul, 2ul, 3ul>(void (brave_wallet::JSSolanaProvider::*&&)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), std::__Cr::tuple<base::internal::UnretainedWrapper<brave_wallet::JSSolanaProvider, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, base::internal::UnretainedWrapper<v8::Isolate, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>&&, std::__Cr::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>, brave_wallet::mojom::SolanaProviderError&&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&) ( bind_internal.h:1067 )
[ 19 ] base::internal::Invoker<base::internal::FunctorTraits<void (brave_wallet::JSSolanaProvider::*&&)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), brave_wallet::JSSolanaProvider*, v8::Global<v8::Context>&&, v8::Global<v8::Promise::Resolver>&&, v8::Isolate*&&>, base::internal::BindState<true, true, false, void (brave_wallet::JSSolanaProvider::*)(v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, v8::Isolate*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&), base::internal::UnretainedWrapper<brave_wallet::JSSolanaProvider, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, v8::Global<v8::Context>, v8::Global<v8::Promise::Resolver>, base::internal::UnretainedWrapper<v8::Isolate, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, void (brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&)>::RunOnce(base::internal::BindStateBase*, brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&) ( bind_internal.h:980 )
[ 20 ] base::OnceCallback<void (brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&)>::Run(brave_wallet::mojom::SolanaProviderError, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&) && ( callback.h:156 )
[ 21 ] brave_wallet::mojom::SolanaProvider_Connect_ForwardToCallback::Accept(mojo::Message*) ( brave_wallet.mojom.cc:13901 )
[ 22 ] mojo::MessageDispatcher::Accept(mojo::Message*) ( message_dispatcher.cc:43 )
[ 23 ] mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) ( interface_endpoint_client.cc:721 )
[ 24 ] mojo::MessageDispatcher::Accept(mojo::Message*) ( message_dispatcher.cc:43 )
[ 25 ] mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) ( interface_endpoint_client.cc:721 )
[ 26 ] mojo::internal::MultiplexRouter::ProcessIncomingMessage(mojo::internal::MultiplexRouter::MessageWrapper*, mojo::internal::MultiplexRouter::ClientCallBehavior, base::SequencedTaskRunner*) ( multiplex_router.cc:1120 )
[ 27 ] mojo::internal::MultiplexRouter::Accept(mojo::Message*) ( multiplex_router.cc:733 )
[ 28 ] mojo::MessageDispatcher::Accept(mojo::Message*) ( message_dispatcher.cc:43 )
[ 29 ] void base::internal::DecayedFunctorTraits<void (mojo::Connector::*)(char const*, unsigned int), mojo::Connector*, char const* const&>::Invoke<void (mojo::Connector::*)(char const*, unsigned int), mojo::Connector*, char const*, unsigned int>(void (mojo::Connector::*)(char const*, unsigned int), mojo::Connector*&&, char const*&&, unsigned int&&) ( connector.cc:562 )
[ 30 ] void base::internal::InvokeHelper<false, base::internal::FunctorTraits<void (mojo::Connector::* const&)(char const*, unsigned int), mojo::Connector*, char const* const&>, void, 0ul, 1ul>::MakeItSo<void (mojo::Connector::* const&)(char const*, unsigned int), std::__Cr::tuple<base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>> const&, unsigned int>(void (mojo::Connector::* const&)(char const*, unsigned int), std::__Cr::tuple<base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>> const&, unsigned int&&) ( bind_internal.h:930 )
[ 31 ] void base::internal::Invoker<base::internal::FunctorTraits<void (mojo::Connector::* const&)(char const*, unsigned int), mojo::Connector*, char const* const&>, base::internal::BindState<true, true, false, void (mojo::Connector::*)(char const*, unsigned int), base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, void (unsigned int)>::RunImpl<void (mojo::Connector::* const&)(char const*, unsigned int), std::__Cr::tuple<base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>> const&, 0ul, 1ul>(void (mojo::Connector::* const&)(char const*, unsigned int), std::__Cr::tuple<base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>> const&, std::__Cr::integer_sequence<unsigned long, 0ul, 1ul>, unsigned int&&) ( bind_internal.h:1067 )
[ 32 ] base::internal::Invoker<base::internal::FunctorTraits<void (mojo::Connector::* const&)(char const*, unsigned int), mojo::Connector*, char const* const&>, base::internal::BindState<true, true, false, void (mojo::Connector::*)(char const*, unsigned int), base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, void (unsigned int)>::Run(base::internal::BindStateBase*, unsigned int) ( bind_internal.h:987 )
[ 33 ] void base::internal::DecayedFunctorTraits<void (mojo::SimpleWatcher::*)(int, unsigned int, mojo::HandleSignalsState const&), base::WeakPtr<mojo::SimpleWatcher>&&, int&&, unsigned int&&, mojo::HandleSignalsState&&>::Invoke<void (mojo::SimpleWatcher::*)(int, unsigned int, mojo::HandleSignalsState const&), base::WeakPtr<mojo::SimpleWatcher> const&, int, unsigned int, mojo::HandleSignalsState>(void (mojo::SimpleWatcher::*)(int, unsigned int, mojo::HandleSignalsState const&), base::WeakPtr<mojo::SimpleWatcher> const&, int&&, unsigned int&&, mojo::HandleSignalsState&&) ( callback.h:344 )
[ 34 ] void base::internal::InvokeHelper<true, base::internal::FunctorTraits<void (mojo::SimpleWatcher::*&&)(int, unsigned int, mojo::HandleSignalsState const&), base::WeakPtr<mojo::SimpleWatcher>&&, int&&, unsigned int&&, mojo::HandleSignalsState&&>, void, 0ul, 1ul, 2ul, 3ul>::MakeItSo<void (mojo::SimpleWatcher::*)(int, unsigned int, mojo::HandleSignalsState const&), std::__Cr::tuple<base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState>>(void (mojo::SimpleWatcher::*&&)(int, unsigned int, mojo::HandleSignalsState const&), std::__Cr::tuple<base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState>&&) ( bind_internal.h:954 )
[ 35 ] void base::internal::Invoker<base::internal::FunctorTraits<void (mojo::SimpleWatcher::*&&)(int, unsigned int, mojo::HandleSignalsState const&), base::WeakPtr<mojo::SimpleWatcher>&&, int&&, unsigned int&&, mojo::HandleSignalsState&&>, base::internal::BindState<true, true, false, void (mojo::SimpleWatcher::*)(int, unsigned int, mojo::HandleSignalsState const&), base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState>, void ()>::RunImpl<void (mojo::SimpleWatcher::*)(int, unsigned int, mojo::HandleSignalsState const&), std::__Cr::tuple<base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState>, 0ul, 1ul, 2ul, 3ul>(void (mojo::SimpleWatcher::*&&)(int, unsigned int, mojo::HandleSignalsState const&), std::__Cr::tuple<base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState>&&, std::__Cr::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>) ( bind_internal.h:1067 )
[ 36 ] base::internal::Invoker<base::internal::FunctorTraits<void (mojo::SimpleWatcher::*&&)(int, unsigned int, mojo::HandleSignalsState const&), base::WeakPtr<mojo::SimpleWatcher>&&, int&&, unsigned int&&, mojo::HandleSignalsState&&>, base::internal::BindState<true, true, false, void (mojo::SimpleWatcher::*)(int, unsigned int, mojo::HandleSignalsState const&), base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState>, void ()>::RunOnce(base::internal::BindStateBase*) ( bind_internal.h:980 )
[ 37 ] base::OnceCallback<void ()>::Run() && ( callback.h:156 )
[ 38 ] base::TaskAnnotator::RunTaskImpl(base::PendingTask&) ( task_annotator.cc:203 )
[ 39 ] void base::TaskAnnotator::RunTask<base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::LazyNow*)::$_3>(perfetto::StaticString, base::PendingTask&, base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::LazyNow*)::$_3&&) ( task_annotator.h:90 )
[ 40 ] base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::LazyNow*) ( thread_controller_with_message_pump_impl.cc:484 )
[ 41 ] base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() ( thread_controller_with_message_pump_impl.cc:346 )
[ 42 ] non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() ( thread_controller_with_message_pump_impl.cc:0 )
[ 43 ] base::MessagePumpDefault::Run(base::MessagePump::Delegate*) ( message_pump_default.cc:40 )
[ 44 ] non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) ( run_loop.cc:0 )
[ 45 ] base::RunLoop::Run(base::Location const&) ( run_loop.cc:134 )
[ 46 ] non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) ( run_loop.cc:0 )
[ 47 ] base::RunLoop::Run(base::Location const&) ( run_loop.cc:134 )
[ 48 ] content::RendererMain(content::MainFunctionParams) ( renderer_main.cc:359 )
[ 49 ] content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) ( content_main.cc:332 )
[ 50 ] content::ContentMain(content::ContentMainParams) ( content_main.cc:345 )
[ 51 ] content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) ( content_main.cc:332 )
[ 52 ] content::ContentMain(content::ContentMainParams) ( content_main.cc:345 )
[ 53 ] ChromeMain ( chrome_main.cc:192 )
[ 54 ] 0x191f220dc
[ 55 ] 0x191f220dc
bsclifton commented 2 months ago

cc: @Douglashdaniel @darkdh

iefremov commented 1 month ago

Decreasing the priority as this a rare case, but we need a solution from @darkdh

LaurenWags commented 1 month ago

Requires 1.70.124 or higher for verification 👍🏻

LaurenWags commented 1 month ago

Verified with

Brave | 1.70.126 Chromium: 129.0.6668.100 (Official Build) (x86_64)
-- | --
Revision | 35f34f21e597f5f30e9e206b0354cc137df1f2a3
OS | macOS Version 14.7 (Build 23H124)

Reproduced the issue using 1.70.123 Chromium: 129.0.6668.89 and STR from https://github.com/brave/brave-core/pull/25788#issue-2562825643:

Image

For both upgraded and clean profiles using 1.70.126 Chromium: 129.0.6668.100 and same STR from https://github.com/brave/brave-core/pull/25788#issue-2562825643:

Image