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

Wincompose stops working every other day #316

Closed
phioe opened this issue Dec 26, 2019 · 11 comments
Closed

Wincompose stops working every other day #316

phioe opened this issue Dec 26, 2019 · 11 comments

Comments

@phioe
Copy link

phioe commented Dec 26, 2019

Using Wincompose 0.9.4 on Windows 10 Pro 64b 1903:

Came here via ticket #35 since the described behaviour is similar to what I'm observing. But the ticket is quite old, closed and after all slightly different and it seems not to exist a current issue on this, so I open a new one.

My PC is usually continuously in operation, Wincompose autostarts with a reboot and runs smoothly. But every other 2~4 days (no excact timekeeping), Wincompose just ceases to operate and the icon disappears from the system tray. It is no problem to restart via start menu …

grafik

… which also brings back the icon to the systrem tray:

grafik

Everything then works again, but this behaviour ist quite annoying. Is this known and under investigation?

I also noticed that when restarting from start menu as described the UAC dialog doesn't announce Wincompose but the configuration tool for task scheduler:
grafik

Does that give hints?

Bye
Philipp

@phioe
Copy link
Author

phioe commented Jan 11, 2020

Any progress, comments, ideas regarding this?

I observed the behavior repeatedly 3~4 times since I opened the ticket.

Best
Philipp

@6f
Copy link

6f commented Jan 17, 2020

Workaround:

  • Remove or disable the WinCompose task in the windows task scheduler
  • Launch wincompose.exe directly (usually located at C:\Program Files\WinCompose\wincompose.exe)
  • Add a shortcut to the autostart folder (usually %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup) if you want wincompose to automatically start on login

@phioe
Copy link
Author

phioe commented Jan 23, 2020

Hi, 6f

Workaround:

Thanks so far, but this alters only the way wincompose is launched from being defined in the task scheduler to being launched by autostart shortcut. I'll try this, but does that have any influence on the major problem, that is wincompose ceasing operation without notice or reason every other few days?

Best
Philipp

@samhocevar
Copy link
Owner

@phioe it looks like a crash that .NET is unable to catch… would you mind activating user-mode dumps and send a dump the next time the software crashes? I don’t know yet how to collect these in a more automated way.

@phioe
Copy link
Author

phioe commented Jan 23, 2020

@ samhocevar

@phioe it looks like a crash that .NET is unable to catch… would you mind activating user-mode
dumps and send a dump the next time the software crashes? I don’t know yet how to collect
these in a more automated way.

Are these settings I just made correct? (See attached screenshot) I'll look into the folder the next time wincompose crashes.

Thanks
Philipp

20200123-135816

@samhocevar
Copy link
Owner

This seems correct. I have just tested the exact same settings and it worked for me.

@6f
Copy link

6f commented Jan 23, 2020

Hi, 6f

Workaround:

Thanks so far, but this alters only the way wincompose is launched from being defined in the task scheduler to being launched by autostart shortcut. I'll try this, but does that have any influence on the major problem, that is wincompose ceasing operation without notice or reason every other few days?

Best
Philipp

It does. The Windows Task Scheduler kills the task if it runs longer than three days:

image

Unchecking the box probably also works.

@samhocevar
Copy link
Owner

@6f ah, thanks for spotting this! It may be the actual cause… the installer is supposed to set ExecutionTimeLimit to 0 for this task (instead of the default 72 hours) but for some reason it does not work as expected.

I have a very simple fix for that.

@phioe
Copy link
Author

phioe commented Jan 23, 2020

@6f

Oh! That would just about explain ist, very good hint. I'll uncheck it and see how it behaves from now on.

Thanks a lot for this!
Philipp

samhocevar added a commit that referenced this issue Jan 23, 2020
This ensures that the Task Manager cannot kill us when some system limit
(e.g. maximum run time) is reached. Addresses #316.
@samhocevar
Copy link
Owner

Thanks everyone for the debugging help. The fix will be in the next release.

@samhocevar
Copy link
Owner

Hi! You’ll be happy to know the issue is fixed in WinCompose 0.9.5!

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

No branches or pull requests

3 participants