New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xmonad segfaults! #328
Comments
If that's an actual segfault, that seems quite unlikely to be caused by a change in Haskell code…
Why no? |
I'd also ask what version of GHC; there are some crashing bugs in 8.10.5 that are fixed in 8.10.7, for example. |
How can i ask xmonad to use the library that i just built instead of the system-wide installed one? ghc 9.0.1 |
Okay, in fact it also reproduces in earlier xmonad revisions. gdb says:
And there's minimal reproducing config:
Also it seems to only trigger when i have tkabber running. |
Interesting indeed. Before we attempt to reproduce it, though, may I ask a couple other questions:
|
No, i'm using tkabber for ages, but i relatively recently (50 days ago) started using fullscreenSupport, and some time later switched to xmonad master to accommodate for ghc 9.0.1. |
Also now that i think about it, tkabber is quite unique as it spawns >50 windows here, so might be just the sheer amount of windows blowing through some buffer; will need to check for that. |
Also sometimes the segfault is triggered by itself a couple of seconds after xmonad starts, sometimes it needs some workspace switching. |
And when it segfaults right away, seems like it will segfault right away at the next xmonad start. |
This sounds a bit like a problem I've been having for a long time (maybe a year or so) with Zoom, which I've tended to think has something to do with fullscreen. Segfaults tend to happen when switching workspaces to a Zoom window. |
I've never seen my xmonad crash with Zoom, nor with anything else, so we may need a bit more details. As @geekosaur suggested in IRC today, testing with a different GHC version may be worth it, as 9.0.1 has bad reputation. |
I remember having issues with xmonad crashing (can't recall if it was segfault) several years ago. In my case it turned out to be problem with manage hooks which lead to dbus messages piling up in some buffer Unfortunately I don't remember details. Anyway my recommendation would be to check manage hooks. You can also try if |
Though this is a completely anecdotal report (I don't have anything like a proper reproduction), I'll post it just in case it turns out to be of any use. After spending most of 2021 with development versions of xmonad and xmonad-contrib from January 2021 (at this and this commit, respectively; here is my configuration at the time), I started getting segfaults shortly after (though, oddly, not immediately after) upgrading both packages to 0.17. After upgrading xmobar from 0.37 to 0.41, the problem appears to have gone away (ten days and counting, while before I didn't get even five minutes without a segfault). |
ghc 9.0.1 is covered by the GHC RTS bug bgamari and I are trying to track down which leads to |
Problem Description
Outrageous!
Steps to Reproduce
I don't know, todays master segfaults in a few seconds worth of running time, each time. Reverting to eb48bb4 fixes it. The backtrace seems useless.
Configuration File
Oh god please no. https://github.com/l29ah/xmonad-config
Checklist
I've read CONTRIBUTING.md
I tested my configuration
xmonad
version 5da25c5xmonad-contrib
version 0c6fdf4The text was updated successfully, but these errors were encountered: