Page 2 of 2

Re: crash when opening folder on D drive

Posted: Thu Apr 29, 2010 1:54 pm
by skilledbachelor
I may be able to give you a further idea.

I have two windows 7 installations:

1) a 32bit machine which has exactly the same problem described here.
2) a 64bit machine which had exactly the same problem no matter which drive (including the C drive) I attempted to browse. When I attempted to fix a problem with another application I installed vcredist_x64.exe -- the Microsoft Visual C++ Redistributable Package for 64bit machines. I now was able to browse directories on the C disk using XnView.

After that I installed Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) on the 32bit machine, but this did not fix its original problem.

Is it possible that XnView needs to use different C++ run-time libraries when executing under Windows 7?

Re: crash when opening folder on D drive

Posted: Thu Apr 29, 2010 5:43 pm
by bobby70
xnview wrote:You use folder's tree or file list to change folder?
I'm clicking around in the "folder's tree" (tree structure with partitions, folders, and sub-folders) to change the working folder.
xnview wrote:And send me your email by PM
Will do that right now.

Re: crash when opening folder on D drive

Posted: Thu Apr 29, 2010 6:00 pm
by XnTriq
bobby70 wrote:But there is an issue whenever the file browser within XnView comes into play. When I click around in the folder structure, sooner or later XnView will "hang". Hourglass symbol is visible, XnView window frozen, program is not using CPU time any more, no response any more, apparently in some kind of "wait" state. Contrary to what I believed first, this issue isn't limited to partition D, but may also show on other partitions.
This can occur, if XnView tries to generate a thumbnail for an HTML file which has images embedded in it whose URLs are pointing to MSIE's Internet Security Zone.
[color=green]remote.htm[/color] wrote:

Code: Select all

<html>
<body>
<img src="http://www.xnview.com/img/index/logo.gif">
</body>
</html>
[color=green]local.htm[/color] wrote:

Code: Select all

<html>
<body>
<img src="img/index/logo.gif">
</body>
</html>
[color=green]thumbvw.dll[/color] wrote:Refresh Thumbnail: The page remote.htm could not be loaded and rendered within the timeout period.
On Windows 2000 the timeout is set to 90 seconds.

@bobby70: What are your settings for the following options?
  1. Tools » Options... » Browser » File List » File List » Custom files (*)
  2. Tools » Options... » Browser » Thumbnails » Appearance » Show thumbnail for file shortcut
Forum references:

Re: crash when opening folder on D drive

Posted: Thu Apr 29, 2010 6:24 pm
by bobby70
@bobby70: What are your settings for the following options?
  1. Tools » Options... » Browser » File List » File List » Custom files (*)

    Show item in view "Thumbnails" (not checked - off)
    Show item in view "Other" (checked - on)
    Show as thumbnail (not checked - off)
    Show in preview (checked - on)
    HTM HTML MHT MHTML XML XHTML EML NWS URL
  2. Tools » Options... » Browser » Thumbnails » Appearance » Show thumbnail for file shortcut

    checked - on

Re: crash when opening folder on D drive

Posted: Thu Apr 29, 2010 6:45 pm
by XnTriq
Does the problem persist, if you deactivate Show thumbnail for file shortcut and change the settings for File List to those in the screenshot?

Re: crash when opening folder on D drive

Posted: Thu Apr 29, 2010 7:23 pm
by bobby70
Ahhh... great... these settings seem to work!

Changed settings as recommended and deleted old xnview.ini file. No problems any more with XnView 1.97.3.

Thanks a lot!

Re: crash when opening folder on D drive

Posted: Wed May 19, 2010 2:08 am
by jogger
I'm having the same crash/hang problem with one of the directories on the main harddisk (the "c" drive). The directory contains an assortment of files (videos, music, txt, pdf etc). When I clicked on any of the sub-folders in this directory, xnview would freeze completely, and the program has to be shut down by brute force.

The problem persisted even when I used the settings offered by XnTriq.

But I have found a way to get it working. I found the method by trial and error. Later I replicated the method by deleting the .ini and retried it fresh. It worked. Here's how:

1) Unticked everything on the "file list" option (tick boxes under "thumbnails") except for images. It's the screen that XnTriq attached.
2) Restart Xnview. Now the folders could be accessed without a problem. Problem partially solved.
3) To get back the full file view, go back to the "file list" option screen and re-tick items under the file list option (those that were unticked previously). In fact, you could tick every item. Close and restart the program. Voila, Xnview works with the folders without a hitch: no hanging or crashing. Problem *completely* solved.

The "Show thumbnail for file shortcut" doesn't seem to play a part in this.

Now that Xnview is working, I don't quite understand why I'd have to go through those steps to get Xnview working on my PC. I'd sure like to see this bug fixed, if it was a bug.

I'm using win 7 (64 bit) and v1.97.4. I've got the same problem with v1.97.3 as well. I also ran the program with admin rights, as Xnview doesn't seem to work without it.

