You are not logged in.

#1 2016-10-27 13:55:28

joanmanel
Member
Registered: 2012-11-06
Posts: 235

Several apps: "drawable is not a native X11 window"

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

#2 2016-10-27 14:39:35

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,325
Website

Re: Several apps: "drawable is not a native X11 window"

Let me guess, you're using gnome?

https://bbs.archlinux.org/viewtopic.php?id=218680


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

#3 2016-10-28 11:30:46

joanmanel
Member
Registered: 2012-11-06
Posts: 235

Re: Several apps: "drawable is not a native X11 window"

WorMzy wrote:

Let me guess, you're using gnome?

https://bbs.archlinux.org/viewtopic.php?id=218680

Choosing gnome on Xorg crashes the same way (both texstudio and python), there is a third option called Gnome classic, which also crashes.

Offline

#4 2016-10-28 14:04:49

seth
Member
Registered: 2012-09-03
Posts: 57,142

Re: Several apps: "drawable is not a native X11 window"

the problem will be the qt5 gnome qpa hard-assuming wayland
use gnome on xorg and export the GDK_BACKEND with your session

Online

Board footer

Powered by FluxBB