cancel
Showing results for 
Search instead for 
Did you mean: 

Error 6005: Exception error in ADS 11.10.0.24

paola_bruccoleri
Explorer
0 Kudos

Hello everyone
I return with the same error as it keeps appearing and the solution can not be found.
It only happens on a client machine with win7. The server is Win 1012 R2.

When I look at the detail of the dll, they are:

Modules:
00400000 00508000 Z: \ Marcre \ marlibsuc.EXE
77B20000 0016F000 C: \ Windows \ SYSTEM32 \ ntdll.dll
77660000 00140000 C: \ Windows \ SYSTEM32 \ KERNEL32.DLL
75A00000 000D7000 C: \ Windows \ SYSTEM32 \ KERNELBASE.dll
.....

In the image that I attached, when the program cancels, the problem is in the ntdll.dll file.

Is it a problem in installing the windows of that machine?
Thank you very much

Accepted Solutions (1)

Accepted Solutions (1)

michael_loop
Contributor
0 Kudos

Paula,

I stumbled upon this: http://devzone.advantagedatabase.com/dz/Content.aspx?Key=17ℜfNo=101230-2385 . It confirms that the error is related to reading the exe into memory, but puts the focus on the OS and networking protocols.This KB article from Microsoft https://support.microsoft.com/en-us/help/2704157/vfp-the-c0000006-error-and-troubleshooting-suggesti... also has some helpful hints.

Answers (6)

Answers (6)

paola_bruccoleri
Explorer
0 Kudos

Hello Michael
thanks for your answer. I will investigate the subject in harbor. I will return if I get an answer.
Many greetings

michael_loop
Contributor
0 Kudos

I'm sorry, I answered this a few days ago, but apparently my answer wasn't saved.

All of the errors on the server side are 6624, "A WinSock virtual circuit was reset remotely". This indicates that nothing bad happened on the server side except for a lost connection. This indicates that the application crash is not resulting from an issue with the database.

The link I provided earlier was focused on Delphi, not Harbour, but one thread seems promising. Apparently the error can occur if the application is not read completely into memory. Delphi has a setting to force this, maybe Harbour does too?

The ads_err.dbf file is only written to if a fatal error occurs on startup before the server is able to open a table for writing. If you had no such fatal errors, nothing would be written to this file.

paola_bruccoleri
Explorer
0 Kudos

Hello Michael

Sorry for the confusion. The error shown happened on 9/14 at 10:50:55 and the file c:\ ADS_ERR.ADT has the records that I have exported to ads-err-140918.txt that I attached. Do not see any error code 6 😞

The file ads_err.dbf is also in c:\ but does not record records for a year (I do not know why)

Very thanks

michael_loop
Contributor
0 Kudos

I was hoping to see the relevant lines from your Advantage error log (ads_err.*), not Harbour. By default, these would be in the root of C:\ drive on the server machine, or /var/log/advantage on Linux. Linux would also have the files ads_log.txt and assert.log if fatal errors or assertion failures have occurred. These may also provide insight into the problem.

paola_bruccoleri
Explorer
0 Kudos

Hello Michael

Thanks for your quick response. The application is developed in Harbor 3.2 and the error (full text) is as follows. It is happening in a single executable on a machine. It is usually in a DbCommit operation (recording of records from the buffer to disk is forced).

I will read carefully the post that you indicate to me. Best regards!

Application Internal Error - Z:\Marcre\marlibsuc.EXE
Terminated at: 2018-09-14 10:50:55
Error irrecuperable 6005: Exception error:

Exception Code:C0000006 IN_PAGE_ERROR
Exception Address:121C44A0
EAX:022A7590 EBX:003B2CEC ECX:0028FFCC EDX:12262D40
ESI:00000001 EDI:00000003 EBP:008EF14C
CS:EIP:0023:121C44A0 SS:ESP:002B:0028F71C
DS:002B ES:002B FS:0053 GS:002B
Flags:00010202
Exception Parameters: 00000008 121C44A0 C00000C4
CS:EIP:
SS:ESP: 00587F5F 022A7590 0000001D 00813126 FFFFFFFF 0081311D 0000004E 00000001 004571BE 003B2CEC 00000001 00377744 00522ACC 00377744 0081311C 00000001

C stack:
EIP: EBP: Frame: OldEBP, RetAddr, Params...


