Page 1 of 1

NVIDIA drivers: crash in unloaded nview.dll

Posted: 16 Dec 2009, 13:35
by Jan Rysavy
We have several reports with Salamander crash caused by NVIDIA nview.dll.
I saw this problem on my Windows XP with latest NVIDIA drivers during shutdown, while Salamander was running.
We are not loading nview.dll directly so it looks it's loaded by somehow (third-party shell extension?), later unloaded due to shutdown, while Salamander is still running.
The real problem is that this library probably register some hook that is not unregistered in library unload section. So our process is calling unloaded dll.

Any idea when and why is nview.dll loaded into process? We need to reproduce this problem to be able fill bug for NVIDIA: http://www.nvidia.com/object/driverqual ... rance.html

Code: Select all

Information About Exception:
  Exception: access violation: read on 0x010C3B80
  Exception origin: thread ID = 0xC84, execution address = 0x010C3B80 (nview.dll: 0x73B80)

Call Stacks:
  Thread with Exception (ID: 0xC84)
  WinMainBody(0x400000, , , 7)
  WinMainBody::FindLatestConfiguration
  WinMainBody::StartupDialog
  WinMainBody::inicialization
  WinMainBody::load_config
  WinMainBody::message_loop

Modules:
Unloaded Modules:
  (15656 ms) 0x01050000 (size: 0x173000) (ver: 6.14.10.11154): nview.dll (C:\WINNT\system32\nview.dll)
(OR)  (xxxx ms) 0x10000000 (size: 0x195000) (ver: 6.14.10.12524): nview.dll (C:\Program Files\NVIDIA Corporation\nView\nview.dll)
  (15656 ms) 0x10000000 (size: 0x15000) (ver: 6.14.11.7431): nvwddi.dll (C:\WINNT\system32\nvwddi.dll)

Stack Back Trace:
  Thread ID: 0xC84 (Thread with Exception)
  EIP = 0x010C3B80 (UNLOADED: nview.dll)
  0x7E42B317 USER32.dll
  0x7E4278D0 USER32.dll
  0x7C90E473 ntdll.dll
  0x004D537D salamand.exe
  0x7E431923 USER32.dll
  0x7E42B317 USER32.dll
  0x7E4278D0 USER32.dll
  0x7C90E473 ntdll.dll
  0x004CDE2F salamand.exe
  0x004CE942 salamand.exe
  0x00526646 salamand.exe
  0x7C817077 kernel32.dll
  ----

Re: NVIDIA drivers: crash in unloaded nview.dll

Posted: 17 Dec 2009, 04:15
by SelfMan
Pokial sa dobre pamatam, u nview.dll sa jedna o podporu viacerych monitorov. Overte si, ci klienti, ktori maju problemy s padmi pouzivaju viacero monitorov. Ja osobne mam Nvidiu GS7900 na jednom monitore a vyssie uvedeny problem nemam.

Re: NVIDIA drivers: crash in unloaded nview.dll

Posted: 17 Dec 2009, 12:23
by Jan Rysavy
It doesn't look to be multi-monitor related. Some bug report samples:

Code: Select all

Microsoft Windows XP Professional
Version 5.1 (Build 2600) SP 3.0, Service Pack 3
BIOS Version: LENOVO - 2100
BIOS Date: 01/21/08
Monitor 1: (0,0)-(1920,1200) 1920x1200 pixels, planes: 1, bits per pixel: 32, primary display
Monitor 1 Device Name: NVIDIA Quadro FX 570M

Microsoft Windows XP Professional
Version 5.1 (Build 2600) SP 3.0, Service Pack 3
BIOS Version: DELL   - 27d8011e
BIOS Date: 01/30/08
Monitor 1: (0,0)-(1440,900) 1440x900 pixels, planes: 1, bits per pixel: 32, primary display
Monitor 1 Device Name: NVIDIA Quadro NVS 135M

Microsoft Windows XP Professional
Version 5.1 (Build 2600) SP 3.0, Service Pack 3
BIOS Version: 052509 - 20090525
BIOS Date: 05/25/09
Monitor 1: (0,0)-(1600,900) 1600x900 pixels, planes: 1, bits per pixel: 32, primary display
Monitor 1 Device Name: NVIDIA GeForce 8300

Microsoft Windows XP Professional
Version 5.1 (Build 2600) SP 3.0, Service Pack 3
BIOS Version: NEC    - 2000709
BIOS Date: 02/09/07
Monitor 1: (0,0)-(1024,768) 1024x768 pixels, planes: 1, bits per pixel: 32, primary display
Monitor 1 Device Name: NVIDIA GeForce 7300 LE

Re: NVIDIA drivers: crash in unloaded nview.dll

Posted: 17 Dec 2009, 13:28
by SelfMan
C:\Program Files\NVIDIA Corporation\nView\nview.dll
My version is 6.14.10.12537, what versions are on the crashing computers? (except the above mentioned)

Re: NVIDIA drivers: crash in unloaded nview.dll

Posted: 17 Dec 2009, 13:35
by Jan Rysavy
6.14.10.11154
6.14.10.11175
6.14.10.11204
6.14.10.11209
6.14.10.12064
6.14.10.12095
6.14.10.12524
etc.

On my computer it was latest NVIDIA driver.

Re: NVIDIA drivers: crash in unloaded nview.dll

Posted: 17 Dec 2009, 13:36
by Jan Rysavy
Do you have nview.dll loaded in Salamander process? It isn't now on my computer...

Re: NVIDIA drivers: crash in unloaded nview.dll

Posted: 17 Dec 2009, 13:39
by SelfMan
Jan Rysavy wrote:Do you have nview.dll loaded in Salamander process? It isn't now on my computer...
Negative Houston...

Re: NVIDIA drivers: crash in unloaded nview.dll

Posted: 17 Dec 2009, 13:42
by Jan Rysavy
:lol:

Re: NVIDIA drivers: crash in unloaded nview.dll

Posted: 17 Dec 2009, 13:44
by SelfMan
PLease confirm that in "NVidia Control panel > Display > Set up multiple displays" is "Only use one display (single)"
EDIT: translated to english

Re: NVIDIA drivers: crash in unloaded nview.dll

Posted: 17 Dec 2009, 13:45
by Jan Patera
Jan Rysavy wrote:Any idea when and why is nview.dll loaded into process? We need to reproduce this problem to be able fill bug for NVIDIA
What I would do is to examine all .dll's that were loaded or unloaded at the same time (doesn't the 'ms' info in the bug reports give you that information?) and search for registry entries for them. That could give you hint which shellExt is using it...

Re: NVIDIA drivers: crash in unloaded nview.dll

Posted: 17 Dec 2009, 13:51
by SelfMan
Further analysis:
The nview.dll is load while:
- right click on desktop
- choose properties > settings > Advanced > GeForce xyz
- push the button "start the nvidia control panel"

The control panel is now started and the DLL is loaded.
On my PC is the dll unloaded right after the panel is closed.

BUT when I start the control panel via tray icon, the nview.dll is not loaded.
-