Access Violation in 64 bit MyDacDemo

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
JamesBrown
Posts: 16
Joined: Thu 28 Apr 2011 23:41

Access Violation in 64 bit MyDacDemo

Post by JamesBrown » Tue 23 Feb 2016 00:04

Windows 10 64 bit development computer
Delphi Seattle compiler
MyDAC86d23pro Seattle.exe

I can compile a 32 bit version of the MySQL Data Access Components demo and it runs as expected.
When I compile 64 bit version I get a run time access violation 'MyDacDemo.exe Read of address 000...0158.
This happens when I open the Apache localhost database from the demo. I get the following from EurekaLog:
EurekaLog 7.4.8.0 RC 1

Exception:
------------------------------------------------------------------------------------------------------------------------
2.2 Address: 0000000000AA63F6
2.5 Type : EAccessViolation
2.6 Message: Access violation at address 0000000000AA63F6 in module 'MyDacDemo.exe'. Read of address 0000000000000158.
2.7 ID : 907C0000
2.11 Sent : 0

User:
-----------------------
3.2 Name : JamesBrown
3.3 Email:

Steps to reproduce:
------------
8.1 Text:


Call Stack Information:
---------------------------------------------------------------------------------------------------------------------------------------------------------------
|Methods |Details|Stack |Address |Module |Offset |Unit |Class |Procedure/Method |Line |
---------------------------------------------------------------------------------------------------------------------------------------------------------------
|*Exception Thread: ID=6548; Parent=0; Priority=0 |
|Class=; Name=MAIN |
|DeadLock=0; Wait Chain= |
|Comment= |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------|
|7FFFFFFE|03 |0000000000000000|0000000000AA63F6|MyDacDemo.exe|00000000006A63F6|DBAccess |TCustomDASQL |WriteParams | |
|00000020|03 |000000000014F558|0000000000A8CFAD|MyDacDemo.exe|000000000068CFAD|DBAccess |TCustomDADataSet |OpenCursor | |
|00000020|03 |000000000014F5D8|0000000000938BA0|MyDacDemo.exe|0000000000538BA0|Data.DB |TDataSet |SetActive | |
|00000020|03 |000000000014F628|0000000000A8CD21|MyDacDemo.exe|000000000068CD21|DBAccess |TCustomDADataSet |SetActive | |
|00000020|03 |000000000014F668|0000000000938910|MyDacDemo.exe|0000000000538910|Data.DB |TDataSet |Open | |
|00000020|04 |000000000014F698|0000000000BC840B|MyDacDemo.exe|00000000007C840B|MasterDetail |TMasterDetailFrame|btOpenClick |90[2] |
|00000020|03 |000000000014F6C8|000000000072DC57|MyDacDemo.exe|000000000032DC57|Vcl.Controls |TControl |Click | |
|00000020|03 |000000000014F708|00000000008D9EF4|MyDacDemo.exe|00000000004D9EF4|Vcl.Buttons |TSpeedButton |Click | |
|00000020|03 |000000000014F738|00000000008D9ECF|MyDacDemo.exe|00000000004D9ECF|Vcl.Buttons |TSpeedButton |MouseUp | |
|00000020|03 |000000000014F788|000000000072E2D4|MyDacDemo.exe|000000000032E2D4|Vcl.Controls |TControl |DoMouseUp | |
|00000020|03 |000000000014F7F8|000000000072E399|MyDacDemo.exe|000000000032E399|Vcl.Controls |TControl |WMLButtonUp | |
|00000020|03 |000000000014F878|000000000040CA1E|MyDacDemo.exe|000000000000CA1E|System |TObject |Dispatch | |
|00000020|03 |000000000014F8C8|000000000072D373|MyDacDemo.exe|000000000032D373|Vcl.Controls |TControl |WndProc | |
|00000020|03 |000000000014FA38|000000000072CE50|MyDacDemo.exe|000000000032CE50|Vcl.Controls |TControl |Perform | |
|00000020|03 |000000000014FA98|000000000073402D|MyDacDemo.exe|000000000033402D|Vcl.Controls |TWinControl |IsControlMouseMsg | |
|00000020|03 |000000000014FB18|0000000000734870|MyDacDemo.exe|0000000000334870|Vcl.Controls |TWinControl |WndProc | |
|00000020|03 |000000000014FBE8|0000000000733C9A|MyDacDemo.exe|0000000000333C9A|Vcl.Controls |TWinControl |MainWndProc | |
|00000020|03 |000000000014FC38|0000000000565294|MyDacDemo.exe|0000000000165294|System.Classes| |StdWndProc | |
|00000020|03 |000000000014FC88|00007FF9EBBD1167|user32.dll |0000000000011167|user32 | | (possible DispatchMessageW+1671)| |
|00000020|03 |000000000014FD78|00007FF9EBBD0C92|user32.dll |0000000000010C92|user32 | | (possible DispatchMessageW+434) | |
|00000020|03 |000000000014FDF8|000000000088509F|MyDacDemo.exe|000000000048509F|Vcl.Forms |TApplication |ProcessMessage | |
|00000020|03 |000000000014FE78|0000000000885113|MyDacDemo.exe|0000000000485113|Vcl.Forms |TApplication |HandleMessage | |
|00000020|03 |000000000014FEE8|00000000008855AF|MyDacDemo.exe|00000000004855AF|Vcl.Forms |TApplication |Run | |
|00000020|04 |000000000014FF28|0000000000BEF818|MyDacDemo.exe|00000000007EF818|MyDacDemo | |Initialization |56[4] |
|00000020|03 |000000000014FF58|00007FF9EC078100|kernel32.dll |0000000000018100|KERNEL32 | |BaseThreadInitThunk | |
---------------------------------------------------------------------------------------------------------------------------------------------------------------