Modules:
00400000 00508000 Z:\Marcre\marlibsuc.EXE
77B20000 0016F000 C:\Windows\SYSTEM32\ntdll.dll
77660000 00140000 C:\Windows\SYSTEM32\KERNEL32.DLL
75A00000 000D7000 C:\Windows\SYSTEM32\KERNELBASE.dll
728B0000 00017000 C:\Windows\SYSTEM32\tsappcmp.dll
75700000 000C3000 C:\Windows\SYSTEM32\msvcrt.dll
75DB0000 0017D000 C:\Windows\SYSTEM32\combase.dll
75F70000 000BA000 C:\Windows\SYSTEM32\RPCRT4.dll
76030000 00153000 C:\Windows\SYSTEM32\USER32.dll
775E0000 0007C000 C:\Windows\SYSTEM32\ADVAPI32.dll
77990000 0001E000 C:\Windows\SYSTEM32\SspiCli.dll
75B30000 0010E000 C:\Windows\SYSTEM32\GDI32.dll
757D0000 00041000 C:\Windows\SYSTEM32\sechost.dll
75300000 0000A000 C:\Windows\SYSTEM32\CRYPTBASE.dll
752A0000 00054000 C:\Windows\SYSTEM32\bcryptPrimitives.dll
75630000 00027000 C:\Windows\system32\IMM32.DLL
77870000 00112000 C:\Windows\SYSTEM32\MSCTF.dll
12170000 0019F000 Z:\Marcre\ace32.dll
72550000 00089000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17810_none_7c5b6194aa0716f1\COMCTL32.DLL
75530000 0009B000 C:\Windows\SYSTEM32\COMDLG32.DLL
73DF0000 00020000 C:\Windows\SYSTEM32\IPHLPAPI.DLL
6B240000 000A0000 Z:\Marcre\libcurl.dll
728A0000 00006000 C:\Windows\SYSTEM32\MSIMG32.DLL
75310000 00129000 C:\Windows\SYSTEM32\ole32.dll
75660000 00097000 C:\Windows\SYSTEM32\OLEAUT32.dll
76320000 012BB000 C:\Windows\SYSTEM32\SHELL32.dll
72780000 00023000 C:\Windows\SYSTEM32\WINMM.DLL
71F30000 00065000 C:\Windows\SYSTEM32\WINSPOOL.DRV
77810000 0004F000 C:\Windows\SYSTEM32\WS2_32.dll
73410000 00008000 C:\Windows\SYSTEM32\VERSION.dll
73DC0000 00016000 C:\Windows\SYSTEM32\MPR.dll
73DB0000 00008000 C:\Windows\SYSTEM32\WSOCK32.dll
76190000 00188000 C:\Windows\SYSTEM32\CRYPT32.dll
755F0000 0003D000 C:\Windows\SYSTEM32\WINTRUST.dll
75AE0000 00045000 C:\Windows\SYSTEM32\SHLWAPI.dll
77860000 00007000 C:\Windows\SYSTEM32\NSI.dll
73DE0000 00008000 C:\Windows\SYSTEM32\WINNSI.DLL
777B0000 00054000 C:\Windows\SYSTEM32\wldap32.dll
69540000 00045000 Z:\Marcre\libidn-11.dll
63000000 001A9000 Z:\Marcre\LIBEAY32.dll
6E400000 0005F000 Z:\Marcre\SSLEAY32.dll
62E80000 00023000 Z:\Marcre\zlib1.dll
72750000 00023000 C:\Windows\SYSTEM32\WINMMBASE.dll
75830000 0000E000 C:\Windows\SYSTEM32\MSASN1.dll
75F30000 0003C000 C:\Windows\SYSTEM32\cfgmgr32.dll
729D0000 00021000 C:\Windows\SYSTEM32\DEVOBJ.dll
742A0000 0008B000 C:\Windows\SYSTEM32\SHCORE.DLL
72510000 00009000 C:\Windows\System32\drprov.dll
72340000 00045000 C:\Windows\System32\WINSTA.dll
724F0000 00012000 C:\Windows\System32\ntlanman.dll
73BE0000 00011000 C:\Windows\System32\wkscli.dll
724E0000 0000F000 C:\Windows\SYSTEM32\cscapi.dll
73C20000 0000A000 C:\Windows\System32\netutils.dll
72CC0000 00019000 C:\Windows\SYSTEM32\CRYPTSP.dll
72C90000 00030000 C:\Windows\system32\rsaenh.dll
72B20000 0001E000 C:\Windows\SYSTEM32\bcrypt.dll
755D0000 00014000 C:\Windows\SYSTEM32\imagehlp.dll
71FC0000 000ED000 C:\Windows\system32\uxtheme.dll
187B0000 00039000 Z:\Marcre\axcws32.dll
751E0000 00009000 C:\Windows\SYSTEM32\kernel.appcore.dll
72200000 0013A000 C:\Windows\SYSTEM32\PROPSYS.dll
754A0000 0008D000 C:\Windows\SYSTEM32\clbcatq.dll
73E20000 0000F000 C:\Windows\SYSTEM32\profapi.dll
750A0000 0000A000 C:\Windows\SYSTEM32\Secur32.dll
72BB0000 000A0000 C:\Windows\system32\apphelp.dll
723F0000 0007E000 C:\Windows\SYSTEM32\vbscript.dll
71E80000 0007E000 C:\Windows\SYSTEM32\sxs.dll

Called from DBCOMMITALL(0)
Called from ALTAMODCLIENTES(290) in F:\ah\Marcrefe\CLI.PRG
Called from CONSVALES3(846) in F:\ah\Marcrefe\VAL18.PRG
Called from (b)MENUCREATE(184) in F:\ah\Marcrefe\marlibsuc.prg
Called from HBMENUSYS:EXECUTE(585) in F:\ah\Marcrefe\tmenusys_mod.prg
Called from HBMENUSYS:MODAL(328) in F:\ah\Marcrefe\tmenusys_mod.prg
Called from MENUMODAL(0) in ../../../menusys.prg
Called from MAIN(146) in F:\ah\Marcrefe\marlibsuc.prg
------------------------------------------------------------------------

michael_loop
Contributor
0 Kudos

Error 6005 is not documented, and I have not been able to find any previous reports of this error. In your Advantage error log, you will probably find three related lines, one with a Windows or networking error and two with similar ADS errors. Could you copy and paste these lines?

Your screenshot includes: Codigo de exceptión: c0000006, so if you see Error_Code: 6 in your error log, it is probably the start of the error. c0000006 means "The handle is invalid". This Stackoverflow post suggests some interpretations of this error.

Many of the error codes starting with 60 refer to problems with indexes and AOFs, if that helps.