-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
stop working when access messages while updating feeds #41
Comments
Is this 100% reproducible every time you try? |
It's not but it happens most of time. |
OK, it seems that there is clearly problem with mainly MySQL, I will have to use producer-consumer pattern and send all SQL queries to one single class to consume it all in one single thread to avoid these SQL transaction horrors. |
I try to reproduce, but cannot. So you update a lot of feeds and madly clicking on messages and it crashes? |
Okay, I managed it to reproduce once, will try to fix and find bug. |
Does this bug happen with SQLite storage? |
So far, it's not reproducible with SQLite. Anyway, with MySQL, it seems can be easily make it crash by mark selected items as read/unread while updating feeds. |
Yes yes, I managed to make it crash too. I know where the core of the problem might be. I will try to think about fix. The goal is to allow multi-thread access to DB so that user can view messages when updating feeds. |
I will fix this this way:
|
This should be fixed, please test it. Use latest code from [dev] branch. |
could you upload please? resumable link if possible. thanks. |
Will upload test release for you tomorrow maybe. |
just updated to v3.3.4, but I can test for this because RSS Guard is not responsive when updating feeds, but feeds successfully updated. I wonder it is because DB size here is the log file (no feeds updated in this log because they were updated on previous run) |
Yea, problem is that I moved some DB updating code to main UI thread, which results in app UI thread freezing. I will move the code to feed downloader thread in 3.3.5. |
I made some tweak to make sure that RSS Guard main windows is more responsive during updates. You can get latest automatically compiled development release here (It will compile for 15 minutes, so wait 15 minutes from time I post this.). Let me know if it is better. |
Hi, thanks for kindly fix the issue. I'm sorry can't test and give feedback, my network connection doesn't look good so got three times timeout already, will try again later. |
could you upload with resumable link? I have problems when donwloading from these link. It always stop in the middle of process and I need to start again from beginning which is waste lot of my data. Sorry for asking much. |
Don't you have working internet connection? No, I can't I already setup this automatic build machinery, partly for you brother, since you always ask for installers. |
Yes, I do but not good enough stability for download. Okay, fine. Thank you. :) |
I can tell that this problem is fixed with newer version. Thanks. |
Okay, perfectos |
Brief description of the issue.
RSS Guard stop working when I access or read messages while updating feeds of a category. I use MySQL as DB storage.
RSS Guard 3.3.2
MySQL 5.6.17 (WAMP 2.5.18 x64)
Windows 8.1 x64
How to reproduce the bug?
What is the expected result?
no problem
What actually happened?
It stop working
Other information (logs, see Wiki)
log1.txt
log2.txt
I decided to attach 2 log from 2 attemps. Thanks
The text was updated successfully, but these errors were encountered: