kanryu / quickviewer

A image/comic viewer application for Windows, Mac and Linux, it can show images very fast
https://kanryu.github.io/quickviewer/
GNU General Public License v3.0
544 stars 65 forks source link

Random crashes #151

Open legate opened 4 years ago

legate commented 4 years ago

I frequently experience random crashes with QuickViewer 1.1.8 when viewing zip files. When I navigate to the next image, it usually loads instantly, but sometimes it seems to hang for ~5 seconds. After the hang, instead of the next image showing up, it just shows a blank screen. At this point if I try navigating to the next image again, QuickViewer will usually crash.

The problem seems to happen more often when I view images in fullscreen mode, but otherwise seems to occur randomly. Are there any logs I can enable to help determine the cause of this issue?

OS: Windows 10 64-bit

kanryu commented 4 years ago

The most likely ones are:

  1. The zip archive is corrupted
  2. The image file in the archive is corrupted
  3. The extension of the image file in the archive is wrong

In case of such problems, detailed support is difficult without the actual files that cause the problem.

legate commented 4 years ago

I don't think the issue is caused by corrupted files. If the file was corrupted, wouldn't the crash occur 100% of the time? In my experience, I can browse the same archive all the way through multiple times successfully, but then it crashes on the next try.

kanryu commented 4 years ago

The problem you pointed out seems to be a different issue than the one I answered.

In v1.1.8, there is a fix to automatically close the timed out zip file handle, which could cause this issue if the zip file could not be read again. It looks like it needs to be tested.

legate commented 4 years ago

I can help investigate. Which parts of the code should I look at?