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 385923 - metacity crashes unexpectedly when moving windows around
metacity crashes unexpectedly when moving windows around
Status: RESOLVED DUPLICATE of bug 353513
Product: metacity
Classification: Other
Component: general
2.17.x
Other All
: Normal critical
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2006-12-14 17:20 UTC by Javi López
Modified: 2006-12-16 18:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Javi López 2006-12-14 17:20:40 UTC
Steps to reproduce:
1. grab a window
2. move it randomly


Stack trace:

Thread 1 (Thread -1208895824 (LWP 3737))

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 IA__g_logv
    at gmessages.c line 497
  • #4 IA__g_log
  • #5 IA__g_assert_warning
    at gmessages.c line 552
  • #6 meta_rectangle_edge_aligns
    at boxes.c line 1080
  • #7 apply_edge_resistance
    at edge-resistance.c line 379
  • #8 apply_edge_resistance_to_each_side
    at edge-resistance.c line 598
  • #9 meta_window_edge_resistance_for_move
    at edge-resistance.c line 1149
  • #10 update_move
    at window.c line 6762
  • #11 event_callback
    at display.c line 1819
  • #12 filter_func
    at ui.c line 88
  • #13 gdk_event_apply_filters
    at gdkevents-x11.c line 345
  • #14 gdk_event_translate
    at gdkevents-x11.c line 894
  • #15 _gdk_events_queue
    at gdkevents-x11.c line 2254
  • #16 gdk_event_dispatch
    at gdkevents-x11.c line 2314
  • #17 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #18 g_main_context_iterate
    at gmain.c line 2677
  • #19 IA__g_main_loop_run
    at gmain.c line 2881
  • #20 main
    at main.c line 391


Other information:
Advertencia del gestor de ventanas: Log level 6: file boxes.c: line 1080 (meta_rectangle_edge_aligns): should not be reached
Abortado
Comment 1 Thomas Thurman 2006-12-14 17:33:25 UTC
That's pretty serious. It doesn't happen for me running the version in HEAD. Can you tell me which particular version of 2.17.* you're running (metacity --version)? Or, better, if you're able to test HEAD then please let us know whether it happens there too.

The error occurs because an edge is marked as not being one of left, right, top, or bottom, which shouldn't be possible. If this still happens in HEAD I'd like to know what it *is* marked as.
Comment 2 Elijah Newren 2006-12-16 18:28:25 UTC
The patch in bug 353513 ought to help; I probably should have applied it when I created it.  Other comments in that bug suggest that there may be another place that triggers this bug, meaning that there may be other out-of-bounds or uninitialized data being used somewhere...

Anyway, its triggering the same assertion, so I'll mark this report as a duplicate.

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