Result in Hb_Out.Log after executing app twice, first time got error 9019, second time got error 6005:
Application Internal Error - C:\op_new\Hb2Ftr.exe Terminated at: 2010.05.04 09:10:28 Unrecoverable error 9019: Stack underflow Called from EXPORT(973) in ../BREXPORT.prg Called from EXPORTEXCP(182) in ../BREXPORT.prg Called from (b)EVAL(2321) Called from COMMBROW(2852) in ../../hvblib/HVBLIB.prg Called from BREXPORT(153) in ../BREXPORT.prg Called from FTRMEN1(77) in ../FTRMEN1.prg Called from FTRMAIN(150) in ../FTRMAIN.prg Called from FTRMENU(467) in ../FTRMENU.prg ------------------------------------------------------------------------ Application Internal Error - C:\op_new\Hb2Ftr.exe Terminated at: 2010.05.04 09:10:49 Unrecoverable error 6005: Exception error: Exception Code:C0000005 Exception Address:004198C3 EAX:00006A99 EBX:0000000D ECX:00000000 EDX:00000004 ESI:00B7E444 EDI:00000000 EBP:00000001 CS:EIP:001B:004198C3 SS:ESP:0023:0022F540 DS:0023 ES:0023 FS:003B GS:0000 Flags:00010206 CS:EIP: 80 3B B4 0F 86 B4 00 00 00 C7 44 24 0C 00 00 00 SS:ESP: 00B9CC90 00000007 00000000 0054B880 00000000 00000006 00B88D44 00B9E56C 00000002 00000001 00000001 005224DA 00B9E56C 00000002 00B7DFEC 00BCC888 C stack: EIP: EBP: Frame: OldEBP, RetAddr, Params... Modules: 0x00400000 0x001F6000 C:\op_new\Hb2Ftr.exe 0x7C900000 0x000B2000 C:\WINDOWS\system32\ntdll.dll 0x7C800000 0x000F6000 C:\WINDOWS\system32\kernel32.dll 0x77DD0000 0x0009B000 C:\WINDOWS\system32\ADVAPI32.DLL 0x77E70000 0x00092000 C:\WINDOWS\system32\RPCRT4.dll 0x77FE0000 0x00011000 C:\WINDOWS\system32\Secur32.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 0x77B40000 0x00022000 C:\WINDOWS\system32\Apphelp.dll 0x77C00000 0x00008000 C:\WINDOWS\system32\VERSION.dll Called from EXPORT(973) in ../BREXPORT.prg Called from EXPORTEXCP(182) in ../BREXPORT.prg Called from (b)EVAL(2321) Called from COMMBROW(2852) in ../../hvblib/HVBLIB.prg Called from BREXPORT(153) in ../BREXPORT.prg Called from FTRMEN1(77) in ../FTRMEN1.prg Called from FTRMAIN(150) in ../FTRMAIN.prg Called from FTRMENU(467) in ../FTRMENU.prg ------------------------------------------------------------------------ Final app is GUI and contains GtWvt and GtWin, but I have removed and still produce error, code is in form that directly compiles in clipper also. I use a .hbm file to compile the app via "hbmk2 @hb2ftr.hbm", file contents below: -oHb2Ftr -prgflag=/m /n /dHASCHAR031 -pause -trace -main=Ftrmenu -workdir=Output -instpath=c:\op_new\ -info -plat=win -comp=mingw ..\FTRMENU.prg ..\FTRMAIN.prg ..\MAINPROC.prg ..\FTRMEN1.prg ..\TRIPIMPT.prg ..\BREXPORT.prg ..\BRIMPORT.prg ..\BRIMPSRV.prg ..\BRIMPWHD.prg ..\BRIMPSYN.prg ..\BRIMPCLU.prg ..\EXEUPDTS.prg ..\FIXRQST.prg ..\CLOSEPER.prg ..\CLOSEPAY.prg ..\BRIMPCLB.prg ..\BKIMPORT.prg ..\BKIMP2.prg ..\BKIMPSI.prg ..\BRIMPBRS.prg ..\BRIMPWOS.prg ..\BREXPWOS.prg ..\IMPFUNCS.prg ..\IMPFUNC2.prg ..\UASSIGN.prg ..\PURGETX.PRG ..\..\UNIT\TIREFIXB.PRG ..\..\txlog\tx_log.prg ..\..\hvblib\HVBLIB.prg ..\..\hvblib\HVBLIB2.prg Thanks, Heinz Viktor Szakáts wrote: > > Could you post your complete hb_out.log? > What extra libs do you use (-l hbmk2 options)? > > Viktor > > On 2010 May 3, at 22:15, Heinz V Bergen wrote: > >> >> OK, using latest Harbour (r14422) and did a "mingw32-make clean install", >> then recompiled my app with "hbmk2" as console app, no GTs and tested, >> still >> got error. >> When Windows dialog to send error report, I clicked on debug window >> opening >> VS2005 debugger, showed error in disassembled code as "Unhandled >> exception >> at 0x0041f2a3 in Hb2Ftr.exe: 0xC0000005: Access violation reading >> location >> 0x0000000d", in case this helps? >> >> 0041F259 sub esp,0ACh >> 0041F25F mov edi,dword ptr [esp+0C4h] >> 0041F266 mov ebx,dword ptr [esp+0C0h] >> 0041F26D mov dword ptr [esp+68h],ebp >> 0041F271 test edi,edi >> 0041F273 je 0041F28A >> 0041F275 mov eax,dword ptr [esp+0C4h] >> 0041F27C movsx eax,word ptr [eax+4] >> 0041F280 shr eax,0Ah >> 0041F283 and eax,1 >> 0041F286 mov dword ptr [esp+68h],eax >> 0041F28A xor ebp,ebp >> 0041F28C lea esi,[esi] >> 0041F290 mov eax,dword ptr ds:[00624278h] >> 0041F295 dec eax >> 0041F296 test eax,eax >> 0041F298 mov dword ptr ds:[00624278h],eax >> 0041F29D je 0041F36A >>> 0041F2A3 cmp byte ptr [ebx],0B4h >> 0041F2A6 jbe 0041F360 >> 0041F2AC mov dword ptr [esp+0Ch],0 >> 0041F2B4 mov dword ptr [esp+8],0 >> 0041F2BC mov dword ptr [esp+4],0 >> 0041F2C4 mov dword ptr [esp],2336h >> 0041F2CB call 0048C830 >> 0041F2D0 movzx eax,word ptr ds:[6240F4h] >> 0041F2D7 test eax,eax >> 0041F2D9 je 0041F290 >> 0041F2DB test al,4 >> 0041F2DD je 0041F37F >> 0041F2E3 test ebp,ebp >> 0041F2E5 je 0041F34C >> 0041F2E7 mov ebx,dword ptr ds:[6240F0h] >> 0041F2ED lea esi,[esi] >> 0041F2F0 mov ecx,dword ptr ds:[6240C8h] >> 0041F2F6 lea ebx,[ecx+ebx*4] >> 0041F2F9 mov eax,dword ptr ds:[006240C0h] >> 0041F2FE xchg ax,ax >> 0041F300 cmp ebx,eax >> 0041F302 jae 0041F325 >> 0041F304 sub eax,4 >> >> -recompiled my app with Harbour release 2.0 and tested, had no errors. >> Clipper also has no errors. >> -tryed various combinations and discovered issue is caused by latest >> HBMK2, >> as using HBMK2 from Version 2.0 distro, copying it to with latest SVN >> Harbour\Bin, rebuild app, test and appears to run fine with no more >> errors, >> does that make sense? >> >> Heinz >> >> >> >> >> Hi, >> >> First retest your app using latest Harbour (r14412 or newer) >> and see if it fixes these problems. >> >> Viktor >> >> >> -- >> View this message in context: >> http://old.nabble.com/Harbour-%22random%22-GPFs-tp28375863p28439752.html >> Sent from the Harbour - Dev mailing list archive at Nabble.com. >> >> _______________________________________________ >> Harbour mailing list (attachment size limit: 40KB) >> Harbour@harbour-project.org >> http://lists.harbour-project.org/mailman/listinfo/harbour > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > -- View this message in context: http://old.nabble.com/Harbour-%22random%22-GPFs-tp28375863p28447746.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour