Log In     Register    

Help and Support
Ask a question, report a problem, request a feature...
<<  Back To Forum

Tixati seg fault in BSPWM

by Guest on 2025/03/29 06:53:25 AM    
Tixati dumps core when started or soon after it is started.

OS: Linux
Arch: x86_64
Kernel: 6.13.8-zen1-1-zen
Desktop Environment/Window Manger: BSPWM
Tixati Version: 3.33

Steps to reproduce:
Run tixati
Move the mouse around.
Click some buttons.
If it's not dead yet, open a torrent/magnet link.
Output:
(tixati:23659): Gtk-WARNING **: 07:41:11.794: Theme parsing error: gtk-contained-dark.css:2871:228: Missing closing bracket for :not()
Segmentation fault (core dumped)

Crash report:
hdr: 333 tixati_3.33.1_l64
bld: Linux 6.13.0 on 64-bit x86
sig: 11 11 0 1 0
time: 0000000000000000 0000000000000000
lbas: 0
loc: 0000000000000418 0000000000000418 0

stk: 0000000000829bdf
stk: 00007e4065d94cd0
stk: 00007e4066850fd6
stk: 00007e4066abdd90
stk: 00007e4066ac0497
stk: 00007e4066a5e68b
stk: 00007e4066abffd0
stk: 00007e4066dba104
stk: 00007e4066e1dd57
stk: 00007e4066dbade7
stk: 00007e4066624dff
stk: 00000000008316f8
stk: 0000000000530f9f
stk: 00007e4065d7e488
stk: 00007e4065d7e54c
stk: 000000000056a0be

  #0  00829bdf  tixati@00400000+0x429bdf
  #1  65d94cd0  /usr/lib/libc.so.6@65d57000+0x3dcd0
  #2  66850fd6  /usr/lib/libgtk-3.so.0@66200000+0x650fd6
  #3  66abdd90  /usr/lib/libgdk-3.so.0@66a3a000+0x83d90
  #4  66ac0497  /usr/lib/libgdk-3.so.0@66a3a000+0x86497
  #5  66a5e68b  /usr/lib/libgdk-3.so.0@66a3a000+0x2468b  (gdk_display_get_event@66a5e5f0+0x9b)
  #6  66abffd0  /usr/lib/libgdk-3.so.0@66a3a000+0x85fd0
  #7  66dba104  /usr/lib/libglib-2.0.so.0@66d5c000+0x5e104
  #8  66e1dd57  /usr/lib/libglib-2.0.so.0@66d5c000+0xc1d57
  #9  66dbade7  /usr/lib/libglib-2.0.so.0@66d5c000+0x5ede7  (g_main_loop_run@66dbacb0+0x137)
  #10  66624dff  /usr/lib/libgtk-3.so.0@66200000+0x424dff  (gtk_main@66624d70+0x8f)
  #11  008316f8  tixati@00400000+0x4316f8
  #12  00530f9f  tixati@00400000+0x130f9f
  #13  65d7e488  /usr/lib/libc.so.6@65d57000+0x27488
  #14  65d7e54c  /usr/lib/libc.so.6@65d57000+0x2754c  (__libc_start_main@65d7e4c0+0x8c)
  #15  0056a0be  tixati@00400000+0x16a0be

exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 00000000000003e8 1000
exd: 0000000000000000 0
exd: 0000000000800000 8388608
exd: 0000000000000381 897
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0

esd:
esd:
esd: 3769345606
esd: []
esd: [s_download,0,s_name,0]
esd:
esd:
esd: []
esd: 0
esd: 0
esd: 1856849869
esd: 0
esd:
esd: 1856849869
esd:
esd:

Other circumstances:
I experience the issue for a few weeks/months now. I don't how it started, probably with a system wide update. Since then I've tried with a number of Tixati versions, the portable variant, a number of different kernels, as well as deleting the ~/.tixati folder. The problem persists.

If it makes any difference, I install Tixati from the AUR.
https://aur.archlinux.org/packages/tixati

Opening Tixati in a Cinnamon (Desktop Environment) session does not cause the issue. Tixati crashes almost always when I open it in the BSPWM window manager.

