marco and Metacity occasionally crashing on window close

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
rnclark
Level 1
Level 1
Posts: 23
Joined: Tue Dec 09, 2014 3:23 pm

marco and Metacity occasionally crashing on window close

Post by rnclark »

There have been recent threads about window manager crashing. For example:
viewtopic.php?f=206&t=340409&p=1960272#p1960272

search.php?keywords=marco+crash&sid=307 ... c65de72066

One suggestion was to switch to Metacity. I've done that and still get crashes. I'm on an I9 system with 128 GBytes ram, and dual 4K monitors. AMD 5700xt card, 5.8 kernel, mint 20.1, MATE. I can go for several days, opening and closing many windows spread across 8 workspaces. Then suddenly a window manager crash. At first I thought it was larger windows, but there does not seem to be a pattern. Firefox and gimp window closings seem to trigger the crash more often.So once opened, I tend to leave them open.

Error message with dmesg -w:

Code: Select all

[157760.442761] perf: interrupt took too long (2543 > 2500), lowering kernel.perf_event_max_sample_rate to 78500
[158404.569613] marco[14374]: segfault at 6b5134a ip 00007fd567a6e364 sp 00007fff2c872ae8 error 4 in libmarco-private.so.2.0.0[7fd567a51000+63000]
[158404.569621] Code: 1f 80 00 00 00 00 f3 0f 1e fa 48 c7 07 00 00 00 00 48 c7 47 08 00 00 00 00 48 c7 47 10 00 00 00 00 c3 0f 1f 40 00 f3 0f 1e fa <48> 8b 07 48 89 f2 48 8b 77 08 48 8b 40 08 48 8b 78 48 e9 55 4e 04
previous threads gave a partial recovery enabling one to save work then reboot.

Working solution to fully recover:
On first crash since boot (marco crash):

Preferences -> Look and Feel -> Desktop Settings
select windows
Change to Metacity + Compositing

When meticity crashes, do above but:
select marco + compositing
let that take effect (functionality not full restored)
no focus follows mouse and number of workspaces drops to 4
so go back and
select Metacity + Compositing

and we are back with full functionality. So, while an annoying problem (hope it is fixed soon) at least there is a recovery back to full functionality without rebooting (at least in my experience).
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
rnclark
Level 1
Level 1
Posts: 23
Joined: Tue Dec 09, 2014 3:23 pm

Re: marco and Meticity occasionally crashing on window close

Post by rnclark »

Update:

I get a more consistent crashes when the program has multiple windows open. For example with gimp, I have the tools each as separate windows on my second monitor and only the image window on my main monitor. When I close gimp, a dozen or so windows are closed and the window manager crashes.
rnclark
Level 1
Level 1
Posts: 23
Joined: Tue Dec 09, 2014 3:23 pm

Re: marco and Meticity occasionally crashing on window close

Post by rnclark »

Marco crash. This time after 5 days uptime. mint 20.1, dual 4K monitors and closing a single small window.

Code: Select all

dmesg -w
[488694.965970] marco[1867]: segfault at a0275a ip 00007f58794b79d4 sp 00007fff65e4a6f8 error 4 in libcairo.so.2.11600.0[7f5879464000+cf000]
[488694.965981] Code: 41 5c c3 0f 1f 00 4c 89 e7 4c 8d 25 a6 14 08 00 e8 31 ff ff ff eb e1 0f 1f 80 00 00 00 00 e9 23 fc ff ff 0f 1f 00 f3 0f 1e fa <8b> 47 04 85 c0 74 05 31 c0 c3 66 90 48 83 c7 08 e9 27 e9 fa ff 0f

Code: Select all

