[patch_done] Lazarus/FPC x64, fpc 2.6.1, win64 MySQL 64Bit

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

wylton
Senior Boarder
Senior Boarder
Posts: 58
Joined: 14.07.2011, 20:56

Post by wylton »

this from trunk-------------------------------------------------
<-thread-info>
^done,threads=[{id="2",target-id="Thread 4824.0x1544",frame={level="0",addr="0x00000000774c18ca",func="ntdll!ZwWriteFileGather",args=[],from="C:\\Windows\\system32\\ntdll.dll"},state="stopped"},{id="1",target-id="Thread 4824.0x398",frame={level="0",addr="0x00000000006c2118",func="TZMYSQLRESULTSET__OPEN",args=[{name="this",value="0x39a67b8"}],file="D:/lazarus64/components/trunk/src/dbc/ZDbcMySqlResultSet.pas",fullname="D:/lazarus64/components/trunk/src/dbc/ZDbcMySqlResultSet.pas",line="292"},state="stopped"}],current-thread-id="1"
(gdb)
<-stack-list-arguments 1 0 0>
^done,stack-args=[frame={level="0",args=[{name="this",value="<error reading variable>"}]}]
(gdb)
<-stack-list-locals 1>
^done,locals=[{name="I",value="0"},{name="COLUMNINFO",value="0x39a6b98"},{name="FIELDHANDLE",value="0x3de0340"},{name="FIELDFLAGS",value="63"}]
(gdb)
<ptype FPlainDriver.GetFieldDecimals>
&"ptype FPlainDriver.GetFieldDecimals\n"
&"Type IZMYSQLPLAINDRIVER has no component named GetFieldDecimals.\n"
^error,msg="Type IZMYSQLPLAINDRIVER has no component named GetFieldDecimals."
(gdb)
<-data-evaluate-expression parentfp>
^error,msg="No symbol \"parentfp\" in current context."
(gdb)
Last edited by wylton on 25.02.2012, 22:07, edited 3 times in total.
wylton
Senior Boarder
Senior Boarder
Posts: 58
Joined: 14.07.2011, 20:56

Post by wylton »

this is from testing--------------------------------------------
<-thread-info>
^done,threads=[{id="2",target-id="Thread 5324.0x16fc",frame={level="0",addr="0x00000000774c18ca",func="ntdll!ZwWriteFileGather",args=[],from="C:\\Windows\\system32\\ntdll.dll"},state="stopped"},{id="1",target-id="Thread 5324.0x530",frame={level="0",addr="0x00000000006c3d78",func="TZMYSQLRESULTSET__OPEN",args=[{name="this",value="0x3956858"}],file="D:/lazarus64/components/testing/src/dbc/ZDbcMySqlResultSet.pas",fullname="D:/lazarus64/components/testing/src/dbc/ZDbcMySqlResultSet.pas",line="292"},state="stopped"}],current-thread-id="1"
(gdb)
<-stack-list-arguments 1 0 0>
^done,stack-args=[frame={level="0",args=[{name="this",value="<error reading variable>"}]}]
(gdb)
<-stack-list-locals 1>
^done,locals=[{name="I",value="0"},{name="COLUMNINFO",value="0x3956c38"},{name="FIELDHANDLE",value="0x3cd0340"},{name="FIELDFLAGS",value="63"}]
(gdb)
<ptype FPlainDriver.GetFieldLength(FieldHandle)>
&"ptype FPlainDriver.GetFieldLength(FieldHandle)\n"
&"Type IZMYSQLPLAINDRIVER has no component named GetFieldLength(FieldHandle).\n"
^error,msg="Type IZMYSQLPLAINDRIVER has no component named GetFieldLength(FieldHandle)."
(gdb)
<-data-evaluate-expression parentfp>
^error,msg="No symbol \"parentfp\" in current context."
(gdb)
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

wylton, this dump shows me that you're using XE2-64Bit in this case, right?

we've clearly to seperate here. Are the problems of XE2-64 and FPC64 the same? Than we've a DLL-access problem.

