Skip to content
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

Crash when opening and closing windows. #127

Open
tarbomb opened this issue Jan 29, 2022 · 0 comments
Open

Crash when opening and closing windows. #127

tarbomb opened this issue Jan 29, 2022 · 0 comments

Comments

@tarbomb
Copy link

tarbomb commented Jan 29, 2022

Let me preface this with me saying that I love this window manager. It is fast and extremely easy to use and configure. But there is one problem I noticed. Sometimes, when I open and close a window (in this case, xterm), the X session is killed.

I found out that I could re-create similar behavior by opening up many xterm instances, and then closing them all quickly. I do this by, essentially, just holding down mod+enter, and mod+w to close and open my windows quickly. If it does not happen, I repeat this step multiple times until it crashes. This was a way I found to reproduce the bug, but it happens with a small amount of terminals as well. My suspicion is that it might be caused due to handling too many inputs too quickly, and it gets confused.

Doing bug testing on my part, it seems to occur at the tail end of all the windows being killed. So if I opened 100 xterm instances, it would crash once I killed ~95 of them very quickly.

So, down below I have attached a couple of things:

  • A log from valgrind, which I got by putting valgrind frankenwm in my xinitrc.
  • My xinitrc, just in case there is anything wrong with it.
  • A log from startx, which I extracted the stderr of with startx 2> /tmp/log.txt
  • My configuration file

Sorry if all of this stuff is a lot for you to look at, I just want to be as thorough as possible. If there is anything else I can do to help with this, please let me know.

error.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant