mate-desktop / mate-terminal

The MATE Terminal Emulator
http://www.mate-desktop.org
GNU General Public License v3.0
133 stars 73 forks source link

mate-terminal: all mate terminals crashed unexpectedly #313

Open github12101 opened 4 years ago

github12101 commented 4 years ago

This is a upstream report of bug in Debian BTS: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869337

Mate-terminal is crashing unexpectedly, killing all apps running in terminal tabs. Window is dissapearing completely. It happened to my Debian systems. First occurence on Debian Stable with Intel Pentium:

[454340.272998] mate-terminal[6269]: segfault at 676e702e ip 
00007f69259736b6 sp 00007ffc2598f5d0 error 4 in 
libgtk-3.so.0.2404.1[7f6925679000+352000]
[454340.273004] Code: 00 00 00 00 5b 5d 41 5c 41 5d 41 5e e9 83 81 d0 ff 
0f 1f 00 53 48 85 ff 74 3a 48 89 fb e8 12 b0 ff ff 48 8b 13 48 85 d2 74 
05 <48> 39 02 74 0f 48 89 c6 48 89 df e8 5a b5 d0 ff 85 c0 74 16 48 89

.xsession-errors:

(mate-power-manager:1312): GLib-CRITICAL **: 17:55:38.386: Source ID 101 
was not found when attempting to remove it

** (mate-terminal:6269): CRITICAL **: 17:55:47.990: 
terminal_window_remove_screen: assertion 'gtk_widget_get_toplevel 
(GTK_WIDGET (screen)) == GTK_WIDGET (window)' failed

(mate-terminal:6269): Gtk-CRITICAL **: 17:56:00.391: 
gtk_widget_get_settings: assertion 'GTK_IS_WIDGET (widget)' failed

(mate-terminal:6269): GLib-GObject-CRITICAL **: 17:56:00.391: 
g_object_get: assertion 'G_IS_OBJECT (object)' failed

(mate-terminal:6269): GLib-CRITICAL **: 17:56:00.391: Source ID 
1983990592 was not found when attempting to remove it

(mate-terminal:6269): Gtk-CRITICAL **: 17:56:00.391: 
gtk_widget_get_realized: assertion 'GTK_IS_WIDGET (widget)' failed

(mate-terminal:6269): Gtk-CRITICAL **: 17:56:00.391: 
gtk_widget_get_settings: assertion 'GTK_IS_WIDGET (widget)' failed

(mate-terminal:6269): GLib-GObject-CRITICAL **: 17:56:00.391: 
g_object_get: assertion 'G_IS_OBJECT (object)' failed
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message 
with a timestamp of 0 for 0x1e00007 (Archive Ma)
Window manager warning: meta_window_activate called by a pager with a 0 
timestamp; the pager needs to be fixed.

System details (from neofetch):

OS: Debian GNU/Linux 10 (buster) x86_64
Kernel: 4.19.0-6-amd64
Uptime: 5 days, 6 hours, 25 mins
Packages: 1558 (dpkg)
Shell: bash 5.0.3
Resolution: 1920x1080
DE: MATE
WM: Metacity (Marco)
WM Theme: Menta
Theme: Menta [GTK2/3]
Icons: menta [GTK2/3]
Terminal: mate-terminal
Terminal Font: Monospace 12
CPU: Intel Pentium G4600 (4) @ 3.600GHz
GPU: Intel HD Graphics 630
Memory: 10728MiB / 32069MiB

Package details: Package: mate-terminal Version: 1.20.2-2

Second occurence in Debian Stable on AMD Ryzen:

.xsession-errors:

(mate-terminal:2663): Gtk-CRITICAL **: 11:40:52.591:
gtk_widget_get_settings: assertion 'GTK_IS_WIDGET (widget)' failed

(mate-terminal:2663): GLib-GObject-CRITICAL **: 11:40:52.673:
g_object_get: assertion 'G_IS_OBJECT (object)' failed

(mate-terminal:2663): GLib-CRITICAL **: 11:40:52.673: Source ID 2688 was
not found when attempting to remove it

(mate-terminal:2663): GLib-CRITICAL **: 11:40:52.673: Source ID 2698 was
not found when attempting to remove it

dmesg:

58110.718611] mate-terminal[2663]: segfault at 48500000484 ip
00007fdb36baf890 sp 00007fff89523e30 error 4 in
libvte-2.91.so.0.5400.2[7fdb36ba6000+3f000]
[58110.718626] Code: 00 c3 0f 1f 84 00 00 00 00 00 53 48 83 ec 20 64 48
8b 04 25 28 00 00 00 48 89 44 24 18 31 c0 48 8b 07 48 85 c0 74 13 48 89
fb <48> 8b 38 e8 e8 7f ff ff 85 c0 75 24 0f 1f 40 00 48 8b 44 24 18 64

neofetch:

OS: Debian GNU/Linux 10 (buster) x86_64
Kernel: 4.19.0-6-amd64 
Uptime: 16 hours, 20 mins 
Packages: 1580 (dpkg) 
Shell: bash 5.0.3 
Resolution: 1920x1080 
DE: MATE 
WM: Metacity (Marco) 
WM Theme: Menta 
Theme: Menta [GTK2/3] 
Icons: menta [GTK2/3] 
Terminal: mate-terminal 
Terminal Font: Monospace 11 
CPU: AMD Ryzen 7 1700 (16) @ 3.000GHz 
GPU: AMD ATI Radeon HD 2400 PRO 
Memory: 6749MiB / 32102MiB

Package: mate-terminal
Version: 1.20.2-2

When this last error has occurred, I had mate-terminal window in the background and I had focus on another window.

hernot commented 2 years ago

If this is still relevant here a core dump: https://termbin.com/x1tx

github12101 commented 2 years ago

If this is still relevant here a core dump: https://termbin.com/x1tx

How did you generated this output?

hernot commented 2 years ago

It was created by the mintReport application when pressing the pastebin button.
grafik

https://github.com/linuxmint/mintreport

And what happened before the crasch i can not properly reconstruct. Was testing a python application with opencv qt window but how this was related to the crash from a user point of view or what i was exactly doing before apart from pressing a key i can not properly describe, apart what mintReport has collected.

faerietree commented 2 years ago

This happens to us in production all the time. Volume icon crashes as a consequence. Terminal windows suddenly disappear, ... we are on Debian 10 Mate

.xsession-errors example


** (mate-terminal:6184): CRITICAL **: 16:38:55.116: terminal_window_remove_screen: assertion 'gtk_widget_get_toplevel (GTK_WIDGET (screen)) == GTK_WIDGET (window)' failed
--
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0.  This shouldn't happen!
[1656597630,000,xklavier.c:xkl_engine_start_listen/]    The backend does not require manual layout management - but it is provided by the application
Gdk-Message: 16:39:00.279: mate-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
 
Gdk-Message: 16:39:00.279: mate-volume-control-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.