Subject: problems between nvidia nvmixer (from 4.27 nforce drivers) cygwin sshd cygrunsrv & even bash shell, all in Windows 2000
From: Jonathan Higbee <[email-masked]>
To: [email-masked]
Date: Fri, 26 Nov 2004 11:46:15 -0700

Problem report. There are interaction problems between the
Nvidia nvmixer (from 4.27 nforce drivers) & cygwin bash
shell & sshd & cygrunsrv, all under Windows 2000.

Details of problems - how to duplicate:

1. Have openssh sshd.exe installed as a service in cygwin.

2. Install the latest Nvidia nforce 4.27 drivers, including
the audio mixer.

3. Run nvmixer.exe.

4. Notice how in task manager the cygrunsrv.exe is all of a
sudden hogging up cpu time.

5. In task manager manually close cygrunsrv.exe.

6. Notice how nvmixer.exe just crashed.

7. Run nvmixer.exe manually.

8. It won't maximize.

9. Look in task manager. Now sshd.exe is taking up a lot of
cpu time.

10. Stop sshd.exe in task manager.

11. Nvmiver.exe crashes again.

12. Now that sshd.exe and cygrunsrv.exe are not in task
manager try running nvmixer.exe again. 

13. This time nvmixer.exe starts up just fine and it will
maximize.

14. Notice how that when nvmixer is maximized it's possible
to restart cygwin's sshd.exe and have it work. 

If nvmixer not open but still in the tray, and if sshd.exe
and cygrunsrv are running, then nvmixer won't maximize, and
either cygrunsrv or sshd will take up a lot of cpu time (for
when nvmixer is trying to be accessed). If either cygrunsrv
or sshd are killed, and if nvmixer is running in the tray,
it will crash. However once both cygrunsrv and sshd are
closed, then nvmixer will run ok.

15. With sshd and cygrunsrv closed, open up a bash window in
cygwin (double click on the cygwin icon on your desktop).

16. With the bash window open, now try & run nvmixer again.
You get the same result as with sshd and cygrunsrv.

17. Notice how bash is now sucking up a lot of cpu time
after you tried to run nvmixer.

18. Close bash using task manager.

19. Now nvmixer crashes again.

20. With bash of cygwin closed now try nvmixer again. It now
works ok & will open.

Conclusion: Several processes of cygwin (bash, sshd,
cygrunsrv) start taking up a lot of cpu time if nvmixer.exe
is run at all. Once nvmixer is running, if we close any
cygwin process, then nvmixer crashes. Once all cygwin stuff
is closed then nvmixer will run.

-------------------

Here's a part of the log for one of the nvmixer.exe crashes:

Application exception occurred:
        App:  (pid=1448)
        When: 11/25/2004 @ 10:04:37.015
        Exception number: c0000005 (access violation)

*----> System Information <----*
        Computer Name: CL
        User Name: vu
        Number of Processors: 1
        Processor Type: x86 Family 6 Model 10 Stepping 0
        Windows 2000 Version: 5.0
        Current Build: 2195
        Service Pack: 3
        Current Type: Uniprocessor Free
        Registered Organization: .
        Registered Owner: .

*----> Task List <----*
   0 Idle.exe
   8 System.exe
 224 SMSS.exe
 248 CSRSS.exe
 268 WINLOGON.exe
 296 SERVICES.exe
 308 LSASS.exe
 440 Smc.exe
 492 svchost.exe
 532 spoolsv.exe
 580 svchost.exe
 596 GEARSEC.exe
 624 NAVAPSVC.exe
 700 nvsvc32.exe
 752 regsvc.exe
 764 r_server.exe
 812 mstask.exe
 928 ULCDRSvr.exe
 956 vmware-authd.ex.exe
 996 vmnat.exe
1016 WinGate.exe
1064 WinMgmt.exe
1088 Winrun.exe
1156 MsPMSPSv.exe
1180 svchost.exe
1332 vmnetdhcp.exe
1344 explorer.exe
 888 NAVAPW32.exe
1500 NvMixerTray.exe
1524 acrotray.exe
1564 boinc_gui.exe
1608 wgengmon.exe
1628 wgvpnmon.exe
1648 BCResident.exe
1484 hadsm3_4.04_win.exe
 512 DLLHOST.exe
