xnview 1.93.6 hangs after first click

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

Moderators: helmut, XnTriq, xnview

Post Reply
stormy1777
Posts: 30
Joined: Thu May 08, 2008 1:11 pm

xnview 1.93.6 hangs after first click

Post by stormy1777 »

Been using program for several weeks, and love it. It works fine on 4 identical PCs.. however today it stopped working on one of them.

Just hangs after first click. I tried reinstalling, uninstalling, rebooting, etc. no matter what, after first click on the folder pane or an image, it just HANGS.. you must kill it. trying process monitor and I see nothing interesting in the output.. I'll try reg-mon tomorrow, but any other tips??

no cpu, nothing, just hangs.

this is win2k sp4 with latest xnview-english. Like I said, it has worked perfectly fine on this PC for several weeks. not sure 'what changed'...

Thanks.
stormy1777
Posts: 30
Joined: Thu May 08, 2008 1:11 pm

xnview 1.93.6 hangs on opening invalid PNG image (orig jpg)

Post by stormy1777 »

Ok, I figured it out...

Take a jpg image, rename it to .png, now go to that directory, and xnview will just hang, forever.. no cpu, no nothing.. just hangs..

I'm very happy I found the root cause of the hang!!! but others may have difficulties..
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

b1: Renamed image stops thumbnail rendering
I don't see it anymore (on emulator), maybe it is only on Win2k?
stormy1777
Posts: 30
Joined: Thu May 08, 2008 1:11 pm

Post by stormy1777 »

YES! exactly the right thread!

I'm on Win2k, and it's very easy to reproduce:

- Attempt to view a misnamed .jpg (call it .png)
- Make sure there is not already a thumbnail for that image.
- Make sure 'recognize only by extension' is enabled in the options->file list-Misc is ON.

interesting part is that xnview just HANGS.. no cpu, etc.

but now I have a workaround, unset 'recognize only by extension'.

Would still be nice to fix this not to hang...
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

You open xnview on a misnamed .jpg, and rename it in view mode? And after you go to the browser?
Pierre.
stormy1777
Posts: 30
Joined: Thu May 08, 2008 1:11 pm

Post by stormy1777 »

just follow the 3 conditions: rename the image, startup vnview, go to that folder, now it will hang. very simple.

just make sure you have the option to check by extension. and also make sure it's a new image, one that no thumbnail exists yet for it.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

But xnview start in view mode, fullscreen mode?
Pierre.
stormy1777
Posts: 30
Joined: Thu May 08, 2008 1:11 pm

Post by stormy1777 »

no, in browser mode, on the LEFT side, navigate to the folder holding that misnamed jpg (call it .png) and then xnview will hang.. you can't even go to other folders, then u must go to taskmgr and kill the program.
stormy1777
Posts: 30
Joined: Thu May 08, 2008 1:11 pm

Post by stormy1777 »

0. in options Browser->file list->Misc, change recognize only by extension to YES
1. close xnview completely
2. rename a .jpg image you never viewed before to .png remember the folder this image is at
3. startup xnview and on the left sidebar navigate to that folder.
4. it will now hang, only way to get out is kill in task-mgr
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

stormy1777 wrote:0. in options Browser->file list->Misc, change recognize only by extension to YES
1. close xnview completely
2. rename a .jpg image you never viewed before to .png remember the folder this image is at
3. startup xnview and on the left sidebar navigate to that folder.
4. it will now hang, only way to get out is kill in task-mgr
I can't reproduce it :-(
Someone can?
Pierre.
stormy1777
Posts: 30
Joined: Thu May 08, 2008 1:11 pm

Post by stormy1777 »

To me it happens all the time on all my win2k machines using the above steps. I also asked others to see if they can provide more info from the original thread:

http://newsgroup.xnview.com/viewtopic.php?p=62432

Thanks!
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Perhaps you can send me your xnview.ini
Pierre.
stormy1777
Posts: 30
Joined: Thu May 08, 2008 1:11 pm

Post by stormy1777 »

sent, to webmaster email.
stormy1777
Posts: 30
Joined: Thu May 08, 2008 1:11 pm

only happens on win2k

Post by stormy1777 »

I can confirm it only happens on win2k.
tried reproducing with winxp and it's not.. works ok on winxp.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: only happens on win2k

Post by xnview »

stormy1777 wrote:I can confirm it only happens on win2k.
tried reproducing with winxp and it's not.. works ok on winxp.
Ok, i have found the problem, only on win2k, it's a problem with windows explorer. For other files, i ask system to send the thumbnail. I have some dead lock on windows explorer too on this file too...
Pierre.
Post Reply