Discussion:
IIS 5.0 hangs on call to dll
(too old to reply)
Keith
2003-11-18 17:33:01 UTC
Permalink
I have had a mysterious problem with my ASP web site, for
awhile. Occasionally, (more often on the test server than
production) one web site, setup as a virtual directory,
hangs on any call to the middle tier VB 6.0 dll, which
controls pratically everything on the site, except the
entrance page.

There is no run up in memory usage, the CPU utilization
does not go 100%, there are no Event Log entries that are
obviously connected to this, no Dr. Watson's, and yet the
dll does not respond.

Normally in this case, I would try to "Unload" the virtual
directory, however doing this hangs the ISM snap-in. I'm
not certain if Restarting IIS clears it, but currently we
go into the Component Services snap-in to get the Process
ID and kill the process (a particular instance of DLLHOST,
since there are multiple web sites running).

I have tried many things to identify where the problem is,
include using ADPlus in -hang mode, but have not found
anything that helps. It just doesn't respond until the
process is killed and then gets restarted with the next
hit on the web site.

Any thoughts would be greatly appreciated.

Thank you,

Keith

Here is the general server configuration.

System
OS:
Win2K Server SP3
CPU:
Dual Pentium III's 1.2 GHz
HDs:
System 1.27 GB Free
Secondary 43 GB Free
Memory:
2 GB RAM

IIS 5.0
ASP Web site
VB 6.0 (sp6) dlls
Pat [MSFT]
2003-11-19 00:30:44 UTC
Permalink
Did you review the dumps that AD+ created?

Pat
Post by Keith
I have had a mysterious problem with my ASP web site, for
awhile. Occasionally, (more often on the test server than
production) one web site, setup as a virtual directory,
hangs on any call to the middle tier VB 6.0 dll, which
controls pratically everything on the site, except the
entrance page.
There is no run up in memory usage, the CPU utilization
does not go 100%, there are no Event Log entries that are
obviously connected to this, no Dr. Watson's, and yet the
dll does not respond.
Normally in this case, I would try to "Unload" the virtual
directory, however doing this hangs the ISM snap-in. I'm
not certain if Restarting IIS clears it, but currently we
go into the Component Services snap-in to get the Process
ID and kill the process (a particular instance of DLLHOST,
since there are multiple web sites running).
I have tried many things to identify where the problem is,
include using ADPlus in -hang mode, but have not found
anything that helps. It just doesn't respond until the
process is killed and then gets restarted with the next
hit on the web site.
Any thoughts would be greatly appreciated.
Thank you,
Keith
Here is the general server configuration.
System
Win2K Server SP3
Dual Pentium III's 1.2 GHz
System 1.27 GB Free
Secondary 43 GB Free
2 GB RAM
IIS 5.0
ASP Web site
VB 6.0 (sp6) dlls
a***@discussions.microsoft.com
2003-11-19 17:54:40 UTC
Permalink
I did review them and nothing obvious jumped out at me.
However, my dump literacy is pretty low. Any suggestions
on how to get more info out of the dump file.

Thanks for responding,
Keith
-----Original Message-----
Did you review the dumps that AD+ created?
Pat
Post by Keith
I have had a mysterious problem with my ASP web site,
for
Post by Keith
awhile. Occasionally, (more often on the test server
than
Post by Keith
production) one web site, setup as a virtual directory,
hangs on any call to the middle tier VB 6.0 dll, which
controls pratically everything on the site, except the
entrance page.
There is no run up in memory usage, the CPU utilization
does not go 100%, there are no Event Log entries that
are
Post by Keith
obviously connected to this, no Dr. Watson's, and yet
the
Post by Keith
dll does not respond.
Normally in this case, I would try to "Unload" the
virtual
Post by Keith
directory, however doing this hangs the ISM snap-in. I'm
not certain if Restarting IIS clears it, but currently
we
Post by Keith
go into the Component Services snap-in to get the
Process
Post by Keith
ID and kill the process (a particular instance of
DLLHOST,
Post by Keith
since there are multiple web sites running).
I have tried many things to identify where the problem
is,
Post by Keith
include using ADPlus in -hang mode, but have not found
anything that helps. It just doesn't respond until the
process is killed and then gets restarted with the next
hit on the web site.
Any thoughts would be greatly appreciated.
Thank you,
Keith
Here is the general server configuration.
System
Win2K Server SP3
Dual Pentium III's 1.2 GHz
System 1.27 GB Free
Secondary 43 GB Free
2 GB RAM
IIS 5.0
ASP Web site
VB 6.0 (sp6) dlls
.
Pat [MSFT]
2003-11-20 00:02:06 UTC
Permalink
You can open each dump in WinDBG, and with the symbol server setup, type:
.logopen log1.txt
~*kb <enter>
.logclose

note: log1 for the 1st log, log2 for the second, etc. or pick your own
naming convention.

You can then post the logs and we can take a look or you can open an
incident w/MS Support and they can review the dumps for you.

Pat
Post by a***@discussions.microsoft.com
I did review them and nothing obvious jumped out at me.
However, my dump literacy is pretty low. Any suggestions
on how to get more info out of the dump file.
Thanks for responding,
Keith
-----Original Message-----
Did you review the dumps that AD+ created?
Pat
Post by Keith
I have had a mysterious problem with my ASP web site,
for
Post by Keith
awhile. Occasionally, (more often on the test server
than
Post by Keith
production) one web site, setup as a virtual directory,
hangs on any call to the middle tier VB 6.0 dll, which
controls pratically everything on the site, except the
entrance page.
There is no run up in memory usage, the CPU utilization
does not go 100%, there are no Event Log entries that
are
Post by Keith
obviously connected to this, no Dr. Watson's, and yet
the
Post by Keith
dll does not respond.
Normally in this case, I would try to "Unload" the
virtual
Post by Keith
directory, however doing this hangs the ISM snap-in. I'm
not certain if Restarting IIS clears it, but currently
we
Post by Keith
go into the Component Services snap-in to get the
Process
Post by Keith
ID and kill the process (a particular instance of
DLLHOST,
Post by Keith
since there are multiple web sites running).
I have tried many things to identify where the problem
is,
Post by Keith
include using ADPlus in -hang mode, but have not found
anything that helps. It just doesn't respond until the
process is killed and then gets restarted with the next
hit on the web site.
Any thoughts would be greatly appreciated.
Thank you,
Keith
Here is the general server configuration.
System
Win2K Server SP3
Dual Pentium III's 1.2 GHz
System 1.27 GB Free
Secondary 43 GB Free
2 GB RAM
IIS 5.0
ASP Web site
VB 6.0 (sp6) dlls
.
Keith
2003-11-20 15:12:31 UTC
Permalink
Here are the logs using AD+ in -hang mode while one VD was
unresponsive.

1) INETINFO.EXE
2) DLLHOST.EXE_System_Application
3) DLLHOST.EXE_IIS_Out-Of-Process_Pooled_Applications
Pat [MSFT]
2003-11-21 03:49:02 UTC
Permalink
This is the VB Retain in Memory problem.

