XnView MP does not terminate and "consumes" one CPU core

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
rob
Posts: 7
Joined: Fri Jun 26, 2009 7:35 pm

XnView MP does not terminate and "consumes" one CPU core

Post by rob »

The last weeks I noticed several times that a remaining xnviewmp.exe process (with all windows closed, xnview is invisible) is present in the taskmanager of my Windows 7 64bit system.

Using Sysinternals Process Explorer I found out that one thread seems to cause this problem. I captured the stack trace of the relevant thread multiple times, it always looked as follows:

Code: Select all

ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x712
ntoskrnl.exe!KeWaitForMutexObject+0x19f
ntoskrnl.exe!_misaligned_access+0xba0
ntoskrnl.exe!_misaligned_access+0x183d
ntoskrnl.exe!IoFreeErrorLogEntry+0x297
Qt5CoreXn.dll!QMutex::lock+0x16
Qt5CoreXn.dll!QThread::isRunning+0x1f
xnviewmp.exe+0x3dafe9
xnviewmp.exe+0x3db074
xnviewmp.exe+0x44f89d
xnviewmp.exe+0x44f974
Qt5CoreXn.dll!QObjectPrivate::deleteChildren+0x8d
Qt5WidgetsXn.dll!QWidget::~QWidget+0x563
xnviewmp.exe+0x45a8c4
xnviewmp.exe+0x47dbaf
xnviewmp.exe+0x3ae594
xnviewmp.exe+0x663fd5
xnviewmp.exe+0x6610dd
kernel32.dll!BaseThreadInitThunk+0xd
ntdll.dll!RtlUserThreadStart+0x21
This behavior usually happens from time to time when I start XnView by double klicking on an image in the search result presented by the program "Search Everything".
This application is special in this way that it runs with "High integrity level" (UAC elevated).

Most time I recognize the remaining xnviewmp.exe task the next day after powering up my pc, waking it from hibernate.

Version 0.78 x64 (Jan 12 2016)
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView MP does not terminate and "consumes" one CPU core

Post by xnview »

are you able to reproduce? is it after browsing folder?
Pierre.
rob
Posts: 7
Joined: Fri Jun 26, 2009 7:35 pm

Re: XnView MP does not terminate and "consumes" one CPU core

Post by rob »

Sometimes I can reproduce it, but it needs several dozen retries (opening and closing XnView, viewing different images).

I am not sure but usually I do not use the folder browsing view. I select an image in Everything start XnView by double clicking the file.
XnView shows the image in full screen, often now I switch the image using page up/down and finally I close XnView by pressing ESC (changed that in the settings).
Post Reply