mysql_embedded: Unknown error 1146

mysql_embedded: Unknown error 1146

Postby mauri.menabue » Sat Dec 12, 2020 8:59 am

Hi All

I try this sample MySqlMdb.prg

1 - bldmbh mysqlmbd (in folder d:\FWH\samples)

2 - I created the d:\TestMaria folder to hold the Fwh database
with the file 'ErrMsg.sys' Italian version taken from the installation of mariaDB 10.5

3- the program creates the above files but ends without creating the database and its tables
Ib_logfile0, ib_logfile1, ibdata1, DESKTOP-6TKLVCK.err <--- that contains the error : 'mysql_embedded: Unknown error 1146'

4- contents of the file 'hb_out.log'

Application Internal Error - d:\fwh\samples\mysqlmbd.exe
Terminated at: 2020-12-12 09:30:31
Unrecoverable error 6005: Exception error:

Exception Code:C0000005 ACCESS_VIOLATION
Exception Address:5A09C96F
EAX:004B19F0 EBX:004B19F0 ECX:08C483FF EDX:0263F43C
ESI:004B19F0 EDI:00000000 EBP:0019F5F8
CS:EIP:0023:5A09C96F SS:ESP:002B:0019F5D8
DS:002B ES:002B FS:0053 GS:002B
Flags:00210246
Exception Parameters: 00000000 08C48403
CS:EIP: 8B 41 04 FF D0 83 C4 20 0F BE C0 5D C2 0C 00 CC
SS:ESP: 004B19F0 00000003 00000000 00000000 0263F43C 00000021 00000001 00000000 0019F610 5A09C995 004B19F0 0263F43C 00000021 00000000 0019F638 00408A0B

C stack:
EIP: EBP: Frame: OldEBP, RetAddr, Params...
5A09C96F 0019F5F8 0019F610 5A09C995 004B19F0 0263F43C 00000021 00000000
5A09C995 0019F610 0019F638 00408A0B 004B19F0 0263F43C 00000021 0063087D 00000000 008171D0 00000021 0263F43C
00408A0B 0019F638 0019F654 004B1A28 00000031 00000000 02603F64 00000000 00000000
004B1A28 0019F654 0019F768 004AB832 00000002 00631778 00000000 0061D334 00000000 02662C90 02662EF4 02662C90
004AB832 0019F768 0019F778 004078C8 006306FA 0061AED4
004078C8 0019F778 0019F798 004B1BE5 008171D0 00000028 00000000 02603F64 008C0004 0000194C
004B1BE5 0019F798 0019F8AC 004AB8F0 00000001 0062FA4E 00000000 0061B8D4 00000000 00001FF8 00000000 00000000
004AB8F0 0019F8AC 0019F8BC 00407958 006316C3 0061AED4
00407958 0019F8BC 0019F8DC 004B1BE5 008171D0 00000023 00000000 02603F64 00860004 00001AAE
004B1BE5 0019F8DC 0019F9F0 004AB8F0 00000001 0062F513 00000000 0061E5C4 0019F910 5A28AA9A 02662B00 0019F90C
004AB8F0 0019F9F0 0019FA00 004077D8 0062F9FF 0061AED4
004077D8 0019FA00 0019FA20 004B1BE5 008171D0 0000001A 00000000 02603F64 00740004 000017F6
004B1BE5 0019FA20 0019FB34 004AB8F0 00000001 0061F4A0 00000000 0061B044 008171D0 0000003C 01D6B767 841CC200
004AB8F0 0019FB34 0019FB44 00407760 0062F1B7 0061AED4
00407760 0019FB44 0019FB64 004B1BE5 008171D0 00000014 00000000 02603F64 00610004 0000174F
004B1BE5 0019FB64 0019FC78 004AB8F0 00000003 0061F37D 00000000 008171D0 77F44F98 00A800B8 0019FBB4 77E69FA9
004AB8F0 0019FC78 0019FC88 00406BD8 0061F454 0061AED4
00406BD8 0019FC88 0019FCA4 004B1A28 00000006 00000000 02603F64 00000000 000000A7
004B1A28 0019FCA4 0019FDB8 004AB7AF 00000003 005AA366 00000000 008171D0 00B98320 00000000 77EA6244 00BE5FE8
004AB7AF 0019FDB8 0019FDC8 00406BA8 0061F1D8 0061AED4