To fix you need to either:
a) Re-compile all VB COM Objects w/Retain in Memory and Unattended Execution
set (recommended)
or
b) Download and install the latest VB Runtime
(http://activex.microsoft.com/controls/vb6/vbrun60.cab).

If you decide to re-compile, you should also install the latest VB-Runtime
anyway (it contains some other updates as well).


Pat
Post by Keith
Here are the logs using AD+ in -hang mode while one VD was
unresponsive.
1) INETINFO.EXE
2) DLLHOST.EXE_System_Application
3) DLLHOST.EXE_IIS_Out-Of-Process_Pooled_Applications
Keith
2003-11-21 18:54:48 UTC
Permalink
Thank you very much for looking into this problem, I will
try one or both of you suggestions.

Just out of curiousity, how did you determine this was the
problem?

Also, the VB Runtime you directed me to is a higher
version than VS sp5, is it in a hotfix or scheduled for
another SP and will I have any problems installing it on
W2K sp3 Server due to Windows File Protection?

Thank you again, I feel like a noob for missing
the "Retain in Memory" thing.

Keith
-----Original Message-----
This is the VB Retain in Memory problem.
a) Re-compile all VB COM Objects w/Retain in Memory and
Unattended Execution
set (recommended)
or
b) Download and install the latest VB Runtime
(http://activex.microsoft.com/controls/vb6/vbrun60.cab).
If you decide to re-compile, you should also install the
latest VB-Runtime
anyway (it contains some other updates as well).
Pat
Post by Keith
Here are the logs using AD+ in -hang mode while one VD
was
Post by Keith
unresponsive.
1) INETINFO.EXE
2) DLLHOST.EXE_System_Application
3) DLLHOST.EXE_IIS_Out-Of-Process_Pooled_Applications
.
Pat [MSFT]
2003-11-22 17:54:18 UTC
Permalink
1) In one of the DLLHost logs, you can see MSVBVM60 is blocked by a critical
section which is a key signature of the issue.

2) The runtime is what is included in Win2k3 and is scheduled to be in the
next VS Service Pack (I don't have a release date) and is available as a
hotfix as well, but it requires a call to MS Support to get in that form.
It is a fully signed install, so you shouldn't have any problems w/WFP.


Pat
Post by Keith
Thank you very much for looking into this problem, I will
try one or both of you suggestions.
Just out of curiousity, how did you determine this was the
problem?
Also, the VB Runtime you directed me to is a higher
version than VS sp5, is it in a hotfix or scheduled for
another SP and will I have any problems installing it on
W2K sp3 Server due to Windows File Protection?
Thank you again, I feel like a noob for missing
the "Retain in Memory" thing.
Keith
-----Original Message-----
This is the VB Retain in Memory problem.
a) Re-compile all VB COM Objects w/Retain in Memory and
Unattended Execution
set (recommended)
or
b) Download and install the latest VB Runtime
(http://activex.microsoft.com/controls/vb6/vbrun60.cab).
If you decide to re-compile, you should also install the
latest VB-Runtime
anyway (it contains some other updates as well).
Pat
Post by Keith
Here are the logs using AD+ in -hang mode while one VD
was
Post by Keith
unresponsive.
1) INETINFO.EXE
2) DLLHOST.EXE_System_Application
3) DLLHOST.EXE_IIS_Out-Of-Process_Pooled_Applications
.
Keith
2003-11-20 15:29:09 UTC
Permalink
Here are the log files from AD+ in -hang mode when one VD
was unresponsive. The .dmp file are also available but are
27 MB zipped. I believe the VD was running under Medium
Pooled isolation at the time, however, this has also
occurred under High isolation.

1) INETINFO.EXE
2) DLLHOST.EXE_System_Application
3) DLLHOST.EXE_IIS_Out-Of-Process_Pooled_Applications


1) INETINFO.EXE
=======================================================

Opened log file 'C:\Program Files\Debugging Tools for
Windows\Hang_Mode__Date_11-04-2003__Time_13-00-02PM\PID-
1168__INETINFO.EXE__Date_11-04-2003__Time_13-00-02PM.log'
0:000> * Created with ADPlus Version 6.02.013 Version
Date 04/22/2003
0:000> *
0:000> * --------- ADPlus was started at: -----------
0:000> .time
Debug session time: Tue Nov 04 13:00:07 2003
System Uptime: 13 days 3:22:08.078
Process Uptime: 13 days 3:21:35.526
Kernel time: 0 days 0:30:36.296
User time: 0 days 0:14:11.234
0:000> * --------------------------------------------------
----
0:000> *
0:000> *
0:000> *
0:000> * --------- ADPlus 6.02.013 was run on server: -----
---
0:000> * Server name: KCBSGD27
0:000> * --------------------------------------------------
----
0:000> *
0:000> *
0:000> *
0:000> * ------ OS Version Information displayed below. ---
----
0:000> !version
Version 5.0 (Build 2195: Service Pack 3) Multiprocessor
Free
0:000> * --------------------------------------------------
----
0:000> *
0:000> *
0:000> *
0:000> *
0:000> * ------ Current Actions for Hang Mode ----
0:000> * Name: FullDump
0:000> * Name: Stacks
0:000> * Name: LoadedModules
0:000> * Name: MatchingSymbols
0:000> * Name: Heap
0:000> * Name: Handle
0:000> * Name: Dlls
0:000> * Name: Locks
0:000> * Name: ThreadUsage
0:000> * ------ Current symbol path ----
0:000> .sympath
Symbol search path is:
0:000> *
0:000> * ------ Executing FullDump ------
0:000> .dump -u /mfh /c "Full dump in Hang Mode for
INETINFO.EXE_running_on_KCBSGD27" C:\Program
Files\Debugging Tools for Windows\Hang_Mode__Date_11-04-
2003__Time_13-00-02PM\PID-1168__INETINFO.EXE__full.dmp
Creating C:\Program Files\Debugging Tools for
Windows\Hang_Mode__Date_11-04-2003__Time_13-00-02PM\PID-
1168__INETINFO.EXE__full_2003-11-04_13-00-07-885_0490.dmp -
mini user dump
0:000> *
0:000> * ------ Thread stack backtrace information ------
0:000> ~*kb250

. 0 Id: 490.48c Suspend: 1 Teb: 7ffde000 Unfrozen
*** ERROR: Symbol file could not be found. Defaulted to
export symbols for C:\WINNT\system32\ADVAPI32.dll -
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following
frames may be wrong.
0006f910 77dd8752 0000006c 0006f9d8 00000216 ntdll!
NtReadFile+0xb
0006f93c 77dd7fdc 0000006c 0006f9d8 00000216 ADVAPI32!
RegisterServiceCtrlHandlerExA+0x3e4
0006f9b8 77dd7e0c 0000006c 0006f9d8 00000216 ADVAPI32!
StartServiceCtrlDispatcherW+0x173
*** ERROR: Module load completed but symbols could not be
loaded for C:\WINNT\System32\inetsrv\inetinfo.exe
0006fbf4 01002884 00079d70 010040c8 00000000 ADVAPI32!
StartServiceCtrlDispatcherA+0x7d
0006fd30 01001e94 00440000 00690072 0006ffc0
inetinfo+0x2884
77e2014a 2474ff50 2474ff0c 0001e80c 55c30000
inetinfo+0x1e94
0c24448d 00000000 00000000 00000000 00000000 0x2474ff50