1532 hadsm3um_4.04_w.exe
 940 sshd.exe
1448 NvMixer.exe
1028 mshta.exe
1672 regedit.exe
1556 IEXPLORE.exe
1696 taskmgr.exe
1324 DRWTSN32.exe
   0 _Total.exe

(00400000 - 0055C000) 
(77F80000 - 77FFB000) 
(77570000 - 775A0000) 
(77E10000 - 77E6F000) 
(77E80000 - 77F36000) 
(77F40000 - 77F79000) 
(77DB0000 - 77E0D000) 
(77D30000 - 77DA1000) 
(00230000 - 00358000) 
(00360000 - 00365000) 
(78000000 - 78046000) 
(77820000 - 77827000) 
(759B0000 - 759B6000) 
(782F0000 - 78534000) 
(70A70000 - 70AD4000) 
(71710000 - 71794000) 
(77A50000 - 77B45000) 
(779B0000 - 77A4B000) 
(6B2C0000 - 6B2C5000) 
(75E60000 - 75E7A000) 
(6CA60000 - 6CA68000) 
(66650000 - 666A4000) 
(10000000 - 1000D000) 

State Dump for Thread Id 0x570

eax=00000000 ebx=00000000 ecx=00000008 edx=00000000
esi=00000000 edi=00000034
eip=77ebc3d0 esp=0012f834 ebp=0012f894 iopl=0         nv up
ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000
efl=00000202

function: Module32Next
        77ebc3b6 8945e8           mov     [ebp+0xe8],eax
ss:00c4ce66=????????
        77ebc3b9 7407             jz
QueryInformationJobObject+0x62 (77ec4ec2)
        77ebc3bb 8bc3             mov     eax,ebx
        77ebc3bd 6bc01c           imul    eax,eax,0x1c
        77ebc3c0 03f8             add     edi,eax
        77ebc3c2 8b4d0c           mov     ecx,[ebp+0xc]
ss:00c4ce66=????????
        77ebc3c5 f6c108           test    cl,0x8
        77ebc3c8 7415             jz
QueryInformationJobObject+0x7f (77ec4edf)
        77ebc3ca 8b4518           mov     eax,[ebp+0x18]
ss:00c4ce66=????????
        77ebc3cd 8b4030           mov     eax,[eax+0x30]
ds:00b1d5d2=????????
FAULT ->77ebc3d0 8b00             mov     eax,[eax]
ds:00000000=????????
        77ebc3d2 8bd0             mov     edx,eax
        77ebc3d4 8945ec           mov     [ebp+0xec],eax
ss:00c4ce66=????????
        77ebc3d7 69d228040000     imul    edx,edx,0x428
        77ebc3dd 03fa             add     edi,edx
        77ebc3df 6a01             push    0x1
        77ebc3e1 894df4           mov     [ebp+0xf4],ecx
ss:00c4ce66=????????
        77ebc3e4 59               pop     ecx
        77ebc3e5 214df4           and     [ebp+0xf4],ecx
ss:00c4ce66=????????
        77ebc3e8 7412             jz
QueryInformationJobObject+0x9c (77ec4efc)
        77ebc3ea 8b451c           mov     eax,[ebp+0x1c]
ss:00c4ce66=????????
        77ebc3ed 8b4038           mov     eax,[eax+0x38]
ds:00b1d5d2=????????

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4
Function Name
0012F894 77EBB6B6 0012F8D0 00000008 000004B8 00000000
kernel32!Module32Next 
0012F8C4 004137F4 00000008 000004B8 0012FD48 00000088
kernel32!CreateToolhelp32Snapshot 
0012FB08 004138CC 000004B8 0012FB24 00000224 00000000
!<nosymbols> 
0012FE74 00416194 0045D2B4 77E87D93 00000000 7FFDF000
!<nosymbols> 
0012FE98 0044EC64 00400000 00000000 00133AA0 00000001
!<nosymbols> 
0012FFC0 77E9CA90 77F82B95 0012CBB0 7FFDF000 C0000005
!<nosymbols> 
0012FFF0 00000000 0044EAE3 00000000 000000C8 00000100
kernel32!CreateProcessW 