Modules:
00400000 0044C000 d:\fwh\samples\mysqlmbd.exe
77E20000 001A3000 C:\WINDOWS\SYSTEM32\ntdll.dll
77090000 000F0000 C:\WINDOWS\System32\KERNEL32.DLL
773B0000 00214000 C:\WINDOWS\System32\KERNELBASE.dll
775D0000 0007A000 C:\WINDOWS\System32\ADVAPI32.DLL
77290000 000BF000 C:\WINDOWS\System32\msvcrt.dll
5A080000 00BA0000 d:\fwh\samples\LIBMYSQLD.DLL
76430000 00076000 C:\WINDOWS\System32\sechost.dll
76120000 000C0000 C:\WINDOWS\System32\RPCRT4.dll
76280000 000AF000 C:\WINDOWS\System32\COMDLG32.DLL
77A90000 00281000 C:\WINDOWS\System32\combase.dll
778D0000 00120000 C:\WINDOWS\System32\ucrtbase.dll
75460000 00019000 C:\WINDOWS\SYSTEM32\MPR.DLL
75530000 00008000 C:\WINDOWS\SYSTEM32\VERSION.DLL
76F70000 00088000 C:\WINDOWS\System32\shcore.dll
76C00000 00196000 C:\WINDOWS\System32\USER32.dll
74540000 0008D000 C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.19041.488_none_89e6152f0b32762e\COMCTL32.DLL
77270000 00018000 C:\WINDOWS\System32\win32u.dll
753F0000 0006D000 C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
77860000 00063000 C:\WINDOWS\System32\WS2_32.dll
77A10000 00023000 C:\WINDOWS\System32\GDI32.dll
77190000 000DB000 C:\WINDOWS\System32\gdi32full.dll
77D20000 0007B000 C:\WINDOWS\System32\msvcp_win.dll
77A40000 00045000 C:\WINDOWS\System32\SHLWAPI.dll
764B0000 005B3000 C:\WINDOWS\System32\SHELL32.dll
72650000 00188000 C:\WINDOWS\SYSTEM32\dbghelp.dll
76DA0000 000E3000 C:\WINDOWS\System32\OLE32.DLL
761E0000 00096000 C:\WINDOWS\System32\OLEAUT32.DLL
74D20000 00006000 C:\WINDOWS\SYSTEM32\MSIMG32.DLL
75B90000 00028000 C:\WINDOWS\SYSTEM32\WINMM.DLL
74330000 00167000 C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.19041.685_none_4299dbb28a92ae3e\GDIPLUS.DLL
6E7B0000 0002C000 C:\WINDOWS\SYSTEM32\OLEDLG.DLL
72620000 00026000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
77650000 00025000 C:\WINDOWS\System32\IMM32.DLL
75B10000 00074000 C:\WINDOWS\system32\uxtheme.dll
77780000 000D4000 C:\WINDOWS\System32\MSCTF.dll
73F10000 00094000 C:\WINDOWS\SYSTEM32\TextShaping.dll
75B00000 0000F000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
776E0000 0005D000 C:\WINDOWS\System32\bcryptPrimitives.dll
5BE90000 000BA000 C:\WINDOWS\SYSTEM32\textinputframework.dll
64B90000 0009B000 C:\WINDOWS\System32\CoreMessaging.dll
64910000 0027E000 C:\WINDOWS\System32\CoreUIComponents.dll
74010000 00029000 C:\WINDOWS\SYSTEM32\ntmarta.dll
6F240000 000DE000 C:\WINDOWS\SYSTEM32\wintypes.dll
74D40000 0060A000 C:\WINDOWS\SYSTEM32\windows.storage.dll
741F0000 00024000 C:\WINDOWS\SYSTEM32\Wldp.dll
74690000 00212000 C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.488_none_11b1e5df2ffd8627\comctl32.dll
77010000 0007E000 C:\WINDOWS\System32\clbcatq.dll
6E590000 00170000 C:\WINDOWS\SYSTEM32\WindowsCodecs.dll
779F0000 00019000 C:\WINDOWS\System32\bcrypt.dll
75C00000 0001D000 C:\WINDOWS\SYSTEM32\profapi.dll
5E6B0000 00049000 C:\Windows\System32\thumbcache.dll
5E620000 00083000 C:\WINDOWS\SYSTEM32\policymanager.dll
6EA90000 00065000 C:\WINDOWS\SYSTEM32\msvcp110_win.dll
5C0C0000 00032000 C:\WINDOWS\system32\dataexchange.dll
6FB70000 001E0000 C:\WINDOWS\system32\d3d11.dll
5BF50000 00166000 C:\WINDOWS\system32\dcomp.dll
6FAA0000 000C2000 C:\WINDOWS\system32\dxgi.dll
6EC10000 00191000 C:\WINDOWS\system32\twinapi.appcore.dll
6FDD0000 000C3000 C:\WINDOWS\SYSTEM32\PROPSYS.dll
74000000 0000A000 C:\WINDOWS\SYSTEM32\Secur32.dll
75BC0000 00028000 C:\WINDOWS\SYSTEM32\SSPICLI.DLL
77740000 0003B000 C:\WINDOWS\System32\CFGMGR32.dll
6EDC0000 00009000 C:\WINDOWS\System32\drprov.dll
75C50000 00047000 C:\WINDOWS\System32\WINSTA.dll
6E210000 00013000 C:\WINDOWS\System32\ntlanman.dll
6E1F0000 00019000 C:\WINDOWS\System32\davclnt.dll
6EDB0000 0000A000 C:\WINDOWS\System32\DAVHLPR.dll
73E20000 00010000 C:\WINDOWS\System32\wkscli.dll
727E0000 0000E000 C:\WINDOWS\SYSTEM32\cscapi.dll
74D30000 0000B000 C:\WINDOWS\System32\netutils.dll
6E470000 00093000 C:\Windows\System32\Windows.StateRepositoryPS.dll
6EF80000 0004A000 C:\Windows\System32\Windows.FileExplorer.Common.dll
72BF0000 0022B000 C:\Windows\System32\iertutil.dll
73490000 0001C000 C:\WINDOWS\SYSTEM32\cldapi.dll
73AC0000 00008000 C:\WINDOWS\SYSTEM32\FLTLIB.DLL
6E1D0000 00013000 C:\WINDOWS\system32\mssprxy.dll
73A20000 0009F000 C:\WINDOWS\SYSTEM32\apphelp.dll
6E1B0000 00013000 C:\WINDOWS\system32\NetworkExplorer.dll
6E120000 00046000 C:\Windows\System32\dlnashext.dll
6E0D0000 00049000 C:\Windows\System32\PlayToDevice.dll
6E0B0000 0001B000 C:\Windows\System32\DevDispItemProvider.dll
75A90000 0006A000 C:\WINDOWS\System32\MMDevApi.dll
75C20000 00024000 C:\WINDOWS\System32\DEVOBJ.dll
6F450000 0039F000 C:\Windows\System32\OneCoreUAPCommonProxyStub.dll
6DF90000 00083000 C:\Windows\System32\PortableDeviceApi.dll
75CE0000 00434000 C:\WINDOWS\System32\SETUPAPI.dll
76E90000 00047000 C:\WINDOWS\System32\WINTRUST.dll
76330000 000FF000 C:\WINDOWS\System32\CRYPT32.dll
75BF0000 0000E000 C:\WINDOWS\System32\MSASN1.dll
6EE70000 0005C000 C:\WINDOWS\SYSTEM32\ntshrui.dll
745D0000 0001D000 C:\WINDOWS\SYSTEM32\srvcli.dll
73690000 00008000 C:\Windows\System32\rasadhlp.dll

