Page 1 of 1

Crash on "invalid" file\file extension

Posted: Mon May 14, 2007 6:07 pm
by GulDukat
Hi,

After some puzzling I discovered why my xnview kept crashing on a certain folder. It seems I accidentally renamed a .jpg to a .raf (fujifilm raw file) at some point. This caused xnview to crash while indexing the directory. It also prompted a data execution prevention by windows xp when I tried clicking it in explorer ( I have the right-click thumbnail preview by xnview enabled in windows explorer, so I think this is related).

After I figured out how to isolate the file on the command prompt, I renamed it to a jpeg and everything is ok again.

So this is more a robustness matter then a bug. Everything works OK and the error was on my side. I know of programs that can determine which codecs are needed for movies and such, I bet the same exists for image files. Perhaps xnview can check and report a faulty file data\extension combination and prompt to rename it?

OR.....more to the source of the problem, warn when files of different extensions are renamed to files of the same extension.


In case you are interested, this is the error report generated by windows :)

edit: it seems I can't enter this here

Re: "bug": crash on "invalid" file\file

Posted: Tue May 15, 2007 6:35 am
by xnview
GulDukat wrote:Hi,

After some puzzling I discovered why my xnview kept crashing on a certain folder. It seems I accidentally renamed a .jpg to a .raf (fujifilm raw file) at some point. This caused xnview to crash while indexing the directory. It also prompted a data execution prevention by windows xp when I tried clicking it in explorer ( I have the right-click thumbnail preview by xnview enabled in windows explorer, so I think this is related).
Ok, i'll check

Re: "bug": crash on "invalid" file\file

Posted: Tue May 15, 2007 8:25 am
by xnview
Could you send me the jpeg file that you have renamed?

Posted: Wed May 16, 2007 3:50 pm
by GulDukat
Did you receive it? Your question makes me think you couldn't replicate the problem?

Posted: Thu May 17, 2007 1:22 pm
by xnview
GulDukat wrote:Did you receive it? Your question makes me think you couldn't replicate the problem?
No i haven't received it

Posted: Sun May 20, 2007 12:16 pm
by GulDukat
I sent it to <!-- removed //--> with the subject "jpeg file I renamed".

Posted: Sun May 20, 2007 2:10 pm
by xnview
GulDukat wrote:I sent it to <!-- removed //--> with the subject "jpeg file I renamed".
Ok, i have it now

Posted: Wed Jun 06, 2007 8:31 am
by GulDukat
Just for the information of all:
The problem was identified as a plugin for the windows explorer shell of a program called "s7raw". It cannot handle a fake .raf file.