Please, help.
by Guest on 2025/03/29 09:04:50 AM    
Please, let me know if I can help debug this in any way.
by Guest on 2025/03/31 07:17:18 AM    
inxi -Gxx
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX
    470/480/570/570X/580/580X/590] vendor: PC Partner / Sapphire
    driver: amdgpu v: kernel arch: GCN-4 pcie: speed: 8 GT/s lanes: 16 ports:
    active: HDMI-A-1 empty: DP-1, DP-2, DVI-D-1, HDMI-A-2 bus-ID: 0b:00.0
    chip-ID: 1002:67df temp: 50.0 C
  Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6
    compositor: Picom v: 12.5 driver: X: loaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  # ...
  API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast
    gbm: drv: radeonsi surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.2-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 580 Series (radeonsi
    polaris10 ACO DRM 3.61 6.13.8-zen1-1-zen) device-ID: 1002:67df
  API: Vulkan v: 1.4.309 surfaces: xcb,xlib device: 0 type: discrete-gpu
    driver: N/A device-ID: 1002:67df
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo de: xfce4-display-settings
    x11: xdriinfo, xdpyinfo, xprop, xrandr
by Guest on 2025/04/02 08:22:36 AM    
GDK_CORE_DEVICE_EVENTS=1 tixati makes no difference.
(tixati:100302): Gtk-WARNING **: 09:05:39.067: Theme parsing error: gtk-contained-dark.css:2871:228: Missing closing bracket for :not()
Segmentation fault (core dumped)
Crash report
hdr: 333 tixati_3.33.1_l64
bld: Linux 6.13.0 on 64-bit x86
sig: 11 11 0 1 0
time: 0000000000000000 0000000000000000
lbas: 0
loc: 00000000000000f8 00000000000000f8 0

stk: 0000000000829bdf
stk: 000072f976816cd0
stk: 000072f977250fd6
stk: 000072f977576d90
stk: 000072f9775792c1
stk: 000072f97751768b
stk: 000072f977578fd0
stk: 000072f977871104
stk: 000072f9778d4d57
stk: 000072f977871de7
stk: 000072f977024dff
stk: 00000000008316f8
stk: 0000000000530f9f
stk: 000072f976800488
stk: 000072f97680054c
stk: 000000000056a0be

  #0  00829bdf  tixati@00400000+0x429bdf
  #1  76816cd0  /usr/lib/libc.so.6@767d9000+0x3dcd0
  #2  77250fd6  /usr/lib/libgtk-3.so.0@76c00000+0x650fd6
  #3  77576d90  /usr/lib/libgdk-3.so.0@774f3000+0x83d90
  #4  775792c1  /usr/lib/libgdk-3.so.0@774f3000+0x862c1
  #5  7751768b  /usr/lib/libgdk-3.so.0@774f3000+0x2468b  (gdk_display_get_event@775175f0+0x9b)
  #6  77578fd0  /usr/lib/libgdk-3.so.0@774f3000+0x85fd0
  #7  77871104  /usr/lib/libglib-2.0.so.0@77813000+0x5e104
  #8  778d4d57  /usr/lib/libglib-2.0.so.0@77813000+0xc1d57
  #9  77871de7  /usr/lib/libglib-2.0.so.0@77813000+0x5ede7  (g_main_loop_run@77871cb0+0x137)
  #10  77024dff  /usr/lib/libgtk-3.so.0@76c00000+0x424dff  (gtk_main@77024d70+0x8f)
  #11  008316f8  tixati@00400000+0x4316f8
  #12  00530f9f  tixati@00400000+0x130f9f
  #13  76800488  /usr/lib/libc.so.6@767d9000+0x27488
  #14  7680054c  /usr/lib/libc.so.6@767d9000+0x2754c  (__libc_start_main@768004c0+0x8c)
  #15  0056a0be  tixati@00400000+0x16a0be

exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 00000000000003e8 1000
exd: 0000000000000000 0
exd: 0000000001000000 16777216
exd: 00000000000028e4 10468
exd: 0000000000000000 0
exd: 0000000000000000 0
exd: 0000000000000000 0

