>-----Original Message-----
>From: Viktor Szakáts [mailto:[email protected]]
>Sent: Friday, June 26, 2009 9:01 PM
>To: Harbour Project Main Developer List.
>Subject: [Harbour] bug: RDD GPF with MinGW + r11543
>
>I'm still investigating, but with r11543 and MinGW, I'm
>getting GPF in DBUSEAREA() and also in ORDCREATE() in this
>small example:
>
>---
>FUNC MAIN()
>USE TEST
>INDEX ON FIRST TO test
>---
>
>---
>Application Internal Error - C:\test\d.exe Terminated at:
>2009.06.26 21:00:19 Unrecoverable error 6005: Exception error:
>
> Exception Code:C0000005
> Exception Address:004687DA
> EAX:00000000 EBX:00A9CBDC ECX:00000000 EDX:00A9C5EC
> ESI:00A9C60C EDI:00A9C284 EBP:00000007
> CS:EIP:001B:004687DA SS:ESP:0023:0022F710
> DS:0023 ES:0023 FS:003B GS:0000
> Flags:00010206
> CS:EIP: 80 38 2E 0F 84 E2 00 00 00 31 FF 80 7E 0B 00 B8
> SS:ESP: 00A9CBDC 7C90FF2D 00000000 00000000 00000000
>00000000 00000000 00000000 00000000 00000000 00000000 00000007
>00468710 00000000 00000008 0047A5FA
>
> C stack:
> EIP: EBP: Frame: OldEBP, RetAddr, Params...
>
>Modules:
>0x00400000 0x000E7000 C:\test\d.exe
>0x7C900000 0x000B2000 C:\windows\system32\ntdll.dll 0x7C800000
>0x000F6000 C:\windows\system32\kernel32.dll 0x77C10000
>0x00058000 C:\windows\system32\msvcrt.dll 0x7E410000
>0x00091000 C:\windows\system32\USER32.dll 0x77F10000
>0x00049000 C:\windows\system32\GDI32.dll 0x76390000 0x0001D000
>C:\windows\system32\IMM32.DLL 0x77DD0000 0x0009B000
>C:\windows\system32\ADVAPI32.dll 0x77E70000 0x00092000
>C:\windows\system32\RPCRT4.dll 0x77FE0000 0x00011000
>C:\windows\system32\Secur32.dll
>
>Called from ORDCREATE(0)
>Called from DBCREATEINDEX(0) in ../../rddord.prg Called from
>MAIN(3) in d.prg
>---------------------------------------------------------------
>---------
>
>Brgds,
>Viktor
>
I too have :
------------------------------------------------------------------------
Application Internal Error - H:\homar.exe
Terminated at: 2009.06.28 23:05:24
Nienaprawialny bŞŇd nr 6005: Exception error:
Exception Code:C0000005
Exception Address:00605DFA
EAX:00000000 EBX:01042D24 ECX:00000000 EDX:0104DDF4
ESI:00F69B9C EDI:00F6AC4C EBP:00000007
CS:EIP:001B:00605DFA SS:ESP:0023:0022F650
DS:0023 ES:0023 FS:003B GS:0000
Flags:00010202
CS:EIP: 80 38 2E 0F 84 E2 00 00 00 31 FF 80 7E 0B 00 B8
SS:ESP: 01042D24 5D526050 FFFFFFFF 5D526049 5D525FE4 002463E8 001C0866
00000000 00000000 00000000 00000501 00000007 00605D30 00000000 00000008 00617C1A
C stack:
EIP: EBP: Frame: OldEBP, RetAddr, Params...
Modules:
0x00400000 0x0043F000 H:\homar.exe
0x7C900000 0x000B2000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 0x000FC000 C:\WINDOWS\system32\kernel32.dll
0x77DC0000 0x000AC000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77E70000 0x00091000 C:\WINDOWS\system32\RPCRT4.dll
0x5D520000 0x0009A000 C:\WINDOWS\system32\COMCTL32.DLL
0x77F10000 0x00047000 C:\WINDOWS\system32\GDI32.dll
0x77D30000 0x00090000 C:\WINDOWS\system32\USER32.dll
0x77C00000 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x74600000 0x0003D000 C:\WINDOWS\system32\ODBC32.dll
0x7C9C0000 0x01250000 C:\WINDOWS\system32\SHELL32.dll
0x77F60000 0x00077000 C:\WINDOWS\system32\SHLWAPI.dll
0x76380000 0x00055000 C:\WINDOWS\system32\comdlg32.dll
0x774D0000 0x0013C000 C:\WINDOWS\system32\OLE32.dll
0x77110000 0x0008C000 C:\WINDOWS\system32\OLEAUT32.DLL
0x72F90000 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76360000 0x0001D000 C:\WINDOWS\system32\IMM32.DLL
0x773C0000 0x00103000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x20000000 0x00019000 C:\WINDOWS\system32\odbcint.dll
0x76350000 0x00005000 C:\WINDOWS\system32\msimg32.dll
0x5B1D0000 0x00038000 C:\WINDOWS\system32\uxtheme.dll
0x77FE0000 0x00011000 C:\WINDOWS\system32\Secur32.dll
Called from ORDCREATE(0)
Called from (b)KOMPILATOR(0) in kompilat.prg
Called from BOSS(0) in BOSS.PRG
Called from MAIN(242) in homar.prg
------------------------------------------------------------------------
Struct of table is :
dbCreate( test, {{ 'L1', 'I', 1, 0}, ;
{ 'L2', 'I', 1, 0}, ;
{ 'L3', 'I', 1, 0}, ;
{ 'L4', 'I', 1, 0}, ;
{ 'L5', 'I', 1, 0}, ;
{ 'L6', 'I', 1, 0}, ;
{ 'LC', 'I', 1, 0}}, 'DBFNTX')
And ordcreate exp is :
dbCreateIndex( iname, 'L1+L2+L3+L4+L5', {|| L1+L2+L3+L4+L5})
Or :
dbCreateIndex( strtran( test, '.dbf', '2.ntx'), 'LC', {|| LC})
I do not know whether the cause is a bug in the compiler, or the inability to
crawl on the type INT( 1).
I can fill and browse this table, but not make conversion from int to another
type via str(), char() or padr() function.
Regards,
Marek Horodyski
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour