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 337954 - minimize un-decorated window fastly make metacity shut down.
minimize un-decorated window fastly make metacity shut down.
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
2.14.x
Other All
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2006-04-10 15:12 UTC by huzheng
Modified: 2006-04-11 03:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description huzheng 2006-04-10 15:12:46 UTC
Please describe the problem:
After I open a window that are not decorated, such as
ReciteWord(http://reciteword.cosoft.org.cn), then click the corresponding button
on the task list fastly, that show and hide it again and again, then metacity
will shut down.


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Elijah Newren 2006-04-10 15:24:18 UTC
Sounds like it may be a duplicate of bug 337868.  Can you obtain a stack trace with debugging symbols?
Comment 2 huzheng 2006-04-10 15:54:14 UTC
Can you tell me how to get the stack trace by steps? Do I need to compile metacity from source?
Comment 3 Elijah Newren 2006-04-10 16:11:45 UTC
See bug 337868 comment 4; you shouldn't need to compile metacity from source unless your distribution doesn't provide any debuginfo packages.
Comment 4 huzheng 2006-04-11 01:25:40 UTC
OK, I get it:
  • #0 finish_minimize
    at window.c line 1323
  • #1 implement_showing
    at window.c line 1394
  • #2 idle_calc_showing
    at window.c line 1507
  • #3 g_list_remove_link
    from /usr/lib/libglib-2.0.so.0
  • #4 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #5 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #6 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #7 main
    at main.c line 492
  • #8 __libc_start_main
    from /lib/libc.so.6
  • #9 _start

Comment 5 Elijah Newren 2006-04-11 01:50:44 UTC
Had to download the Fedora SRPM to find this; it's due to this line of the metacity-2.13.144-bling.patch:
	g_print ("focusing something other than %lx\n", window->frame->xwindow);
Because it erroneously assumes window->frame isn't NULL.  This bug was also temporarily in CVS HEAD but appears to have been removed just a few revisions after it was put in.

I'll ping Søren and Ray so one of them can fix/update the Fedora patch and package if they haven't done so already.
Comment 6 Ray Strode [halfline] 2006-04-11 02:10:31 UTC
Thanks, I'll have a look at it tonight.
Comment 7 Ray Strode [halfline] 2006-04-11 03:04:24 UTC
Hi huzheng,

I've committed Elijah's fix for this problem in FC5 updates-testing, and will be pushing it out to FC5 updates soon after.