You are not logged in.
I have been having this error since Texstudio last update. The program opens, but when I click to open a file, for example, it crashes with the following error:
(texstudio:5931): Gdk-WARNING **: gdkwindow-x11.c:5554 drawable is not a native X11 window
crashed with signal SIGSEGV
SIGSEGV (TXS-Version 6191:c01fb289a5fe R )
SIGSEGV (TXS-Version 6191:c01fb289a5fe R )
SIGSEGV (TXS-Version 6191:c01fb289a5fe R )
SIGSEGV (TXS-Version 6191:c01fb289a5fe R )
[bt] texstudio(_ZN12SimulatedCPU13set_from_realEv+0) [0x6ac1c0]
[bt] texstudio(_ZN12SimulatedCPU13set_from_realEv+0) [0x6ac1c0]
"/tmp/texstudio_backtrace1.txt"
"Current: 0/0"
"Current: 0/0"
"Current: 0/0"
Killed on user request after error: SIGSEGV
Aborted (core dumped)
If I open it with GDK_BACKEND=x11 texstudio, then it works fine, but it is kind of annoying that the direct link does not work.
Before the last update texstudio was working perfectly fine.
But texstudio is not the only app giving me problems, python / matplotlib plt.show() also gives me a similar message when I want to save an image by clicking on their interactive save button:
(python:6040): Gdk-WARNING **: gdkwindow-x11.c:5554 drawable is not a native X11 window
Segmentation fault (core dumped)
All these programs were working fine like a month ago. No idea which updated crashed it.
Offline
Let me guess, you're using gnome?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Let me guess, you're using gnome?
Choosing gnome on Xorg crashes the same way (both texstudio and python), there is a third option called Gnome classic, which also crashes.
Offline
the problem will be the qt5 gnome qpa hard-assuming wayland
use gnome on xorg and export the GDK_BACKEND with your session
Online