Does the trunk work? Yes or No? Are the Problems the same? Which dump is from which compiler?
I know about your bad english. Use a google-translator if you doubt. It's no problem. You are not the only one with these problems...
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
wylton
Senior Boarder
Senior Boarder
Posts: 58
Joined: 14.07.2011, 20:56

Post by wylton »

the before dump is use fpc64(lazarus 64bit)...
Last edited by wylton on 25.02.2012, 23:42, edited 1 time in total.
wylton
Senior Boarder
Senior Boarder
Posts: 58
Joined: 14.07.2011, 20:56

Post by wylton »

Checking project dependencies...
Compiling Project1.dproj (Debug, Win64)
brcc32 command line for "Project1.vrc"
c:\program files (x86)\embarcadero\rad studio\9.0\bin\cgrc.exe -c65001 "Project1.vrc" -foProject1.res
dcc command line for "Project1.dpr"
c:\program files (x86)\embarcadero\rad studio\9.0\bin\dcc64.exe -$O- -$W+ --no-config -M -Q -AGenerics.Collections=System.Generics.Collections;
Generics.Defaults=System.Generics.Defaults;WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG -E.\Win64\Debug
-I"c:\program files (x86)\embarcadero\rad studio\9.0\lib\Win64\release";"C:\Users\Linux\Documents\RAD Studio\9.0\Imports";"c:\program files
(x86)\embarcadero\rad studio\9.0\Imports";"C:\Users\Public\Documents\RAD Studio\9.0\Dcp\Win64";"c:\program files (x86)\embarcadero\rad
studio\9.0\include";"C:\Program Files (x86)\FastReports\LibD16x64";"c:\program files (x86)\embarcadero\rad studio\9.0\RaveReports\Lib64";"C:\Program
Files (x86)\Raize\CS5\Lib\RS-XE2\Win64";D:\linux2\trunk\src\plain;D:\linux2\trunk\src\parsesql;D:\linux2\trunk\src\dbc;D:\linux2\trunk\src\core;
D:\linux2\trunk\src\component;D:\linux2\trunk\packages\delphi16\build -LE"C:\Users\Public\Documents\RAD Studio\9.0\Bpl\Win64"
-LN"C:\Users\Public\Documents\RAD Studio\9.0\Dcp\Win64" -N0.\Win64\Debug -NSWinapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;System;
Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell; -O"c:\program files (x86)\embarcadero\rad studio\9.0\lib\Win64\release";
"C:\Users\Linux\Documents\RAD Studio\9.0\Imports";"c:\program files (x86)\embarcadero\rad studio\9.0\Imports";"C:\Users\Public\Documents\RAD
Studio\9.0\Dcp\Win64";"c:\program files (x86)\embarcadero\rad studio\9.0\include";"C:\Program Files (x86)\FastReports\LibD16x64";"c:\program files
(x86)\embarcadero\rad studio\9.0\RaveReports\Lib64";"C:\Program Files (x86)\Raize\CS5\Lib\RS-XE2\Win64";D:\linux2\trunk\src\plain;
D:\linux2\trunk\src\parsesql;D:\linux2\trunk\src\dbc;D:\linux2\trunk\src\core;D:\linux2\trunk\src\component;D:\linux2\trunk\packages\delphi16\build
-R"c:\program files (x86)\embarcadero\rad studio\9.0\lib\Win64\release";"C:\Users\Linux\Documents\RAD Studio\9.0\Imports";"c:\program files
(x86)\embarcadero\rad studio\9.0\Imports";"C:\Users\Public\Documents\RAD Studio\9.0\Dcp\Win64";"c:\program files (x86)\embarcadero\rad
studio\9.0\include";"C:\Program Files (x86)\FastReports\LibD16x64";"c:\program files (x86)\embarcadero\rad studio\9.0\RaveReports\Lib64";"C:\Program
Files (x86)\Raize\CS5\Lib\RS-XE2\Win64";D:\linux2\trunk\src\plain;D:\linux2\trunk\src\parsesql;D:\linux2\trunk\src\dbc;D:\linux2\trunk\src\core;
D:\linux2\trunk\src\component;D:\linux2\trunk\packages\delphi16\build -U"c:\program files (x86)\embarcadero\rad studio\9.0\lib\Win64\release";
"C:\Users\Linux\Documents\RAD Studio\9.0\Imports";"c:\program files (x86)\embarcadero\rad studio\9.0\Imports";"C:\Users\Public\Documents\RAD
Studio\9.0\Dcp\Win64";"c:\program files (x86)\embarcadero\rad studio\9.0\include";"C:\Program Files (x86)\FastReports\LibD16x64";"c:\program files
(x86)\embarcadero\rad studio\9.0\RaveReports\Lib64";"C:\Program Files (x86)\Raize\CS5\Lib\RS-XE2\Win64";D:\linux2\trunk\src\plain;
D:\linux2\trunk\src\parsesql;D:\linux2\trunk\src\dbc;D:\linux2\trunk\src\core;D:\linux2\trunk\src\component;D:\linux2\trunk\packages\delphi16\build
-V -VN -VR -NB"C:\Users\Public\Documents\RAD Studio\9.0\Dcp\Win64" -NH"C:\Users\Public\Documents\RAD Studio\9.0\hpp" -NO.\Win64\Debug Project1.dpr

