Xharbour : fm.log WARNING! Memory allocated but not released

Xharbour : fm.log WARNING! Memory allocated but not released

Postby Franklin Demont » Mon Apr 22, 2013 9:29 am

Working on a big FWH aplication , i made a upgrade to version FWH13.03.
Xharbour was downloaded from FWH site. I am using BCC582

The problem : xharbour generates a file fm.log (20000 bytes) with warning as


Memory Allocation Report
Application: B:\XHB1303\Bin\Harbour.Exe
xHarbour Version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20130326)
Compiler: Borland C++ 5.8.2 (32 bit)
Platform: Windows 7 Home Edition 6.01.7601 Service Pack 1
Time Occured: 2013.03.31 20:33:29
Total memory allocated: 926257 bytes (49013 blocks)
--------------------------------------------------------------------------------
WARNING! Memory allocated but not released: 672 bytes (14 blocks)

source\common\expropt1.c(158) hb_compExprNew() Block 1 021F594C (size 48)
"\94\B0\21\02\00\00\00\00\00\00\00\00\43\00\00\00\00\00\01\00\38\00\00\00\04\00\00\00\01\00\00\00"

.....

The program seems to work. Can this warning's be negated ?

Frank Demont
test
Franklin Demont
 
Posts: 166
Joined: Wed Aug 29, 2012 8:25 am

Re: Xharbour : fm.log WARNING! Memory allocated but not released

Postby Antonio Linares » Mon Apr 22, 2013 11:36 am

I would say that it seems a bug in xHarbour compiler itself as you are executing harbour.exe

It should be reported to xHarbour developers:
https://groups.google.com/forum/?fromgroups#!forum/comp.lang.xharbour
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Xharbour : fm.log WARNING! Memory allocated but not released

Postby shri_fwh » Mon Apr 22, 2013 1:25 pm

Hi Antonio ,

I am using xHarbour compiler. Can you please guide whether I should use or not ?

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: Xharbour : fm.log WARNING! Memory allocated but not released

Postby Antonio Linares » Mon Apr 22, 2013 3:24 pm

Shridhar,

My advice is to use Harbour. There are many reasons for this, but surely you will discover them yourself too :-)

I need a Harbour compiler that works on all popular operating systems, for me these are:
* Windows
* OSX
* Linux
* iOS
* Android

xHarbour does not deliver the above. Harbour does it.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Xharbour : fm.log WARNING! Memory allocated but not released

Postby shri_fwh » Tue Apr 23, 2013 8:38 am

Hi Antonio ,

Thanks for your advice..!

My Primary need is that any Harbour Compiler should not produce any bug. As you mentioned that Harbour provides many feature over xHarbour so, definitely I will start to use Harbour. Could you please supply enviroments for xMate IDE (the list .libs and compiler Switches). And also I had not downloaded the Harbour binarires from the FiveWin site. Could you please let me know where I can download that ?

Thanks in advance..!

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: Xharbour : fm.log WARNING! Memory allocated but not released

Postby Antonio Linares » Tue Apr 23, 2013 11:03 am

Shridhar,

You may download Harbour from here:
https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=harbour_bcc582_20130228.zip&can=2&q=

You could also download it from the Harbour website:
http://sourceforge.net/projects/harbour-project/files/binaries-windows/nightly/harbour-nightly-win.exe/download

We don't use xMate but surely a xMate user will provide you help with its settings. If you review FWH\samples\buildh.bat you will see all the required libs and flags to build the apps :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Xharbour : fm.log WARNING! Memory allocated but not released

Postby shri_fwh » Tue Apr 23, 2013 12:33 pm

Hi Antonio ,

Thanks a lot..!

Hi xMate Users,

May I request to you to post xMate env setup files Harbour+FWH (not xHarbour) ?

Thanks
shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: Xharbour : fm.log WARNING! Memory allocated but not released

Postby Franklin Demont » Tue Apr 23, 2013 4:46 pm

shri_fwh wrote:Hi Antonio ,

Thanks a lot..!

Hi xMate Users,

May I request to you to post xMate env setup files Harbour+FWH (not xHarbour) ?

Thanks
shridhar


This comes also from a user :
Give attention on the path's for BCC582 , FWF and Harbour


