<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/mdo/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/mdo/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/mdo/bugs/</id><updated>2014-06-25T20:28:13.011000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#32 Error installing  MDO 1.2.4 fpc 2.6.4 Lazarus on Windows 7 64</title><link href="https://sourceforge.net/p/mdo/bugs/32/?limit=25#b5f0" rel="alternate"/><published>2014-06-25T20:28:13.011000Z</published><updated>2014-06-25T20:28:13.011000Z</updated><author><name>Edson Lidorio</name><uri>https://sourceforge.net/u/elidorio/</uri></author><id>https://sourceforge.net805e8881109cd0d9c087c567dfdafc7c72cd43aa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ok this, thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#32 Error installing  MDO 1.2.4 fpc 2.6.4 Lazarus on Windows 7 64</title><link href="https://sourceforge.net/p/mdo/bugs/32/?limit=25#71cd" rel="alternate"/><published>2014-06-25T18:47:36.380000Z</published><updated>2014-06-25T18:47:36.380000Z</updated><author><name>Michal Gawrycki</name><uri>https://sourceforge.net/u/korba812/</uri></author><id>https://sourceforge.netc37c82e92e080823efbd0fed3f3c2103a3445b88</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br /&gt;
Thanks for report.&lt;br /&gt;
Fixed in revision #24. Please test.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Error installing  MDO 1.2.4 fpc 2.6.4 Lazarus on Windows 7 64</title><link href="https://sourceforge.net/p/mdo/bugs/32/" rel="alternate"/><published>2014-06-25T16:50:00.290000Z</published><updated>2014-06-25T16:50:00.290000Z</updated><author><name>Edson Lidorio</name><uri>https://sourceforge.net/u/elidorio/</uri></author><id>https://sourceforge.nete0a5dd202fc0aae44bde931e1ab282a0167cc4d4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;This generating error when installing Lazarus MDO 1.2.4 fpc 2.6.4 on Windows 7 64. &lt;br /&gt;
Please check &lt;/p&gt;
&lt;p&gt;Edson&lt;/p&gt;
&lt;p&gt;H:\Lazarus\componentes pend\MDO\Source\runtime\MDOCustomDataSet.pas(3899,94) Error: Incompatible type for arg no. 1: Got "Double", expected "Int64"&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OnPostError - daAbort</title><link href="https://sourceforge.net/p/mdo/bugs/31/" rel="alternate"/><published>2011-11-24T10:19:28Z</published><updated>2011-11-24T10:19:28Z</updated><author><name>Alexis </name><uri>https://sourceforge.net/u/alexis-e/</uri></author><id>https://sourceforge.net427c28b4c3fa21097dd2c7c875f801a5ce8d13eb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When handling an exception with OnPostError event, we assign DataAction:=daAbort.&lt;br /&gt;
Doing this, posting aborts ok, and MDODataSet continues pointing to the same record (tested with DataSet.Fields[x].Value), but dbaware components (tried with DBGrid and DBEdit) show data from another record.&lt;br /&gt;
Is this an MDO issue? Perhaps another Lazarus unit?&lt;br /&gt;
Thanks&lt;/p&gt;
&lt;p&gt;Environment:&lt;br /&gt;
Lazarus 0.9.31 SVN, fpc 2.4.4, Ubuntu 10.04. Firebird 2.0 super server&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Property Datasource in MDOQuery</title><link href="https://sourceforge.net/p/mdo/bugs/30/" rel="alternate"/><published>2011-01-21T14:11:01Z</published><updated>2011-01-21T14:11:01Z</updated><author><name>Alexis </name><uri>https://sourceforge.net/u/alexis-e/</uri></author><id>https://sourceforge.net83c64b0fee35eb900cf53a8e0d6fb004868ae1c1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When assigned the DataSource property to a MDOQuery, link doesn't work. Error message is "Field xxxx not found", being xxx the parameter name, used to link with parent datasource. Same procedure using MDODataSet works ok.&lt;/p&gt;
&lt;p&gt;Tried on Linux, using Lazarus 0.9.31 (SVN)&lt;br /&gt;
MDO SVN ver. 13&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Crash when SQL at MDOQuery contains parameters</title><link href="https://sourceforge.net/p/mdo/bugs/29/" rel="alternate"/><published>2011-01-12T14:42:04Z</published><updated>2011-01-12T14:42:04Z</updated><author><name>Alexis </name><uri>https://sourceforge.net/u/alexis-e/</uri></author><id>https://sourceforge.net94d0b0d45ea4c748d16dcd1d74b7163a1d615dea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When a TMDOQuery containing parameters is beeing created, this error appears:&lt;br /&gt;
EDatabaseErrorEDatabaseError. Query: Parameter "parametername" not found&lt;br /&gt;
Programa stops at line 343 of MDOQuery&lt;br /&gt;
Procedure TMDOQuery.QueryChanged, line FText := FParams.ParseSQL(SQL.Text, False);&lt;/p&gt;
&lt;p&gt;Environment: Lazarus svn (updated jan 11 2011), FPC 2.4.0.2, Firebird 2.0&lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EAccessViolation</title><link href="https://sourceforge.net/p/mdo/bugs/28/" rel="alternate"/><published>2010-06-15T17:45:44Z</published><updated>2010-06-15T17:45:44Z</updated><author><name>lucas schatz</name><uri>https://sourceforge.net/u/arvanus/</uri></author><id>https://sourceforge.net9b196c96b28113c97c72bdca47423a961c5e7cee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Boa tarde&lt;br /&gt;
Eu estou fazendo um software para sincronização de dados, nele temos algo em torno 300 conexões com vários bancos de dados diferentes, ocasionalmente, ocorre o seguinte erro:&lt;br /&gt;
First chance exception at $7632B727. Exception class EAccessViolation with message 'Access violation at address 00404852 in module 'app.exe'. Read of address 80808080'. Process app.exe (4736)&lt;br /&gt;
esse erro ocorre no seguinte metodo:&lt;br /&gt;
procedure TWriterThread.RemoveFromList;&lt;br /&gt;
begin&lt;br /&gt;
FMsgs.Remove(FMsgs[0]); { Pop the written item }&lt;br /&gt;
end;&lt;/p&gt;
&lt;p&gt;----&lt;/p&gt;
&lt;p&gt;o seguinte erro também ocorreu no seguinte metodo:&lt;br /&gt;
First chance exception at $7632B727. Exception class EAccessViolation with message 'Access violation at address 0040161F in module 'TDRSynchronizer.exe'. Read of address 7E99D010'. Process TDRSynchronizer.exe (4064)&lt;br /&gt;
procedure TWriterThread.WriteSQLData(Msg : String; DataType : TTraceFlag);&lt;br /&gt;
begin&lt;br /&gt;
FMsgs.Add(TTraceObject.Create(Msg, DataType));&lt;br /&gt;
end;&lt;br /&gt;
Dentro do seguinte metodo:&lt;br /&gt;
procedure TMDOSQLMonitorHook.WriteSQLData(Text: String; DataType: TTraceFlag);&lt;br /&gt;
begin&lt;br /&gt;
if not FEventsCreated then&lt;br /&gt;
CreateEvents;&lt;br /&gt;
Text := CRLF + '[Application: ' + Application.Title + ']' + CRLF + Text; {do not localize}&lt;br /&gt;
if not Assigned(FWriterThread) then&lt;br /&gt;
FWriterThread := TWriterThread.Create;&lt;br /&gt;
FWriterThread.WriteSQLData(Text, DataType);&lt;br /&gt;
end;&lt;br /&gt;
dentro de :&lt;br /&gt;
procedure TMDOSQLMonitorHook.TRCommitRetaining(tr: TMDOTransaction);&lt;/p&gt;
&lt;p&gt;Alguém ai ja viu esse erro acontecer?&lt;br /&gt;
precisam de mais informações?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Memory Leak with MDO</title><link href="https://sourceforge.net/p/mdo/bugs/27/" rel="alternate"/><published>2009-04-06T15:33:24Z</published><updated>2009-04-06T15:33:24Z</updated><author><name>John Villar</name><uri>https://sourceforge.net/u/johnvillar/</uri></author><id>https://sourceforge.net64cf6c23a945a28fa65f4034ea48378a96d854b9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, i'm having a memory leak with MDO whenever i open and close a TMDOQuery. The code to test this problem is rather simple:&lt;/p&gt;
&lt;p&gt;for i:=0 to 1000 do begin&lt;br /&gt;
MDOQuery1.Active := true;&lt;br /&gt;
MDOQuery1.Active := false;&lt;br /&gt;
end;&lt;/p&gt;
&lt;p&gt;The query is a simple "SELECT * FROM tabla". Whenever i open and close the query, it leaks between 400 bytes and 12 Kb, which is a lot for my scenario, where i do thousands of queries per minute.&lt;/p&gt;
&lt;p&gt;I'm using MDO-RC2 (Downloaded from SF) with Delphi 5. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Close/Open timing issue</title><link href="https://sourceforge.net/p/mdo/bugs/26/" rel="alternate"/><published>2008-04-19T17:40:05Z</published><updated>2008-04-19T17:40:05Z</updated><author><name>Dave Albiston</name><uri>https://sourceforge.net/u/davealbiston/</uri></author><id>https://sourceforge.netc6edc6369e75faa32e13a3fffb3e8caff2292ce8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If I close a dataset and immediately open it again, it starts a whole cycle of errors and the application has to be killed. &lt;/p&gt;
&lt;p&gt;This happens anywhere I place the 2 commands one after another. If I insert a Sleep(5) command between the close and open there is no problem.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Crash when monitoring statements &gt; 1000 bytes</title><link href="https://sourceforge.net/p/mdo/bugs/25/" rel="alternate"/><published>2007-11-16T10:55:55Z</published><updated>2007-11-16T10:55:55Z</updated><author><name>B. Schulte</name><uri>https://sourceforge.net/u/delta7/</uri></author><id>https://sourceforge.net395e822644c61ebe96f09e45d03588d00cff7541</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When a statement is detected with a text &amp;gt; 1000 bytes, the procedure TWriterThread.WriteToBuffer crashes because the message is deleted a second time by calling&lt;br /&gt;
Synchronize(RemoveFromList).&lt;br /&gt;
..&lt;br /&gt;
I changed the code to this:&lt;br /&gt;
----------------------&lt;br /&gt;
procedure TWriterThread.WriteToBuffer;&lt;br /&gt;
var&lt;br /&gt;
i, len: Integer;&lt;br /&gt;
Text: string;&lt;br /&gt;
begin&lt;br /&gt;
Lock;&lt;br /&gt;
try&lt;br /&gt;
{ If there are no monitors throw out the message&lt;br /&gt;
The alternative is to have messages queue up &lt;br /&gt;
until a monitor is ready.}&lt;/p&gt;
&lt;p&gt;if FMonitorCount^ = 0 then&lt;br /&gt;
Synchronize(RemoveFromList)&lt;br /&gt;
else&lt;br /&gt;
begin&lt;br /&gt;
Text := TTraceObject(FMsgs[0]).FMsg;&lt;br /&gt;
i := 1;&lt;br /&gt;
len := Length(Text);&lt;br /&gt;
FTraceDataType^ := Integer(TTraceObject(FMsgs[0]).FDataType);&lt;br /&gt;
FTimeStamp^ := TTraceObject(FMsgs[0]).FTimeStamp;&lt;/p&gt;
&lt;p&gt;try&lt;br /&gt;
while (len &amp;gt; 0) do begin&lt;br /&gt;
BeginWrite;&lt;br /&gt;
FBufferSize^ := Min(len, cMaxBufferSize);&lt;br /&gt;
Move(Text[i], FBuffer[0], FBufferSize^);&lt;br /&gt;
Inc(i, cMaxBufferSize);&lt;br /&gt;
Dec(len, cMaxBufferSize);&lt;br /&gt;
EndWrite;&lt;br /&gt;
end;&lt;br /&gt;
finally&lt;br /&gt;
{Do this in the main thread so the main thread&lt;br /&gt;
adds and deletes}&lt;br /&gt;
Synchronize(RemoveFromList);&lt;br /&gt;
end;&lt;br /&gt;
end;&lt;br /&gt;
finally&lt;br /&gt;
Unlock;&lt;br /&gt;
end;&lt;br /&gt;
end;&lt;/p&gt;
&lt;p&gt;---------&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>