Subject | FBClient.dll freezing |
---|---|
Author | Hans Hoogstraat |
Post date | 2004-04-12T17:55:29Z |
Hello,
Running FB1.5 as a service and a threaded application on same computer using
Tcp/ip
to localhost:drive:\path\fb.gdb causes the main thread to freeze a couple of
times a day.
Replacing FbClient.dll by FbEmbed dll in path of application and using just
drive:\path\fb.gdb
resolved this problem and application now running for days. But now only one
application
can use the database, since the local FbEmbed/Alias FbClient locks the
database.
Any ideas ?
Best Regards,
Hans
---------------
This is the dump from MadShi at time of freeze.
Madshi main thread freeze alert set to one min..
date/time : 2004-04-09 19:27
user name : Administrator
operating system : Windows NT 4 Service Pack 6 build 1381
system language : English
system up time : 42 days 10 hours
program up time : 1 day
physical memory : 130/511 MB (free/total)
free disk space : (C:) 2.31 GB (D:) 67.22 GB
process id : $cc
madExcept version : 2.7
exception message : The application seems to be frozen.
main thread ($be):
77f679df ntdll.dll NtDelayExecution
77f1d1e2 kernel32.dll SleepEx
77f1d1ac kernel32.dll Sleep
thread $81:
77f6839b ntdll.dll NtWaitForSingleObject
77f1cf8f kernel32.dll WaitForSingleObjectEx
77f04f3f kernel32.dll WaitForSingleObject
thread $bc:
77f6838b ntdll.dll NtWaitForMultipleObjects
77f1d158 kernel32.dll WaitForMultipleObjectsEx
77f1d066 kernel32.dll WaitForMultipleObjects
77f76545 ntdll.dll KiUserApcDispatcher
thread $51:
77f6838b ntdll.dll NtWaitForMultipleObjects
77f1d158 kernel32.dll WaitForMultipleObjectsEx
77f1d066 kernel32.dll WaitForMultipleObjects
thread $c6:
77f6839b ntdll.dll NtWaitForSingleObject
thread $bd:
77f6839b ntdll.dll NtWaitForSingleObject
77f1cf8f kernel32.dll WaitForSingleObjectEx
77f04f3f kernel32.dll WaitForSingleObject
thread $86:
77eae1cf user32.dll
77e72bae user32.dll GetMessageA
modules:
00400000 Application.exe
01c50000 fbclient.dll 1.5.0.4290
0a310000 gdsintl.dll 6.0.1.0
0ac20000 ib_udf.DLL 6.0.1.0
0ac30000 ib_util.dll 1.5.0.4027 d:\firebird.1.5\bin
10000000 gds32.dll 6.3.0.4027
65340000 oleaut32.dll 2.40.4518.0 C:\WINNT\system32
67df0000 AWHK32.dll 10.5.0.477 C:\Program
Files\Symantec\pcAnywhere
71300000 MSIDLE.DLL 5.50.4807.2300 C:\WINNT\system32
71710000 COMCTL32.dll 5.81.4916.400 C:\WINNT\system32
74ff0000 rnr20.dll 4.0.1381.300 C:\WINNT\System32
77660000 msafd.dll 4.0.1381.164 C:\WINNT\system32
77690000 wshtcpip.dll 4.0.1381.7045 C:\WINNT\System32
776a0000 WS2HELP.dll 4.0.1381.164 C:\WINNT\system32
776b0000 WS2_32.dll 4.0.1381.7086 C:\WINNT\system32
776d0000 wsock32.dll 4.0.1381.300 C:\WINNT\system32
77720000 MPR.dll 4.0.1381.289 C:\WINNT\system32
779c0000 LZ32.dll 4.0.1371.1 C:\WINNT\system32
77a90000 version.dll 4.0.1371.1 C:\WINNT\system32
77b20000 ole32.dll 4.0.1381.7230 C:\WINNT\system32
77bf0000 rpcltc1.dll 4.0.1381.319 C:\WINNT\System32
77c40000 SHELL32.dll 4.0.1381.7116 C:\WINNT\system32
77d80000 comdlg32.dll 4.0.1381.319 C:\WINNT\system32
77dc0000 ADVAPI32.dll 4.0.1381.7097 C:\WINNT\system32
77e10000 RPCRT4.dll 4.0.1381.7230 C:\WINNT\system32
77e70000 user32.dll 4.0.1381.7229 C:\WINNT\system32
77ed0000 GDI32.dll 4.0.1381.7177 C:\WINNT\system32
77f00000 kernel32.dll 4.0.1381.7226 C:\WINNT\system32
77f60000 ntdll.dll 4.0.1381.7212 C:\WINNT\System32
78000000 MSVCRT.dll 6.1.9359.0 C:\WINNT\system32
780c0000 MSVCP60.dll 6.0.8972.0 C:\WINNT\System32
disassembling:
77f679d4 public NtDelayExecution: ; function entry point
77f679d4 mov eax, $27
77f679d9 lea edx, [esp+4]
77f679dd int $2e
77f679df > ret 8
Running FB1.5 as a service and a threaded application on same computer using
Tcp/ip
to localhost:drive:\path\fb.gdb causes the main thread to freeze a couple of
times a day.
Replacing FbClient.dll by FbEmbed dll in path of application and using just
drive:\path\fb.gdb
resolved this problem and application now running for days. But now only one
application
can use the database, since the local FbEmbed/Alias FbClient locks the
database.
Any ideas ?
Best Regards,
Hans
---------------
This is the dump from MadShi at time of freeze.
Madshi main thread freeze alert set to one min..
date/time : 2004-04-09 19:27
user name : Administrator
operating system : Windows NT 4 Service Pack 6 build 1381
system language : English
system up time : 42 days 10 hours
program up time : 1 day
physical memory : 130/511 MB (free/total)
free disk space : (C:) 2.31 GB (D:) 67.22 GB
process id : $cc
madExcept version : 2.7
exception message : The application seems to be frozen.
main thread ($be):
77f679df ntdll.dll NtDelayExecution
77f1d1e2 kernel32.dll SleepEx
77f1d1ac kernel32.dll Sleep
thread $81:
77f6839b ntdll.dll NtWaitForSingleObject
77f1cf8f kernel32.dll WaitForSingleObjectEx
77f04f3f kernel32.dll WaitForSingleObject
thread $bc:
77f6838b ntdll.dll NtWaitForMultipleObjects
77f1d158 kernel32.dll WaitForMultipleObjectsEx
77f1d066 kernel32.dll WaitForMultipleObjects
77f76545 ntdll.dll KiUserApcDispatcher
thread $51:
77f6838b ntdll.dll NtWaitForMultipleObjects
77f1d158 kernel32.dll WaitForMultipleObjectsEx
77f1d066 kernel32.dll WaitForMultipleObjects
thread $c6:
77f6839b ntdll.dll NtWaitForSingleObject
thread $bd:
77f6839b ntdll.dll NtWaitForSingleObject
77f1cf8f kernel32.dll WaitForSingleObjectEx
77f04f3f kernel32.dll WaitForSingleObject
thread $86:
77eae1cf user32.dll
77e72bae user32.dll GetMessageA
modules:
00400000 Application.exe
01c50000 fbclient.dll 1.5.0.4290
0a310000 gdsintl.dll 6.0.1.0
0ac20000 ib_udf.DLL 6.0.1.0
0ac30000 ib_util.dll 1.5.0.4027 d:\firebird.1.5\bin
10000000 gds32.dll 6.3.0.4027
65340000 oleaut32.dll 2.40.4518.0 C:\WINNT\system32
67df0000 AWHK32.dll 10.5.0.477 C:\Program
Files\Symantec\pcAnywhere
71300000 MSIDLE.DLL 5.50.4807.2300 C:\WINNT\system32
71710000 COMCTL32.dll 5.81.4916.400 C:\WINNT\system32
74ff0000 rnr20.dll 4.0.1381.300 C:\WINNT\System32
77660000 msafd.dll 4.0.1381.164 C:\WINNT\system32
77690000 wshtcpip.dll 4.0.1381.7045 C:\WINNT\System32
776a0000 WS2HELP.dll 4.0.1381.164 C:\WINNT\system32
776b0000 WS2_32.dll 4.0.1381.7086 C:\WINNT\system32
776d0000 wsock32.dll 4.0.1381.300 C:\WINNT\system32
77720000 MPR.dll 4.0.1381.289 C:\WINNT\system32
779c0000 LZ32.dll 4.0.1371.1 C:\WINNT\system32
77a90000 version.dll 4.0.1371.1 C:\WINNT\system32
77b20000 ole32.dll 4.0.1381.7230 C:\WINNT\system32
77bf0000 rpcltc1.dll 4.0.1381.319 C:\WINNT\System32
77c40000 SHELL32.dll 4.0.1381.7116 C:\WINNT\system32
77d80000 comdlg32.dll 4.0.1381.319 C:\WINNT\system32
77dc0000 ADVAPI32.dll 4.0.1381.7097 C:\WINNT\system32
77e10000 RPCRT4.dll 4.0.1381.7230 C:\WINNT\system32
77e70000 user32.dll 4.0.1381.7229 C:\WINNT\system32
77ed0000 GDI32.dll 4.0.1381.7177 C:\WINNT\system32
77f00000 kernel32.dll 4.0.1381.7226 C:\WINNT\system32
77f60000 ntdll.dll 4.0.1381.7212 C:\WINNT\System32
78000000 MSVCRT.dll 6.1.9359.0 C:\WINNT\system32
780c0000 MSVCP60.dll 6.0.8972.0 C:\WINNT\System32
disassembling:
77f679d4 public NtDelayExecution: ; function entry point
77f679d4 mov eax, $27
77f679d9 lea edx, [esp+4]
77f679dd int $2e
77f679df > ret 8