gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.42k stars 292 forks source link

Random crash with Tilix 1.8.9 on Ubuntu 16.04 #1635

Open PD-Extron opened 5 years ago

PD-Extron commented 5 years ago

I just upgraded to Tilix 1.8.9 (via webupd8) on Ubuntu 16.04 and I am experiencing random crashes. Thw Tilix windows just disappear. They always seem to crash with an abort exception. Any ideas?

Also, how can I go back to the previous Tilix version which was very stable on 16.04?

tilix --version output:

Versions Tilix version: 1.8.9 VTE version: 0.42 GTK Version: 3.18.9

Tilix Special Features Notifications enabled=0 Triggers enabled=0 Badges enabled=0

gnunn1 commented 5 years ago

I don't use Ubuntu myself but presumably you can install the previous version of the package.

fractalf commented 5 years ago

I've had this happen 3 times now, and all of them extremely at an incoinvinient time. This is a total show-stopper, the terminal is something that just have to be stable. Crashing with vital processes running is bad :(

The crashes I was experiencing as all when pressing SHIFT+CTRL+x to resize window.

Im on Linux Mint 19 (based on Ubuntu 18.04)

@gnunn1 Are you saying the previous build is more stable?

admirabilis commented 5 years ago

I also get random crashes and lose all open terminals on 1.8.9, Ubuntu 19.04. I don't know if these are related on ~/.xsession-errors:

(tilix:6828): dbind-WARNING **: 01:08:43.838: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(tilix:6979): dbind-WARNING **: 01:08:44.573: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(tilix:8071): dbind-WARNING : 01:08:49.805: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Vte:ERROR:../../src/vteaccess.cc:625:void vte_terminal_accessible_text_scrolled(VteTerminal*, gint, gpointer): assertion failed: (i >= 1)

gnunn1 commented 5 years ago

That looks like a crash in VTE rather then tilix and it may indeed have something to do with accessibility., I assume the DBUS service is working fine? On Arch I can check it with:

systemctl status dbus.service

Can you try closing all instances of Tilix and starting it from a different terminal at a command prompt using the following command:

export NO_AT_BRIDGE=1 tilix

Do the accessibility errors go away and any issues with crashes?

admirabilis commented 5 years ago

dbus.service seems have been working fine (same uptime as the system).

Running Tilix with NO_AT_BRIDGE=1 has stopped the dbind warnings, but I'll need more time to report if it helps with the crashes, because they are very unpredictable. I'm running this instance for ~20 hours, but It could take days for a crash to happen.

admirabilis commented 5 years ago

After a few days testing, Tilix has crashed again:

$ env NO_AT_BRIDGE=1 tilix --quake * Vte:ERROR:../../src/vteaccess.cc:625:void vte_terminal_accessible_text_scrolled(VteTerminal, gint, gpointer): assertion failed: (i >= 1) fish: “env NO_AT_BRIDGE=1 tilix --quake” terminated by signal SIGABRT (Aborted)

gnunn1 commented 5 years ago

Can you also try disabling the overlay scrollbars in Preferences | Appearance and restart all instances of Tilix, just trying to narrow it down.

admirabilis commented 5 years ago

I honestly can't find that option, perhaps due to the translation. But I don't use scrollbars, here are my current settings:

[com/gexperts/Tilix]
quake-hide-lose-focus=false
unsafe-paste-alert=false
theme-variant='light'
quake-hide-headerbar=true
terminal-title-style='none'
prompt-on-delete-profile=true
quake-active-monitor=false
app-title='Tilix: ${title}'
focus-follow-mouse=false
prompt-on-close=true
quake-specific-monitor=0
quake-keep-on-top=true
paste-advanced-default=false
quake-hide-lose-focus-delay=1000
quake-tab-position='bottom'
quake-show-on-all-workspaces=true
custom-hyperlinks=@as []
enable-wide-handle=false
sidebar-on-right=false
use-tabs=true
recent-session-files=['/home/teresaejunior/Sistema/Projetos/ansible-xubuntu/1']
quake-height-percent=49
session-name='${title}'
window-style='normal'
tab-position='bottom'

[com/gexperts/Tilix/profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d]
foreground-color='#B8B8B8'
notify-silence-enabled=false
badge-font='DejaVu Sans Mono 10.5'
palette=['#181818', '#AB4642', '#A1B56C', '#F7CA88', '#7CAFC2', '#BA8BAF', '#86C1B9', '#D8D8D8', '#585858', '#AB4642', '#A1B56C', '#F7CA88', '#7CAFC2', '#BA8BAF', '#86C1B9', '#F8F8F8']
default-size-rows=25
login-shell=false
cursor-blink-mode='off'
cursor-colors-set=false
notify-silence-threshold=10
use-system-font=false
bold-color='#FFFFFFFFFFFF'
custom-command='/usr/bin/fish'
visible-name='Padr?o'
font='DejaVu Sans Mono 10.5'
cjk-utf8-ambiguous-width='narrow'
badge-color-set=false
use-custom-command=true
badge-use-system-font=false
exit-action='close'
bold-is-bright=true
terminal-bell='icon'
highlight-colors-set=false
backspace-binding='ascii-delete'
bold-color-set=true
use-theme-colors=false
custom-hyperlinks=@as []
background-color='#181818'
allow-bold=false
show-scrollbar=false
dim-transparency-percent=0
badge-text=''
badge-position='southeast'

[com/gexperts/Tilix/profiles]
list=['2b7c4080-0ddd-46c5-8f23-563fd3ba789d']

[com/gexperts/Tilix/keybindings]
session-switch-to-terminal-right='<Primary><Alt>Right'
session-switch-to-terminal-left='<Primary><Alt>Left'
app-preferences='<Primary>comma'
session-add-down='<Primary>Return'
session-switch-to-terminal-up='<Primary><Alt>Up'
session-add-right='<Primary>space'
session-switch-to-terminal-down='<Primary><Alt>Down'
decryp2kanon commented 4 years ago

here similar randomly window disappearing on Debian 10 (buster). actually running commands are fine, but just the window is go away (disappear)...

weleoka commented 3 years ago

This still happens occasionally on Debian 11. Output message in /var/log/messages

May  3 20:43:11 user com.gexperts.Tilix[94708]: VTE:ERROR:../src/vteaccess.cc:628:void vte_terminal_accessible_text_scrolled(VteTerminal*, gint, gpointer): assertion failed: (i >= 1)
May  3 20:43:11 user com.gexperts.Tilix[94708]: Bail out! VTE:ERROR:../src/vteaccess.cc:628:void vte_terminal_accessible_text_scrolled(VteTerminal*, gint, gpointer): assertion failed: (i >= 1)
$ tilix --version

Versions
    Tilix version: 1.9.4
    VTE version: 0.62
    GTK Version: 3.24.24

Tilix Special Features
    Notifications enabled=0
    Triggers enabled=0
    Badges enabled=1

Need any more info just bump the thread and I'll see what I can do.