Modules Information:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|Handle |Name |Description |Version |Size |Modified |Path |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|0000000000400000|MyDacDemo.exe | |1.0.0.0 |10212864|2016-02-22 16:01:15|C:\Users\Public\Documents\Devart\MyDAC for RAD Studio 10\Demos\MyDacDemo\ |
|000000000BE80000|nsi.dll |NSI User-mode interface DLL |6.2.10586.0 |24312 |2015-10-29 23:18:03|C:\Windows\System32\ |
|0000000054E50000|mdnsNSP.dll |Bonjour Namespace Provider |3.1.0.1 |133392 |2015-08-12 16:03:42|C:\Program Files\Bonjour\ |
|00007FF9B9F20000|mshtml.dll |Microsoft (R) HTML Viewer |11.0.10586.103 |24603136|2016-01-26 20:54:46|C:\Windows\System32\ |
|00007FF9BF910000|d3d10warp.dll |Direct3D 10 Rasterizer |6.2.10586.0 |2548432 |2015-10-29 23:18:18|C:\Windows\System32\ |
|00007FF9C7CB0000|ieframe.dll |Internet Browser |11.0.10586.103 |13382656|2016-01-26 20:48:43|C:\Windows\System32\ |
|00007FF9C9A20000|msimtf.dll |Active IMM Server DLL |6.2.10586.0 |47616 |2015-10-29 23:18:19|C:\Windows\System32\ |
|00007FF9C9A30000|srpapi.dll |SRP APIs Dll |6.2.10586.0 |115712 |2015-10-29 23:17:52|C:\Windows\System32\ |
|00007FF9D00E0000|dataexchange.dll |Data exchange |6.2.10586.0 |279040 |2015-10-29 23:17:59|C:\Windows\System32\ |
|00007FF9D2530000|dopushlp.dll |Directory Opus 11 Helper Library |5.0.0.0 |427720 |2015-12-17 11:05:52|C:\Program Files\GPSoftware\Directory Opus\ |
|00007FF9D40C0000|msls31.dll |Microsoft Line Services library file |3.10.349.0 |220160 |2015-10-29 23:18:19|C:\Windows\System32\ |
|00007FF9D63E0000|mlang.dll |Multi Language Support DLL |6.2.10586.0 |233472 |2015-10-29 23:18:14|C:\Windows\System32\ |
|00007FF9D6B10000|DWrite.dll |Microsoft DirectX Typography Services |6.2.10586.0 |2445312 |2015-10-29 23:17:58|C:\Windows\System32\ |
|00007FF9DAEF0000|urlmon.dll |OLE32 Extensions for Win32 |11.0.10586.103 |1734656 |2016-01-26 20:38:29|C:\Windows\System32\ |
|00007FF9DC950000|wsock32.dll |Windows Socket 32-Bit DLL |6.2.10586.0 |18432 |2015-10-29 23:17:42|C:\Windows\System32\ |
|00007FF9DCF30000|iertutil.dll |Run time utility for Internet Explorer |11.0.10586.35 |3671888 |2015-12-06 20:46:46|C:\Windows\System32\ |
|00007FF9DD600000|cscapi.dll |Offline Files Win32 API |6.2.10586.0 |52224 |2015-10-29 23:17:48|C:\Windows\System32\ |
|00007FF9DFB60000|wininet.dll |Internet Extensions for Win32 |11.0.10586.103 |2757120 |2016-01-26 20:36:37|C:\Windows\System32\ |
|00007FF9E0780000|mpr.dll |Multiple Provider Router DLL |6.2.10586.0 |101776 |2015-10-29 23:17:43|C:\Windows\System32\ |
|00007FF9E14C0000|browcli.dll |Browser Service Client DLL |6.2.10586.0 |58368 |2015-10-29 23:17:52|C:\Windows\System32\ |
|00007FF9E23C0000|d2d1.dll |Microsoft D2D Library |6.2.10586.71 |5503488 |2016-01-15 21:17:08|C:\Windows\System32\ |
|00007FF9E2FE0000|rasadhlp.dll |Remote Access AutoDial Helper |6.2.10586.71 |17408 |2016-01-15 21:44:20|C:\Windows\System32\ |
|00007FF9E48A0000|wkscli.dll |Workstation Service Client DLL |6.2.10586.0 |78040 |2015-10-29 23:17:52|C:\Windows\System32\ |
|00007FF9E48C0000|davhlpr.dll |DAV Helper DLL |6.2.10586.0 |27136 |2015-10-29 23:17:48|C:\Windows\System32\ |
|00007FF9E48E0000|winspool.drv |Windows Spooler Driver |6.2.10586.11 |517632 |2015-12-17 08:31:25|C:\Windows\System32\ |
|00007FF9E4970000|comctl32.dll |User Experience Controls Library |6.10.10586.0 |2555744 |2015-10-29 23:18:14|C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10586.0_none_8c15ae12515e1c22\|
|00007FF9E4CD0000|version.dll |Version Checking and File Installation Libraries |6.2.10586.0 |31528 |2015-10-29 23:18:17|C:\Windows\System32\ |
|00007FF9E4D00000|FWPUCLNT.DLL |FWP/IPsec User-Mode API |6.2.10586.0 |402432 |2015-10-29 23:18:01|C:\Windows\System32\ |
|00007FF9E6F30000|secur32.dll |Security Support Provider Interface |6.2.10586.0 |28160 |2015-10-29 23:17:52|C:\Windows\System32\ |
|00007FF9E7030000|IPHLPAPI.DLL |IP Helper API |6.2.10586.0 |219040 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9E7FE0000|dxgi.dll |DirectX Graphics Infrastructure |6.2.10586.0 |651840 |2015-10-29 23:17:58|C:\Windows\System32\ |
|00007FF9E82A0000|d3d11.dll |Direct3D 11 Runtime |6.2.10586.17 |2772584 |2015-11-22 02:24:14|C:\Windows\System32\ |
|00007FF9E8600000|dwmapi.dll |Microsoft Desktop Window Manager API |6.2.10586.0 |107520 |2015-10-29 23:17:58|C:\Windows\System32\ |
|00007FF9E8760000|propsys.dll |Microsoft Property System |7.0.10586.0 |1603224 |2015-10-29 23:17:59|C:\Windows\System32\ |
|00007FF9E88F0000|wtsapi32.dll |Windows Remote Desktop Session Host Server SDK APIs|6.2.10586.0 |64624 |2015-10-29 23:18:17|C:\Windows\System32\ |
|00007FF9E8CE0000|dcomp.dll |Microsoft DirectComposition Library |6.2.10586.11 |911648 |2015-12-17 08:31:24|C:\Windows\System32\ |
|00007FF9E9100000|uxtheme.dll |Microsoft UxTheme Library |6.2.10586.0 |589312 |2015-10-29 23:18:15|C:\Windows\System32\ |
|00007FF9E91A0000|dnsapi.dll |DNS Client API DLL |6.2.10586.0 |686984 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9E92A0000|twinapi.appcore.dll |twinapi.appcore |6.2.10586.0 |1040792 |2015-10-29 23:17:59|C:\Windows\System32\ |
|00007FF9E9500000|fwbase.dll |Firewall Base DLL |6.2.10586.0 |184320 |2015-10-29 23:17:59|C:\Windows\System32\ |
|00007FF9E9A20000|winsta.dll |Winstation Library |6.2.10586.0 |332656 |2015-10-29 23:18:17|C:\Windows\System32\ |
|00007FF9E9BF0000|netutils.dll |Net Win32 API Helpers DLL |6.2.10586.0 |42352 |2015-10-29 23:17:53|C:\Windows\System32\ |
|00007FF9EA0B0000|mswsock.dll |Microsoft Windows Sockets 2.0 Service Provider |6.2.10586.0 |357216 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9EA380000|bcrypt.dll |Windows Cryptographic Primitives Library |6.2.10586.0 |159648 |2015-10-29 23:17:53|C:\Windows\System32\ |
|00007FF9EA490000|sspicli.dll |Security Support Provider Interface |6.2.10586.0 |175120 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9EA640000|sxs.dll |Fusion 2.5 |6.2.10586.0 |622912 |2015-10-29 22:28:34|C:\Windows\System32\ |
|00007FF9EA780000|powrprof.dll |Power Profile Helper DLL |6.2.10586.0 |294472 |2015-10-29 23:17:48|C:\Windows\System32\ |
|00007FF9EA7D0000|kernel.appcore.dll |AppModel API Host |6.2.10586.0 |45016 |2015-10-29 23:17:47|C:\Windows\System32\ |
|00007FF9EA7E0000|profapi.dll |User Profile Basic API |6.2.10586.0 |68752 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9EA800000|msasn1.dll |ASN.1 Runtime APIs |6.2.10586.0 |60440 |2015-10-29 23:17:52|C:\Windows\System32\ |
|00007FF9EA810000|windows.storage.dll |Microsoft WinRT Storage API |6.2.10586.103 |6605544 |2016-01-26 21:45:05|C:\Windows\System32\ |
|00007FF9EAEC0000|netapi32.dll |Net Win32 API DLL |6.2.10586.0 |80640 |2015-10-29 23:17:53|C:\Windows\System32\ |
|00007FF9EAEE0000|crypt32.dll |Crypto API32 |6.2.10586.0 |1847520 |2015-10-29 23:17:53|C:\Windows\System32\ |
|00007FF9EB0B0000|bcryptPrimitives.dll|Windows Cryptographic Primitives Library |6.2.10586.0 |431296 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9EB1D0000|SHCore.dll |SHCORE |6.2.10586.0 |726288 |2015-10-29 23:18:16|C:\Windows\System32\ |
|00007FF9EB290000|FirewallAPI.dll |Windows Firewall API |6.2.10586.0 |526336 |2015-10-29 23:17:59|C:\Windows\System32\ |
|00007FF9EB320000|KERNELBASE.dll |Windows NT BASE API Client DLL |6.2.10586.103 |1997328 |2016-01-26 22:01:28|C:\Windows\System32\ |
|00007FF9EB510000|cfgmgr32.dll |Configuration Manager DLL |6.2.10586.0 |264488 |2015-10-29 23:17:50|C:\Windows\System32\ |
|00007FF9EB560000|rpcrt4.dll |Remote Procedure Call Runtime |6.2.10586.0 |1162144 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9EB680000|combase.dll |Microsoft COM for Windows |6.2.10586.103 |2606824 |2016-01-26 21:46:42|C:\Windows\System32\ |
|00007FF9EB900000|advapi32.dll |Advanced Windows 32 Base API |6.2.10586.63 |671472 |2016-01-04 18:50:11|C:\Windows\System32\ |
|00007FF9EB9B0000|gdi32.dll |GDI Client DLL |6.2.10586.63 |1594408 |2016-01-04 18:27:02|C:\Windows\System32\ |
|00007FF9EBBA0000|imagehlp.dll |Windows NT Image Helper |6.2.10586.0 |101776 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9EBBC0000|user32.dll |Multi-User Windows USER API Client DLL |6.2.10586.20 |1399224 |2015-11-24 02:26:50|C:\Windows\System32\ |
|00007FF9EBD80000|comdlg32.dll |Common Dialogs DLL |6.2.10586.0 |1063936 |2015-10-29 23:18:14|C:\Windows\System32\ |
|00007FF9EBEA0000|psapi.dll |Process Status Helper |6.2.10586.0 |18656 |2015-10-29 23:17:50|C:\Windows\System32\ |
|00007FF9EC060000|kernel32.dll |Windows NT BASE API Client DLL |6.2.10586.0 |705584 |2015-10-29 23:17:46|C:\Windows\System32\ |
|00007FF9EC110000|shell32.dll |Windows Shell Common Dll |6.2.10586.103 |22564328|2016-01-26 21:45:48|C:\Windows\System32\ |
|00007FF9ED670000|oleaut32.dll | |6.2.10586.0 |785088 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9ED750000|shlwapi.dll |Shell Light-weight Utility Library |6.2.10586.0 |332104 |2015-10-29 23:18:14|C:\Windows\System32\ |
|00007FF9EDC50000|sechost.dll |Host for SCM/SDDL/LSA Lookup APIs |6.2.10586.0 |371360 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9EDCB0000|msvcrt.dll |Windows NT CRT DLL |7.0.10586.0 |633760 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9EDD50000|ws2_32.dll |Windows Socket 2.0 32-Bit DLL |6.2.10586.0 |430816 |2015-10-29 23:18:03|C:\Windows\System32\ |
|00007FF9EDDC0000|clbcatq.dll |COM+ Configuration Catalog |2001.12.10941.16384|662704 |2015-10-29 23:17:51|C:\Windows\System32\ |
|00007FF9EDE70000|imm32.dll |Multi-User Windows IMM32 API Client DLL |6.2.10586.0 |230416 |2015-10-29 23:17:58|C:\Windows\System32\ |
|00007FF9EDEB0000|msctf.dll |MSCTF Server DLL |6.2.10586.71 |1415200 |2016-01-15 22:12:49|C:\Windows\System32\ |
|00007FF9EE010000|ole32.dll |Microsoft OLE for Windows |6.2.10586.0 |1322240 |2015-10-29 23:17:51|C:\Windows\System32\ |
|00007FF9EE160000|ntdll.dll |NT Layer DLL |6.2.10586.103 |1819720 |2016-01-26 22:01:16|C:\Windows\System32\ |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Processes Information:
----------------------


