Bug 1888993
Summary: | metacity crashes / dies in installer images, preventing installer from running (crash in meta_window_get_client_pid) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
Component: | libXres | Assignee: | Yaakov Selkowitz <yselkowi> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | ajax, alberts.muktupavels, btissoir, caillon+fedoraproject, caolanm, ego.cordatus, fmuellner, gnome-sig, jglisse, jkaluza, john.j5live, mclasen, mkolman, mpitt, otaylor, rhughes, robatino, rstrode, sandmann, vponcova, yselkowi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | openqa | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-21 21:31:52 UTC | Type: | Bug |
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: | 1829022 |
Description
Adam Williamson
2020-10-16 17:30:17 UTC
Here's the full backtrace: #0 __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:49 49 return ret; [Current thread is 1 (Thread 0x7f92fd50ca80 (LWP 1804))] (gdb) bt full #0 __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:49 set = {__val = {0, 0, 140721216334560, 1, 140721216334640, 0, 0, 6871404107517253120, 94372277956736, 422, 94372278304720, 140721216334808, 94372276055648, 94372278304720, 94372276055648, 140269306626572}} pid = <optimized out> tid = <optimized out> ret = <optimized out> #1 0x00007f92fe2b88a4 in __GI_abort () at abort.c:79 save_stage = 1 act = {__sigaction_handler = {sa_handler = 0x7ffc361cad00, sa_sigaction = 0x7ffc361cad00}, sa_mask = { __val = {140721216335064, 94372276055648, 140269300313377, 94372276055648, 140269300318013, 94372276055648, 94372276055672, 3, 94372278341024, 423, 140721216335104, 0, 140269306630728, 0, 0, 0}}, sa_flags = 0, sa_restorer = 0x400000000} sigs = {__val = {32, 0, 17179869184, 6871404107517253120, 3, 423, 94372277628192, 140721216335064, 94372276055648, 94372277628192, 94372276055648, 140269306626572, 140721216335296, 423, 140721216335296, 140721216335072}} #2 0x00007f92fe312127 in __libc_message (action=<optimized out>, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:155 ap = {{gp_offset = 24, fp_offset = 21972, overflow_arg_area = 0x7ffc361cae50, reg_save_area = 0x7ffc361cade0}} fd = <optimized out> list = <optimized out> nlist = <optimized out> cp = <optimized out> #3 0x00007f92fe319e1c in malloc_printerr (str=str@entry=0x7f92fe4225cc "free(): invalid pointer") at malloc.c:5414 No locals. #4 0x00007f92fe31c2d2 in free_check (mem=0x55d4c215ad20, caller=<optimized out>) at hooks.c:255 p = <optimized out> #5 0x00007f92ff58b99d in XResClientIdsDestroy (num_ids=<optimized out>, client_ids=0x55d4c2222bd0) at XRes.c:323 c = 0 #6 0x000055d4c0bfdb5f in meta_window_get_client_pid (self=self@entry=0x55d4c2392160) at core/window.c:9306 spec = {client = 4194316, mask = 2} num_ids = 1 client_ids = 0x55d4c2222bd0 i = <optimized out> #7 0x000055d4c0bfdbf9 in set_title_text (window=window@entry=0x55d4c2392160, previous_was_modified=0, title=0x55d4c2220cd0 "metacity", atom=375, target=target@entry=0x55d4c23921c0) at core/window-props.c:552 hostname = "fedora\000\000\000ֹ(\241!\\_\b\000\000\000\000\000\000\000\250I\035\302\324U\000\000\020J\035\302\324U\000\000\002\000\000\000\000\000\000\000\020J\035\302\324U\000\000\340S\032\302\324U\000\000\377" modified = 0 #8 0x000055d4c0bfdf0a in set_window_title (window=0x55d4c2392160, title=<optimized out>) at core/window-props.c:641 modified = <optimized out> #9 0x000055d4c0c018d8 in reload_net_wm_name (window=0x55d4c2392160, value=<optimized out>, initial=<optimized out>) at core/window-props.c:665 No locals. #10 0x000055d4c0bf4f0a in reload_prop_value (initial=1, value=0x55d4c21a9ed8, hooks=<optimized out>, window=0x55d4c2392160) at core/window-props.c:202 No locals. #11 meta_window_load_initial_properties (window=0x55d4c2392160) at core/window-props.c:166 hooks = <optimized out> i = 1 j = 1 values = 0x55d4c21a9eb0 n_properties = <optimized out> i = <optimized out> j = <optimized out> values = <optimized out> n_properties = <optimized out> __n = <optimized out> __s = <optimized out> __p = <optimized out> hooks = <optimized out> hooks = <optimized out> #12 meta_window_new (display=0x55d4c2368c00, xwindow=<optimized out>, must_be_viewable=<optimized out>, effect=<optimized out>) at core/window.c:611 attrs = {x = -200, y = -200, width = 1, height = 1, border_width = 0, depth = 24, visual = 0x55d4c1fe7110, root = 1333, class = 1, bit_gravity = 1, win_gravity = 1, backing_store = 0, backing_planes = 4294967295, backing_pixel = 0, save_under = 1, colormap = 4194315, map_installed = 0, map_state = 2, all_event_masks = 6529151, your_event_mask = 6529151, do_not_propagate_mask = 0, override_redirect = 1, screen = 0x55d4c1fd92e0} window = 0x55d4c2392160 space = <optimized out> existing_wm_state = <optimized out> event_mask = <optimized out> flags = <optimized out> #13 0x000055d4c0bdb904 in meta_screen_manage_all_windows (screen=0x55d4c2166240) at core/screen.c:603 windows = 0x55d4c21e8ac0 n_windows = 7 xwindows = <optimized out> i = <optimized out> windows = <optimized out> n_windows = <optimized out> xwindows = <optimized out> i = <optimized out> #14 meta_display_open () at core/display.c:785 xdisplay = <optimized out> i = <optimized out> timestamp = 44310 screen = <optimized out> old_active_xwindow = 0 atom_names = {0x55d4c0c15928 "WM_PROTOCOLS", 0x55d4c0c15935 "WM_TAKE_FOCUS", 0x55d4c0c15943 "WM_DELETE_WINDOW", 0x55d4c0c15bcc "WM_STATE", 0x55d4c0c15954 "_MOTIF_WM_HINTS", 0x55d4c0c15964 "WM_CHANGE_STATE", 0x55d4c0c15974 "SM_CLIENT_ID", 0x55d4c0c15981 "WM_CLIENT_LEADER", 0x55d4c0c15992 "WM_WINDOW_ROLE", 0x55d4c0c159a1 "UTF8_STRING", 0x55d4c0c159ad "WM_ICON_SIZE", 0x55d4c0c159ba "_KWM_WIN_ICON", 0x55d4c0c159c8 "_METACITY_RESTART_MESSAGE", 0x55d4c0c18148 "_METACITY_RELOAD_THEME_MESSAGE", 0x55d4c0c18168 "_METACITY_SET_KEYBINDINGS_MESSAGE", 0x55d4c0c18190 "_METACITY_SET_MOUSEMODS_MESSAGE", 0x55d4c0c159e2 "_METACITY_TOGGLE_VERBOSE", 0x55d4c0c159fb "_GTK_THEME_VARIANT", 0x55d4c0c15a0e "_GTK_FRAME_EXTENTS", 0x55d4c0c15a21 "_GTK_SHOW_WINDOW_MENU", 0x55d4c0c15a37 "_GTK_WORKAREAS", 0x55d4c0c15a46 "_GNOME_PANEL_ACTION", 0x55d4c0c15a5a "_GNOME_PANEL_ACTION_MAIN_MENU", 0x55d4c0c181b0 "_GNOME_PANEL_ACTION_RUN_DIALOG", 0x55d4c0c15a78 "_GNOME_WM_STRUT_AREA", 0x55d4c0c15a8d "_METACITY_TIMESTAMP_PING", 0x55d4c0c15aa6 "_METACITY_FOCUS_SET", 0x55d4c0c15aba "_METACITY_SENTINEL", 0x55d4c0c15acd "_METACITY_VERSION", 0x55d4c0c15adf "WM_CLIENT_MACHINE", 0x55d4c0c15af1 "MANAGER", 0x55d4c0c15af9 "TARGETS", 0x55d4c0c15b01 "MULTIPLE", 0x55d4c0c15b0a "TIMESTAMP", 0x55d4c0c15ad7 "VERSION", 0x55d4c0c15b14 "ATOM_PAIR", 0x55d4c0c15b1e "_XROOTPMAP_ID", 0x55d4c0c15b2c "_XSETROOT_ID", 0x55d4c0c15b39 "_NET_WM_SYNC_REQUEST", 0x55d4c0c15b4e "_NET_WM_SYNC_REQUEST_COUNTER", 0x55d4c0c15b6b "_NET_WM_VISIBLE_NAME", 0x55d4c0c15b80 "_NET_SUPPORTING_WM_CHECK", 0x55d4c0c15b99 "_NET_SUPPORTED", 0x55d4c0c15ba8 "_NET_WM_NAME", 0x55d4c0c15bb5 "_NET_CLOSE_WINDOW", 0x55d4c0c15bc7 "_NET_WM_STATE", 0x55d4c0c15bd5 "_NET_WM_STATE_SHADED", 0x55d4c0c15bea "_NET_WM_STATE_MAXIMIZED_HORZ", 0x55d4c0c15c07 "_NET_WM_STATE_MAXIMIZED_VERT", 0x55d4c0c15c24 "_NET_WM_DESKTOP", 0x55d4c0c15c34 "_NET_NUMBER_OF_DESKTOPS", 0x55d4c0c15c4c "_NET_CURRENT_DESKTOP", 0x55d4c0c15c61 "_NET_WM_WINDOW_TYPE", 0x55d4c0c15c75 "_NET_WM_WINDOW_TYPE_DESKTOP", 0x55d4c0c15c91 "_NET_WM_WINDOW_TYPE_DOCK", 0x55d4c0c15caa "_NET_WM_WINDOW_TYPE_TOOLBAR", 0x55d4c0c15cc6 "_NET_WM_WINDOW_TYPE_MENU", 0x55d4c0c15cdf "_NET_WM_WINDOW_TYPE_UTILITY", 0x55d4c0c15cfb "_NET_WM_WINDOW_TYPE_SPLASH", 0x55d4c0c15d16 "_NET_WM_WINDOW_TYPE_DIALOG", 0x55d4c0c181d0 "_NET_WM_WINDOW_TYPE_DROPDOWN_MENU", 0x55d4c0c181f8 "_NET_WM_WINDOW_TYPE_POPUP_MENU", 0x55d4c0c15d31 "_NET_WM_WINDOW_TYPE_TOOLTIP", 0x55d4c0c18218 "_NET_WM_WINDOW_TYPE_NOTIFICATION", 0x55d4c0c15d4d "_NET_WM_WINDOW_TYPE_COMBO", 0x55d4c0c15d67 "_NET_WM_WINDOW_TYPE_DND", 0x55d4c0c15d7f "_NET_WM_WINDOW_TYPE_NORMAL", 0x55d4c0c15d9a "_NET_WM_STATE_MODAL", 0x55d4c0c15dae "_NET_CLIENT_LIST", 0x55d4c0c15dbf "_NET_CLIENT_LIST_STACKING", 0x55d4c0c15dd9 "_NET_WM_STATE_SKIP_TASKBAR", 0x55d4c0c15df4 "_NET_WM_STATE_SKIP_PAGER", 0x55d4c0c15e0d "_NET_WM_ICON", 0x55d4c0c15e1a "_NET_WM_ICON_GEOMETRY", 0x55d4c0c15e30 "_NET_WM_MOVERESIZE", 0x55d4c0c15e43 "_NET_ACTIVE_WINDOW", 0x55d4c0c15e56 "_NET_WM_STRUT", 0x55d4c0c15e64 "_NET_WM_STATE_HIDDEN", 0x55d4c0c15e79 "_NET_WM_STATE_FULLSCREEN", 0x55d4c0c15e92 "_NET_WM_PING", 0x55d4c0c15e9f "_NET_WM_PID", 0x55d4c0c15eab "_NET_WORKAREA", 0x55d4c0c15eb9 "_NET_SHOWING_DESKTOP", 0x55d4c0c15ece "_NET_DESKTOP_LAYOUT", 0x55d4c0c15ee2 "_NET_DESKTOP_NAMES", 0x55d4c0c15ef5 "_NET_WM_ALLOWED_ACTIONS", 0x55d4c0c15f0d "_NET_WM_ACTION_MOVE", 0x55d4c0c15f21 "_NET_WM_ACTION_RESIZE", 0x55d4c0c15f37 "_NET_WM_ACTION_SHADE", 0x55d4c0c15f4c "_NET_WM_ACTION_STICK", 0x55d4c0c15f61 "_NET_WM_ACTION_MAXIMIZE_HORZ", 0x55d4c0c15f7e "_NET_WM_ACTION_MAXIMIZE_VERT", 0x55d4c0c15f9b "_NET_WM_ACTION_CHANGE_DESKTOP", 0x55d4c0c15fb9 "_NET_WM_ACTION_CLOSE", 0x55d4c0c15fce "_NET_WM_STATE_ABOVE", 0x55d4c0c15fe2 "_NET_WM_STATE_BELOW", 0x55d4c0c15ff6 "_NET_STARTUP_ID", 0x55d4c0c16006 "_NET_WM_STRUT_PARTIAL", 0x55d4c0c1601c "_NET_WM_ACTION_FULLSCREEN", 0x55d4c0c16036 "_NET_WM_ACTION_MINIMIZE", 0x55d4c0c1604e "_NET_FRAME_EXTENTS", 0x55d4c0c16061 "_NET_REQUEST_FRAME_EXTENTS", 0x55d4c0c1607c "_NET_WM_USER_TIME", 0x55d4c0c18240 "_NET_WM_STATE_DEMANDS_ATTENTION", 0x55d4c0c1608e "_NET_MOVERESIZE_WINDOW", 0x55d4c0c160a5 "_NET_DESKTOP_GEOMETRY", 0x55d4c0c160bb "_NET_DESKTOP_VIEWPORT", 0x55d4c0c160d1 "_NET_WM_USER_TIME_WINDOW", 0x55d4c0c160ea "_NET_WM_ACTION_ABOVE", 0x55d4c0c160ff "_NET_WM_ACTION_BELOW", 0x55d4c0c16114 "_NET_WM_STATE_STICKY", 0x55d4c0c16129 "_NET_WM_FULLSCREEN_MONITORS", 0x55d4c0c16145 "_NET_WM_STATE_FOCUSED", 0x55d4c0c1615b "_NET_WM_OPAQUE_REGION", 0x55d4c0c16171 "_NET_RESTACK_WINDOW", 0x55d4c0c16185 "_NET_WM_WINDOW_OPACITY"} atoms = {300, 301, 298, 348, 349, 350, 351, 297, 302, 285, 38, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 36, 370, 281, 283, 284, 371, 372, 373, 374, 325, 326, 375, 295, 376, 311, 377, 314, 378, 321, 320, 308, 379, 304, 327, 380, 381, 382, 332, 336, 383, 329, 331, 334, 335, 384, 328, 330, 333, 319, 385, 386, 322, 323, 309, 387, 388, 303, 389, 318, 317, 313, 312, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 315, 316, 306, 403, 404, 405, 305, 406, 337, 407, 408, 409, 410, 338, 411, 412, 324, 413, 341, 414, 415, 416} __func__ = "meta_display_open" #15 0x000055d4c0bca1b9 in main (argc=<optimized out>, argv=<optimized out>) at core/main.c:564 act = {__sigaction_handler = {sa_handler = 0x55d4c0be2ec0 <sigterm_handler>, sa_sigaction = 0x55d4c0be2ec0 <sigterm_handler>}, sa_mask = {__val = {0, 94372276006176, 0, 140269306632441, 94372276006176, 0, 11, 94358765376641, 0, 193, 13, 140269306623678, 33, 3, 219043332109, 140269306632227}}, sa_flags = 0, sa_restorer = 0x50} empty_mask = {__val = {0, 94372276006176, 0, 140269306632441, 94372276006176, 0, 11, 94358765376641, 0, 193, 13, 140269306623678, 33, 3, 219043332109, 140269306632227}} meta_args = {save_file = 0x0, display_name = 0x55d4c1fd7830 "minimize", client_id = 0x0, replace_wm = <optimized out>, disable_sm = 1, print_version = <optimized out>, sync = <optimized out>, composite = <optimized out>, no_composite = <optimized out>, no_force_fullscreen = <optimized out>, compositor = <optimized out>, compositor_set = <optimized out>} channel = 0x7ffc361cc270 __func__ = "main" Can you check if https://gitlab.gnome.org/GNOME/metacity/-/merge_requests/16 fixes crash? @Alberts: I did check it now (took a while, had to learn how), and it does *not* fix it yet. See upstream PR for details. I can also reproduce it in Fedora ELN (which is based on the same metacity/anaconda version it seems). We're mostly discussing this on the upstream MR, FWIW. It's proving a bit recalcitrant. https://gitlab.gnome.org/GNOME/metacity/-/merge_requests/16#note_939936 So this turns out to be a bug in libXres. halfline found it and sent a fix, I tested it: https://gitlab.freedesktop.org/xorg/lib/libxres/-/merge_requests/1 I'll backport it in an official build in a couple hours, I have to run out first. https://koji.fedoraproject.org/koji/buildinfo?buildID=1628561 fixes this, I just tested. Will be in next Rawhide compose. Thanks Ray for the fix. Oh, for the record - that fixes it with no change in metacity necessary. Fixing metacity to handle XResQueryClientIds failing is still a good idea, but not necessary to fix this bug. |