MalloyDelacroix / DownloaderForReddit

The Downloader for Reddit is a GUI application with some advanced features to extract and download submitted content from reddit.
GNU General Public License v3.0
498 stars 47 forks source link

Bug: Latest update leads to crashes in user settings #313

Open T-prog3 opened 1 year ago

T-prog3 commented 1 year ago
  1. Delete old db and config.
  2. Download the latest zip and extract
  3. Start the software
  4. create a list and add a user
  5. Right-click on the user and select settings
  6. Now it crash
  7. If not, repeat from step 5 until it does, first occurrence happens within 3 tries and every time thereafter.
MalloyDelacroix commented 1 year ago

I can't reproduce this behavior. Can you attach your log file?

T-prog3 commented 1 year ago

There is nothing reported in the log. DownloaderForReddit.log

Did you repeat from step 5 a couple of times? It is not an instant crash on the very first time you open user settings so it appears to me as if something gets recorded to the database short after adding a user or after opening the user settings that create some corrupt state.

Because when this bug triggers and is recorded it crash every time user settings open no matter how many times you restart. And removing the db takes me back to the state before the trigger.

MalloyDelacroix commented 1 year ago

I did repeat step 5 up to 30 times and could not reproduce. Opening the user settings does not modify the database, so I'm not sure why opening it multiple times would cause this.

As you said, the log you provided does not show any errors. I will require a log that does to diagnose this. If you will cause the crash, and then immediately upload the generated log, it will contain the error.

T-prog3 commented 1 year ago

Hm, that's really weird. I did notice that when it has been triggered, if i am fast enough to start the program and opening the user settings, it work but if i then close and try to open again it crash. So it's definitely something that has to be loaded in before it trigger.

I also did some checks on earlier version and i realized that this bug is older than v3.15.0, somehow i never had a problem until now. This is what i found out:

v3.15.0 - Crash v3.14.2 - Crash v3.12.0-beta - Crash v3.11.0-beta - Crash v3.10.3-beta - working v3.10.2-beta - working v3.9.0-beta - working

So v3.11.0-beta definitely introduced something that created this bug. And the log doesn't give any new information at all.

Edit: This thread is 100% the same error. https://github.com/MalloyDelacroix/DownloaderForReddit/issues/291#issue-1272558043