Hi Przemek,

Il 05/03/2009 21.46, Przemyslaw Czerpak ha scritto:
This happens with uhttpd in current SVN version *without* hb_GCAll() calls.

You are using complex items with cyclic references. Only GC can free them
so it's always necessary to execute it. If you are using such structures
then GC call is a must for you.

with last SVN uhttpd seems to be stable in memory consumption.
The only problem I got during tests is a GPF at a hb_GCAll( .T. ) call.
Attached you find hb_out.log generated.
Now I have commented that line and actual tests (Windows + MSVC, with and without GD, using hb_Inet socket) works with stable memory use.
Same in Linux.
Thank you for suggestions.

Question:
from hb_GCAll() sources I have seen that in my case .T. should be necessary. Isn't it ?

Best regards

Francesco

Application Internal Error - 
J:\cvs\harbourSVN_trunk\contrib\examples\uhttpd\uhttpd.exe
Terminated at: 2009.03.06 22:42:29
Unrecoverable error 6005: Exception error: 

    Exception Code:C0000005
    Exception Address:0040743C
    EAX:003C9F44  EBX:005F2098  ECX:000001DC  EDX:003BEAAC
    ESI:003C9F44  EDI:00000001  EBP:00174658
    CS:EIP:001B:0040743C  SS:ESP:0023:0012FE18
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010202
    CS:EIP: 8A 51 FE 83 E9 10 3A 15 E8 4A 60 00 0F 85 80 00
    SS:ESP: 00000001 003C9F44 004073CD 003C9F44 00403020 003B9EBC 00407644 
003B9ECC 00000000 005F2478 005F2098 00407886 00000001 004184AD 005AA53C 00000001

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...


Modules:
0x00400000 0x00238000 J:\cvs\harbourSVN_trunk\contrib\examples\uhttpd\uhttpd.exe
0x76FD0000 0x00127000 C:\Windows\system32\ntdll.dll
0x75DF0000 0x000DB000 C:\Windows\system32\kernel32.dll
0x10000000 0x000CB000 J:\cvs\harbourSVN_trunk\contrib\examples\uhttpd\bgd.dll
0x759C0000 0x000AA000 C:\Windows\system32\MSVCRT.dll
0x75920000 0x0009D000 C:\Windows\system32\USER32.dll
0x76040000 0x0004B000 C:\Windows\system32\GDI32.dll
0x75850000 0x000C6000 C:\Windows\system32\ADVAPI32.dll
0x76BF0000 0x000C2000 C:\Windows\system32\RPCRT4.dll
0x75530000 0x00007000 C:\Windows\system32\WSOCK32.dll
0x76CC0000 0x0002D000 C:\Windows\system32\WS2_32.dll
0x76E20000 0x00006000 C:\Windows\system32\NSI.dll
0x75FA0000 0x0001E000 C:\Windows\system32\IMM32.DLL
0x75BF0000 0x000C8000 C:\Windows\system32\MSCTF.dll
0x76E30000 0x00009000 C:\Windows\system32\LPK.DLL
0x75ED0000 0x0007D000 C:\Windows\system32\USP10.dll
0x73B80000 0x0003F000 C:\Windows\system32\uxtheme.dll
0x00370000 0x00008000 C:\Program Files\Sizer\sizer.dll
0x73380000 0x00085000 
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6001.18000_none_886786f450a74a05\COMCTL32.dll
0x10100000 0x0000E000 C:\Program Files\Logitech\SetPoint\lgscroll.dll
0x721A0000 0x0009B000 
C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.3053_none_d08d7bba442a9b36\MSVCR80.dll
0x74AB0000 0x00021000 C:\Windows\system32\NTMARTA.DLL
0x75F50000 0x0004A000 C:\Windows\system32\WLDAP32.dll
0x75840000 0x00007000 C:\Windows\system32\PSAPI.DLL
0x75660000 0x00011000 C:\Windows\system32\SAMLIB.dll
0x75AA0000 0x00144000 C:\Windows\system32\ole32.dll
0x77110000 0x0008D000 C:\Windows\system32\OLEAUT32.DLL
0x74DB0000 0x0003B000 C:\Windows\system32\mswsock.dll
0x74A70000 0x00005000 C:\Windows\System32\wshtcpip.dll
0x76DC0000 0x00058000 C:\Windows\system32\SHLWAPI.dll
0x743A0000 0x0019E000 
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc\comctl32.dll

Called from HB_GCALL(0)
Called from MAIN(544) in uhttpd.prg
------------------------------------------------------------------------
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to