racket / drracket

DrRacket, IDE for Racket
http://www.racket-lang.org/
Other
445 stars 93 forks source link

Linux: DrRacket crashes entire x11 server #551

Open jestarray opened 2 years ago

jestarray commented 2 years ago

https://user-images.githubusercontent.com/34615798/161123259-1a8f6163-9d1d-4a9f-a6e5-fb655a4f2d33.mp4

https://user-images.githubusercontent.com/34615798/161123267-bb5c5099-77b2-4c28-8142-aba87f1f4057.mp4

Opening DrRacket randomly crashes the entire x11 server and has a random chance of happening randomly 10-20% of the time, its been an issue since ~8.2 to 8.3. I was lucky to have this happen 4x in a row today so I could finally record it. It opens fine now but its really weird how random it is.

Specs: OS: Arch Linux Desktop Environment: i3 (maybe it has to deal with i3s tiling window stuff?) Racket Version: 8.4 CPU: Amd Ryzen 5 GPU: rx 480(non propitiatory drivers)

Are there any logs I can send in?

maueroats commented 2 years ago

Interesting. Can you include info about what X server you are running?

jestarray commented 2 years ago

Interesting. Can you include info about what X server you are running?

Unsure what you mean by "what X server", where can I find that info?

maueroats commented 2 years ago

In the video you can see it is the Xorg server 1.21.1.3.

i3 is continuing to run because it shows attempts to reconnect. ("module/i3: Attempting to reconnect socket")

You could find the server in your package manage. On my ubuntu, I looked at all of the installed packages with the name xserver and found the package is called xserver-xorg-core. You could also find the executable (probably shows in ps ax) and ask it what its version is using -version flag.

That said, although you say "crashes the entire x11 server", are you sure you have eliminated a window manager crash? i3 crashing probably looks a lot like the X server crashing.

You could include i3 --version in your report, just in case it's relevant.

Investigate the log file: /home/a/.local/share/xorg/Xorg.2.log

jestarray commented 2 years ago

module/i3: Attempting to reconnect socket

Most of those logs are polybars error messages, looking through the xorg logs and I can't seem to find the relevant line of "Exiting due to channel error" and its not dated.... I'll clear all logs until I encounter another crash. I run 2 monitors, one 4k monitor and a 1080p monitor, one via display port and one via hdmi, 10bits per channel on the display port one and 8bits per channel one, not sure if this is relevant though

edit: seems like a gtk issue? firefox also had this issue although im not sure if it crashed the entire x11 server : https://bugzilla.mozilla.org/show_bug.cgi?id=1538435