Assembler Information:
----------------------------------------------------------------------------------------------------------------------------------
; Base Address: $AA6000, Allocation Base: $400000, Region Size: 1351680
; Allocation Protect: PAGE_EXECUTE_WRITECOPY, Protect: PAGE_EXECUTE_READ
; State: MEM_COMMIT, Type: MEM_IMAGE
;
;
; DBAccess.TCustomDASQL.WriteParams (Line=0 - Offset=201)
; -------------------------------------------------------
0000000000AA63B9 4885FF TEST RDI, RDI
0000000000AA63BC 751B JNZ +$1B ; ($0000000000AA63D9) DBAccess.TCustomDASQL.WriteParams (Line=0)
0000000000AA63BE 488B442420 MOV RAX, [RSP+$20]
0000000000AA63C3 488B80D8000000 MOV RAX, [RAX+$000000D8]
0000000000AA63CA 4889C1 MOV RCX, RAX
0000000000AA63CD 488B00 MOV RAX, [RAX]
0000000000AA63D0 FF90E8000000 CALL QWORD PTR [RAX+$000000E8]
0000000000AA63D6 4889C7 MOV RDI, RAX
0000000000AA63D9 488B4C2420 MOV RCX, [RSP+$20]
0000000000AA63DE 4889FA MOV RDX, RDI
0000000000AA63E1 4989F0 MOV R8, RSI
0000000000AA63E4 488B442420 MOV RAX, [RSP+$20]
0000000000AA63E9 488B00 MOV RAX, [RAX]
0000000000AA63EC 4889442438 MOV [RSP+$38], RAX
0000000000AA63F1 4C8B742428 MOV R14, [RSP+$28]
;
; Line=0 - Offset=262
; -------------------
0000000000AA63F6 41FF9658010000 CALL QWORD PTR [R14+$00000158] ; <-- EXCEPTION
0000000000AA63FD 84DB TEST BL, BL
0000000000AA63FF 7419 JZ +$19 ; ($0000000000AA641A) DBAccess.TCustomDASQL.WriteParams (Line=0)
0000000000AA6401 488B4C2420 MOV RCX, [RSP+$20]
0000000000AA6406 4889FA MOV RDX, RDI
0000000000AA6409 4989F0 MOV R8, RSI
0000000000AA640C 488B442420 MOV RAX, [RSP+$20]
0000000000AA6411 488B30 MOV RSI, [RAX]
0000000000AA6414 FF9660010000 CALL QWORD PTR [RSI+$00000160]
0000000000AA641A 4183C501 ADD R13D, 1
0000000000AA641E 8B442434 MOV EAX, [RSP+$34]
0000000000AA6422 443BE8 CMP R13D, EAX
0000000000AA6425 0F850AFFFFFF JNZ -$F6 ; ($0000000000AA6335) DBAccess.TCustomDASQL.WriteParams (Line=0)
0000000000AA642B 90 NOP
0000000000AA642C 488B442420 MOV RAX, [RSP+$20]
0000000000AA6431 488B8090000000 MOV RAX, [RAX+$00000090]
0000000000AA6438 80783901 CMP BYTE PTR [RAX+$39], 1

