XnView MP happens to hang 50% CPU process after closing

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

Moderators: helmut, XnTriq, xnview, Dreamer

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

Re: XnView MP happens to hang 50% CPU process after closing

Post by xnview »

could you send me some sample files?
Pierre.
vladsol
Posts: 4
Joined: Thu Jul 31, 2014 4:21 pm

Re: XnView MP happens to hang 50% CPU process after closing

Post by vladsol »

secarica wrote:From time to time it happens that XnView MP remains somehow locked as a background process, consuming exactly 50% CPU processor in task manager.
I have the same problem with an infinite background process. Program version - 0.68 (May 19 2014), platform - Windows 7 32bit. Any solution?
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView MP happens to hang 50% CPU process after closing

Post by xnview »

vladsol wrote:
secarica wrote:From time to time it happens that XnView MP remains somehow locked as a background process, consuming exactly 50% CPU processor in task manager.
I have the same problem with an infinite background process. Program version - 0.68 (May 19 2014), platform - Windows 7 32bit. Any solution?
when using the browser? viewer?
Pierre.
vladsol
Posts: 4
Joined: Thu Jul 31, 2014 4:21 pm

Re: XnView MP happens to hang 50% CPU process after closing

Post by vladsol »

xnview wrote:
vladsol wrote:
secarica wrote:From time to time it happens that XnView MP remains somehow locked as a background process, consuming exactly 50% CPU processor in task manager.
I have the same problem with an infinite background process. Program version - 0.68 (May 19 2014), platform - Windows 7 32bit. Any solution?
when using the browser? viewer?
Usually I use the viewer in fullscreen mode. I don't use the xnViewMp browser and open image files directly from my file manager switching to the next or previous image with mouse scroll or PgUp-PgDn. To close the viewer I press ESC twice (to exit fullscreen and then to close the viewer window).
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView MP happens to hang 50% CPU process after closing

Post by xnview »

vladsol wrote: Usually I use the viewer in fullscreen mode. I don't use the xnViewMp browser and open image files directly from my file manager switching to the next or previous image with mouse scroll or PgUp-PgDn. To close the viewer I press ESC twice (to exit fullscreen and then to close the viewer window).
could you try to disabled settings>Misc>View>Read one image ahead?
Pierre.
vladsol
Posts: 4
Joined: Thu Jul 31, 2014 4:21 pm

Re: XnView MP happens to hang 50% CPU process after closing

Post by vladsol »

xnview wrote:could you try to disabled settings>Misc>View>Read one image ahead?
Yes, it helps. I can't repeat the situation with the infinite background process if "read one image ahead" option is disabled. But the problem appears again if I turn the option back. Thank you!
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: XnView MP happens to hang 50% CPU process after closing

Post by m.Th. »

vladsol wrote:
xnview wrote:could you try to disabled settings>Misc>View>Read one image ahead?
Yes, it helps. I can't repeat the situation with the infinite background process if "read one image ahead" option is disabled. But the problem appears again if I turn the option back. Thank you!
Most probably because "read one image ahead" spawns a separate thread which tries to read the image. This thread isn't cleared when the application closes and the thread remains in an infinite loop waiting from a command which will never come anymore from his (dead) master.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView MP happens to hang 50% CPU process after closing

Post by xnview »

vladsol wrote:
xnview wrote:could you try to disabled settings>Misc>View>Read one image ahead?
Yes, it helps. I can't repeat the situation with the infinite background process if "read one image ahead" option is disabled. But the problem appears again if I turn the option back. Thank you!
do you have RAW files in the folder?
Pierre.
vladsol
Posts: 4
Joined: Thu Jul 31, 2014 4:21 pm

Re: XnView MP happens to hang 50% CPU process after closing

Post by vladsol »

xnview wrote:do you have RAW files in the folder?
No, I haven't. The folder contains some "*.png" files only. File example: https://dl.dropboxusercontent.com/u/251 ... xample.png
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView MP happens to hang 50% CPU process after closing

Post by xnview »

strange, not really a big picture file, if you activate again 'read ahead', same problem?
Pierre.
Alexanderr1
Posts: 1
Joined: Sat Jan 31, 2015 1:39 pm

Re: XnView MP happens to hang 50% CPU process after closing

Post by Alexanderr1 »

Had same problem on version XnView MP 0.71
(hangup process with 30% cpu loading)
on Sony Pro notebook i7 / 8gb ram / 512g ssd on Windows 8.1

Directory has only jpeg files, situation returns after fast view/close/view/close many times in one directory.

You can request screen shoot and process memory dump file
on email alexander{ät}kondratovich{döt}kiev{döt}ua

Image
http://domderevo.com.ua/xnviewbug.jpg
(..Sorry, image publication - don't working on forum)
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView MP happens to hang 50% CPU process after closing

Post by xnview »

Alexanderr1 wrote:Had same problem on version XnView MP 0.71
please use 0.72
Pierre.
Post Reply