[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-21 Thread Bug Watch Updater
** Changed in: gnome-terminal
   Status: New = Fix Released

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-20 Thread Didier Roche
** Changed in: gnome-terminal (Ubuntu)
 Assignee: (unassigned) = Canonical Desktop Team (canonical-desktop-team)

** Also affects: gnome-terminal (Ubuntu Maverick)
   Importance: High
 Assignee: Canonical Desktop Team (canonical-desktop-team)
   Status: Triaged

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-20 Thread Chris Coulson
** Changed in: gnome-terminal (Ubuntu Maverick)
 Assignee: Canonical Desktop Team (canonical-desktop-team) = Chris Coulson 
(chrisccoulson)

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-20 Thread Didier Roche
just a note, as told on IRC: it happens with gnome-shell and unity.

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-20 Thread Chris Coulson
This is where it fails:

000::1297: 28: Request(18): ChangeProperty mode=Replace(0x00) 
window=0x06400103 property=0x15c(_NET_WM_DESKTOP) type=0x6(CARDINAL) 
data=0x;
000::1298:  4: Request(43): GetInputFocus 
000::1297:Error 3=Window: major=18, minor=0, bad=104857859

...but, this window had been destroyed already:

000::1028:  8: Request(4): DestroyWindow window=0x06400103
000::1029:  4: Request(43): GetInputFocus 
000::1029: Event DestroyNotify(17) event=0x06400103 window=0x06400103
000::1029: Event PropertyNotify(28) window=0x06400103 atom=0x19b(unrecognized 
atom) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 atom=0x1bd(unrecognized 
atom) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x162(_NET_WM_STATE) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 atom=0x17a(WM_STATE) 
time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x159(_NET_FRAME_EXTENTS) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x15c(_NET_WM_DESKTOP) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 atom=0x1a5(unrecognized 
atom) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 atom=0x23(WM_HINTS) 
time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 atom=0x1cb(XdndAware) 
time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x1cd(_MOTIF_DRAG_RECEIVER_INFO) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x15d(_NET_WM_ICON) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x156(WM_WINDOW_ROLE) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x16d(_NET_WM_SYNC_REQUEST_COUNTER) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x16e(_NET_WM_WINDOW_TYPE) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x175(_NET_WM_USER_TIME_WINDOW) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x151(WM_CLIENT_LEADER) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x160(_NET_WM_PID) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x153(WM_LOCALE_NAME) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x24(WM_CLIENT_MACHINE) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x28(WM_NORMAL_HINTS) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x154(WM_PROTOCOLS) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 atom=0x43(WM_CLASS) 
time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x25(WM_ICON_NAME) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x15e(_NET_WM_ICON_NAME) time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 atom=0x27(WM_NAME) 
time=0x00c10b3c state=Deleted(0x01)
000::1029: Event PropertyNotify(28) window=0x06400103 
atom=0x15f(_NET_WM_NAME) time=0x00c10b3c state=Deleted(0x01)

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-20 Thread Chris Coulson
Ok, I think what is happening here is that from
terminal_window_composited_changed_cb, it is passing an invalid
GdkWindow to terminal_util_x11_set_net_wm_desktop. It seems to be
passing the one that was just destroyed when unrealizing the
TerminalWindow.

I will test a patch for this in a minute

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-20 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-desktop/gnome-terminal/ubuntu

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-20 Thread Chris Coulson
Ok, I've uploaded a fix for this now

** Changed in: gnome-terminal (Ubuntu Maverick)
   Status: Triaged = Fix Committed

** Changed in: gnome-terminal (Ubuntu Maverick)
Milestone: None = ubuntu-10.10

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-20 Thread Chris Coulson
Sent upstream now

** Bug watch added: GNOME Bug Tracker #630163
   https://bugzilla.gnome.org/show_bug.cgi?id=630163

** Also affects: gnome-terminal via
   https://bugzilla.gnome.org/show_bug.cgi?id=630163
   Importance: Unknown
   Status: Unknown

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-20 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-terminal - 2.31.91-0ubuntu2

---
gnome-terminal (2.31.91-0ubuntu2) maverick; urgency=low

  * Fix LP: #633303 - gnome-terminal crashed with signal 5 in _XError()
when Mutter is restarted. Make sure gnome-terminal sets _NET_WM_DESKTOP
on the new X window, rather than the one that was destroyed previously
- add debian/patches/21_dont_crash_on_composite_change.patch
- update debian/patches/series
 -- Chris Coulson chris.coul...@canonical.com   Mon, 20 Sep 2010 14:53:22 
+0100

** Changed in: gnome-terminal (Ubuntu Maverick)
   Status: Fix Committed = Fix Released

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-20 Thread Bug Watch Updater
** Changed in: gnome-terminal
   Status: Unknown = New

** Changed in: gnome-terminal
   Importance: Unknown = Medium

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-20 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/gnome-terminal

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError()

2010-09-18 Thread Milan Bouchet-Valat
Here's a trace with --sync, up-to-date Maverick as of today.

The crash occurs when window manager changes (or restarts), which
triggers terminal_window_composited_changed_cb() and
terminal_util_x11_set_net_wm_desktop().

Breakpoint 1, gdk_x_error (display=0x9cd5d90, error=0xbff3a2ac) at 
/build/buildd/gtk+2.0-2.21.7/gdk/x11/gdkmain-x11.c:439
439 /build/buildd/gtk+2.0-2.21.7/gdk/x11/gdkmain-x11.c: Aucun fichier ou 
dossier de ce type.
in /build/buildd/gtk+2.0-2.21.7/gdk/x11/gdkmain-x11.c
(gdb) ba
#0  gdk_x_error (display=0x9cd5d90, error=0xbff3a2ac) at 
/build/buildd/gtk+2.0-2.21.7/gdk/x11/gdkmain-x11.c:439
#1  0x0043c2c9 in _XError (dpy=0x9cd5d90, rep=0x9d34cf0) at 
../../src/XlibInt.c:3103
#2  0x0044299f in process_responses (dpy=0x9cd5d90, wait_for_first_event=value 
optimized out, current_error=0xbff3a3dc, 
current_request=4434) at ../../src/xcb_io.c:214
#3  0x00443036 in _XReply (dpy=0x9cd5d90, rep=0xbff3a410, extra=0, discard=1) 
at ../../src/xcb_io.c:464
#4  0x00436867 in XSync (dpy=0x9cd5d90, discard=0) at ../../src/Sync.c:46
#5  0x004369f5 in _XSyncFunction (dpy=0x9cd5d90) at ../../src/Synchro.c:35
#6  0x00415abc in XChangeProperty (dpy=0x9cd5d90, w=48234501, property=349, 
type=6, format=32, mode=0, data=0xbff3a508 , 
nelements=1) at ../../src/ChProp.c:92
#7  0x0806f349 in terminal_util_x11_set_net_wm_desktop (window=0x9ce8218, 
desktop=0) at terminal-util.c:1115
#8  0x08071632 in terminal_window_composited_changed_cb (screen=0x9ce40d8, 
window=0x9d49088) at terminal-window.c:1689
#9  0x00312a1c in g_cclosure_marshal_VOID__VOID (closure=0x9e1b578, 
return_value=0x0, n_param_values=1, 
param_values=0x9ea9a08, invocation_hint=0xbff3a700, marshal_data=0x8071490)
at /build/buildd/glib2.0-2.25.15/gobject/gmarshal.c:79
#10 0x003034b2 in g_closure_invoke (closure=0x9e1b578, return_value=0x0, 
n_param_values=1, param_values=0x9ea9a08, 
invocation_hint=0xbff3a700) at 
/build/buildd/glib2.0-2.25.15/gobject/gclosure.c:766
#11 0x0031c0e5 in signal_emit_unlocked_R (node=value optimized out, 
detail=value optimized out, instance=0x9ce40d8, 
emission_return=0x0, instance_and_params=0x9ea9a08) at 
/build/buildd/glib2.0-2.25.15/gobject/gsignal.c:3252
#12 0x0031d75c in g_signal_emit_valist (instance=0x9ce40d8, signal_id=5, 
detail=0, var_args=0xbff3a958 )
at /build/buildd/glib2.0-2.25.15/gobject/gsignal.c:2983
#13 0x0031da45 in g_signal_emit_by_name (instance=0x9ce40d8, 
detailed_signal=0x83b99d composited-changed)
at /build/buildd/glib2.0-2.25.15/gobject/gsignal.c:3077
#14 0x0080e54d in _gdk_x11_screen_process_owner_change (screen=0x9ce40d8, 
event=0xbff3abdc)
at /build/buildd/gtk+2.0-2.21.7/gdk/x11/gdkscreen-x11.c:1228
#15 0x008016f9 in gdk_event_translate (display=value optimized out, 
event=value optimized out, xevent=0xbff3abdc, 
return_exposes=0) at 
/build/buildd/gtk+2.0-2.21.7/gdk/x11/gdkevents-x11.c:2105
#16 0x00801e91 in _gdk_events_queue (display=0x9ce10c0) at 
/build/buildd/gtk+2.0-2.21.7/gdk/x11/gdkevents-x11.c:2310
#17 0x0080240f in gdk_event_dispatch (source=0x9cea330, callback=0, 
user_data=0x0)
at /build/buildd/gtk+2.0-2.21.7/gdk/x11/gdkevents-x11.c:2371
#18 0x00ae0015 in g_main_dispatch (context=0x9cea400) at 
/build/buildd/glib2.0-2.25.15/glib/gmain.c:2119
#19 g_main_context_dispatch (context=0x9cea400) at 
/build/buildd/glib2.0-2.25.15/glib/gmain.c:2672
#20 0x00ae3e28 in g_main_context_iterate (context=0x9cea400, block=value 
optimized out, dispatch=1, self=0x9cbb890)
at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2750
#21 0x00ae4367 in g_main_loop_run (loop=0x9d270f0) at 
/build/buildd/glib2.0-2.25.15/glib/gmain.c:2958
#22 0x00d00749 in IA__gtk_main () at 
/build/buildd/gtk+2.0-2.21.7/gtk/gtkmain.c:1237
#23 0x0805a20d in main (argc=1, argv=0xbff3aff4) at terminal.c:592