Registers:
---------------------------------------------
RAX: 0000000000B91460 RDI: 000000000A3444B0
RBX: 0000000000000001 RSI: 000000000A388190
RCX: 000000000698FFA0 RBP: 000000000014F560
RDX: 000000000A3444B0 RSP: 000000000014F4F0
R8 : 000000000A388190 R9 : 0000000000000003
R10: 000000000000000A R11: 00007FF9EE160000
R12: 0000000000000000 R13: 0000000000000000
R14: 0000000000000000 R15: 0000000000000202
RIP: 0000000000AA63F6 FLG: 0000000000010202
EXP: 0000000000AA63F6 STK: 000000000014F4F0

Stack: Memory Dump:
---------------------------------- -----------------------------------------------------------------------------------
000000000686E358: 0000000000000000 0000000000AA63F6: 41 FF 96 58 01 00 00 84 DB 74 19 48 8B 4C 24 20 A..X.....t.H.L$
000000000686E350: 0000000002BCAB90 0000000000AA6406: 48 89 FA 49 89 F0 48 8B 44 24 20 48 8B 30 FF 96 H..I..H.D$ H.0..
000000000686E348: 0000000000A8CFB3 0000000000AA6416: 60 01 00 00 41 83 C5 01 8B 44 24 34 44 3B E8 0F `...A....D$4D;..
000000000686E340: 0000000000000000 0000000000AA6426: 85 0A FF FF FF 90 48 8B 44 24 20 48 8B 80 90 00 ......H.D$ H....
000000000686E338: 00000000008D9DB0 0000000000AA6436: 00 00 80 78 39 01 74 53 EB 2B 48 8B 44 24 20 48 ...x9.tS.+H.D$ H
000000000686E330: 000000000014F5B0 0000000000AA6446: 8B 80 D8 00 00 00 48 8B 48 50 48 8B 44 24 20 48 ......H.HPH.D$ H
000000000686E328: 0000000000000001 0000000000AA6456: 8B 80 D8 00 00 00 48 8B 40 50 8B 50 10 83 EA 01 [email protected]....
000000000686E320: 0000000000B91460 0000000000AA6466: E8 35 97 A9 FF 48 8B 44 24 20 48 8B 88 90 00 00 .5...H.D$ H.....
000000000686E318: 0000000000B91460 0000000000AA6476: 00 E8 34 CF A9 FF 48 8B 4C 24 20 48 8B 89 D8 00 ..4...H.L$ H....
000000000686E310: 0000000100000000 0000000000AA6486: 00 00 48 8B 49 50 3B 41 10 7C AF 48 8B 44 24 20 ..H.IP;A.|.H.D$
000000000686E308: 0000000000000000 0000000000AA6496: 48 8B 80 90 00 00 00 C6 40 39 00 48 83 C4 40 5B [email protected]..@[
000000000686E300: 000000000698FFA0 0000000000AA64A6: 5E 5F 41 5D 41 5E C3 CC CC CC 55 41 55 57 56 53 ^_A]A^....UAUWVS
000000000686E2F8: 0000000000000000 0000000000AA64B6: 48 83 EC 60 48 8B EC 48 89 4D 20 48 8D 7D 28 33 H..`H..H.M H.}(3
000000000686E2F0: 0000000000000000 0000000000AA64C6: C0 48 AB 48 AB 48 AB 48 8D 7D 48 33 C0 48 AB 48 .H.H.H.H.}H3.H.H
000000000686E2E8: 0000000000A962F1 0000000000AA64D6: AB 48 AB 90 48 8B 45 20 48 83 B8 D8 00 00 00 00 .H..H.E H.......
000000000686E2E0: 0000000000B8A798 0000000000AA64E6: 75 1A 48 8D 0D 99 01 00 00 48 8D 15 C2 01 00 00 u.H......H......

JamesBrown
Posts: 16
Joined: Thu 28 Apr 2011 23:41

Re: Access Violation in 64 bit MyDacDemo

Post by JamesBrown » Tue 23 Feb 2016 00:08

This only seems to happen when I run the MasterDetail section of the demo.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Access Violation in 64 bit MyDacDemo

Post by ViktorV » Wed 24 Feb 2016 08:49

This error is not related to MyDAC functionality, but is a known bug of the Win64 compiler. Win64 compilers sometimes generate different code for the same input data. To resolve the issue, you should rebuild the project until the issue disappears. See more details about this at: h[url]ttps://quality.embarcadero.com/browse/RSP-12512[/url]
Currently, Embarcadero has released a hot-fix for the x64 compiler. It might solve the issue.
For Professional editions: http://cc.embarcadero.com/item/30428
For Enterprise and higher editions: http://cc.embarcadero.com/item/30429

Post Reply