*----> Raw Stack Dump <----*
0012f834  04 fb 12 00 b8 04 00 00 - 00 00 00 00 00 00 00 00
................
0012f844  00 00 ed 00 90 00 00 00 - 98 f8 12 00 9d c2 eb 77
...............w
0012f854  b8 04 00 00 01 00 00 00 - 94 00 00 00 04 fb 12 00
................
0012f864  b8 04 00 00 00 00 00 00 - 00 00 00 00 20 f9 12 00
............ ...
0012f874  00 00 01 00 01 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f884  00 00 00 00 b0 ff 12 00 - 00 00 00 00 00 00 00 00
................
0012f894  c4 f8 12 00 b6 b6 eb 77 - d0 f8 12 00 08 00 00 00
.......w........
0012f8a4  b8 04 00 00 00 00 00 00 - 00 00 ef 00 00 00 00 00
................
0012f8b4  88 00 00 00 00 00 00 00 - 00 00 ef 00 00 00 00 00
................
0012f8c4  08 fb 12 00 f4 37 41 00 - 08 00 00 00 b8 04 00 00
.....7A.........
0012f8d4  48 fd 12 00 88 00 00 00 - a0 3a 13 00 00 00 00 00
H........:......
0012f8e4  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f8f4  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f904  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f914  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f924  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f934  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f944  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f954  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f964  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................

Application exception occurred:
        App:  (pid=1660)
        When: 11/25/2004 @ 10:17:12.078
        Exception number: c0000005 (access violation)

*----> System Information <----*
        Computer Name: CL
        User Name: vu
        Number of Processors: 1
        Processor Type: x86 Family 6 Model 10 Stepping 0
        Windows 2000 Version: 5.0
        Current Build: 2195
        Service Pack: 3
        Current Type: Uniprocessor Free
        Registered Organization: .
        Registered Owner: .

*----> Task List <----*
   0 Idle.exe
   8 System.exe
 224 SMSS.exe
 248 CSRSS.exe
 268 WINLOGON.exe
 296 SERVICES.exe
 308 LSASS.exe
 440 Smc.exe
 492 svchost.exe
 532 spoolsv.exe
 580 svchost.exe
 596 GEARSEC.exe
 624 NAVAPSVC.exe
 700 nvsvc32.exe
 752 regsvc.exe
 764 r_server.exe
 812 mstask.exe
 928 ULCDRSvr.exe
 956 vmware-authd.ex.exe
 996 vmnat.exe
1016 WinGate.exe
1064 WinMgmt.exe
1088 Winrun.exe
1156 MsPMSPSv.exe
1180 svchost.exe
1332 vmnetdhcp.exe
1344 explorer.exe
 888 NAVAPW32.exe
1500 NvMixerTray.exe
1524 acrotray.exe
1564 boinc_gui.exe
1608 wgengmon.exe
1628 wgvpnmon.exe
1648 BCResident.exe
1484 hadsm3_4.04_win.exe
 512 DLLHOST.exe
1532 hadsm3um_4.04_w.exe
 376 IEXPLORE.exe
1720 mmc.exe
1164 sshd.exe
1320 CMD.exe
1660 NvMixer.exe
 968 taskmgr.exe
 868 notepad.exe
 960 DRWTSN32.exe
   0 _Total.exe

(00400000 - 0055C000) 
(77F80000 - 77FFB000) 
(77570000 - 775A0000) 
(77E10000 - 77E6F000) 
(77E80000 - 77F36000) 
(77F40000 - 77F79000) 
(77DB0000 - 77E0D000) 
(77D30000 - 77DA1000) 
(00230000 - 00358000) 
(00360000 - 00365000) 
(78000000 - 78046000) 
(77820000 - 77827000) 
(759B0000 - 759B6000) 
(782F0000 - 78534000) 
(70A70000 - 70AD4000) 
(71710000 - 71794000) 
(77A50000 - 77B45000) 
(779B0000 - 77A4B000) 
(6B2C0000 - 6B2C5000) 
(75E60000 - 75E7A000) 
(6CA60000 - 6CA68000) 
(66650000 - 666A4000) 
(10000000 - 1000D000) 

State Dump for Thread Id 0x394

