Bug in TBar?

Re: Bug in TBar?

Postby Daniel Garcia-Gil » Thu Dec 29, 2011 9:38 pm

ukservice wrote:Did you interact with your software?.


Yes, i used

ukservice wrote:Also, during my tests i found out sometimes a resource leak with checkres():
CODE: SELECT ALL  EXPAND VIEW
FONT,1292505504,TWINDOW:GETFONT(2732)->TWINDOW:NEW(847)->MAIN(179)


if your main windows, dont worry about that...

try to test, check resource before go in a module and check after go out of module
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Bug in TBar?

Postby ukservice » Thu Dec 29, 2011 11:20 pm

Daniel,

This leak appears before QUIT, not in/between modules.

It may be related.

Why all resouces are NOT cleared by FWH before exiting the application?.

Thanks.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: Bug in TBar?

Postby Daniel Garcia-Gil » Fri Dec 30, 2011 1:36 am

ukservice wrote:This leak appears before QUIT, not in/between modules.


yes, i know

Daniel Garcia-Gil wrote:try to test, check resource before go in a module and check after go out of module

if you want report the results

ukservice wrote:Why all resouces are NOT cleared by FWH before exiting the application?.

really is no matter, all will be released after quit... when you say "Why all resouces are NOT cleared" what other gdi object is not release?


Daniel Garcia-Gil wrote:Other samples

More hard

Code: Select all  Expand view
define timer oTimer interval 1000 action ( If( n++%2 == 0,  oWnd:Move( , , 100, 100 ), oWnd:Move( , , 800, 800 ) ), sysrefresh() ) of oWnd


this test is finished after 7 hours without problem....

i'm using TransBmp provided by Fivetech...

is really important you provide a sample...
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Bug in TBar?

Postby ukservice » Fri Dec 30, 2011 11:59 am

Daniel,

Thanks again for time and support.

It is not a question of sintax or sample that does not work (it is not an error as the one that happens when trying to build samples\skin1.prg or skin2.prg).

Code works fine most of the times. So it is a question of runtime, related to resources or transbmp.

Please, see viewtopic.php?f=3&t=21662

Carlos Vargas, Maurizio and Enrico confirmed the error also.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: Bug in TBar?

Postby Daniel Garcia-Gil » Fri Dec 30, 2011 12:43 pm

Enrico Maria Giordano wrote:Unfortunately not. It is very very random. Myself I didn't saw the problem anymore.

EMG


about carlos cargas... i dont know if the problem continue to him

i'll will do the test with xharbour now
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Bug in TBar?

Postby carlos vargas » Fri Dec 30, 2011 3:27 pm

i return to xharbour and the error is not present yet.
salu2
carlos vargas
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1707
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: Bug in TBar?

Postby ukservice » Fri Dec 30, 2011 7:03 pm

Daniel,

Unfortunately not. It is very very random. Myself I didn't saw the problem anymore.



The error does not occur very often during develop tests, but it is more often in production use.

I am afraid not all programmers test the software as hard as I do. Also, in every build I always discover new bugs ;).

Thanks again for all your so valuable help and support.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 47 guests