Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Martin Schreiber
On Friday 13 April 2012 01:21:06 Patrick Goupell wrote: > I got the latest source from git and compiled the ide. > > My project now works successfully. > > Thank you. So you don't need to know "how can I get the files from the git repository" anymore? Martin

Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-12 Thread Martin Schreiber
On Friday 13 April 2012 00:05:07 Sieghard wrote: > > That's nonsense. Implemented correctly, _any_ index base gives identical > speed - you _don't_ implement it using offset calculation from the first > _existing_ element, but instead, you calculate the offset from a "virtual" > element correspondi

Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Patrick Goupell
I got the latest source from git and compiled the ide. My project now works successfully. Thank you. -- Patrick Goupell Income taxes? See this http://www.truthattack.org or this http://www.whatistaxed.com -- For D

Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-12 Thread Sieghard
Hallo Martin, Du schriebst am Thu, 12 Apr 2012 07:22:32 +0200: > > > MSEgui datasets have a null-based recno already > > > (controller.recnonullbased). > > > > Your tribute to C, I guess. > > I think indexing null or one based should be consistent in a programming Yes, for sure - it should be

Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Patrick Goupell
So what command to I use for git to download the source to my computer? Be specific or I will not be able to get the source. git what "from where" "to me - I set this" On 04/12/2012 05:19 PM, Martin Schreiber wrote: On Thursday 12 April 2012 18:33:29 Patrick Goupell wrote: Project attache

Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Martin Schreiber
On Thursday 12 April 2012 18:33:29 Patrick Goupell wrote: > Project attached. > > Start the program. > > Do a File->Open->Probate, select the probate.sqlite3 file > > it will show the items entered before the error. > > click on Tools->Import->Probate, change the filter to all files, select > the p

Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Martin Schreiber
On Thursday 12 April 2012 18:33:29 Patrick Goupell wrote: > Project attached. > > Start the program. > > Do a File->Open->Probate, select the probate.sqlite3 file > > it will show the items entered before the error. > > click on Tools->Import->Probate, change the filter to all files, select > the p

Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Patrick Goupell
If it will help any, if you comment out the execute statement in the ImportProbate procedure the error will not occur. That might help you in tracking down the problem. On 04/12/2012 12:33 PM, Patrick Goupell wrote: > Project attached. > > Start the program. > > Do a File->Open->Probate, select

Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Martin Schreiber
On Thursday 12 April 2012 17:43:19 Patrick Goupell wrote: > This is what I got, and no, I don't know what all that stuff means. > It means that there is a memory error in Sqlite3 library, probably in a callback. Please send a reproducible testcase, I must check what happens. Martin -

Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Patrick Goupell
This is what I got, and no, I don't know what all that stuff means. HEAPTRC_TRACEFREEMEMSIZE$POINTER$LONGWORD$$LONGWORD() HEAPTRC_TRACEFREEMEM$POINTER$$LONGWORD() ??() ??() ??() sqlite3_clear_bindings() TSQLITE3CONNECTION__RESETSTATEMENT(ASTATEMENT=0x848b9a0, this=) TSQLITE3CONNECTION__INTE

Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Martin Schreiber
On Thursday 12 April 2012 17:08:56 Patrick Goupell wrote: > exactly where do I put that? Somewhere in the settings? Somewhere else? > 'Project'-'Options'-'Make'-'Make options'. I suggest to add it after the probably existing "-gl". The FPC commandline switches are documented here: http://www.fre

Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Patrick Goupell
exactly where do I put that? Somewhere in the settings? Somewhere else? On 04/12/2012 10:46 AM, Martin Schreiber wrote: > On Thursday 12 April 2012 16:36:16 Patrick Goupell wrote: > >> It processed 105 records before failing. >> >> It will read all 3601 records if the execute statement is co

Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Martin Schreiber
On Thursday 12 April 2012 16:36:16 Patrick Goupell wrote: > It processed 105 records before failing. > > It will read all 3601 records if the execute statement is commented out. Compile with heaptrace (-gh), check the stack trace at the exception. -

Re: [MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Patrick Goupell
It processed 105 records before failing. It will read all 3601 records if the execute statement is commented out. -- Patrick Goupell Income taxes? See this http://www.truthattack.org or this http://www.whatistaxed.com -

[MSEide-MSEgui-talk] some type of memory error

2012-04-12 Thread Patrick Goupell
I am getting the following error: signal received. signal: sigsegv, segmentation fault, function system_waitfree_var$pmemchunk_var It occurs in the following code segment: iCount := 0; while not eof (flImport) do begin s := ''; readln (flImport,s);

Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-12 Thread IvankoB
> counting numbers are called "cardinal", while numbering numbers (;) are > called "ordinal". In FPC, the "cardinal" is >=0 (can really be counted on fingers) with twice as higher upper bound. -- For Developers, A Lot

Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-12 Thread IvankoB
> How do you number things? Me guess the best solution is that won't enforce referencing docs & sources whether 0 or 1 :) That's once established system for every case. If 90% is zero based then the remaining 10% should also turn into zero based. -