1 Id: 490.498 Suspend: 1 Teb: 7ffdd000 Unfrozen
*** ERROR: Symbol file could not be found. Defaulted to
export symbols for C:\WINNT\system32\KERNEL32.dll -
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following
frames may be wrong.
005dfd44 77e8b32b 000001a4 ffffffff 00000000 ntdll!
NtWaitForSingleObject+0xb
00000001 00000000 00000000 00000000 00000000 KERNEL32!
WaitForSingleObject+0xf

2 Id: 490.4a8 Suspend: 1 Teb: 7ffdc000 Unfrozen
*** ERROR: Symbol file could not be found. Defaulted to
Keith
2003-11-20 15:45:23 UTC
Permalink
Opened log file 'C:\Program Files\Debugging Tools for
Windows\Hang_Mode__Date_11-04-2003__Time_13-00-02PM\PID-
1168__INETINFO.EXE__Date_11-04-2003__Time_13-00-02PM.log'
0:000> * Created with ADPlus Version 6.02.013 Version
Date 04/22/2003
0:000> *
0:000> * --------- ADPlus was started at: -----------
0:000> .time
Debug session time: Tue Nov 04 13:00:07 2003
System Uptime: 13 days 3:22:08.078
Process Uptime: 13 days 3:21:35.526
Kernel time: 0 days 0:30:36.296
User time: 0 days 0:14:11.234
0:000> * --------------------------------------------------
----
0:000> *
0:000> *
0:000> *
0:000> * --------- ADPlus 6.02.013 was run on server: -----
---
0:000> * Server name: KCBSGD27
0:000> * --------------------------------------------------
----
0:000> *
0:000> *
0:000> *
0:000> * ------ OS Version Information displayed below. ---
----
0:000> !version
Version 5.0 (Build 2195: Service Pack 3) Multiprocessor
Free
0:000> * --------------------------------------------------
----
0:000> *
0:000> *
0:000> *
0:000> *
0:000> * ------ Current Actions for Hang Mode ----
0:000> * Name: FullDump
0:000> * Name: Stacks
0:000> * Name: LoadedModules
0:000> * Name: MatchingSymbols
0:000> * Name: Heap
0:000> * Name: Handle
0:000> * Name: Dlls
0:000> * Name: Locks
0:000> * Name: ThreadUsage
0:000> * ------ Current symbol path ----
0:000> .sympath
Symbol search path is:
0:000> *
0:000> * ------ Executing FullDump ------
0:000> .dump -u /mfh /c "Full dump in Hang Mode for
INETINFO.EXE_running_on_KCBSGD27" C:\Program
Files\Debugging Tools for Windows\Hang_Mode__Date_11-04-
2003__Time_13-00-02PM\PID-1168__INETINFO.EXE__full.dmp
Creating C:\Program Files\Debugging Tools for
Windows\Hang_Mode__Date_11-04-2003__Time_13-00-02PM\PID-
1168__INETINFO.EXE__full_2003-11-04_13-00-07-885_0490.dmp -
mini user dump
0:000> *
0:000> * ------ Thread stack backtrace information ------
0:000> ~*kb250

. 0 Id: 490.48c Suspend: 1 Teb: 7ffde000 Unfrozen
*** ERROR: Symbol file could not be found. Defaulted to
export symbols for C:\WINNT\system32\ADVAPI32.dll -
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following
frames may be wrong.
0006f910 77dd8752 0000006c 0006f9d8 00000216 ntdll!
NtReadFile+0xb
0006f93c 77dd7fdc 0000006c 0006f9d8 00000216 ADVAPI32!
RegisterServiceCtrlHandlerExA+0x3e4
0006f9b8 77dd7e0c 0000006c 0006f9d8 00000216 ADVAPI32!
StartServiceCtrlDispatcherW+0x173
*** ERROR: Module load completed but symbols could not be
loaded for C:\WINNT\System32\inetsrv\inetinfo.exe
0006fbf4 01002884 00079d70 010040c8 00000000 ADVAPI32!
StartServiceCtrlDispatcherA+0x7d
0006fd30 01001e94 00440000 00690072 0006ffc0
inetinfo+0x2884
77e2014a 2474ff50 2474ff0c 0001e80c 55c30000
inetinfo+0x1e94
0c24448d 00000000 00000000 00000000 00000000 0x2474ff50

1 Id: 490.498 Suspend: 1 Teb: 7ffdd000 Unfrozen
*** ERROR: Symbol file could not be found. Defaulted to
export symbols for C:\WINNT\system32\KERNEL32.dll -
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following
frames may be wrong.
005dfd44 77e8b32b 000001a4 ffffffff 00000000 ntdll!
NtWaitForSingleObject+0xb
00000001 00000000 00000000 00000000 00000000 KERNEL32!
WaitForSingleObject+0xf

2 Id: 490.4a8 Suspend: 1 Teb: 7ffdc000 Unfrozen
*** ERROR: Symbol file could not be found. Defaulted to
export symbols for C:\WINNT\system32\USER32.dll -
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following
frames may be wrong.
0071feb0 77e1e97b 0071fe88 00000001 00000000 ntdll!
ZwWaitForMultipleObjects+0xb
0071ff0c 77e1e9c8 0071fed8 0071ff60 0000631f USER32!
MsgWaitForMultipleObjectsEx+0x153
*** ERROR: Symbol file could not be found. Defaulted to
export symbols for C:\WINNT\system32\IisRTL.DLL -
0071ff28 6e5abc1d 00000002 0071ff60 00000000 USER32!
MsgWaitForMultipleObjects+0x1d
00233a70 000003e9 002339b0 000000cc 000000d4 IisRTL!
keith
2003-11-20 15:52:45 UTC
Permalink
Opened log file 'C:\Program Files\Debugging Tools for
Windows\Hang_Mode__Date_11-04-2003__Time_13-00-02PM\PID-
1492__DLLHOST.EXE_System_Application__Date_11-04-
2003__Time_13-00-02PM.log'
0:000> * Created with ADPlus Version 6.02.013 Version
Date 04/22/2003
0:000> *
0:000> * --------- ADPlus was started at: -----------
0:000> .time
Debug session time: Tue Nov 04 13:00:07 2003
System Uptime: 13 days 3:22:08.078
Process Uptime: 13 days 2:33:13.401
Kernel time: 0 days 0:00:00.203
User time: 0 days 0:00:00.187
0:000> * --------------------------------------------------
----
0:000> *
0:000> *
0:000> *
0:000> * --------- ADPlus 6.02.013 was run on server: -----
---
0:000> * Server name: KCBSGD27
0:000> * --------------------------------------------------
----
0:000> *
0:000> *
0:000> *
0:000> * ------ OS Version Information displayed below. ---
----
0:000> !version
Version 5.0 (Build 2195: Service Pack 3) Multiprocessor
Free
0:000> * --------------------------------------------------
----
0:000> *
0:000> *
0:000> *
0:000> *
0:000> * ------ Current Actions for Hang Mode ----
0:000> * Name: FullDumpCommand: .dump -u /mfh /c "Full
dump in Hang Mode for INETINFO.EXE_running_on_KCBSGD27"
C:\Program Files\Debugging Tools for
Windows\Hang_Mode__Date_11-04-2003__Time_13-00-02PM\PID-
1168__INETINFO.EXE__full.dmp
0:000> * Name: StacksCommand: ~*kb250
0:000> * Name: LoadedModulesCommand: lmv
0:000> * Name: MatchingSymbolsCommand: lml
0:000> * Name: HeapCommand: !heap 0 -k
0:000> * Name: HandleCommand: !handle 0 0
0:000> * Name: DllsCommand: !dlls
0:000> * Name: LocksCommand: !locks
0:000> * Name: ThreadUsageCommand: !runaway
0:000> * ------ Current symbol path ----
0:000> .sympath
Symbol search path is:
0:000> *
0:000> * ------ Executing FullDump ------
0:000> .dump -u /mfh /c "Full dump in Hang Mode for
DLLHOST.EXE_System_Application_running_on_KCBSGD27"
C:\Program Files\Debugging Tools for
Windows\Hang_Mode__Date_11-04-2003__Time_13-00-02PM\PID-
1492__DLLHOST.EXE_System_Application__full.dmp
Creating C:\Program Files\Debugging Tools for
Windows\Hang_Mode__Date_11-04-2003__Time_13-00-02PM\PID-
1492__DLLHOST.EXE_System_Application__full_2003-11-04_13-
00-07-885_05D4.dmp - mini user dump
0:000> *
0:000> * ------ Thread stack backtrace information ------
0:000> ~*kb250

. 0 Id: 5d4.810 Suspend: 1 Teb: 7ffde000 Unfrozen
*** ERROR: Symbol file could not be found. Defaulted to
export symbols for C:\WINNT\system32\KERNEL32.dll -
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following
frames may be wrong.
0006fd50 77e8b32b 00000054 ffffffff 00000000 ntdll!
NtWaitForSingleObject+0xb
00000001 00000000 00000000 00000000 00000000 KERNEL32!
WaitForSingleObject+0xf

1 Id: 5d4.830 Suspend: 1 Teb: 7ffdd000 Unfrozen
*** ERROR: Symbol file could not be found. Defaulted to
export symbols for C:\WINNT\system32\RPCRT4.dll -
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following
frames may be wrong.
0087ff74 77d56d9e 77d39a00 00081fd8 0006f73c ntdll!
ZwReplyWaitReceivePortEx+0xb
0087ffa8 77d41c6c 00081f90 0087ffec 77e8b2d8 RPCRT4!
TowerConstruct+0xa97d
0087ffb4 77e8b2d8 0007e7e8 0006f73c 00000000 RPCRT4!
I_RpcServerInqTransportType+0x1a0
0087ffec 00000000 77d41c54 0007e7e8 00000000 KERNEL32!
lstrcmpiW+0xb7

2 Id: 5d4.800 Suspend: 1 Teb: 7ffdb000 Unfrozen
*** ERROR: Symbol file could not be found. Defaulted to
export symbols for C:\WINNT\system32\USER32.dll -
*** ERROR: Symbol file could not be found. Defaulted to
export symbols for C:\WINNT\system32\ole32.dll -
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following
frames may be wrong.
008fff30 77abaf4d 008fff54 00000000 00000000 USER32!
GetMenuItemRect+0x19
008fff70 77abae9b 77ea9ac4 000847d8 00000102 ole32!
CoInstall+0x7cd
008fff8c 77abadd6 77ab46fb 77b2c318 77a50000 ole32!
keith
2003-11-20 16:07:40 UTC
Permalink
Sorry for the messy postings.

The 2 "Log Files (~400K)..." posts are either useless or
too big, please ignore.

The other 3 are the separate log files produced
by "ADPLus -hang -iis" when one VD was unresponsive. Any
help in interpreting these would be greatly appreciated.

The .dmp files are also available, but are 27 MB zipped.

Thank you,
Keith
-----Original Message-----
You can open each dump in WinDBG, and with the symbol
..logopen log1.txt
~*kb <enter>
..logclose
note: log1 for the 1st log, log2 for the second, etc. or
pick your own
naming convention.
You can then post the logs and we can take a look or you
can open an
incident w/MS Support and they can review the dumps for
you.
Pat
Post by a***@discussions.microsoft.com
I did review them and nothing obvious jumped out at me.
However, my dump literacy is pretty low. Any suggestions
on how to get more info out of the dump file.
Thanks for responding,
Keith
-----Original Message-----
Did you review the dumps that AD+ created?
Pat
Post by Keith
I have had a mysterious problem with my ASP web site,
for
Post by Keith
awhile. Occasionally, (more often on the test server
than
Post by Keith
production) one web site, setup as a virtual
directory,
Post by a***@discussions.microsoft.com
Post by Keith
hangs on any call to the middle tier VB 6.0 dll,
which
Post by a***@discussions.microsoft.com
Post by Keith
controls pratically everything on the site, except
the
Post by a***@discussions.microsoft.com
Post by Keith
entrance page.
There is no run up in memory usage, the CPU
utilization
Post by a***@discussions.microsoft.com
Post by Keith
does not go 100%, there are no Event Log entries that
are
Post by Keith
obviously connected to this, no Dr. Watson's, and yet
the
Post by Keith
dll does not respond.
Normally in this case, I would try to "Unload" the
virtual
Post by Keith
directory, however doing this hangs the ISM snap-in.
I'm
Post by a***@discussions.microsoft.com
Post by Keith
not certain if Restarting IIS clears it, but
currently
Post by a***@discussions.microsoft.com
we
Post by Keith
go into the Component Services snap-in to get the
Process
Post by Keith
ID and kill the process (a particular instance of
DLLHOST,
Post by Keith
since there are multiple web sites running).
I have tried many things to identify where the
problem
Post by a***@discussions.microsoft.com
is,
Post by Keith
include using ADPlus in -hang mode, but have not
found
Post by a***@discussions.microsoft.com
Post by Keith
anything that helps. It just doesn't respond until
the
Post by a***@discussions.microsoft.com
Post by Keith
process is killed and then gets restarted with the
next
Post by a***@discussions.microsoft.com
Post by Keith
hit on the web site.
Any thoughts would be greatly appreciated.
Thank you,
Keith
Here is the general server configuration.
System
Win2K Server SP3
Dual Pentium III's 1.2 GHz
System 1.27 GB Free
Secondary 43 GB Free
2 GB RAM
IIS 5.0
ASP Web site
VB 6.0 (sp6) dlls
.
.
Dev
2003-11-20 00:10:23 UTC
Permalink
Keith,

If your server is crashing or hanging you might want to
download our ReJuvin8 tool. It's free for the first
15-days. It can keep your site running despite problems.

It's designed to detect problems then restart or reboot.
It can restart ANY programs, services, or processes in
precise order. It doesn't fix bugs but it does give you some
breathing room while you are finding them. ReJuvin8 also
gives you email and telephone alert messages and graphic
status reports.

