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

App becomes mostly unresponsive on Windows when left unattended for hours #5132

Open
senkwe opened this issue Nov 26, 2024 · 11 comments
Open
Labels
bug Something isn't working

Comments

@senkwe
Copy link

senkwe commented Nov 26, 2024

Details

App becomes mostly unresponsive on Windows when left unattended for hours (eg overnight)

This happens with regularity across two different machines running Windows 11. If I leave the app open overnight, I'll come back in the morning to find it completely unresponsive. I have to kill the process and open a new instance.

Steps to reproduce

Leave open overnight

Operating system

Windows 11

SQLiteStudio version

3.4.4

sqlite_issue.mp4
@pawelsalawa
Copy link
Owner

Is any of connected databases located on a network shared folder/drive?

@pawelsalawa pawelsalawa added this to the 3.4.7 milestone Nov 26, 2024
@pawelsalawa pawelsalawa added the bug Something isn't working label Nov 26, 2024
@senkwe
Copy link
Author

senkwe commented Nov 26, 2024

All databases are local.

@pawelsalawa
Copy link
Owner

Okay, I will try to reproduce it today.

@pawelsalawa
Copy link
Owner

This night it did not happen. After ~8 hours the app works as expected.

I guess there is some other factor causing this. Is there another application modifying database that is open in your SQLiteStudio over the night? Of course it should not break SQLiteStudio like that, but I'm looking for anything that could give me some hints.

@senkwe
Copy link
Author

senkwe commented Nov 27, 2024

Nope, nothing at all. It's a minor inconvenience so not too worried about it.

And I seem to be the only seeing this issue. But it's strange that it's not specific to a particular machine.

@pawelsalawa
Copy link
Owner

pawelsalawa commented Nov 27, 2024

I understand. Still I would be happy to nail it down - if possible. If we fail to find the cause, then I will surrender ;) Still, let's give it a try.

So...

  1. Is this 100% reproducible for you? I mean does this happen every single time when you leave it for several hours?
  2. Have you ever seen for example that the application freezed after 1 hour being unattended?
  3. Do you have SQL Editor windows open when such freeze happens? Approximately - how many?
  4. Do you use any SQLite extensions dynamically loaded to databases? (either through load_extension() function or through SQLiteStudio's Extension Manager window)
  5. What RAM and CPU utilization does the Windows Task Manager show for the SQLiteStudio.exe process when it's freezed like that?

@pawelsalawa
Copy link
Owner

And one more thing. Could you please next time start SQLiteStudio from command line, adding debug options, so the next time we may have some useful information when it freezes? I mean:

SQLiteStudio.exe -d --debug-file=C:\path\to\logfile.txt

...just make sure that directory C:\path\to\ that you choose exists and is writable.

@senkwe
Copy link
Author

senkwe commented Nov 28, 2024

  1. Is this 100% reproducible for you? I mean does this happen every single time when you leave it for several hours?
  • Pretty much YES. Every once in a while it surprisingly doesn't happen.
  1. Have you ever seen for example that the application freezed after 1 hour being unattended?
  • NO. I do wonder if it has anything to do with the laptop going into hibernation. But if I leave it for an hour or so it's fine. This issue only seems to happen when I'm away from my computer for an extended period (when I go to bed at night)
  1. Do you have SQL Editor windows open when such freeze happens? Approximately - how many?
  • YES, I usually only have one editor open and perhaps 3 table views lately as my databases are tiny (literally no more than 9 rows in the largest table)
  1. Do you use any SQLite extensions dynamically loaded to databases? (either through load_extension() function or through SQLiteStudio's Extension Manager window)
  • NO
  1. What RAM and CPU utilization does the Windows Task Manager show for the SQLiteStudio.exe process when it's freezed like that?
  • Will report back on this

@senkwe
Copy link
Author

senkwe commented Nov 28, 2024

And one more thing. Could you please next time start SQLiteStudio from command line, adding debug options, so the next time we may have some useful information when it freezes? I mean:

SQLiteStudio.exe -d --debug-file=C:\path\to\logfile.txt

...just make sure that directory C:\path\to\ that you choose exists and is writable.

Great, will do.

@pawelsalawa
Copy link
Owner

Hibernation... I will try that.

@pawelsalawa
Copy link
Owner

I've tried with the hibernation, screen locking. Nothing causes this issue for me :( I'm suspending this for now. If any new hints appear, I will get back to it.

Thanks for reporting this anyway. It's important to know that there is such an issue. I just need to find reliable way to reproduce it.

@pawelsalawa pawelsalawa removed this from the 3.4.7 milestone Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants