[sqlite] Malloc getting segmentation fault in sqlite

2015-12-26 Thread Bart Smissaert
Yes, I did exactly that and posted the log, but it doesn't catch any error. Sofar though I have been unable to log sqlite3.dll. RBS On 26 Dec 2015 8:02 pm, "Keith Medcalf" wrote: > > When the functionis entered, open a file for appending. > Just before each line have it write: > "Just about to e

[sqlite] Malloc getting segmentation fault in sqlite

2015-12-26 Thread Bart Smissaert
Not sure, what is instrumented? RBS On 26 Dec 2015 7:52 pm, "Keith Medcalf" wrote: > > Have you instrumented your code? > > > -Original Message- > > From: sqlite-users-bounces at mailinglists.sqlite.org [mailto:sqlite-users- > > bounces at mailinglists.sqlite.org] On Behalf Of Bart Smiss

[sqlite] Malloc getting segmentation fault in sqlite

2015-12-26 Thread Bart Smissaert
VB6 is the original Visual Basic, unfortunately ditched by MS some years ago and replaced by .Net. Yes, I am sure it is some kind of memory problem, but where (what line) could it possibly occur? All I can think of is this line: sqlite3_result_text lPtr_ObjContext, VarPtr(arrBytes1(0)), lPos - 1,

[sqlite] Malloc getting segmentation fault in sqlite

2015-12-26 Thread Simon Slavin
On 26 Dec 2015, at 5:23pm, Bart Smissaert wrote: >> all is perfectly fine when the SQL statement has only one UDF in it > > Just a correction on this. Have now also seen problems when there is only > one UDF in the SQL statement. > It is not entirely predictable, so sometimes get crash and on o

[sqlite] Malloc getting segmentation fault in sqlite

2015-12-26 Thread Bart Smissaert
> all is perfectly fine when the SQL statement has only one UDF in it Just a correction on this. Have now also seen problems when there is only one UDF in the SQL statement. It is not entirely predictable, so sometimes get crash and on other occasions I don't. RBS On Fri, Dec 25, 2015 at 12:31 P

[sqlite] Malloc getting segmentation fault in sqlite

2015-12-26 Thread Keith Medcalf
When the functionis entered, open a file for appending. Just before each line have it write: "Just about to execute line #" to the file. Flush the file buffers after each write. When your code crashes, open the file with a text editor. The last line of the file will point to the line which ca

[sqlite] Malloc getting segmentation fault in sqlite

2015-12-26 Thread Keith Medcalf
Have you instrumented your code? > -Original Message- > From: sqlite-users-bounces at mailinglists.sqlite.org [mailto:sqlite-users- > bounces at mailinglists.sqlite.org] On Behalf Of Bart Smissaert > Sent: Saturday, 26 December, 2015 12:33 > To: SQLite mailing list > Subject: Re: [sqlite]