It can also test, alert, and report on URLs running anywhere
on any server on your net connection. So if you use multiple
servers you can use them to watch each other, too.

ReJuvin8 has both an automatic and a custom mode. In the
auto mode you make all the settings by pointing and
clicking. This will handle most applications.

The custom mode uses heartbeat synch files to get absolute
detection that key processes are working. Tools and
instructions are provided to help you do this. We also offer
customization as a contract service.

Charles


Get ReJuvin8 at: http://www.rejuvin8.net?ac=ch1
Post by Keith
I have had a mysterious problem with my ASP web site, for
awhile. Occasionally, (more often on the test server than
production) one web site, setup as a virtual directory,
hangs on any call to the middle tier VB 6.0 dll, which
controls pratically everything on the site, except the
entrance page.
There is no run up in memory usage, the CPU utilization
does not go 100%, there are no Event Log entries that are
obviously connected to this, no Dr. Watson's, and yet the
dll does not respond.
Normally in this case, I would try to "Unload" the virtual
directory, however doing this hangs the ISM snap-in. I'm
not certain if Restarting IIS clears it, but currently we
go into the Component Services snap-in to get the Process
ID and kill the process (a particular instance of DLLHOST,
since there are multiple web sites running).
I have tried many things to identify where the problem is,
include using ADPlus in -hang mode, but have not found
anything that helps. It just doesn't respond until the
process is killed and then gets restarted with the next
hit on the web site.
Any thoughts would be greatly appreciated.
Thank you,
Keith
Here is the general server configuration.
System
Win2K Server SP3
Dual Pentium III's 1.2 GHz
System 1.27 GB Free
Secondary 43 GB Free
2 GB RAM
IIS 5.0
ASP Web site
VB 6.0 (sp6) dlls
Xian Phuong Tran
2003-11-24 01:06:05 UTC
Permalink
This is my problem
Please, help me.
Pat [MSFT]
2003-11-24 02:27:39 UTC
Permalink
Did you run IISState (www.iisfaq.com/iisstate)? If so, can you post the
logs?

Pat
This is my problem .
Please, help me.
smp
2005-01-19 18:00:24 UTC
Permalink
IIS 5.0 om win 2k IIS HANG (simiar problem)

0:000> !locks

CritSec MSVBVM50!Rby_ThreadPool+b4 at 763F225C
LockCount 10
RecursionCount 1
OwningThread 29d8
EntryCount 2d
ContentionCount 2d
*** Locked

CritSec MSVBVM50!Rby_ThreadPool+d4 at 763F227C
LockCount 0
RecursionCount 1
OwningThread 29d8
EntryCount 0
ContentionCount 0
*** Locked
0:000> ~
. 0 Id: 2728.28f0 Suspend: 0 Teb: 7ffde000 Frozen
1 Id: 2728.296c Suspend: 0 Teb: 7ffdb000 Unfrozen
2 Id: 2728.2978 Suspend: 0 Teb: 7ffd8000 Unfrozen
3 Id: 2728.2970 Suspend: 0 Teb: 7ffda000 Unfrozen
4 Id: 2728.2984 Suspend: 0 Teb: 7ffd5000 Unfrozen
5 Id: 2728.2988 Suspend: 0 Teb: 7ffd4000 Unfrozen
6 Id: 2728.298c Suspend: 0 Teb: 7ffaf000 Unfrozen
7 Id: 2728.2990 Suspend: 0 Teb: 7ffae000 Unfrozen
8 Id: 2728.2994 Suspend: 0 Teb: 7ffad000 Unfrozen
9 Id: 2728.2998 Suspend: 0 Teb: 7ffac000 Unfrozen
10 Id: 2728.299c Suspend: 0 Teb: 7ffab000 Unfrozen
11 Id: 2728.29a0 Suspend: 0 Teb: 7ffaa000 Unfrozen
12 Id: 2728.29a4 Suspend: 0 Teb: 7ffa9000 Unfrozen
13 Id: 2728.29a8 Suspend: 0 Teb: 7ffa8000 Unfrozen
14 Id: 2728.29b0 Suspend: 0 Teb: 7ffa6000 Unfrozen
15 Id: 2728.29b8 Suspend: 0 Teb: 7ffa5000 Unfrozen
16 Id: 2728.29c0 Suspend: 0 Teb: 7ffa3000 Unfrozen
17 Id: 2728.29bc Suspend: 0 Teb: 7ffa4000 Unfrozen
18 Id: 2728.29c8 Suspend: 0 Teb: 7ffa2000 Unfrozen
19 Id: 2728.29cc Suspend: 0 Teb: 7ffa1000 Unfrozen
20 Id: 2728.29d0 Suspend: 0 Teb: 7ffa0000 Unfrozen
21 Id: 2728.29d4 Suspend: 0 Teb: 7ff9f000 Unfrozen
22 Id: 2728.29d8 Suspend: 0 Teb: 7ff9e000 Unfrozen
23 Id: 2728.29dc Suspend: 0 Teb: 7ff9d000 Unfrozen
24 Id: 2728.29e0 Suspend: 0 Teb: 7ff9c000 Unfrozen
25 Id: 2728.29e4 Suspend: 0 Teb: 7ff9b000 Unfrozen
26 Id: 2728.29e8 Suspend: 0 Teb: 7ff9a000 Unfrozen
27 Id: 2728.29ec Suspend: 0 Teb: 7ff99000 Unfrozen
28 Id: 2728.29f0 Suspend: 0 Teb: 7ff98000 Unfrozen
29 Id: 2728.29fc Suspend: 0 Teb: 7ff96000 Unfrozen
30 Id: 2728.2a10 Suspend: 0 Teb: 7ff95000 Unfrozen
31 Id: 2728.2a14 Suspend: 0 Teb: 7ff94000 Unfrozen
32 Id: 2728.2a18 Suspend: 0 Teb: 7ff93000 Unfrozen
33 Id: 2728.2a20 Suspend: 0 Teb: 7ff92000 Unfrozen
34 Id: 2728.2db0 Suspend: 0 Teb: 7ffdd000 Unfrozen
0:000> ~22s
eax=00000000 ebx=00000000 ecx=0000000b edx=00000000 esi=77f82865
edi=00000564
eip=77f82870 esp=023cfd0c ebp=023cfd30 iopl=0 nv up ei pl zr na
po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000246
ntdll!ZwWaitForSingleObject+0xb:
77f82870 c20c00 ret 0xc
0:022> kb
ChildEBP RetAddr Args to Child
023cfd08 7c599fe4 00000564 00000000 00000000
ntdll!ZwWaitForSingleObject+0xb
023cfd30 7c57b3db 00000564 ffffffff 00000000
KERNEL32!WaitForSingleObjectEx+0x71
023cfd40 7632046c 00000564 ffffffff 76320455
KERNEL32!WaitForSingleObject+0xf
023cfd4c 76320455 ffffffff 061f1e94 762f61d8
MSVBVM50!CReadWriteMutex::_WaitForEvent+0x11
023cfd70 762f514b 061f1e94 00000001 763f21a8
MSVBVM50!CReadWriteMutex::RequestWrite+0x2d
023cfd8c 7633ad37 061f1e94 00000000 00000001
MSVBVM50!CVBThreadAction::CleanupProjData+0x71
023cfdd4 762e39e5 0012822c 00128234 c0000000
MSVBVM50!CThreadPool::CheckForProjectUnload+0x33
023cfe3c 762e37ef 023cfe58 001d047a 00001047
MSVBVM50!FnwpMainFilter+0x1d6
023cfe5c 77e11ef0 001d047a 00001047 00000000 MSVBVM50!FnwpMain+0x1b
023cfe7c 77e1204c 762e37d4 001d047a 00001047
USER32!UserCallWinProc+0x18
023cff08 77e121af 0012822c 00000000 787c3075
USER32!DispatchMessageWorker+0x2e4
023cff14 787c3075 0012822c 77f82060 00000000
USER32!DispatchMessageW+0xb
023cff24 787c2c01 10000000 000b8f48 023cffec
COMSVCS!STAMessageWork::DoWork+0x15 [..\inc\STAThred.h @ 244]
023cffb4 7c57b388 00aef650 10000000 000b8f48
COMSVCS!STAThread::STAThreadWorker+0x423 [.\stathred.cpp @ 650]
023cffec 00000000 787c27de 00aef650 00000000
KERNEL32!BaseThreadStart+0x52
Is this the same as problem indicated for earlier posting?
Pat [MSFT]
2005-01-19 18:39:41 UTC
Permalink
You are running into the VB5 version of the Retain in Memory problem that
you normally see in VB6 components.

You will need to re-compile the VB5 component and add a reference to an
empty class to prevent the refcount from going to 0 and unloading the
project. Or, you can migrate the code to VB6 and re-compile using the
Retain in Memory check box.

Pat
Post by smp
IIS 5.0 om win 2k IIS HANG (simiar problem)
0:000> !locks
CritSec MSVBVM50!Rby_ThreadPool+b4 at 763F225C
LockCount 10
RecursionCount 1
OwningThread 29d8
EntryCount 2d
ContentionCount 2d
*** Locked
CritSec MSVBVM50!Rby_ThreadPool+d4 at 763F227C
LockCount 0
RecursionCount 1
OwningThread 29d8
EntryCount 0
ContentionCount 0
*** Locked
0:000> ~
. 0 Id: 2728.28f0 Suspend: 0 Teb: 7ffde000 Frozen
1 Id: 2728.296c Suspend: 0 Teb: 7ffdb000 Unfrozen
2 Id: 2728.2978 Suspend: 0 Teb: 7ffd8000 Unfrozen
3 Id: 2728.2970 Suspend: 0 Teb: 7ffda000 Unfrozen
4 Id: 2728.2984 Suspend: 0 Teb: 7ffd5000 Unfrozen
5 Id: 2728.2988 Suspend: 0 Teb: 7ffd4000 Unfrozen
6 Id: 2728.298c Suspend: 0 Teb: 7ffaf000 Unfrozen
7 Id: 2728.2990 Suspend: 0 Teb: 7ffae000 Unfrozen
8 Id: 2728.2994 Suspend: 0 Teb: 7ffad000 Unfrozen
9 Id: 2728.2998 Suspend: 0 Teb: 7ffac000 Unfrozen
10 Id: 2728.299c Suspend: 0 Teb: 7ffab000 Unfrozen
11 Id: 2728.29a0 Suspend: 0 Teb: 7ffaa000 Unfrozen
12 Id: 2728.29a4 Suspend: 0 Teb: 7ffa9000 Unfrozen
13 Id: 2728.29a8 Suspend: 0 Teb: 7ffa8000 Unfrozen
14 Id: 2728.29b0 Suspend: 0 Teb: 7ffa6000 Unfrozen
15 Id: 2728.29b8 Suspend: 0 Teb: 7ffa5000 Unfrozen
16 Id: 2728.29c0 Suspend: 0 Teb: 7ffa3000 Unfrozen
17 Id: 2728.29bc Suspend: 0 Teb: 7ffa4000 Unfrozen
18 Id: 2728.29c8 Suspend: 0 Teb: 7ffa2000 Unfrozen
19 Id: 2728.29cc Suspend: 0 Teb: 7ffa1000 Unfrozen
20 Id: 2728.29d0 Suspend: 0 Teb: 7ffa0000 Unfrozen
21 Id: 2728.29d4 Suspend: 0 Teb: 7ff9f000 Unfrozen
22 Id: 2728.29d8 Suspend: 0 Teb: 7ff9e000 Unfrozen
23 Id: 2728.29dc Suspend: 0 Teb: 7ff9d000 Unfrozen
24 Id: 2728.29e0 Suspend: 0 Teb: 7ff9c000 Unfrozen
25 Id: 2728.29e4 Suspend: 0 Teb: 7ff9b000 Unfrozen
26 Id: 2728.29e8 Suspend: 0 Teb: 7ff9a000 Unfrozen
27 Id: 2728.29ec Suspend: 0 Teb: 7ff99000 Unfrozen
28 Id: 2728.29f0 Suspend: 0 Teb: 7ff98000 Unfrozen
29 Id: 2728.29fc Suspend: 0 Teb: 7ff96000 Unfrozen
30 Id: 2728.2a10 Suspend: 0 Teb: 7ff95000 Unfrozen
31 Id: 2728.2a14 Suspend: 0 Teb: 7ff94000 Unfrozen
32 Id: 2728.2a18 Suspend: 0 Teb: 7ff93000 Unfrozen
33 Id: 2728.2a20 Suspend: 0 Teb: 7ff92000 Unfrozen
34 Id: 2728.2db0 Suspend: 0 Teb: 7ffdd000 Unfrozen
0:000> ~22s
eax=00000000 ebx=00000000 ecx=0000000b edx=00000000 esi=77f82865
edi=00000564
eip=77f82870 esp=023cfd0c ebp=023cfd30 iopl=0 nv up ei pl zr na
po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000246
77f82870 c20c00 ret 0xc
0:022> kb
ChildEBP RetAddr Args to Child
023cfd08 7c599fe4 00000564 00000000 00000000
ntdll!ZwWaitForSingleObject+0xb
023cfd30 7c57b3db 00000564 ffffffff 00000000
KERNEL32!WaitForSingleObjectEx+0x71
023cfd40 7632046c 00000564 ffffffff 76320455
KERNEL32!WaitForSingleObject+0xf
023cfd4c 76320455 ffffffff 061f1e94 762f61d8
MSVBVM50!CReadWriteMutex::_WaitForEvent+0x11
023cfd70 762f514b 061f1e94 00000001 763f21a8
MSVBVM50!CReadWriteMutex::RequestWrite+0x2d
023cfd8c 7633ad37 061f1e94 00000000 00000001
MSVBVM50!CVBThreadAction::CleanupProjData+0x71
023cfdd4 762e39e5 0012822c 00128234 c0000000
MSVBVM50!CThreadPool::CheckForProjectUnload+0x33
023cfe3c 762e37ef 023cfe58 001d047a 00001047
MSVBVM50!FnwpMainFilter+0x1d6
023cfe5c 77e11ef0 001d047a 00001047 00000000 MSVBVM50!FnwpMain+0x1b
023cfe7c 77e1204c 762e37d4 001d047a 00001047
USER32!UserCallWinProc+0x18
023cff08 77e121af 0012822c 00000000 787c3075
USER32!DispatchMessageWorker+0x2e4
023cff14 787c3075 0012822c 77f82060 00000000
USER32!DispatchMessageW+0xb
023cff24 787c2c01 10000000 000b8f48 023cffec
023cffb4 7c57b388 00aef650 10000000 000b8f48
023cffec 00000000 787c27de 00aef650 00000000
KERNEL32!BaseThreadStart+0x52
Is this the same as problem indicated for earlier posting?
Sandesh
2005-01-19 20:05:11 UTC
Permalink
Pat,

