MATE-menu errors and crashing while editing items and categories

I love to customize my icons and menus with my own stuff, so this bug is making me a bit sad.

Whenever I right click and edit the mate-menu, I am unable to add new items to the list in the main menu editor, and sometimes cannot create new categories. I click create launcher and then add the icon, name, command and select OK, but nothing is added to the menu. Also sometimes the entire menu editor windows crash (including the item pop-up editor), or just the main menu editor crashes. This happens for items as well as menu categories. I havent noticed any pattern that causes the crash besides the steps above.

Here is a snip from /var/log/syslog which shows some errors during those times.

Nov  3 17:57:13 pleiades org.mate.panel.applet.MateMenuAppletFactory[28083]: X protocol error:
Nov  3 17:57:13 pleiades org.mate.panel.applet.MateMenuAppletFactory[28083]: <class 'Xlib.error.BadAccess'>: code = 10, resource_id = 1729, sequence_number = 479, major_opcode = 28, minor_opcode = 0
Nov  3 17:57:13 pleiades org.mate.panel.applet.MateMenuAppletFactory[28083]: X protocol error:
Nov  3 17:57:13 pleiades org.mate.panel.applet.MateMenuAppletFactory[28083]: <class 'Xlib.error.BadAccess'>: code = 10, resource_id = 1729, sequence_number = 490, major_opcode = 28, minor_opcode = 0
Nov  3 17:57:14 pleiades wnck-applet[2437]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner WnckButton)
Nov  3 17:57:14 pleiades wnck-applet[2437]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner WnckButton)


Nov  3 17:58:00 pleiades wnck-applet[2437]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner WnckButton)
Nov  3 17:58:00 pleiades wnck-applet[2437]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner WnckButton)

Nov  3 18:24:25 pleiades org.mate.panel.applet.MateMenuAppletFactory[50786]: X protocol error:
Nov  3 18:24:25 pleiades org.mate.panel.applet.MateMenuAppletFactory[50786]: <class 'Xlib.error.BadAccess'>: code = 10, resource_id = 1729, sequence_number = 178, major_opcode = 28, minor_opcode = 0
Nov  3 18:24:25 pleiades org.mate.panel.applet.MateMenuAppletFactory[50786]: X protocol error:

Nov  3 18:24:25 pleiades org.mate.panel.applet.MateMenuAppletFactory[50786]: <class 'Xlib.error.BadAccess'>: code = 10, resource_id = 1729, sequence_number = 189, major_opcode = 28, minor_opcode = 0
Nov  3 18:24:27 pleiades wnck-applet[2437]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner WnckButton)
Nov  3 18:24:41 pleiades kernel: [111597.601741] mozo[50968]: segfault at 0 ip 00007f8b76f5d747 sp 00007ffe900c2168 error 6 in libmate-menu.so.2.4.9[7f8b76f5a000+d000]
Nov  3 18:24:41 pleiades kernel: [111597.601776] Code: da fe ff ff e8 5a d9 ff ff 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 f0 83 07 01 c3 0f 1f 40 00 f3 0f 1e fa 48 89 f8 <f0> 83 07 01 c3 0f 1f 40 00 f3 0f 1e fa f0 83 2f 01 74 06 c3 0f 1f
Nov  3 18:24:54 pleiades wnck-applet[2437]: message repeated 2 times: [ Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner WnckButton)]

Sorry I'm too pressed for time to make a video or a .gif right now.

Oh almost forgot. The other thing is that no matter what I do, I cannot set Super-L to actually open the menu. No action when I strike it, or sometimes it highlights the menu icon, but still wont open if I strike the Super-L or hit Enter while the mate-menu icon is highlighted. I can set it to other keys, just not Super-L. It's not the keyboard I promise.

Thanks for your help Ubuntu community.


Off topic:
Glad to back on Ubuntu MATE BTW. It's like coming back home so far. My graphics tablet display and some games are performing much better. I was MIA for a year and a half because I was using Debian stable. Came to Ubuntu again for the latest AMD drivers and other hardware driver support. Might just stay this time because I need to find a home to learn more so I can start contributing something in the future. Thanks for reading and have a great one.


In case its relevant here is some system info:

processor      Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
system         MS-7B98 (Default string)
bus            Z390-A PRO (MS-7B98)
bridge         Z390 Chipset LPC/eSPI Controller
memory         64KiB BIOS
memory         32GiB System Memory

lspci -nnk | grep -i -EA3 "3d|display|vga"

03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] [1002:73ff] (rev c7)
Subsystem: Sapphire Technology Limited Navi 23 [Radeon RX 6600/6600 XT/6600M] [1da2:e447]
Kernel driver in use: amdgpu
Kernel modules: amdgpu

I've seen this before and the solution that seemed to work was changing to a different theme. IIRC they (and I) were using a custom theme, is that the case here?

2 Likes

Very interesting. I didn't even think of doing that. I am using a custom theme. I always do. So when i tried to change it to a normal one, the panels crash and I'm left with just the desktop. Anything I change it to stays as "custom" not the theme it's named, and then icons and panels are gone until I reboot.

Funny thing is for the first time ever I stared at a screen with just terminals and windows, no panel and sort of realized that I like it like that.

Now I'm confused

Happens to me as well. Could be a bug? Are you on 22.04?

Yup. OK I posted this on launchpad:

3 Likes

Thanks! It worked! I was plagued with this peculiar mozo bug for a very long time on many different OSes! At the moment I am logged on Mint MATE 20.3 and changed theme into "Mint-Y-Dark".

1 Like

Welcome @Grzegorz to the community!