[DCC Error] ZDbcAdoResultSet.pas(191): E2064 Left side cannot be assigned to
[DCC Error] ZDbcAdoResultSet.pas(233): E2064 Left side cannot be assigned to
[DCC Warning] ZDbcAdoResultSet.pas(371): W1058 Implicit string cast with potential data loss from 'OleVariant' to 'AnsiString'
[DCC Warning] ZDbcAdoResultSet.pas(688): W1058 Implicit string cast with potential data loss from 'Variant' to 'AnsiString'
[DCC Fatal Error] ZDbcAdoStatement.pas(542): F2063 Could not compile used unit 'ZDbcAdoResultSet.pas'
Failed
Elapsed time: 00:00:00.3
wylton
Senior Boarder
Senior Boarder
Posts: 58
Joined: 14.07.2011, 20:56

Post by wylton »

[DCC Fatal Error] ZPlain.dpk(38): F2048 Bad unit format: 'build\ZPlainDriver.dcu' - Expected version: 23.0, Windows Unicode(x64) Found version: 23.0, Windows Unicode(x86)
wylton
Senior Boarder
Senior Boarder
Posts: 58
Joined: 14.07.2011, 20:56

Post by wylton »

xe2 64bit
You do not have the required permissions to view the files attached to this post.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

The last once seems like wrong settet SearchPathes in your options. For the other problems i've actually no solution...
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
wylton
Senior Boarder
Senior Boarder
Posts: 58
Joined: 14.07.2011, 20:56

Post by wylton »

I hope when you have time can do terminal for X64...
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Nope the next weak not, sorry.. Maybe next weeken wylton?
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
wylton
Senior Boarder
Senior Boarder
Posts: 58
Joined: 14.07.2011, 20:56

Post by wylton »

It does not matter。。and Thank you very much.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

wylton maybe this is the same problem?

http://zeos.firmos.at/viewtopic.php?t=3387

Till next weekend..
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
wylton
Senior Boarder
Senior Boarder
Posts: 58
Joined: 14.07.2011, 20:56

Post by wylton »

yes, is same problem for x64 xe2. 32bit it's working.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

wylton,
we did some FPC2.6 support upgrades. Can you please update your sources and test again? Did the chages help?
Yes or no?

Btw. if XE2 has the same troble it must be somthing in the DLL headers. So we need somebody who can check a configuration like yours. And can you please checkup if anywhere in your system-folder or somewhere else a 32Bit-MySQLLib.dll is present? Please remove this and try again...
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
wylton
Senior Boarder
Senior Boarder
Posts: 58
Joined: 14.07.2011, 20:56

Post by wylton »

I HAVE JOB TODAY.. I TEST LATER..
Locked