Page 1 of 1
					
				0.81 Windows: xnviewmp.exe sticky process after close
				Posted: Tue Oct 11, 2016 7:57 am
				by Marsu42
				I know this isn't exactly the most helpful bug report, but it happens rather often and is annoying:
After closing XnViewMP (I'm currently running x64), the task is still active even though the window is gone. The task keeps consuming the same amount of cpu power (25% on my 4-core system), i.e. seems to be stuck in a loop. If "One instance of program only" is checked, of course other xnview instances refuse to open unless the stuck program is killed somehow, for example using the taskmanager.
I wonder if it's just a case of "just me", but I have this problem for quite a long time and a longer series of xnviewmp versions :-\
			 
			
					
				Re: [Windows] xnviewmp.exe sticky process after close
				Posted: Tue Oct 11, 2016 12:06 pm
				by xnview
				always? All thumbnails are built?
			 
			
					
				Re: [Windows] xnviewmp.exe sticky process after close
				Posted: Tue Oct 11, 2016 1:25 pm
				by Marsu42
				xnview wrote:always? All thumbnails are built?
It happens maybe in 10'% of cases, and thumbnails don't seem to have anything to do with it - I open a file from the command line or explorer (i.e. single image mode), sometimes browse other files in the same folder with back/forward, and then close xnview. One possible hint is that the more busy my computer is, the more often the stuck process seems to occur, or if I close xnview very quickly after opening an image file... but's it's really hard to pin down unless debugging in which loop it's stuck.
 
			
					
				Re: [Windows] xnviewmp.exe sticky process after close
				Posted: Tue Oct 11, 2016 1:37 pm
				by xnview
				so only in viewer mode?
			 
			
					
				Re: [Windows] xnviewmp.exe sticky process after close
				Posted: Tue Oct 11, 2016 3:48 pm
				by Marsu42
				xnview wrote:so only in viewer mode?
I guess so since I'm using viewer mode most of the time, but I cannot completely exclude the possibility that is has never been stuck from browser mode, ever :-\ ... I'm so used to kill it from task manager by now I really don't memorize what the last mode was before quitting xnview.
Btw it's not like I'm running a completely maiden windows and just xnview for bug tracking purposes, but xnview is the only app that has this behavior on my system.
 
			
					
				Re: [Windows] xnviewmp.exe sticky process after close
				Posted: Wed Oct 12, 2016 1:31 pm
				by xnview
				do you use 'read ahead'?
			 
			
					
				Re: [Windows] xnviewmp.exe sticky process after close
				Posted: Sun Oct 16, 2016 12:31 am
				by Marsu42
				xnview wrote:do you use 'read ahead'?
Yes, absolutely. I can try to disable it and see if it still hangs though, even if's tricky to tell as it occurs only so often.
Btw: Don't let me detain you from expanding this like "Read _ images ahead" - if there's enough memory, why not read ahead more like FastPictureViewer does?
 
			
					
				Re: [Windows] xnviewmp.exe sticky process after close
				Posted: Mon Oct 17, 2016 6:56 am
				by xnview
				Marsu42 wrote:xnview wrote:do you use 'read ahead'?
Yes, absolutely. I can try to disable it and see if it still hangs though, even if's tricky to tell as it occurs only so often.
 
always a running process?
 
			
					
				Re: [Windows] xnviewmp.exe sticky process after close
				Posted: Mon Oct 17, 2016 11:38 am
				by Marsu42
				xnview wrote:Marsu42 wrote:xnview wrote:do you use 'read ahead'?
Yes, absolutely. I can try to disable it and see if it still hangs though, even if's tricky to tell as it occurs only so often.
 
always a running process?
 
What do you mean with "always a running process"? If it's stuck after close (i.e. XnViewMP window is gone), then yes, it's always running at 25% cpu load (4-core system).
 
			
					
				Re: [Windows] xnviewmp.exe sticky process after close
				Posted: Mon Oct 17, 2016 11:58 am
				by xnview
				Marsu42 wrote:
What do you mean with "always a running process"? If it's stuck after close (i.e. XnViewMP window is gone), then yes, it's always running at 25% cpu load (4-core system).
i means without 'read ahead'?
 
			
					
				Re: [Windows] xnviewmp.exe sticky process after close
				Posted: Tue Nov 01, 2016 7:16 am
				by Marsu42
				xnview wrote:Marsu42 wrote:
What do you mean with "always a running process"? If it's stuck after close (i.e. XnViewMP window is gone), then yes, it's always running at 25% cpu load (4-core system).
i means without 'read ahead'?
 
Nope, it seems without read ahead xnviewmp closes just fine. Alas, I didn't try it a 1000 times so I cannot say for certain that this is the definitive source of the problem, but seems like a very likely candidate to me.
 
			
					
				Re: 0.81 Windows: xnviewmp.exe sticky process after close
				Posted: Fri Mar 03, 2017 3:22 pm
				by helmut
				@Pierre: Is there are problem with "Read image ahead"? If yes, has this been fixed?
			 
			
					
				Re: 0.81 Windows: xnviewmp.exe sticky process after close
				Posted: Fri Mar 03, 2017 5:04 pm
				by xnview
				helmut wrote:@Pierre: Is there are problem with "Read image ahead"? If yes, has this been fixed?
yes in previous version, was fixed in 0.84
 
			
					
				Re: 0.81 Windows: xnviewmp.exe sticky process after close
				Posted: Fri Mar 03, 2017 5:14 pm
				by helmut
				xnview wrote:.. yes in previous version, was fixed in 0.84
O.k.
@Marsu42: Could you please try v0.84 and confirm the bug fix?