What should the threading model be :Single threaded or apartment threaded? I
am trying to recomplie this DLL in VB6 with retained in memory option checked.

My app is configured as high (isolated) and the VB DLL is registered using
regsvr32.
Post by Pat [MSFT]
You are running into the VB5 version of the Retain in Memory problem that
you normally see in VB6 components.
You will need to re-compile the VB5 component and add a reference to an
empty class to prevent the refcount from going to 0 and unloading the
project. Or, you can migrate the code to VB6 and re-compile using the
Retain in Memory check box.
Pat
Post by smp
IIS 5.0 om win 2k IIS HANG (simiar problem)
0:000> !locks
CritSec MSVBVM50!Rby_ThreadPool+b4 at 763F225C
LockCount 10
RecursionCount 1
OwningThread 29d8
EntryCount 2d
ContentionCount 2d
*** Locked
CritSec MSVBVM50!Rby_ThreadPool+d4 at 763F227C
LockCount 0
RecursionCount 1
OwningThread 29d8
EntryCount 0
ContentionCount 0
*** Locked
0:000> ~
. 0 Id: 2728.28f0 Suspend: 0 Teb: 7ffde000 Frozen
1 Id: 2728.296c Suspend: 0 Teb: 7ffdb000 Unfrozen
2 Id: 2728.2978 Suspend: 0 Teb: 7ffd8000 Unfrozen
3 Id: 2728.2970 Suspend: 0 Teb: 7ffda000 Unfrozen
4 Id: 2728.2984 Suspend: 0 Teb: 7ffd5000 Unfrozen
5 Id: 2728.2988 Suspend: 0 Teb: 7ffd4000 Unfrozen
6 Id: 2728.298c Suspend: 0 Teb: 7ffaf000 Unfrozen
7 Id: 2728.2990 Suspend: 0 Teb: 7ffae000 Unfrozen
8 Id: 2728.2994 Suspend: 0 Teb: 7ffad000 Unfrozen
9 Id: 2728.2998 Suspend: 0 Teb: 7ffac000 Unfrozen
10 Id: 2728.299c Suspend: 0 Teb: 7ffab000 Unfrozen
11 Id: 2728.29a0 Suspend: 0 Teb: 7ffaa000 Unfrozen
12 Id: 2728.29a4 Suspend: 0 Teb: 7ffa9000 Unfrozen
13 Id: 2728.29a8 Suspend: 0 Teb: 7ffa8000 Unfrozen
14 Id: 2728.29b0 Suspend: 0 Teb: 7ffa6000 Unfrozen
15 Id: 2728.29b8 Suspend: 0 Teb: 7ffa5000 Unfrozen
16 Id: 2728.29c0 Suspend: 0 Teb: 7ffa3000 Unfrozen
17 Id: 2728.29bc Suspend: 0 Teb: 7ffa4000 Unfrozen
18 Id: 2728.29c8 Suspend: 0 Teb: 7ffa2000 Unfrozen
19 Id: 2728.29cc Suspend: 0 Teb: 7ffa1000 Unfrozen
20 Id: 2728.29d0 Suspend: 0 Teb: 7ffa0000 Unfrozen
21 Id: 2728.29d4 Suspend: 0 Teb: 7ff9f000 Unfrozen
22 Id: 2728.29d8 Suspend: 0 Teb: 7ff9e000 Unfrozen
23 Id: 2728.29dc Suspend: 0 Teb: 7ff9d000 Unfrozen
24 Id: 2728.29e0 Suspend: 0 Teb: 7ff9c000 Unfrozen
25 Id: 2728.29e4 Suspend: 0 Teb: 7ff9b000 Unfrozen
26 Id: 2728.29e8 Suspend: 0 Teb: 7ff9a000 Unfrozen
27 Id: 2728.29ec Suspend: 0 Teb: 7ff99000 Unfrozen
28 Id: 2728.29f0 Suspend: 0 Teb: 7ff98000 Unfrozen
29 Id: 2728.29fc Suspend: 0 Teb: 7ff96000 Unfrozen
30 Id: 2728.2a10 Suspend: 0 Teb: 7ff95000 Unfrozen
31 Id: 2728.2a14 Suspend: 0 Teb: 7ff94000 Unfrozen
32 Id: 2728.2a18 Suspend: 0 Teb: 7ff93000 Unfrozen
33 Id: 2728.2a20 Suspend: 0 Teb: 7ff92000 Unfrozen
34 Id: 2728.2db0 Suspend: 0 Teb: 7ffdd000 Unfrozen
0:000> ~22s
eax=00000000 ebx=00000000 ecx=0000000b edx=00000000 esi=77f82865
edi=00000564
eip=77f82870 esp=023cfd0c ebp=023cfd30 iopl=0 nv up ei pl zr na
po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000246
77f82870 c20c00 ret 0xc
0:022> kb
ChildEBP RetAddr Args to Child
023cfd08 7c599fe4 00000564 00000000 00000000
ntdll!ZwWaitForSingleObject+0xb
023cfd30 7c57b3db 00000564 ffffffff 00000000
KERNEL32!WaitForSingleObjectEx+0x71
023cfd40 7632046c 00000564 ffffffff 76320455
KERNEL32!WaitForSingleObject+0xf
023cfd4c 76320455 ffffffff 061f1e94 762f61d8
MSVBVM50!CReadWriteMutex::_WaitForEvent+0x11
023cfd70 762f514b 061f1e94 00000001 763f21a8
MSVBVM50!CReadWriteMutex::RequestWrite+0x2d
023cfd8c 7633ad37 061f1e94 00000000 00000001
MSVBVM50!CVBThreadAction::CleanupProjData+0x71
023cfdd4 762e39e5 0012822c 00128234 c0000000
MSVBVM50!CThreadPool::CheckForProjectUnload+0x33
023cfe3c 762e37ef 023cfe58 001d047a 00001047
MSVBVM50!FnwpMainFilter+0x1d6
023cfe5c 77e11ef0 001d047a 00001047 00000000 MSVBVM50!FnwpMain+0x1b
023cfe7c 77e1204c 762e37d4 001d047a 00001047
USER32!UserCallWinProc+0x18
023cff08 77e121af 0012822c 00000000 787c3075
USER32!DispatchMessageWorker+0x2e4
023cff14 787c3075 0012822c 77f82060 00000000
USER32!DispatchMessageW+0xb
023cff24 787c2c01 10000000 000b8f48 023cffec
023cffb4 7c57b388 00aef650 10000000 000b8f48
023cffec 00000000 787c27de 00aef650 00000000
KERNEL32!BaseThreadStart+0x52
Is this the same as problem indicated for earlier posting?
Pat [MSFT]
2005-01-19 22:51:52 UTC
Permalink
Apartment.

