compiling tests/harupdf.prg: harupdf unrecoverable error 6005: exception error

130 views
Skip to first unread message

José M. C. Quintas

unread,
Apr 12, 2023, 6:46:27 PM4/12/23
to harbou...@googlegroups.com
Download source code from github

Compile using mingw i686-7.3.0-release-posix-sjlj-rt_v5-rev0

Unrecoverable error 6005: Exception error:


    Exception Code:C0000005 ACCESS_VIOLATION
    Exception Address:0042E876
    EAX:00003120  EBX:00000000  ECX:00000002  EDX:00000001
    ESI:00842374  EDI:007BFB5C  EBP:00841F50
    CS:EIP:0023:0042E876  SS:ESP:002B:007BFAD0
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00010246
    Exception Parameters: 00000000 0000000C
    CS:EIP: 8B 43 0C 89 44 24 30 83 C4 24 5B 5E E9 79 6B FE
    SS:ESP: 00872160 00872160 00000000 004109EA 00872160 00872160
007BFB5C 00495598 0084FB54 00020002 00842374 004025CF
00000000 43D20000 007BFB5C 00000000

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...
    0042E876 00841F50   00842374 00842394 008423B4 008423D4 008423F4
00842414 00842434 00842454 00842474 00842494


Modules:
00400000 001B4000 d:\harbour\contrib\hbhpdf\tests\harupdf.exe
772F0000 001A4000 C:\WINDOWS\SYSTEM32\ntdll.dll
767D0000 000F0000 C:\WINDOWS\System32\KERNEL32.DLL
755C0000 00223000 C:\WINDOWS\System32\KERNELBASE.dll
76950000 0007B000 C:\WINDOWS\System32\ADVAPI32.dll
77140000 000BF000 C:\WINDOWS\System32\msvcrt.dll
76B90000 00076000 C:\WINDOWS\System32\sechost.dll
76AD0000 000BF000 C:\WINDOWS\System32\RPCRT4.dll
752D0000 0019C000 C:\WINDOWS\System32\USER32.dll
75480000 00018000 C:\WINDOWS\System32\win32u.dll
76C90000 00023000 C:\WINDOWS\System32\GDI32.dll
76D70000 000E1000 C:\WINDOWS\System32\gdi32full.dll
76C10000 0007B000 C:\WINDOWS\System32\msvcp_win.dll
754A0000 00120000 C:\WINDOWS\System32\ucrtbase.dll
74050000 00028000 C:\WINDOWS\SYSTEM32\WINMM.DLL
77220000 00025000 C:\WINDOWS\System32\IMM32.DLL

Called from HPDF_PAGE_SETWIDTH(0) in harupdf.prg
Called from PAGE_CODEPAGES(988) in harupdf.prg
Called from DESIGNHARUPDF(162) in harupdf.prg
Called from MAIN(57) in harupdf.prg


José M. C. Quintas




jmcqu...@gmail.com

unread,
Apr 12, 2023, 6:49:46 PM4/12/23
to Harbour Users
HB_BUILD_CONTRIB_DYN=no
HB_BUILD_DYN=no
HB_BUILD_SHARED=no
HB_BUILD_STRIP=all
HB_COMPILER=mingw
HB_INSTALL_PREFIX=d:\harbour
HB_LANG=EN

José M. C. Quintas

jmcqu...@gmail.com

unread,
Apr 12, 2023, 6:59:13 PM4/12/23
to Harbour Users
Same error using nightly version.

José M. C. Quintas

jmcqu...@gmail.com

unread,
Apr 13, 2023, 3:10:29 PM4/13/23
to Harbour Users
This is making me crazy.

source code: d:\github\harbour32
HB_INSTALL_PREFIX: d:\harbour
delete harbour folder, except c compiler, and recreate harbour

compiling \github\harbour32\contrib\hbhpdf\tests\harupdf.prg all ok
compiling \harbour\contrib\hbhpdf\tests\harupdf.prg GPF error

comparing folder source code, all the same.

comparing EXEs

d:\github\harbour32\contrib\hbhpdf\tests>fc harupdf.exe \harbour\contrib\hbhpdf\tests\harupdf.exe
Comparando os arquivos harupdf.exe e \HARBOUR\CONTRIB\HBHPDF\TESTS\HARUPDF.EXE
00000088: B6 A5
000000D8: 68 57

2 bytes differents, do not know if is a normal issue, may be date/time or anything else.

delete EXEs, recompile using -rebuild
works on one folder but not on another.
I never see anything like this.

Check antivírus configuration, to see if any folder is excluded from check, but no folder.


Any suggestion about this?

José M. C. Quintas

jmcqu...@gmail.com

unread,
Apr 13, 2023, 3:52:18 PM4/13/23
to Harbour Users
FOUND IT !!!!!
harupdf test need images but they are not there !!!!!

José M. C. Quintas

Reply all
Reply to author
Forward
0 new messages