linvinus / AltYo

AltYo - drop-down terminal emulator, written in vala, depends only on libvte and gtk3.
GNU General Public License v3.0
106 stars 27 forks source link

Wayland SegFault #69

Closed castorinop closed 6 years ago

castorinop commented 7 years ago

i trying runing on Fedora 25 exit with segfault.

gdb output:

Starting program: /home/pablo/build/AltYo-orig/altyo -d
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe4fcd700 (LWP 8536)]
[New Thread 0x7fffdffff700 (LWP 8537)]
[New Thread 0x7fffdf7fe700 (LWP 8538)]
domain:(null) message:main.vala:135: workaround != w_file 0 != 0
domain:(null) message:main.vala:535: git_hash=15a886f
domain:(null) message:main.vala:536: changelog_tag=0.4_rc19-linvinus1

(altyo:8532): Gdk-WARNING **: gdkwindow-x11.c:5554 drawable is not a native X11 window
domain:(null) message:altyo_window.vala:861: reconfigure VTWindow
domain:(null) message:altyo_window.vala:921: css_main.parsing_error not a number line:23 pos:7
domain:(null) message:altyo_window.vala:921: css_main.parsing_error Using Pango syntax for the font: style property is deprecated; please use CSS syntax line:23 pos:14

(altyo:8532): Gtk-WARNING **: Theme parsing error: <data>:24:14: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
domain:(null) message:altyo_window.vala:928: Theme error! loading default..
domain:(null) message:altyo_window.vala:921: css_main.parsing_error not a number line:23 pos:7
domain:(null) message:altyo_window.vala:921: css_main.parsing_error Using Pango syntax for the font: style property is deprecated; please use CSS syntax line:23 pos:14

(altyo:8532): Gtk-WARNING **: Theme parsing error: <data>:24:14: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
domain:(null) message:altyo_window.vala:933: Theme error! default theme is broken!
domain:(null) message:altyo_hotkey.vala:134: bind F1 display=7197744 key_sym=65470 modifiers=0

Thread 1 "altyo" received signal SIGSEGV, Segmentation fault.
0x00007ffff53b30c5 in XKeysymToKeycode (dpy=<optimized out>, ks=65470)
    at XKBBind.c:165
165         for (i = dpy->min_keycode; i <= dpy->max_keycode; i++) {
Missing separate debuginfos, use: dnf debuginfo-install ncurses-libs-6.0-6.20160709.fc25.x86_64 vte3-0.36.5-2.fc24.x86_64

Exist a workaround set env GDK_BACKEND=X11 and run ok, but dont work correctly when press Show/Hide Key over some windows.

linvinus commented 7 years ago

thanks for report! looks like scary future awaits us.

domain:(null) message:altyo_window.vala:933: Theme error! default theme is broken!

actually i'm waiting for GTK4 in hope that they will stop breaking CSS every release, i'm tired to fighting with it.

linvinus commented 6 years ago

show/hide by hot-key will not working, but possible if call altyo --toggle from window manager (aka shell).

linvinus commented 6 years ago

this bug is resolved, but with degradation of functionality, for future improvements please follow for #77