** Changed in: gnome-terminal (Ubuntu)
   Status: Incomplete = Triaged

-- 
gnome-terminal crashed with signal 5 in _XError()
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError()

2010-09-18 Thread Ubuntu QA Website
** Tags added: iso-testing

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError()

2010-09-18 Thread Milan Bouchet-Valat
Seems also to occur very often when Unity crashes, obviously for the
same reason (mutter dies).

** Changed in: gnome-terminal (Ubuntu)
   Importance: Medium = High

** Summary changed:

- gnome-terminal crashed with signal 5 in _XError()
+ gnome-terminal crashes when Mutter is restarted

** Summary changed:

- gnome-terminal crashes when Mutter is restarted
+ gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted

2010-09-18 Thread Salih EMIN
I confirm that this also to occur very often in up-to-date Unity. Also
it seems that Mutter restarts.

-- 
gnome-terminal crashed with signal 5 in _XError() when Mutter is restarted
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 633303] Re: gnome-terminal crashed with signal 5 in _XError()

2010-09-10 Thread Pedro Villavicencio
Thanks for the report, could you try to get a backtrace? please do the
following in gdb:

gdb gnome-terminal
(gdb) break gdk_x_error
(gdb) run --sync
reproduce the crash and:
(gdb) thread apply all bt

Then please attach that resulting output to the report, thanks in
advance.

** Visibility changed to: Public

** Changed in: gnome-terminal (Ubuntu)
   Status: New = Incomplete

-- 
gnome-terminal crashed with signal 5 in _XError()
https://bugs.launchpad.net/bugs/633303
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs