After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728423 - Standalone mutter crashes with SIGSEGV when trying to switch workspaces
Standalone mutter crashes with SIGSEGV when trying to switch workspaces
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2014-04-17 14:36 UTC by Dmitry Shachnev
Modified: 2014-04-17 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
keybindings: Handle switch-to-workspace-{up,down,left,right} again (2.86 KB, patch)
2014-04-17 15:00 UTC, Florian Müllner
committed Details | Review

Description Dmitry Shachnev 2014-04-17 14:36:16 UTC
Steps to reproduce:

- Run `mutter --replace` in the terminal;
- Try to switch workspaces using (Ctrl + Alt + →) sequence.

Full backtrace:

  • #0 ??
  • #1 invoke_handler
    at core/keybindings.c line 1657
  • #2 process_event
    at core/keybindings.c line 1710
  • #3 process_event
    at core/keybindings.c line 1675
  • #4 meta_display_process_key_event
    at core/keybindings.c line 1987
  • #5 event_callback
    at core/display.c line 2332
  • #6 filter_func
    at ui/ui.c line 261
  • #7 gdk_event_apply_filters
    at /build/gtk+3.0-uVs8cd/gtk+3.0-3.12.0/./gdk/x11/gdkeventsource.c line 81
  • #8 gdk_event_source_translate_event
    at /build/gtk+3.0-uVs8cd/gtk+3.0-3.12.0/./gdk/x11/gdkeventsource.c line 195
  • #9 _gdk_x11_display_queue_events
    at /build/gtk+3.0-uVs8cd/gtk+3.0-3.12.0/./gdk/x11/gdkeventsource.c line 338
  • #10 gdk_display_get_event
    at /build/gtk+3.0-uVs8cd/gtk+3.0-3.12.0/./gdk/gdkdisplay.c line 320
  • #11 gdk_event_source_dispatch
    at /build/gtk+3.0-uVs8cd/gtk+3.0-3.12.0/./gdk/x11/gdkeventsource.c line 360
  • #12 g_main_dispatch
    at /build/glib2.0-54cgmj/glib2.0-2.40.0/./glib/gmain.c line 3064
  • #13 g_main_context_dispatch
    at /build/glib2.0-54cgmj/glib2.0-2.40.0/./glib/gmain.c line 3663
  • #14 g_main_context_iterate
    at /build/glib2.0-54cgmj/glib2.0-2.40.0/./glib/gmain.c line 3734
  • #15 g_main_loop_run
    at /build/glib2.0-54cgmj/glib2.0-2.40.0/./glib/gmain.c line 3928
  • #16 meta_run
    at core/main.c line 566
  • #17 main
    at core/mutter.c line 84

Comment 1 Florian Müllner 2014-04-17 15:00:51 UTC
Created attachment 274610 [details] [review]
keybindings: Handle switch-to-workspace-{up,down,left,right} again

Commit 585fdd781cc5 not only removed the tabpopup, but set invalid
handlers (a.k.a. NULL) for those shortcuts; add back handling of
basic handling of those shortcuts by switching instantly without any
popups.
Comment 2 Jasper St. Pierre (not reading bugmail) 2014-04-17 15:03:27 UTC
Review of attachment 274610 [details] [review]:

Oh, whoops. I thought if the handler was NULL it would just do nothing, not crash.
Comment 3 Florian Müllner 2014-04-17 15:06:07 UTC
Attachment 274610 [details] pushed as abd0ac2 - keybindings: Handle switch-to-workspace-{up,down,left,right} again
Comment 4 Dmitry Shachnev 2014-04-17 15:37:27 UTC
Yay, you fixed this bug in less than 30 minutes! Thanks! \o/