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

Windows App freezes during source filter entry #915

Open
3 tasks done
TonyGravagno opened this issue Dec 27, 2023 · 2 comments
Open
3 tasks done

Windows App freezes during source filter entry #915

TonyGravagno opened this issue Dec 27, 2023 · 2 comments

Comments

@TonyGravagno
Copy link

TonyGravagno commented Dec 27, 2023

Prerequisites

  • Tried the most recent nightly build
  • Checked if your issue is already reported.
  • Answered all the questions in this template (Or provide a working crystal ball).

What happened?

I'm using the latest Manage Sieve Scripts app/exe - downloaded because WebExtension is not working now in Thunderbird 115+.
While entering source filters the UI simply froze. Clicks don't register. Scrolling doesn't work. I can't click buttons or tabs. The application is "well hung". The parrot is dead.

The window does not appear to be dead. It resizes, minimizes and returns. Right clicking the header shows common min/max context menu options.

There are no errors that I can see anywhere. The app is being run As-Administrator. I don't believe there are conflicts with any other app.

This is the standalone app from 14-Dec-2023, running on Windows 10. I'm connecting in on port 4190. The remote server is running Ubuntu with current Postfix. I can provide more detail but I don't think it's necessary.

The server wasn't reset although the connection might be dead. I can check 'ps' on the server if required for this or other (maybe) socket info.

EDIT days later: I had restarted the app and after a couple hours of editing (with frequent Save) it froze again. So this wasn't a one-shot event.

@TonyGravagno
Copy link
Author

TonyGravagno commented Jan 18, 2024

More info : I can use the app but it freezes semi-randomly. I think the issue is that the server connection gets closed and then at some point it needs to refresh and it gets stuck. The third sieve.exe process is always the one that goes into a CPU spin. The app is easily closed and re-opened - I just need to save scripts frequently. This happens with different accounts on the same server.

I know the CPU is spinning because I can see it in Task Manager. My CPU/GPU fans speed up as they heat. Terminating the process immediately causes the CPU to relax and the fans slow.

I always work in Source mode, almost never in Script mode. The CPU racing also seems to happen more when I'm pasting in rules. I'm wondering if it starts to parse text during the milliseconds while text is still being pasted in, detecting incomplete rules, and then getting bombarded with more text in the following milliseconds as it's trying to render the bottom warning messages. Sometimes a full paste succeeds and it freezes up within seconds after - even when there are no errors. This is where I come back to perhaps a need to resync with the server - even if not doing a Save.

The following might be due to a completely unrelated cause, but it's the same effect: If I try to Add Server and I don't have the credentials exactly right, it freezes again. A simple exit/restart clears it.

When the CPU spin occurs. I can leave it for 5+ minutes and it doesn't stop. If there is a timeout for connections or other operations, it's not working. This could be another clue about the cause.
When doing a Connect to a server using incorrect creds, the "Connecting..." animation doesn't ever stop - there's no timeout. The menu>Disconnect does work here, and only then does it report that the connection failed.

I have the "idle" messages sending every 5 minutes. I'm testing now to see if 1 minute helps ... it seems like it does!

EDIT: I'm watching the debug logging - no errors yet ... isn't that the way it always works? ;)

I hope this helps.

@blacklion
Copy link

Same for me on Win'10.
1 start our of 10 it works.
9 starts out of 10 it freezes after connect & loading script. No scroling, no editing, cursor is always I-beam over all controls. I can scroll with scrollbar (cursor is still I-beam) ant it's all.
When I close window "sieve.exe" process continues to runs in background, I need to kill it with Task Manager.

Please, please, fix it, it is only available ManageSieve client :-(

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

2 participants