journalctl -p 3 -xb --no-pager
Apr 07 07:17:51 saturn9 systemd-coredump[308145]: Process 1867 (marco) of user 1181 dumped core.

                                                  Stack trace of thread 1867:
                                                  #0  0x00007f58794b79d4 cairo_region_num_rectangles (libcairo.so.2 + 0x659d4)
                                                  #1  0x00007f587a18341e n/a (libmarco-private.so.2 + 0x2741e)
                                                  #2  0x00007f587a185944 n/a (libmarco-private.so.2 + 0x29944)
                                                  #3  0x00007f587a186b1e n/a (libmarco-private.so.2 + 0x2ab1e)
                                                  #4  0x00007f587a1880c9 n/a (libmarco-private.so.2 + 0x2c0c9)
                                                  #5  0x00007f587a190b06 n/a (libmarco-private.so.2 + 0x34b06)
                                                  #6  0x00007f587a1dabb9 n/a (libmarco-private.so.2 + 0x7ebb9)
                                                  #7  0x00007f587967205f n/a (libgdk-3.so.0 + 0x7005f)
                                                  #8  0x00007f587967244a n/a (libgdk-3.so.0 + 0x7044a)
                                                  #9  0x00007f587963a0f4 gdk_display_get_event (libgdk-3.so.0 + 0x380f4)
                                                  #10 0x00007f58796720f6 n/a (libgdk-3.so.0 + 0x700f6)
                                                  #11 0x00007f587a25917d g_main_context_dispatch (libglib-2.0.so.0 + 0x5217d)
                                                  #12 0x00007f587a259400 n/a (libglib-2.0.so.0 + 0x52400)
                                                  #13 0x00007f587a2596f3 g_main_loop_run (libglib-2.0.so.0 + 0x526f3)
                                                  #14 0x000055db0f801233 main (marco + 0x3233)
                                                  #15 0x00007f5879f910b3 __libc_start_main (libc.so.6 + 0x270b3)
                                                  #16 0x000055db0f80164e n/a (marco + 0x364e)

                                                  Stack trace of thread 1878:
                                                  #0  0x00007f587a07faff __GI___poll (libc.so.6 + 0x115aff)
                                                  #1  0x00007f587a25936e n/a (libglib-2.0.so.0 + 0x5236e)
                                                  #2  0x00007f587a2594a3 g_main_context_iteration (libglib-2.0.so.0 + 0x524a3)
                                                  #3  0x00007f587a2594f1 n/a (libglib-2.0.so.0 + 0x524f1)
                                                  #4  0x00007f587a282ad1 n/a (libglib-2.0.so.0 + 0x7bad1)
                                                  #5  0x00007f5879edd609 start_thread (libpthread.so.0 + 0x9609)
                                                  #6  0x00007f587a08c293 __clone (libc.so.6 + 0x122293)

                                                  Stack trace of thread 1879:
                                                  #0  0x00007f587a07faff __GI___poll (libc.so.6 + 0x115aff)
                                                  #1  0x00007f587a25936e n/a (libglib-2.0.so.0 + 0x5236e)
                                                  #2  0x00007f587a2596f3 g_main_loop_run (libglib-2.0.so.0 + 0x526f3)
                                                  #3  0x00007f5879367f8a n/a (libgio-2.0.so.0 + 0x11ef8a)
                                                  #4  0x00007f587a282ad1 n/a (libglib-2.0.so.0 + 0x7bad1)
                                                  #5  0x00007f5879edd609 start_thread (libpthread.so.0 + 0x9609)
                                                  #6  0x00007f587a08c293 __clone (libc.so.6 + 0x122293)

                                                  Stack trace of thread 1880:
                                                  #0  0x00007f587a07faff __GI___poll (libc.so.6 + 0x115aff)
                                                  #1  0x00007f587a25936e n/a (libglib-2.0.so.0 + 0x5236e)
                                                  #2  0x00007f587a2594a3 g_main_context_iteration (libglib-2.0.so.0 + 0x524a3)
                                                  #3  0x00007f5877a3099d n/a (libdconfsettings.so + 0xa99d)
                                                  #4  0x00007f587a282ad1 n/a (libglib-2.0.so.0 + 0x7bad1)
                                                  #5  0x00007f5879edd609 start_thread (libpthread.so.0 + 0x9609)
                                                  #6  0x00007f587a08c293 __clone (libc.so.6 + 0x122293)
-- Subject: Process 1867 (marco) dumped core
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- Documentation: man:core(5)
--
-- Process 1867 (marco) crashed and dumped core.
--
-- This usually indicates a programming error in the crashing program and
-- should be reported to its vendor as a bug.
kmed
Level 1
Level 1
Posts: 6
Joined: Mon Jan 18, 2021 1:31 pm

Re: marco and Meticity occasionally crashing on window close

Post by kmed »

I'm still having marco crashes too. Closing a Firefox window will do it every time. Have seen it once or twice with another program which may be using a common library with Firefox perhaps.
cebderby
Level 1
Level 1
Posts: 1
Joined: Sun Jun 13, 2021 6:10 pm

Re: marco and Meticity occasionally crashing on window close

Post by cebderby »

I'm seeing exactly the same, randomly but repeatedly.

Looking at the issues/releases on https://github.com/mate-desktop/marco
it seems that marco version 1.24.1 should include a fix for this, the Mint repository has 1.24.0-...

I see at https://pkgs.org/download/marco that Ubuntu 20.10 may have 1.24.1 but that Ubuntu 20.04 (base for Mint 20) is on 1.24.0.

How do we get Mint to take up the newer version?
Locked

Return to “MATE”