XnViewMP 0.68 Crashes on Windows 8

*** Please report new bugs here! ***

Moderators: helmut, xnview, Dreamer

yuzvir
Posts: 6
Joined: Sat Feb 08, 2014 5:50 pm

XnViewMP 0.68 Crashes on Windows 8

Post 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.
You do not have the required permissions to view the files attached to this post.
Last edited by yuzvir on Mon Jun 02, 2014 10:24 am, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 46856
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnViewMP 0.68 Crashes on Windows 8

Post by xnview »

If you use a non maximized view, do you have the problem too?
Pierre.
yuzvir
Posts: 6
Joined: Sat Feb 08, 2014 5:50 pm

Re: XnViewMP 0.68 Crashes on Windows 8

Post by yuzvir »

Everything seems to be ok without resizing. Usually I use option "Fit image to window, large only".
User avatar
xnview
Author of XnView
Posts: 46856
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnViewMP 0.68 Crashes on Windows 8

Post 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?
Pierre.
yuzvir
Posts: 6
Joined: Sat Feb 08, 2014 5:50 pm

Re: XnViewMP 0.68 Crashes on Windows 8

Post 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
User avatar
xnview
Author of XnView
Posts: 46856
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnViewMP 0.68 Crashes on Windows 8

Post by xnview »

could you send me the picture where you have the crash?
Pierre.
yuzvir
Posts: 6
Joined: Sat Feb 08, 2014 5:50 pm

Re: XnViewMP 0.68 Crashes on Windows 8

Post by yuzvir »

User avatar
xnview
Author of XnView
Posts: 46856
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnViewMP 0.68 Crashes on Windows 8

Post by xnview »

i can't reproduce, could you send me your xnview.ini, please?
Pierre.
yuzvir
Posts: 6
Joined: Sat Feb 08, 2014 5:50 pm

Re: XnViewMP 0.68 Crashes on Windows 8

Post by yuzvir »

here it is.

when I remove
[Browser]
state=...

Everything works fine, but I don't like default browser configuration.
You do not have the required permissions to view the files attached to this post.
yuzvir
Posts: 6
Joined: Sat Feb 08, 2014 5:50 pm

Re: XnViewMP 0.68 Crashes on Windows 8

Post by yuzvir »

I also found that problem appears only when thumbnail panel on the bottom.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 46856
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnViewMP 0.68 Crashes on Windows 8

Post by xnview »

See Issue 413 for current status and details.
Pierre.