segfault in libgobject-2.0
Gnome-shell crashes with gnome-shell[31734]: segfault at 12a00000127 ip 00007f00b923d272 sp 00007ffefa4b8bc0 error 4 in libgobject-2.0.so.0.5600.>
This happens every time while trying to run the latest VLC git (atleast at f78156c1e8e67047288f0209e844307bd771a4b6) binary with the following command:
QT_SCALE_FACTOR=1 ./vlc
Running just ./vlc
results in:
VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0-dev-3093-gf78156c1e8)
[0000559e842bded0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
QT_SCREEN_SCALE_FACTORS to set per-screen factors.
QT_SCALE_FACTOR to set the application global scale factor.
Gdk-Message: 11:55:00.843: vlc: Fatal IO error 2 (No such file or directory) on X server :0.
Which is similar to this upstream bug report but as specified in the comment "VLC does not use Gdk nor Gtk."
Attached is the journalctl log with the stacktrace journalctl
Also added is a gdb backtrace, created with this script:
sudo gdb -p "$(pgrep -U "$USER" -x gnome-shell)" -batch \
-ex "set logging on" -ex continue \
-ex "bt full" -ex "call gjs_dumpstack()" \
-ex quit
distribution: Arch Linux linux: 4.16.11-1-ARCH gnome-shell: 3.28.2-1 glib2: 2.56.1-1