prabirshrestha/dwm-win32

The latest version looks become less stable

Opened this issue ยท 9 comments

It seems easier to crash than before.
Not quite sure, but do have the feeling.

I faced similar issues, if any program goes unresponsive, DWM crashes, and any open programs disappear

When debugging the following error is thrown, in this case it occurred when Ctrl+W in the Files App. Windows 10 22H2

Exception thrown at 0x00007FFC8131246E (vcruntime140.dll) in dwm-win32.exe: 0xC0000005: Access violation reading location 0x0000000000000000.

any open programs disappear

yep, i faced this too... but i was too clueless to even be able to file as an issue. glad i accidently came to issues and read this.

i am also on win 10 22h2. it happened with vivaldi browser incognito mode launched by debug task of vscodium for me.

hey @nir9 ! can you take a look ๐Ÿ˜ƒ

  • the issue most likely seems to occur when interacting with the windows explorer's things
  • so, the taskbar, action center, virtual desktops (aka task view in win 10) etc
  • combined with some action of dwm.... (like say tags, floating windows, etc)
nir9 commented

@goyalyashpal The general issue is that dwm-win32 freezes when a program becomes unresponsive?

no, but rather that all the opened apps disappear - often times they seem to get closed, and rarely they get minimized.

nir9 commented

@goyalyashpal The open apps seem to disappear when dwm-win32 crashes, you can use winlister to show again the windows that disappeared.

Working on a PR that improves the stability of dwm-win32 by not managing windows that are not responding - #71

Would it be viable to save a list of open windows, and automatically show them again on dwm-win32 start? Then the crashes wouldn't be a huge inconvenience, as we would just run dwm-win32 again. As they still occur randomly every now and then, even with this new PR.

Update: added a simple try except block to catch exceptions, and unmanage the windows before crashing and that seems to work fine PR: #75.

@goyalyashpal The open apps seem to disappear when dwm-win32 crashes, you can use winlister to show again the windows that disappeared.

Working on a PR that improves the stability of dwm-win32 by not managing windows that are not responding - #71