Status: Assigned Owner: jhawk...@chromium.org Labels: Type-Bug Pri-2 OS-Linux Area-BrowserUI Size-Medium
New issue 19552 by tony.chromium: tab dragging crashes in debug metacity builds http://code.google.com/p/chromium/issues/detail?id=19552 What steps will reproduce the problem? 1. run chrome in metacity 2. drag a tab 3. boom! Here's a stack: #0 IA__g_type_check_instance_cast (type_instance=0x2, iface_type=80) at /tmp/glib2.0.F15431/glib2.0-2.16.6/gobject/gtype.c:3166 #1 0x000000000053d9ad in BrowserWindowGtk::GetBrowserWindowForNativeWindow ( window=0x2) at chrome/browser/gtk/browser_window_gtk.cc:1263 #2 0x0000000000824160 in DraggedTabControllerGtk::GetTabStripForPoint ( this=0x4dfe180, screen_poi...@0x7fffffffc490) at chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc:419 #3 0x00000000008248ed in DraggedTabControllerGtk::ContinueDragging ( this=0x4dfe180) at chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc:251 #4 0x0000000000824bd8 in DraggedTabControllerGtk::Drag (this=0x4dfe180) at chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc:90 #5 0x000000000056a750 in TabStripGtk::ContinueDrag (this=0x47cccd0, context=0x0) at chrome/browser/gtk/tabs/tab_strip_gtk.cc:1101 #6 0x0000000000828201 in TabGtk::DidProcessEvent (this=0x7fffe40094f0, event=0x4c6b890) at chrome/browser/gtk/tabs/tab_gtk.cc:237 #7 0x0000000000cd21e7 in base::MessagePumpForUI::DidProcessEvent ( this=0x474ec30, event=0x4c6b890) at base/message_pump_glib.cc:284 I tried just adding a null check to BrowserWindowGtk::GetBrowserWindowForXID (if the xid is not in the map, return NULL). That seems to fix the crash, but tab dragging still doesn't work. It just causes all tabs to be pulled out of the window. -- 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 -~----------~----~----~----~------~----~------~--~---