Bug 193815
Summary: | metacity segfaults on shutdown | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Jaegermann <michal> |
Component: | metacity | Assignee: | Søren Sandmann Pedersen <sandmann> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | kem |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-08-15 02:56:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 150223 |
Description
Michal Jaegermann
2006-06-01 19:46:25 UTC
I raised core ulimit and ended up with few core files from metacity. With metacity-debuginfo looking at these with gdb shows a consistent picture. A segfault happens always here: (gdb) where #0 meta_compositor_unref (compositor=0x0) at compositor.c:160 #1 0x000000000041a245 in meta_display_close (display=0x6dd660) at display.c:903 #2 0x000000000042b7f9 in main (argc=1, argv=0x7fffdd704068) at main.c:402 #3 0x00000030bfb1c864 in ?? () #4 0x00007fffdd704068 in ?? () #5 0x00007fffdd704068 in ?? () #6 0x00000002aaaab000 in ?? () #7 0x000000000042b100 in meta_restart () at main.c:453 #8 0x00000030bfa19be0 in _dl_argv_internal () from /lib64/ld-linux-x86-64.so.2 #9 0x1e798c090cb2ec13 in ?? () #10 0x0000000000000000 in ?? () (gdb) where the code looks like this: (gdb) list 155 156 #ifdef HAVE_COMPOSITE_EXTENSIONS 157 static void 158 remove_repair_idle (MetaCompositor *compositor) 159 { 160 if (compositor->repair_idle) 161 { 162 meta_topic (META_DEBUG_COMPOSITOR, "Damage idle removed\n"); 163 164 g_source_remove (compositor->repair_idle); (gdb) p compositor $2 = (MetaCompositor *) 0x0 In other words a check which would prevent calling 'remove_repair_idle()' with a NULL 'compositor' would prevent that bomb. If this is really a legitimate value for that variable, and if it may contain garbage under some circumstance, I cannot tell. I found very familiar looking metacity[14293]: segfault at 0000000000000010 rip 00000000004141f1 rsp 00007fffffc36c50 error 4 on a shutdown with metacity-2.14.3-1.fc5.1 from FC5 as well. Closing bugs related to the metacity compositor, since we no longer develop it. |