mate-terminal sometimes crashes with segfault in libgtk-3 when right-clicked

Archived topics about LMDE 1 and LMDE 2
Locked
Emerson Prado

mate-terminal sometimes crashes with segfault in libgtk-3 when right-clicked

Post by Emerson Prado »

Hi all,

I observed some crashes in mate-terminal, and they are not consistent. Until I can tell what triggers the problem, I'll blame bad luck on it.
The crashes usually occur when I select text in the terminal screen, then right-click into the terminal right away to copy such text. It seems to depend on some combination of mouse events.

This is what I got from /var/log/messages:

Code: Select all

kernel: [791449.651328] mate-terminal[26369]: segfault at db ip 00007f06b2084ec6 sp 00007fff53b066d0 error 4 in libgtk-3.so.0.1400.5[7f06b1d65000+6a5000]
About the related application and library:

Code: Select all

$ dpkg-query -S /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5
libgtk-3-0:amd64: /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5
$ dpkg -l libgtk-3-0:amd64
...
ii  libgtk-3-0:amd 3.14.5+4     amd64   ...
$ dpkg -l mate-terminal
...
ii  mate-terminal  1.18.1-1+bet amd64   ...
Andome system data:

Code: Select all

$ uname -a
Linux spod229125 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
$ inxi
CPU~Quad core Intel Core i5-4570 (-MCP-) clocked at Min:3530.875Mhz Max:3599.125Mhz Kernel~3.16.0-4-amd64 x86_64 Up~9 days Mem~4264.7/16026.2MB HDD~1000.2GB(19.4% used) Procs~210 Client~Shell inxi~2.1.28
Did anyone see anything alike? Any hints? I think about filing a bug, but would like to grab more data.

Best regards,
Emerson Prado
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.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: mate-terminal sometimes crashes with segfault in libgtk-3 when right-clicked

Post by Monsta »

At first I thought it was this bug, which was fixed in mate-terminal 1.18.1.
But I realized you already have that version...

I'm trying to reproduce it in Betsy but no luck yet. I'm running it in a VM, maybe that matters.
Emerson Prado

Re: mate-terminal sometimes crashes with segfault in libgtk-3 when right-clicked

Post by Emerson Prado »

Monsta wrote:At first I thought it was this bug
I think it's important to highlight that, unlike the bug reports, my X server doesn't crash. Only mate-terminal.

It happened again today, and I'm puzzled to notice that the error message (in /var/log/messages) points to a different library:

Code: Select all

Aug 11 12:27:20 <Host> kernel: [ 1378.950705] mate-terminal[1879]: segfault at b2a ip 00007f0307679fef sp 00007ffdc076ecc0 error 4 in libgobject-2.0.so.0.4200.1[7f0307647000+51000]
There must be some specific condition for the crash. The only thing I can think of is a fast mouse stroke which combines to something else, like hitting another button, moving, etc. But it's only a guess.

Thanks,
Emerson
Locked

Return to “LMDE Archive”