Called from MYSQL_EXECUTE(0) in .\source\internal\FWMARIA.PRG
Called from FWMARIACONNECTION:EXECUTE_SQL(6476) in .\source\internal\FWMARIA.PRG
Called from FWMARIACONNECTION:EXECUTE(6830) in .\source\internal\FWMARIA.PRG
Called from FWMARIACONNECTION:CREATEDB(6134) in .\source\internal\FWMARIA.PRG
Called from FWMARIACONNECTION:EMBEDDED(5967) in .\source\internal\FWMARIA.PRG
Called from MARIA_EMBEDDED(167) in .\source\internal\FWMARIA.PRG
Called from MARIA_CONNECT(126) in .\source\internal\FWMARIA.PRG
Called from MAIN(34) in mysqlmbd.prg

line 34 is : FWCONNECT oCn HOST cDataFolder LANGFOLDER cLangFolder DATABASE "Fwh"

My version of FWH : FWH 20.08 VersionNo 20081
BCC 7 : Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
HARBOUR : Harbour 3.2.0dev (r2008190002)

TIA
User avatar
mauri.menabue
 
Posts: 155
Joined: Thu Apr 17, 2008 2:38 pm

Re: mysql_embedded: Unknown error 1146

Postby Antonio Linares » Sat Dec 12, 2020 10:17 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 44 guests