esd:
esd:
esd: 1856849869
esd: []
esd: [s_kin,1,s_name,0]
esd: {69677=[193500566,1],type=[torrent]}
esd: {type=[peers,trackers,trackergroup]}
esd: [{type=peers},[3083228241,[s_name,0,s_progress,1,s_status,0]],{type=piecemanager},[3083228241,[s_name,0]],{type=[trackers,trackergroup]},[3083228241,[s_priority,0]],{type=outputfolders},[3083228241,[s_name,0]],{type=outputfolder},[3083228241,[s_name,0]],{type=torrent},[1486997330,[{type=outputfolders},{type=trackers},{type=peers},{type=piecemanager}]]]
esd: 0
esd: 0
esd: 1856849869
esd: 0
esd:
esd: 1856849869
esd:
esd:
by janet on 2025/04/02 05:12:12 PM    
Thanks for the crash reports. The Dev is working on this and it should be fixed in the next release.
by Guest on 2025/04/07 05:43:21 PM    
Well thank you.

gdb tixati
GNU gdb (GDB) 16.2
# ...
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
(No debugging symbols found in tixati)
(gdb) run
Starting program: /usr/bin/tixati
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
# ...
(tixati:225969): Gtk-WARNING **: 18:34:29.125: Theme parsing error: gtk-contained-dark.css:2871:228: Missing closing bracket for :not()
# ...
Thread 1 "tixati" received signal SIGSEGV, Segmentation fault.
gtk_tray_icon_manager_filter (xevent=0x7fffffffa6a0,
   event=<optimized out>, user_data=0x51f3c00)
   at ../gtk/gtk/deprecated/gtktrayicon-x11.c:725
725   else if (xev->xany.window == icon->priv->manager_window)
(gdb) c
Continuing.

Thread 1 "tixati" received signal SIGSEGV, Segmentation fault.
gtk_tray_icon_manager_filter (xevent=0x7fffffffa6a0,
   event=<optimized out>, user_data=0x51f3c00)
   at ../gtk/gtk/deprecated/gtktrayicon-x11.c:725
725   else if (xev->xany.window == icon->priv->manager_window)
(gdb) c
Continuing.
Couldn't get registers: No such process.
# ...
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.

The program is not being run.
(gdb) q


Maybe tixati is calling a deprecated method `gtk_tray_icon_manager_filter` that is now also removed in GTK.
by Guest on 2025/04/11 10:15:48 AM    
I diasbled the system tray from the tixati settings, (in a Cinnamon session). The exact issue persists.
Thread 1 "tixati" received signal SIGSEGV, Segmentation fault.
gtk_tray_icon_manager_filter (xevent=0x7fffffff8d10,
    event=<optimized out>, user_data=0x51f3a90)
    at ../gtk/gtk/deprecated/gtktrayicon-x11.c:725
725       else if (xev->xany.window == icon->priv->manager_window)
(gdb) c
Continuing.
[Thread 0x7fffaffff6c0 (LWP 2968482) exited]

Thread 1 "tixati" received signal SIGSEGV, Segmentation fault.
gtk_tray_icon_manager_filter (xevent=0x7fffffff8d10,
    event=<optimized out>, user_data=0x51f3a90)
    at ../gtk/gtk/deprecated/gtktrayicon-x11.c:725
725       else if (xev->xany.window == icon->priv->manager_window)
by KH on 2025/04/30 07:44:11 AM    
I was unable to recreate this problem with the limited amount of time I had to prepare v3.34, but I'm still working on it.

In the meantime, in v3.34, I have added the command-line option --no-tray which will completely disable all calls to GtkStatusIcon as well as the SNI tray icon implementation.

Give that a try and please let us know what happens.  I am not sure if the tray icon has anything to do with this, but the very helpful backtrace you provided from gdb seems to include calls through the GTK tray functions, so we'll see what happens with the tray completely disabled.

One other thing you could try would be to change your GTK theme.  I don't think this will make a difference but it would be a helpful step to narrow things down.

I will try again to recreate this problem before next release.  I am assuming I should use Arch with BSPWM, and this is what I will setup next.

Thanks very much for all the info provided so far.  I'll try my best to get this fixed ASAP.
by Guest on 2025/05/07 12:32:31 PM    
Of course. I get the same trace with --gsi-tray, no issues with --sni-tray, except that I don't see a tray icon, and no issues with --no-tray. I don't know what gsi and sni trays are but I'm using polybar with bspwm.
by KH on 2025/05/08 07:00:33 PM    
Thanks for the additional info.  I'm still working on a fix after the 3.35 release.

I was not able to get Arch + BSPWM working in the limited time I had (it keeps booting into the window manager and then freezing immediately) but I will get this solved soon.  There are definitely a few bugs in the GTK libraries that cause this, but a workaround might be possible.




This web site is powered by Super Simple Server