Status: Untriaged
Owner: [email protected]
CC: [email protected],  [email protected],  [email protected]
Labels: Type-Bug Pri-1 OS-Linux Area-Misc

New issue 8707 by [email protected]: Linux GTK widget double destroy  
causing navigation instability.
http://code.google.com/p/chromium/issues/detail?id=8707

We are currently destroying the RenderWidgetHostViewGtk's backing gtk
widget twice.  Once in

RenderWidgetHostView* WebContentsViewGtk::CreateViewForWidget(
     RenderWidgetHost* render_widget_host) {
   DCHECK(!render_widget_host->view());
   RenderWidgetHostViewGtk* view =
       new RenderWidgetHostViewGtk(render_widget_host);
   gtk_widget_show(view->native_view());
   g_signal_connect(view->native_view(), "focus",
                    G_CALLBACK(OnFocus), web_contents_);
   // WIDGET DESTROYED HERE WHEN REMOVED FROM VBOX.
   gtk_container_foreach(GTK_CONTAINER(vbox_), RemoveWidget, vbox_);
   gtk_box_pack_start(GTK_BOX(vbox_), view->native_view(), TRUE, TRUE, 0);
   return view;
}

And again in:

==455==    by 0x820F5A8: RenderWidgetHost::Destroy()
(render_widget_host.cc:370)
==455==    by 0x8211599: RenderWidgetHost::Shutdown()
(render_widget_host.cc:91)
==455==    by 0x81FC309: RenderViewHost::Shutdown()
(render_view_host.cc:783)
==455==    by 0x835DE3A:
RenderViewHostManager::SwapToRenderView(RenderViewHost**, bool)
(render_view_host_manager.cc:452)


This is causing our navigations / loads to be super shotty.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to