[Environment]
Description 1=Harbour Compiler
Description 2=
Description 3=
PRG Compiler ver=3.1
C compiler ver=6.41
Subsystem=GtGui
Author=Carlos Vargas

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=B:\HB32
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc0 /w1 /es0 /i%HB_INC_INSTALL%;%C_INC_INSTALL%;b:\FWH1303\include /q0 /p
Option prefix=/

[C]
C_INSTALL=B:\BCC582
C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe %CRLF%-M -c -O2 -e -tWM -q %CRLF%-D__HARBOUR__ %CRLF%-I%HB_INC_INSTALL%;%C_INC_INSTALL%;h:\include -n%HOME%\Obj %C%
C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P1024 @%RSP% , %LST%
C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -q -aa -Tpe -s @%LNK%
C_RC_COMMAND=%C_BIN_INSTALL%\Brc32.Exe -r -fo%RES% %RC% -I%C_INC_INSTALL%%CRLF%
C_DLL_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -q -aa -Tpd -M -L%C_LIB_INSTALL% @%LNK%
Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%C_LIB_INSTALL%\c0w32.obj=1
b:\FWH1303\LIB\FiveH.lib=2
b:\FWH1303\LIB\FiveHC.lib=3
%HB_LIB_INSTALL%\hbrtl.lib=4
%HB_LIB_INSTALL%\hbvm.lib=5
%HB_LIB_INSTALL%\hbcommon.lib=6
%HB_LIB_INSTALL%\gtgui.lib=7
%HB_LIB_INSTALL%\hblang.lib=8
%HB_LIB_INSTALL%\hbmacro.lib=9
%HB_LIB_INSTALL%\hbrdd.lib=10
%HB_LIB_INSTALL%\rddntx.lib=11
%HB_LIB_INSTALL%\rddcdx.lib=12
%HB_LIB_INSTALL%\rddfpt.lib=13
%HB_LIB_INSTALL%\hbsix.lib=14
%HB_LIB_INSTALL%\hbdebug.lib=15
%HB_LIB_INSTALL%\hbpp.lib=16
%HB_LIB_INSTALL%\hbcpage.lib=17
%HB_LIB_INSTALL%\hbwin.lib=18
%HB_LIB_INSTALL%\hbcplr.lib=19
%HB_LIB_INSTALL%\hbct.lib=20
%HB_LIB_INSTALL%\hbnf.lib=21
%HB_LIB_INSTALL%\xhb.lib=22
%HB_LIB_INSTALL%\hbziparc.lib=23
%HB_LIB_INSTALL%\hbmzip.lib=24
%HB_LIB_INSTALL%\hbzlib.lib=25
%HB_LIB_INSTALL%\minizip.lib=26
%HB_LIB_INSTALL%\hbpcre.lib=27
%HB_LIB_INSTALL%\hbcomm.lib=28
%HB_LIB_INSTALL%\hbmisc.lib=29
%HB_LIB_INSTALL%\hbxpp.lib=30
%HB_LIB_INSTALL%\hbfship.lib=31
%C_LIB_INSTALL%\cw32.lib=32
%C_LIB_INSTALL%\uuid.lib=33
%C_LIB_INSTALL%\import32.lib=34
%C_LIB_INSTALL%\psdk\odbc32.lib=35
%C_LIB_INSTALL%\psdk\nddeapi.lib=36
%C_LIB_INSTALL%\psdk\iphlpapi.lib=37
%C_LIB_INSTALL%\psdk\msimg32.lib=38
%C_LIB_INSTALL%\psdk\psapi.lib=39
%C_LIB_INSTALL%\psdk\shell32.lib=40

[DLL Files]
%HB_LIB_INSTALL%\harbour.lib=1
%C_LIB_INSTALL%\C0W32.OBJ=2
%C_LIB_INSTALL%\CW32.LIB=3
%C_LIB_INSTALL%\IMPORT32.LIB=4
test
Franklin Demont
 
Posts: 166
Joined: Wed Aug 29, 2012 8:25 am

Re: Xharbour : fm.log WARNING! Memory allocated but not released

Postby shri_fwh » Wed Apr 24, 2013 6:14 am

Hi Franklin ,

Thanks a lot..!

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 51 guests