Page 1 of 1

XnViewMP 0.68 Crashes on Windows 8

Posted: Sat May 31, 2014 10:06 pm
by yuzvir
XnViewMP 0.68 x64 crashes when i'm browsing images. Usually it happens on the same pictures. I can run program again, watch pictures from begining and the program will crash exactly on the same image, but when I try to copy this 'problem' image to another directory there was no problem of viewing it. Also when I run the second instance of XnViewMP this problem can be occured on the another picture. So I believe that problem not in the images.

I tried to watch in VS Debugger and in IDA why it can happens and found that It happens in function with this QT api:

QImage::scaled
QImage::~QImage

Somewhere while program tried to free heap and at this moment I see an exception: c0000374 (heap corruption).
I don't realy know what this function is for and what realy happens here, but I hope this information could be helpful for you.

Re: XnViewMP 0.68 Crashes on Windows 8

Posted: Mon Jun 02, 2014 7:56 am
by xnview
If you use a non maximized view, do you have the problem too?

Re: XnViewMP 0.68 Crashes on Windows 8

Posted: Mon Jun 02, 2014 10:23 am
by yuzvir
Everything seems to be ok without resizing. Usually I use option "Fit image to window, large only".

Re: XnViewMP 0.68 Crashes on Windows 8

Posted: Mon Jun 02, 2014 11:55 am
by xnview
yuzvir wrote:Everything seems to be ok without resizing. Usually I use option "Fit image to window, large only".
when you have the crash do you have the report crash dialog?

Re: XnViewMP 0.68 Crashes on Windows 8

Posted: Mon Jun 02, 2014 8:36 pm
by yuzvir
No. Only "debug" and "close program" options.

But I saved a minidump with heap from VS debugger.
https://www.dropbox.com/s/5d5xma4atcsyoft/xnview.7z

Re: XnViewMP 0.68 Crashes on Windows 8

Posted: Tue Jun 03, 2014 7:54 am
by xnview
could you send me the picture where you have the crash?

Re: XnViewMP 0.68 Crashes on Windows 8

Posted: Tue Jun 03, 2014 9:58 am
by yuzvir

Re: XnViewMP 0.68 Crashes on Windows 8

Posted: Fri Jun 06, 2014 11:09 am
by xnview
i can't reproduce, could you send me your xnview.ini, please?

Re: XnViewMP 0.68 Crashes on Windows 8

Posted: Fri Jun 06, 2014 10:11 pm
by yuzvir
here it is.

when I remove
[Browser]
state=...

Everything works fine, but I don't like default browser configuration.

Re: XnViewMP 0.68 Crashes on Windows 8

Posted: Mon Jun 09, 2014 10:19 pm
by yuzvir
I also found that problem appears only when thumbnail panel on the bottom.

Re: XnViewMP 0.68 Crashes on Windows 8

Posted: Tue Jun 10, 2014 10:16 am
by xnview
See Issue 413 for current status and details.