#884648 mate-panel occasionally crashes with segfault

Package:
mate-panel
Source:
mate-panel
Description:
launcher and docking facility for MATE
Submitter:
Agafnd
Date:
2025-03-13 20:33:02 UTC
Severity:
important
Tags:
#884648#5
Date:
2017-12-18 02:25:01 UTC
From:
To:
Dear Maintainer,

Occasionally, mate-panel has crashed on my system. It's not a big problem -- the panels disappear, then reappear shortly afterward (kudos to whoever added the error recovery).

Here are some examples of dmesg logs after this happens:

[37113.279802] mate-panel[1356]: segfault at 1 ip 00007f8633c82823 sp 00007fff329a0ce0 error 4 in libgtk-3.so.0.2200.11[7f86338da000+700000]
[97924.229072] mate-panel[17556]: segfault at 1 ip 00007f2bdf6f5823 sp 00007ffd7ee73ba0 error 4in libgtk-3.so.0.2200.11[7f2bdf34d000+700000]

#884648#10
Date:
2017-12-18 09:15:49 UTC
From:
To:
Control: severity -1 important

Thanks for reporting this. Raising severity to important. Will
investigate with upstream if the issue might already have been fixed
in MATE 1.18.

Mike

#884648#17
Date:
2017-12-25 12:41:46 UTC
From:
To:
Hi,

A backtrace for this crash is needed to find out the cause of the crash.
It can be obtained, for example, if systemd-coredump is installed.

https://www.freedesktop.org/software/systemd/man/systemd-coredump.html
https://wiki.archlinux.org/index.php/Core_dump

#884648#22
Date:
2017-12-30 06:51:14 UTC
From:
To:
Hi,

If I understand correctly, you want me to run `systemd-coredump --backtrace`
(or some similar command) the next time mate-panel crashes?
Apologies if I am quite wrong.

#884648#27
Date:
2018-01-03 12:05:00 UTC
From:
To:
Hi,

Yes, or use the coredumpctl tool. It can be used to run gdb, and then you can
print the backtrace from gdb's prompt.

#884648#32
Date:
2018-01-04 02:14:29 UTC
From:
To:
Attached is gdb's output.
#884648#37
Date:
2018-01-07 18:24:47 UTC
From:
To:
transparency. I've since turned both things off (due to my experiments
related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884116).

Since I don't know how the crash is triggered, I don't know whether this
helps or not. I haven't had it happen yet, but I've previously gone quite
a while without a crash.

Regards, Agafnd

#884648#42
Date:
2018-01-11 05:43:24 UTC
From:
To:
Hi,

Can you also install the debug packages [1] and use "bt full" command in gdb?
The debug packages are needed for libgtk-3, libglib-2.0, mate-panel.

This will show function names, line numbers, variable values and other useful info
to determine where and why the crash happens.


[1] https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols

#884648#49
Date:
2018-05-02 01:58:50 UTC
From:
To:
Hi - sorry this took so long. By the time I read your message, the coredump had been erased,
and then it took awhile for the crash to happen again.

Anyway, here's the output of gdb with the bt full command and the debugging symbols.

#884648#54
Date:
2019-03-25 11:06:57 UTC
From:
To:
Hello.  On 02 May 2018, #884648 was updated with full backtrace info.

Is there any chance you could take a look at this before the full freeze
for Buster?

#884648#59
Date:
2019-03-25 12:02:13 UTC
From:
To:
Hi,

 From the bug's history, I cannot see, if the issue happens on a
buster system or just on stretch systems.

Furthermore, the coredump shows that it is caused by gtk_drag_finish.
Both coredumps on the bug hint that your issue is triggered by some
drag'n'drop operation. Is that so?

Mike

#884648#64
Date:
2019-03-25 14:17:12 UTC
From:
To:
I noticed it can happen not long after dragging a Window List icon to
reorder, but I've also seen it happen many times randomly when I was
doing something unrelated to the panel.

I saw this same behaviour under both stretch (1.16.2-1) and buster
(v1.20.5-1).

I think it would be worth fixing this, as it could be uploaded to
stretch-backports and potentially buster.  I am prepared to help with
the latter, e.g. apply for an exception to the freeze.

#884648#69
Date:
2019-03-25 15:45:08 UTC
From:
To:
Unfortunately, I am not so deep into upstream coding to fix this. The
freeze exception is not the problem, it is finding the right patch.

Please get in touch with upstream via
github.com/mate-desktop/mate-panel/ and see if they made any progress
there. Once I have a patch, getting the fix landed in Debian is not a
problem.

Mike

#884648#74
Date:
2022-01-12 17:58:13 UTC
From:
To:
Dear Maintainer,

From debian testing, after upgrading from 1.24.1-1+b1 to 1.26.1-2, I randomly get the message in the /var/log/messages file saying that wnck-applet segfault error in libgdk-3.so.0.2404.27:

$  sudo grep -e '^2022-01-12' /var/log/messages | grep -e 'wnck-applet' -e 'Code:'

2022-01-12T12:35:13.273151+01:00 wnck-applet[1561]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner WnckButton)
2022-01-12T12:35:13.273796+01:00 wnck-applet[1561]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner WnckButton)

2022-01-12T12:52:21.081341+01:00 wnck-applet[1561]: XID collision, trouble ahead
2022-01-12T12:52:58.563991+01:00 wnck-applet[1561]: XID collision, trouble ahead
2022-01-12T12:55:38.871346+01:00 wnck-applet[1561]: XID collision, trouble ahead