eax=00000000 ebx=00000000 ecx=00000008 edx=00000000
esi=00000000 edi=00000034
eip=77ebc3d0 esp=0012f834 ebp=0012f894 iopl=0         nv up
ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000
efl=00000202

function: Module32Next
        77ebc3b6 8945e8           mov     [ebp+0xe8],eax
ss:00c4ce66=????????
        77ebc3b9 7407             jz
QueryInformationJobObject+0x62 (77ec4ec2)
        77ebc3bb 8bc3             mov     eax,ebx
        77ebc3bd 6bc01c           imul    eax,eax,0x1c
        77ebc3c0 03f8             add     edi,eax
        77ebc3c2 8b4d0c           mov     ecx,[ebp+0xc]
ss:00c4ce66=????????
        77ebc3c5 f6c108           test    cl,0x8
        77ebc3c8 7415             jz
QueryInformationJobObject+0x7f (77ec4edf)
        77ebc3ca 8b4518           mov     eax,[ebp+0x18]
ss:00c4ce66=????????
        77ebc3cd 8b4030           mov     eax,[eax+0x30]
ds:00b1d5d2=????????
FAULT ->77ebc3d0 8b00             mov     eax,[eax]
ds:00000000=????????
        77ebc3d2 8bd0             mov     edx,eax
        77ebc3d4 8945ec           mov     [ebp+0xec],eax
ss:00c4ce66=????????
        77ebc3d7 69d228040000     imul    edx,edx,0x428
        77ebc3dd 03fa             add     edi,edx
        77ebc3df 6a01             push    0x1
        77ebc3e1 894df4           mov     [ebp+0xf4],ecx
ss:00c4ce66=????????
        77ebc3e4 59               pop     ecx
        77ebc3e5 214df4           and     [ebp+0xf4],ecx
ss:00c4ce66=????????
        77ebc3e8 7412             jz
QueryInformationJobObject+0x9c (77ec4efc)
        77ebc3ea 8b451c           mov     eax,[ebp+0x1c]
ss:00c4ce66=????????
        77ebc3ed 8b4038           mov     eax,[eax+0x38]
ds:00b1d5d2=????????

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4
Function Name
0012F894 77EBB6B6 0012F8D0 00000008 00000614 00000000
kernel32!Module32Next 
0012F8C4 004137F4 00000008 00000614 0012FD48 00000088
kernel32!CreateToolhelp32Snapshot 
0012FB08 004138CC 00000614 0012FB24 00000224 00000000
!<nosymbols> 
0012FE74 00416194 0045D2B4 77E87D93 00000000 7FFDF000
!<nosymbols> 
0012FE98 0044EC64 00400000 00000000 00133A20 00000001
!<nosymbols> 
0012FFC0 77E9CA90 00000000 00000000 7FFDF000 C0000005
!<nosymbols> 
0012FFF0 00000000 0044EAE3 00000000 000000C8 00000100
kernel32!CreateProcessW 

*----> Raw Stack Dump <----*
0012f834  04 fb 12 00 14 06 00 00 - 00 00 00 00 00 00 00 00
................
0012f844  00 00 cd 00 8c 00 00 00 - 98 f8 12 00 9d c2 eb 77
...............w
0012f854  14 06 00 00 01 00 00 00 - 94 00 00 00 04 fb 12 00
................
0012f864  14 06 00 00 00 00 00 00 - 00 00 00 00 20 f9 12 00
............ ...
0012f874  00 00 01 00 01 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f884  00 00 00 00 b0 ff 12 00 - 00 00 00 00 00 00 00 00
................
0012f894  c4 f8 12 00 b6 b6 eb 77 - d0 f8 12 00 08 00 00 00
.......w........
0012f8a4  14 06 00 00 00 00 00 00 - 00 00 ef 00 00 00 00 00
................
0012f8b4  88 00 00 00 00 00 00 00 - 00 00 ef 00 00 00 00 00
................
0012f8c4  08 fb 12 00 f4 37 41 00 - 08 00 00 00 14 06 00 00
.....7A.........
0012f8d4  48 fd 12 00 88 00 00 00 - 20 3a 13 00 00 00 00 00
H....... :......
0012f8e4  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f8f4  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f904  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f914  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f924  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f934  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f944  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f954  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012f964  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/