Crashes when browsing compressed (rar/zip) jpg

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

Post Reply
geoslake
Posts: 3
Joined: Fri Oct 03, 2008 6:47 am

Crashes when browsing compressed (rar/zip) jpg

Post by geoslake »

hi

I sometimes download magazines, which come as zip or rar, and like, half of the time, it crashes when I try to browse them.
Also, sometimes, XNview doesnt display the images, but the characters instead.

If you wanna test, an example of a file causing crashes (each time here) :

http://www.abandonware-magazines.org/af ... images=oui

thanks
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Post by ckv »

Confirmed. :bugconfirmed: It crashes with your sample zip and with some of my own zip files.

But it doesn't crash every time. Sometimes it works great, sometimes it keeps crashing. Also when I attach debugger to XnView it doesn't crash. This might be a race condition crash.

I also noticed that it seems to only crash when the file are in subfolder inside the zip.

E.g. If you repack the sample zip, so that all the files are in the root directory of the zip file, it doesn't crash anymore.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crashes when browsing compressed (rar/zip) jpg

Post by xnview »

Please try XnView 1.96 beta
Pierre.
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: Crashes when browsing compressed (rar/zip) jpg

Post by ckv »

xnview wrote:Please try XnView 1.96 beta
Crash fixed in XnView 1.96 beta1 and XnView now it reads the faulty zip file (binary files stored in zip as text files) in this topic correctly.
Post Reply