Closed alex285 closed 6 years ago
I can reproduce this, I'll have a look.
This looks like a bug in GTK to me:
#0 0x0000555556548300 in gdk_x11_get_server_time ()
#1 0x00007fffef463b6b in () at /usr/lib/libgtk-3.so.0
#2 0x00007fffef463c36 in () at /usr/lib/libgtk-3.so.0
#3 0x00007fffef464536 in gtk_clipboard_set_with_owner () at /usr/lib/libgtk-3.so.0
#4 0x00007fffef255741 in () at /usr/lib/libgtk-3.so.0
#5 0x00007fffef257c5f in () at /usr/lib/libgtk-3.so.0
#6 0x00007ffff2669c01 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#7 0x00007ffff266a920 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#8 0x00007fffef43e24c in gtk_widget_grab_focus () at /usr/lib/libgtk-3.so.0
#9 0x0000555555f25f82 in _D3gtk6WidgetQh9grabFocusMFZv (this=0x7ffff7ec9800)
at ../../../.dub/packages/gtk-d-3.7.1/gtk-d/generated/gtkd/gtk/Widget.d:3531
#10 0x0000555555dda815 in _D2gx5tilix11customtitle11CustomTitle11setViewModeMFEQBzQBzQBwQBm8ViewModeZv (this=0x7ffff7ec7000, mode=<incomplete type>) at source/gx/tilix/customtitle.d:168
#11 0x0000555555dda901 in gx.tilix.customtitle.CustomTitle.doEdit() (this=0x7ffff7ec7000) at source/gx/tilix/customtitle.d:184
#12 0x0000555555ddaa1e in _D2gx5tilix11customtitle11CustomTitle15timeoutCallbackUCQCcQCcQBzQBpZb (ct=0x7ffff7ec7000)
at source/gx/tilix/customtitle.d:206
#13 0x00007ffff3cbdcb3 in () at /usr/lib/libglib-2.0.so.0
#14 0x00007ffff3cbf0be in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#15 0x00007ffff3cc0f69 in () at /usr/lib/libglib-2.0.so.0
#16 0x00007ffff3cc0fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#17 0x00007ffff28d25ae in g_application_run () at /usr/lib/libgio-2.0.so.0
#18 0x0000555555e5fdd6 in _D3gio11ApplicationQn3runMFAAyaZi (this=0x7ffff7edc800, argv=...)
at ../../../.dub/packages/gtk-d-3.7.1/gtk-d/generated/gtkd/gio/Application.d:931
Bug opened with GTK: https://bugzilla.gnome.org/show_bug.cgi?id=790822
It also is crashing for me when exiting out of preferences. Using same versions as @alex285
The bug occurs for me when building using the following commands (on Arch Linux, the same commands as in the PKGBUILD of the AUR tilix package):
git clone https://github.com/gnunn1/tilix.git
cd tilix
./autogen.sh
./configure --prefix=/usr PO4A_TRANS=/usr/bin/vendor_perl/po4a-translate
make DC='ldmd' DCFLAGS='-O -inline -release -version=StdLoggerDisableTrace'
./tilix
But, when building using dub, the bug does not occur. I have to remove "-defaultlib=:libphobos2-ldc.a,:libdruntime-ldc.a"
from dflags-ldc
in dub.json
before building, else it does not compile.
git clone https://github.com/gnunn1/tilix.git
cd tilix
dub build --compiler=ldc2
./tilix
Consolidating in #1192
to reproduce
on Arch build from master
Versions Tilix version: 1.7.1 VTE version: 0.50 GTK Version: 3.22.26
on a sidenote, Tilix sometimes crashes on autocompletions {on tab} but i cant always reproduce and catch the error