Here is an exact report of the cuase: Error 00001. 0x130410 (Thread 0x2090): Access overrun: Attempt to access 2 byte(s) at 0x00E2D072, that is at offset 2 in heap block 0x00E2D070 which is only 2 bytes long. memcpy(0x00E2D072, 0x00E1C1B0, 0x2 [2]) Call Tree: 0x004E6502(=testsort.exe:0x01:0E5502) source\rdd\dbf1.c#4544 0x004CFDE9(=testsort.exe:0x01:0CEDE9) source\rdd\dbcmd.c#1977 0x00459225(=testsort.exe:0x01:058225) source\vm\hvm.c#7222 0x00444877(=testsort.exe:0x01:043877) source\vm\hvm.c#1662 0x004E9F5C(=testsort.exe:0x01:0E8F5C) obj\b32\dbsort.c#161 0x00459225(=testsort.exe:0x01:058225) source\vm\hvm.c#7222
The memory block (0x00E2D070) [size: 2 bytes] was allocated with malloc Call Tree: 0x004EA0BA(=testsort.exe:0x01:0E90BA) source\rdd\hbdbsort.c#66 0x004E6258(=testsort.exe:0x01:0E5258) source\rdd\dbf1.c#4471 0x004CFDE9(=testsort.exe:0x01:0CEDE9) source\rdd\dbcmd.c#1977 0x00459225(=testsort.exe:0x01:058225) source\vm\hvm.c#7222 0x00444877(=testsort.exe:0x01:043877) source\vm\hvm.c#1662 0x004E9F5C(=testsort.exe:0x01:0E8F5C) obj\b32\dbsort.c#161 ------------------------------------------ Error 00002. 0x130210 (Thread 0x2090): Pointer arithmetic overrun: 0x00E2D072+2, that is at offset 2+2 in heap block 0x00E2D070 which is only 2 bytes long. Call Tree: 0x004E656C(=testsort.exe:0x01:0E556C) source\rdd\dbf1.c#4551 0x004CFDE9(=testsort.exe:0x01:0CEDE9) source\rdd\dbcmd.c#1977 0x00459225(=testsort.exe:0x01:058225) source\vm\hvm.c#7222 0x00444877(=testsort.exe:0x01:043877) source\vm\hvm.c#1662 0x004E9F5C(=testsort.exe:0x01:0E8F5C) obj\b32\dbsort.c#161 0x00459225(=testsort.exe:0x01:058225) source\vm\hvm.c#7222 The memory block (0x00E2D070) [size: 2 bytes] was allocated with malloc Call Tree: 0x004EA0BA(=testsort.exe:0x01:0E90BA) source\rdd\hbdbsort.c#66 0x004E6258(=testsort.exe:0x01:0E5258) source\rdd\dbf1.c#4471 0x004CFDE9(=testsort.exe:0x01:0CEDE9) source\rdd\dbcmd.c#1977 0x00459225(=testsort.exe:0x01:058225) source\vm\hvm.c#7222 0x00444877(=testsort.exe:0x01:043877) source\vm\hvm.c#1662 0x004E9F5C(=testsort.exe:0x01:0E8F5C) obj\b32\dbsort.c#161 Ron On Wed, Mar 25, 2009 at 6:14 PM, Ron Pinkas <[email protected]> wrote: > Miguel, > > Could you please review the following GPF: > > //------------------------------------------------------// > PROCEDURE Main() > dbCreate( 'TestSort', { { 'a', 'C', 1, 0 } } ) > CLOSE > > USE TestSort EXCLUSIVE > > APPEND BLANK > REPLACE a With 'a' > > APPEND BLANK > REPLACE a With 'b' > > SORT ON a To Sorted > RETURN > //------------------------------------------------------// > > Ron >
------------------------------------------------------------------------------
_______________________________________________ xHarbour-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xharbour-developers