Pat
Post by Sandesh
Pat,
What should the threading model be :Single threaded or apartment threaded? I
am trying to recomplie this DLL in VB6 with retained in memory option checked.
My app is configured as high (isolated) and the VB DLL is registered using
regsvr32.
Post by Pat [MSFT]
You are running into the VB5 version of the Retain in Memory problem that
you normally see in VB6 components.
You will need to re-compile the VB5 component and add a reference to an
empty class to prevent the refcount from going to 0 and unloading the
project. Or, you can migrate the code to VB6 and re-compile using the
Retain in Memory check box.
Pat
Post by smp
IIS 5.0 om win 2k IIS HANG (simiar problem)
0:000> !locks
CritSec MSVBVM50!Rby_ThreadPool+b4 at 763F225C
LockCount 10
RecursionCount 1
OwningThread 29d8
EntryCount 2d
ContentionCount 2d
*** Locked
CritSec MSVBVM50!Rby_ThreadPool+d4 at 763F227C
LockCount 0
RecursionCount 1
OwningThread 29d8
EntryCount 0
ContentionCount 0
*** Locked
0:000> ~
. 0 Id: 2728.28f0 Suspend: 0 Teb: 7ffde000 Frozen
1 Id: 2728.296c Suspend: 0 Teb: 7ffdb000 Unfrozen
2 Id: 2728.2978 Suspend: 0 Teb: 7ffd8000 Unfrozen
3 Id: 2728.2970 Suspend: 0 Teb: 7ffda000 Unfrozen
4 Id: 2728.2984 Suspend: 0 Teb: 7ffd5000 Unfrozen
5 Id: 2728.2988 Suspend: 0 Teb: 7ffd4000 Unfrozen
6 Id: 2728.298c Suspend: 0 Teb: 7ffaf000 Unfrozen
7 Id: 2728.2990 Suspend: 0 Teb: 7ffae000 Unfrozen
8 Id: 2728.2994 Suspend: 0 Teb: 7ffad000 Unfrozen
9 Id: 2728.2998 Suspend: 0 Teb: 7ffac000 Unfrozen
10 Id: 2728.299c Suspend: 0 Teb: 7ffab000 Unfrozen
11 Id: 2728.29a0 Suspend: 0 Teb: 7ffaa000 Unfrozen
12 Id: 2728.29a4 Suspend: 0 Teb: 7ffa9000 Unfrozen
13 Id: 2728.29a8 Suspend: 0 Teb: 7ffa8000 Unfrozen
14 Id: 2728.29b0 Suspend: 0 Teb: 7ffa6000 Unfrozen
15 Id: 2728.29b8 Suspend: 0 Teb: 7ffa5000 Unfrozen
16 Id: 2728.29c0 Suspend: 0 Teb: 7ffa3000 Unfrozen
17 Id: 2728.29bc Suspend: 0 Teb: 7ffa4000 Unfrozen
18 Id: 2728.29c8 Suspend: 0 Teb: 7ffa2000 Unfrozen
19 Id: 2728.29cc Suspend: 0 Teb: 7ffa1000 Unfrozen
20 Id: 2728.29d0 Suspend: 0 Teb: 7ffa0000 Unfrozen
21 Id: 2728.29d4 Suspend: 0 Teb: 7ff9f000 Unfrozen
22 Id: 2728.29d8 Suspend: 0 Teb: 7ff9e000 Unfrozen
23 Id: 2728.29dc Suspend: 0 Teb: 7ff9d000 Unfrozen
24 Id: 2728.29e0 Suspend: 0 Teb: 7ff9c000 Unfrozen
25 Id: 2728.29e4 Suspend: 0 Teb: 7ff9b000 Unfrozen
26 Id: 2728.29e8 Suspend: 0 Teb: 7ff9a000 Unfrozen
27 Id: 2728.29ec Suspend: 0 Teb: 7ff99000 Unfrozen
28 Id: 2728.29f0 Suspend: 0 Teb: 7ff98000 Unfrozen
29 Id: 2728.29fc Suspend: 0 Teb: 7ff96000 Unfrozen
30 Id: 2728.2a10 Suspend: 0 Teb: 7ff95000 Unfrozen
31 Id: 2728.2a14 Suspend: 0 Teb: 7ff94000 Unfrozen
32 Id: 2728.2a18 Suspend: 0 Teb: 7ff93000 Unfrozen
33 Id: 2728.2a20 Suspend: 0 Teb: 7ff92000 Unfrozen
34 Id: 2728.2db0 Suspend: 0 Teb: 7ffdd000 Unfrozen
0:000> ~22s
eax=00000000 ebx=00000000 ecx=0000000b edx=00000000 esi=77f82865
edi=00000564
eip=77f82870 esp=023cfd0c ebp=023cfd30 iopl=0 nv up ei pl zr na
po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000246
77f82870 c20c00 ret 0xc
0:022> kb
ChildEBP RetAddr Args to Child
023cfd08 7c599fe4 00000564 00000000 00000000
ntdll!ZwWaitForSingleObject+0xb
023cfd30 7c57b3db 00000564 ffffffff 00000000
KERNEL32!WaitForSingleObjectEx+0x71
023cfd40 7632046c 00000564 ffffffff 76320455
KERNEL32!WaitForSingleObject+0xf
023cfd4c 76320455 ffffffff 061f1e94 762f61d8
MSVBVM50!CReadWriteMutex::_WaitForEvent+0x11
023cfd70 762f514b 061f1e94 00000001 763f21a8
MSVBVM50!CReadWriteMutex::RequestWrite+0x2d
023cfd8c 7633ad37 061f1e94 00000000 00000001
MSVBVM50!CVBThreadAction::CleanupProjData+0x71
023cfdd4 762e39e5 0012822c 00128234 c0000000
MSVBVM50!CThreadPool::CheckForProjectUnload+0x33
023cfe3c 762e37ef 023cfe58 001d047a 00001047
MSVBVM50!FnwpMainFilter+0x1d6
023cfe5c 77e11ef0 001d047a 00001047 00000000 MSVBVM50!FnwpMain+0x1b
023cfe7c 77e1204c 762e37d4 001d047a 00001047
USER32!UserCallWinProc+0x18
023cff08 77e121af 0012822c 00000000 787c3075
USER32!DispatchMessageWorker+0x2e4
023cff14 787c3075 0012822c 77f82060 00000000
USER32!DispatchMessageW+0xb
023cff24 787c2c01 10000000 000b8f48 023cffec
023cffb4 7c57b388 00aef650 10000000 000b8f48
023cffec 00000000 787c27de 00aef650 00000000
KERNEL32!BaseThreadStart+0x52
Is this the same as problem indicated for earlier posting?
Continue reading on narkive:
Loading...