IMPORTANT: Your crash has already been automatically reported to our crash syste…m. Please file this bug only if you can provide more information about it.
Brave Version: 1.76.47 Chromium: 133.0.6943.27
Operating System: Mac OS X 15.2.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. Disable media router settings option and re-launch
2. Clicked media control toolbar button while youtube clip is playing
2.
3.
****DO NOT CHANGE BELOW THIS LINE****
Crash ID: crash/83d00700-eb92-500d-0000-000000000000
```
[ 00 ] base::ImmediateCrash() ( immediate_crash.h:188 )
[ 01 ] logging::CheckFailure() ( check.h:253 )
[ 02 ] media_router::ChromeMediaRouterFactory::BuildServiceInstanceForBrowserContext(content::BrowserContext*) const ( chrome_media_router_factory.cc:81 )
[ 03 ] KeyedServiceTemplatedFactory<KeyedService>::GetServiceForContext(void*, bool) ( keyed_service_templated_factory.cc:150 )
[ 04 ] BrowserContextKeyedServiceFactory::GetServiceForBrowserContext(content::BrowserContext*, bool) ( browser_context_keyed_service_factory.cc:62 )
[ 05 ] media_router::MediaRouterFactory::GetApiForBrowserContext(content::BrowserContext*) ( media_router_factory.cc:29 )
[ 06 ] media_router::ControllerPresentationServiceDelegateImpl::ControllerPresentationServiceDelegateImpl(content::WebContents*) ( controller_presentation_service_delegate_impl.cc:327 )
[ 07 ] media_router::ControllerPresentationServiceDelegateImpl::ControllerPresentationServiceDelegateImpl(content::WebContents*) ( controller_presentation_service_delegate_impl.cc:328 )
[ 08 ] void content::WebContentsUserData<media_router::ControllerPresentationServiceDelegateImpl>::CreateForWebContents<>(content::WebContents*) ( web_contents_user_data.h:61 )
[ 09 ] media_router::ControllerPresentationServiceDelegateImpl::GetOrCreateForWebContents(content::WebContents*) ( controller_presentation_service_delegate_impl.cc:317 )
[ 10 ] media_router::WebContentsPresentationManager::Get(content::WebContents*) ( web_contents_presentation_manager.cc:22 )
[ 11 ] (anonymous namespace)::ShouldInitializeWithRemotePlaybackSource(content::WebContents*, mojo::StructPtr<media_session::mojom::RemotePlaybackMetadata>) ( media_notification_service.cc:111 )
[ 12 ] MediaNotificationService::CreateCastDialogControllerForSession(std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&) ( media_notification_service.cc:478 )
[ 13 ] MediaNotificationService::GetDeviceListHostForSession(std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, mojo::PendingReceiver<global_media_controls::mojom::DeviceListHost>, mojo::PendingRemote<global_media_controls::mojom::DeviceListClient>) ( media_notification_service.cc:443 )
[ 14 ] non-virtual thunk to MediaNotificationService::GetDeviceListHostForSession(std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, mojo::PendingReceiver<global_media_controls::mojom::DeviceListHost>, mojo::PendingRemote<global_media_controls::mojom::DeviceListClient>) ( media_notification_service.cc:0 )
[ 15 ] CreateHostAndClient(Profile*, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, base::WeakPtr<media_message_center::MediaNotificationItem> const&, global_media_controls::mojom::DeviceService*) ( media_item_ui_helper.cc:88 )
[ 16 ] BuildDeviceSelector(std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, base::WeakPtr<media_message_center::MediaNotificationItem>, global_media_controls::mojom::DeviceService*, MediaItemUIDeviceSelectorDelegate*, Profile*, global_media_controls::GlobalMediaControlsEntryPoint, bool, std::__Cr::optional<media_message_center::MediaColorTheme>) ( media_item_ui_helper.cc:220 )
[ 17 ] MediaDialogView::BuildMediaItemUIUpdatedView(std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, base::WeakPtr<media_message_center::MediaNotificationItem>) ( media_dialog_view.cc:720 )
[ 18 ] MediaDialogView::ShowMediaItem(std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, base::WeakPtr<media_message_center::MediaNotificationItem>) ( media_dialog_view.cc:187 )
[ 19 ] non-virtual thunk to MediaDialogView::ShowMediaItem(std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, base::WeakPtr<media_message_center::MediaNotificationItem>) ( media_dialog_view.cc:0 )
[ 20 ] global_media_controls::MediaItemManagerImpl::ShowMediaItemUI(std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&) ( media_item_manager_impl.cc:163 )
[ 21 ] global_media_controls::MediaItemManagerImpl::SetDialogDelegate(global_media_controls::MediaDialogDelegate*) ( media_item_manager_impl.cc:85 )
[ 22 ] MediaDialogView::AddedToWidget() ( media_dialog_view.cc:267 )
[ 23 ] views::View::PropagateAddNotifications(views::ViewHierarchyChangedDetails const&, bool) ( view.cc:3151 )
[ 24 ] views::View::AddChildViewAtImpl(views::View*, unsigned long) ( view.cc:3028 )
[ 25 ] views::View* views::View::AddChildViewAt<views::View>(views::View*, unsigned long) ( view.h:460 )
[ 26 ] views::ClientView::ViewHierarchyChanged(views::ViewHierarchyChangedDetails const&) ( client_view.cc:83 )
[ 27 ] views::DialogClientView::ViewHierarchyChanged(views::ViewHierarchyChangedDetails const&) ( dialog_client_view.cc:257 )
[ 28 ] views::View::ViewHierarchyChangedImpl(views::ViewHierarchyChangedDetails const&) ( view.cc:3169 )
[ 29 ] views::View::PropagateAddNotifications(views::ViewHierarchyChangedDetails const&, bool) ( view.cc:3149 )
[ 30 ] views::View::AddChildViewAtImpl(views::View*, unsigned long) ( view.cc:3028 )
[ 31 ] views::NonClientView::ViewHierarchyChanged(views::ViewHierarchyChangedDetails const&) ( non_client_view.cc:332 )
[ 32 ] views::View::ViewHierarchyChangedImpl(views::ViewHierarchyChangedDetails const&) ( view.cc:3169 )
[ 33 ] views::View::PropagateAddNotifications(views::ViewHierarchyChangedDetails const&, bool) ( view.cc:3149 )
[ 34 ] views::View::AddChildViewAtImpl(views::View*, unsigned long) ( view.cc:3028 )
[ 35 ] views::View* views::View::AddChildView<views::View>(views::View*) ( view.h:454 )
[ 36 ] views::internal::RootView::SetContentsView(views::View*) ( root_view.cc:351 )
[ 37 ] views::Widget::Init(views::Widget::InitParams) ( widget.cc:543 )
[ 38 ] views::(anonymous namespace)::CreateBubbleWidget(views::BubbleDialogDelegate*, views::Widget::InitParams::Ownership) ( bubble_dialog_delegate_view.cc:202 )
[ 39 ] views::BubbleDialogDelegate::CreateBubble(std::__Cr::unique_ptr<views::BubbleDialogDelegate, std::__Cr::default_delete<views::BubbleDialogDelegate>>, views::Widget::InitParams::Ownership) ( bubble_dialog_delegate_view.cc:534 )
[ 40 ] MediaDialogView::ShowDialog(views::View*, views::BubbleBorder::Arrow, MediaNotificationService*, Profile*, content::WebContents*, global_media_controls::GlobalMediaControlsEntryPoint) ( media_dialog_view.cc:150 )
[ 41 ] MediaToolbarButtonView::ButtonPressed() ( media_toolbar_button_view.cc:147 )
[ 42 ] base::RepeatingCallback<void (net::MDnsTransaction::Result, net::RecordParsed const*)>::Run(net::MDnsTransaction::Result, net::RecordParsed const*) const & ( callback.h:344 )
[ 43 ] views::Button::DefaultButtonControllerDelegate::NotifyClick(ui::Event const&) ( button.cc:74 )
[ 44 ] views::ButtonController::OnMousePressed(ui::MouseEvent const&) ( button_controller.cc:37 )
[ 45 ] views::Button::OnMousePressed(ui::MouseEvent const&) ( button.cc:498 )
[ 46 ] ToolbarButton_ChromiumImpl::OnMousePressed(ui::MouseEvent const&) ( toolbar_button.cc:439 )
[ 47 ] views::View::ProcessMousePressed(ui::MouseEvent const&) ( view.cc:3538 )
[ 48 ] views::View::OnMouseEvent(ui::MouseEvent*) ( view.cc:1644 )
[ 49 ] ui::ScopedTargetHandler::OnEvent(ui::Event*) ( scoped_target_handler.cc:30 )
[ 50 ] ui::EventDispatcher::DispatchEvent(ui::EventHandler*, ui::Event*) ( event_dispatcher.cc:187 )
[ 51 ] ui::EventDispatcher::ProcessEvent(ui::EventTarget*, ui::Event*) ( event_dispatcher.cc:136 )
[ 52 ] ui::EventDispatcherDelegate::DispatchEventToTarget(ui::EventTarget*, ui::Event*) ( event_dispatcher.cc:82 )
[ 53 ] ui::EventDispatcherDelegate::DispatchEvent(ui::EventTarget*, ui::Event*) ( event_dispatcher.cc:54 )
[ 54 ] views::internal::RootView::OnMousePressed(ui::MouseEvent const&) ( root_view.cc:555 )
[ 55 ] views::Widget::OnMouseEvent(ui::MouseEvent*) ( widget.cc:1992 )
[ 56 ] views::NativeWidgetMacNSWindowHost::OnMouseEvent(std::__Cr::unique_ptr<ui::Event, std::__Cr::default_delete<ui::Event>>) ( native_widget_mac_ns_window_host.mm:1078 )
[ 57 ] -[BridgedContentView mouseEvent:] ( bridged_content_view.mm:684 )
```