2022-01-12T12:59:35.492112+01:00 kernel: [ 1599.687299] wnck-applet[1561]: segfault at 44 ip 00007ff4e0586510 sp 00007ffe7f09c2f0 error 4 in libgdk-3.so.0.2404.27[7ff4e0552000+7f000]
2022-01-12T12:59:35.492129+01:00 kernel: [ 1599.687313] Code: 8b bc 24 b8 00 00 00 e8 9e cc fc ff 48 83 7c 24 48 00 74 28 4d 85 e4 0f 84 81 00 00 00 f2 0f 10 84 24 a0 00 00 00 66 0f ef c9 <f2> 0f 2a 4b 44 f2 0f 5e c1 48 8b 44 24 48 f2 0f 11 00 48 83 7c 24

(20220112 125950 window message and "[Reload]" selected, three times)

2022-01-12T12:59:56.627920+01:00 wnck-applet[2695]: gtk_widget_queue_draw_area: assertion 'width >= 0' failed
2022-01-12T12:59:56.628034+01:00 wnck-applet[2695]: gtk_widget_queue_draw_area: assertion 'width >= 0' failed
2022-01-12T12:59:56.628105+01:00 wnck-applet[2695]: gtk_widget_queue_draw_area: assertion 'width >= 0' failed


$ sudo apt-file search wnck-applet
mate-panel: /usr/lib/mate-panel/wnck-applet


Thank you very much.

#884648#79
Date:
2022-03-16 02:28:21 UTC
From:
To:
Hello


Have a nice day.



Does your company needs customized packaging boxes&bags recently? 
We are Chinese supplier who can produce customized packaging boxes & bags with custom logo.



Any of your reply will be appreciated.
Looking forward to your reply.



Best regards, 
Slite






Email: slite@slcpackage.com
SLC-PACKAGE CO. LTD

<http://tracking.slca.info/tracking/click?d=nymz5X4yY3UF-2tZmNHYFE9iBQTRdfVKK59ZdU139tTjZ3yOXudimBlOk2VbPdbuIsqsxSrg3uhzsZKwti7tT1DoNRO12H0j0fGzh-y8wsWiOU4lThz8vc4-MfycMGTCliiE0T_TPZB-2pm7KGXhJg01>
www.slcpackages.com
Always Serve you by HeartContact Person: Slite CaoWhat's App: 008615314679598Wechat: 008618159815925




If you no longer wish to receive mail from us, you can
<http://tracking.slca.info/tracking/unsubscribe?d=WGi10YN1Q7q8_dQ3ckGVKTjcA88pgkLK3tTxnGH8KCsysJTdlQSIN0RxihtHPgX_fd3YCF3WWIQS--uLzNPBePFmDdLucOKVH8MsDksCyXLd0>
Unsubscribe

#884648#84
Date:
2022-10-21 09:09:29 UTC
From:
To:
I have not been successful in finding a specific upstream bug.

Here is my stack trace:

  Program terminated with signal SIGSEGV, Segmentation fault.
  #0  0x00007f3936329ac4 in gtk_drag_finish () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #1  0x00007f3936329f0e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #2  0x00007f393632a159 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #3  0x00007f3935e8ddd9 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
  #4  0x00007f39359648f4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  #5  0x00007f3935963d6f in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  #6  0x00007f3935964118 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  #7  0x00007f393596440b in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  #8  0x00007f39361afa65 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #9  0x000055aba742ea51 in main ()

Any help in further diagnosis would be appreciated.

#884648#89
Date:
2023-03-01 22:13:25 UTC
From:
To:
Dear Maintainer,

Mate-Panel Randomly crashes while changing mate themes and some time it
crashes
and does not reappear at all until leaving the desktop environment
unusable and
sometimes alt-F2 key shortcut also does not work after mate-panel crashes

#884648#94
Date:
2023-07-24 02:25:53 UTC
From:
To:
There's an upstream bug report for the gtk_drag_finish crash:
https://github.com/mate-desktop/mate-panel/issues/1356

#884648#99
Date:
2023-12-20 07:21:38 UTC
From:
To:
I am also suffering from this bug too for over 3 years now. I initially
submitted it as #999583 back in 2021:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999583

I am running Debian 12.4, linux 6.1.0-15-amd64, and mate-panel 1.27.0-1

dmesg log:

[368043.221776] mate-panel[190337]: segfault at 1 ip 00007f30a17b2ed4 sp
00007ffc1888e2a0 error 4 in libgtk-3.so.0.2406.32[7f30a1486000+3bb000]
likely on CPU 9 (core 4, socket 0)
[368043.221793] Code: 41 5c 41 5d c3 90 41 56 41 55 41 54 55 53 48 85 ff
0f 84 17 01 00 00 48 89 fb 89 f5 41 89 d4 41 89 cd e8 0f 3e cd ff 48 89
c6 <48> 8b 03 48 85 c0 74 05 48 39 30 74 10 48 89 df e8 87 8d cd ff 85

Regards,
Ellie

#884648#104
Date:
2025-03-13 20:21:19 UTC
From:
To:
The crash should be fixed in GTK 3.24.49:
- https://gitlab.gnome.org/GNOME/gtk/-/issues/7128
- https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6660