kanryu / quickviewer

A image/comic viewer application for Windows, Mac and Linux, it can show images very fast

Home Page:https://kanryu.github.io/quickviewer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random crashes

legate opened this issue · comments

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

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.

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.

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.

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