Could I have an explanation from the author of this program? Many thanks.

Re: crash when opening folder on D drive

Posted: Thu May 20, 2010 1:21 pm
by xnview
jogger wrote: 1) Unticked everything on the "file list" option (tick boxes under "thumbnails") except for images. It's the screen that XnTriq attached.
2) Restart Xnview. Now the folders could be accessed without a problem. Problem partially solved.
3) To get back the full file view, go back to the "file list" option screen and re-tick items under the file list option (those that were unticked previously). In fact, you could tick every item. Close and restart the program. Voila, Xnview works with the folders without a hitch: no hanging or crashing. Problem *completely* solved.
Strange, even if use view/Rebuild or clean DB (option/Thumbnail/Cache>Remove all)?
If you delete the xnview.ini, you have the crash?

Re: crash when opening folder on D drive

Posted: Thu May 20, 2010 11:55 pm
by jogger
xnview wrote:
jogger wrote: 1) Unticked everything on the "file list" option (tick boxes under "thumbnails") except for images. It's the screen that XnTriq attached.
2) Restart Xnview. Now the folders could be accessed without a problem. Problem partially solved.
3) To get back the full file view, go back to the "file list" option screen and re-tick items under the file list option (those that were unticked previously). In fact, you could tick every item. Close and restart the program. Voila, Xnview works with the folders without a hitch: no hanging or crashing. Problem *completely* solved.
Strange, even if use view/Rebuild or clean DB (option/Thumbnail/Cache>Remove all)?
If you delete the xnview.ini, you have the crash?
Yes. Absolutely. This is what I just tried 2 minutes ago:
1) I deleted the xnview.ini from AppData\Roaming\XnView\ directory
2) I started Xnview, and tried to access the directory I mentioned in my earlier post, the program crashed as before. I shut he program down with Task Manager.
3) I restarted Xnview, did both: a) view/Rebuild, AND b) clean DB (option/Thumbnail/Cache>Remove all). Went to the directory and clicked on a subfolder, and the program crashed as before.
4) I followed the steps in my previous post and Xnview was working again.

One more thing I noticed.. In the file list option, on the third column, "show as thumbnail", if I ticked "video files" and clicked ok, I couldn't open the option screen the next time I was in that directory (with many assorted files). The program would crash as before when I tried to open the option dialog. Other than that, the program worked perfectly when I was in that directory, after I've gone through the steps I described earlier. Not sure if it has anything to do with the previous crash bug.

It's really strange.. hope you could fix it.

Re: crash when opening folder on D drive

Posted: Tue May 25, 2010 7:38 am
by xnview
What do you have in this folder? You have the crash with only this folder?

Re: crash when opening folder on D drive

Posted: Tue May 25, 2010 11:02 pm
by jogger
xnview wrote:What do you have in this folder? You have the crash with only this folder?
It's a misc folder that contains all kinds of files, including pdf, jpg, txt, docs, videos etc. Not sure if it matters though.
I could go into the first level folder (which contains an assortment of files and folders), but clicking on any of the second level folder causes the clash.
Faststone viewer has no trouble with this directory.

Re: crash when opening folder on D drive

Posted: Wed May 26, 2010 12:29 am
by marsh
jogger wrote: It's a misc folder that contains all kinds of files, including pdf, jpg, txt, docs, videos etc. Not sure if it matters though.
Generally, most crashes I have seen so far (regardless of program) have been:
a. jpeg with bad exif data attached.
b. weird filename.
c. animation.

And the odd image below crashed other viewers and movie players years ago.
From topic, http://newsgroup.xnview.com/viewtopic.p ... 249#p34249
XnTriq wrote:

Re: crash when opening folder on D drive

Posted: Wed May 26, 2010 9:00 am
by xnview
jogger wrote:
xnview wrote:What do you have in this folder? You have the crash with only this folder?
It's a misc folder that contains all kinds of files, including pdf, jpg, txt, docs, videos etc. Not sure if it matters though.
I could go into the first level folder (which contains an assortment of files and folders), but clicking on any of the second level folder causes the clash.
"Option/General>Display all file formats" is enabled?

Re: crash when opening folder on D drive

Posted: Thu May 27, 2010 1:01 am
by jogger
xnview wrote:
jogger wrote:
xnview wrote:What do you have in this folder? You have the crash with only this folder?
It's a misc folder that contains all kinds of files, including pdf, jpg, txt, docs, videos etc. Not sure if it matters though.
I could go into the first level folder (which contains an assortment of files and folders), but clicking on any of the second level folder causes the clash.
"Option/General>Display all file formats" is enabled?
"Display all image file types" not ticked.

Re: crash when opening folder on D drive

Posted: Thu May 27, 2010 3:23 am
by xnview
Is it possible to have the folder that crash XnView?