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 120809 - Random crash when switching between workspaces
Random crash when switching between workspaces
Status: RESOLVED DUPLICATE of bug 122016
Product: metacity
Classification: Other
Component: general
2.4.x
Other Linux
: Normal major
: GNOME2.x
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2003-08-27 06:00 UTC by Arvind S N
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Probable fix (1.39 KB, patch)
2003-08-27 12:25 UTC, Arvind S N
none Details | Review
One more attempt :) (988 bytes, patch)
2003-09-18 04:36 UTC, Arvind S N
none Details | Review

Description Arvind S N 2003-08-27 06:00:41 UTC
When switching between workspaces using ctrl-Alt-Arrow keys, got this
dump. Not simulatable every time though

  • #0 meta_window_set_stack_position
    at stack.c line 1555
  • #1 meta_stack_raise
    at stack.c line 150
  • #2 meta_window_raise
    at window.c line 3302
  • #3 meta_workspace_focus_mru_window
    at workspace.c line 740
  • #4 meta_workspace_focus_default_window
    at workspace.c line 700
  • #5 meta_workspace_activate_with_focus
    at workspace.c line 246
  • #6 meta_workspace_activate
    at workspace.c line 253
  • #7 switch_to_workspace
    at keybindings.c line 2337
  • #8 handle_workspace_switch
    at keybindings.c line 3210
  • #9 process_event
    at keybindings.c line 1527
  • #10 meta_display_process_key_event
    at keybindings.c line 1588
  • #11 event_callback
    at display.c line 1289
  • #12 filter_func
    at ui.c line 83
  • #13 gdk_event_apply_filters
    at gdkevents-x11.c line 307
  • #14 gdk_event_translate
    at gdkevents-x11.c line 802
  • #15 _gdk_events_queue
    at gdkevents-x11.c line 2028
  • #16 gdk_event_dispatch
    at gdkevents-x11.c line 2088
  • #17 g_main_dispatch
    at gmain.c line 1722
  • #18 g_main_context_dispatch
    at gmain.c line 2270
  • #19 g_main_context_iterate
    at gmain.c line 2351
  • #20 g_main_loop_run
    at gmain.c line 2571
  • #21 main
    at main.c line 361
  • #22 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129

Comment 1 Arvind S N 2003-08-27 12:25:10 UTC
Created attachment 19545 [details] [review]
Probable fix
Comment 2 Arvind S N 2003-08-27 13:16:22 UTC
okay, that was bad try, the patch did not fix it :/
Comment 3 Arvind S N 2003-09-18 03:55:43 UTC
I think I got a reasonable way to simulate this while debugging
the panel.

Start the panel from command line, there is a small delay when panel
actually shows up. In the mean time start switching workspaces using
the keyboard quickly, metacity dumps.
Comment 4 Arvind S N 2003-09-18 04:36:41 UTC
Created attachment 20029 [details] [review]
One more attempt :)
Comment 5 Arvind S N 2003-09-18 04:40:30 UTC
in meta_workspace_activate_with_focus()a call to
meta_workspace_focus_default_window() is made with NULL as parameter
for MetaWindow. This seems to trigger the crash.
Comment 6 Havoc Pennington 2003-09-19 05:11:54 UTC
Discussed with Arvind, this is a possible dup of bug 122016
Comment 7 Arvind S N 2003-09-19 05:28:40 UTC
Rob's patch in bug 122016 fixes this crash too.

*** This bug has been marked as a duplicate of 122016 ***