I compiled contrib/gtwvg/tests/demowvg.prg on Win32/BCC
using ChangeLog 2008-05-25 17:45 UTC+0800 Pritpal Bedi

>From the main menu, when I select Modeless Dialogs | Dialog First
and then click on the mouse on the "(x)Harbour" entry of the listbox
on the right, I get the following CodeGuard error:

Error 00001. 0x100430 (Thread 0x009A):
Access in freed memory: Attempt to access 11 byte(s) at 0x0160D858.
memcpy(0x0163A974, 0x0160D858, 0xB [11]) 

Call Tree:
   0x0045A1EF(=DEMOWVG.EXE:0x01:0591EF) source\vm\ITEMAPI.C#246
   0x00435029(=DEMOWVG.EXE:0x01:034029) source\vm\EXTEND.C#935
   0x0041AA7D(=DEMOWVG.EXE:0x01:019A7D) .\WVTUTILS.C#1649
   0x0044A919(=DEMOWVG.EXE:0x01:049919) source\vm\HVM.C#4876
   0x0043D2D9(=DEMOWVG.EXE:0x01:03C2D9) source\vm\HVM.C#1043
   0x00401BD8(=DEMOWVG.EXE:0x01:000BD8) demowvg.c#2645

The memory block (0x0160D800) [size: 113 bytes] was allocated with malloc
Call Tree:
   0x004362FF(=DEMOWVG.EXE:0x01:0352FF) source\vm\FM.C#245
   0x0048CDDF(=DEMOWVG.EXE:0x01:08BDDF) source\rtl\SPACE.C#69
   0x0044A919(=DEMOWVG.EXE:0x01:049919) source\vm\HVM.C#4876
   0x0043D3B1(=DEMOWVG.EXE:0x01:03C3B1) source\vm\HVM.C#1056
   0x00401BD8(=DEMOWVG.EXE:0x01:000BD8) demowvg.c#2645
   0x0044A919(=DEMOWVG.EXE:0x01:049919) source\vm\HVM.C#4876

The memory block (0x0160D800) was freed with free
Call Tree:
   0x004368B2(=DEMOWVG.EXE:0x01:0358B2) source\vm\FM.C#412
   0x004369E3(=DEMOWVG.EXE:0x01:0359E3) source\vm\FM.C#448
   0x0045CA63(=DEMOWVG.EXE:0x01:05BA63) source\vm\ITEMAPI.C#1320
   0x0045A0FF(=DEMOWVG.EXE:0x01:0590FF) source\vm\ITEMAPI.C#225
   0x00435029(=DEMOWVG.EXE:0x01:034029) source\vm\EXTEND.C#935
   0x0041AA7D(=DEMOWVG.EXE:0x01:019A7D) .\WVTUTILS.C#1649

------------------------------------------

And the message box with the title "ListBox" shows junk text.
The same happen if I select the Degree combobox, (the title is
"Combo Box" this time).


  Chen.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to