Bug 9602 - RIght-click on totem title-bar kills gtk-window-decorator
Summary: RIght-click on totem title-bar kills gtk-window-decorator
Alias: None
Product: xorg
Classification: Unclassified
Component: App/compiz (show other bugs)
Version: 7.1 (2006.05)
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: David Reveman
QA Contact:
Depends on:
Reported: 2007-01-10 12:25 UTC by kronheim
Modified: 2007-01-10 18:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description kronheim 2007-01-10 12:25:52 UTC
Steps to reproduce, using compiz 0.3.7, on Ubuntu 6.10, with nvidia (no xgl):

0. Configure gnome so that totem opens video files (the Ubuntu default).
1. Grab a movie file from Google videos (or anywhere).
2. Double-click the movie file, to open it in totem.
3. Right-click on the title bar of the totem window.

Expected result: the window menu appears.
Actual result: gtk-window-decorator crashes (segfault)

The crash does not occur (here) if totem is first opened from the Application
menu before the movie is opened. (Strangely, this seems completely reproducible,
at least today). I have checked that this does not arise using metacity. Here is
a backtrace:

(gdb) bt
#0  0xb7faf677 in wnck_workspace_get_viewport_x ()
   from /usr/lib/libwnck-1.so.18
#1  0x080521b2 in action_menu_map (win=0x0, button=3, time=228311431)
    at gtk-window-decorator.c:4097
#2  0x0805295a in event_filter_func (gdkxevent=0xbf9e6738, event=0x80c3d08, 
    data=0x0) at gtk-window-decorator.c:4656
#3  0xb7aea021 in gdk_x11_drawable_get_xdisplay ()
   from /usr/lib/libgdk-x11-2.0.so.0
#4  0xb7aeb78c in gdk_events_pending () from /usr/lib/libgdk-x11-2.0.so.0
#5  0xb7aed3bb in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#6  0xb7aed7bf in _gdk_events_init () from /usr/lib/libgdk-x11-2.0.so.0
#7  0xb7708802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#8  0xb770b7df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#9  0xb770bb89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#10 0xb7c64574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x080566a2 in main (argc=Cannot access memory at address 0x0
) at gtk-window-decorator.c:6112
Comment 1 kronheim 2007-01-10 13:48:28 UTC
This also happens with compiz 0.3.4 and the corresponding gtk-window-decorator.
Comment 2 David Reveman 2007-01-10 18:08:53 UTC
Your installed libwnck package uses a broken viewport patch.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.