Re: Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing

2006-09-15 Thread xin.ye
Hi, Dennis,thank you very much for your advice. You are right. I do make some stupid mistake when I wrap the realloc() function for my os-less platform. But now a new problem has emerged. sqlite3_exec(db, "create table myt(age smallint)", NULL, NULL, NULL); during the parser parsing the above

Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment

2006-09-14 Thread Dennis Cote
Sarah wrote: I'm facing new problems right now. the record cann't be inserted correctly when I execute the following statements. .. char * database = ":memory:"; sqlite3 * db; sqlite3_open(database, &db); sqlite3_exec(db, "create table myt(name varchar(30),age smallint)", NULL, NULL, N

Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment

2006-09-14 Thread Sarah
e3_exec(); Will that affect the execution of parser? a lot of thanks! - Original Message ----- From: "Barrass, Richard" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 12, 2006 7:41 PM Subject: RE: [sqlite] met "ARM7TDMI raised an exception,data abort" when e

Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment

2006-09-14 Thread Sarah
sqlite.org Subject: Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment [forgot to reply to the list] -- Forwarded message -- From: Nuno Lucas <[EMAIL PROTECTED]> Date: Sep 11, 2006 9:07 PM Subject: Re: Re: [

Re: Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment

2006-09-12 Thread Christian Smith
[EMAIL PROTECTED] uttered: I don't think NULL callback and error pointer will be the reason. Because I've seen this kind of usage in the list for several times. Anyway, I'll try later and report the result to the list. If it is a misaligned-pointer problem, what can I do? You say you are u

RE: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment

2006-09-12 Thread Barrass, Richard
now has got the data base up and running on our platform. Richard -Original Message- From: Nuno Lucas [mailto:[EMAIL PROTECTED] Sent: 11 September 2006 21:12 To: sqlite-users@sqlite.org Subject: Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sql

Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment

2006-09-11 Thread Nuno Lucas
[forgot to reply to the list] -- Forwarded message -- From: Nuno Lucas <[EMAIL PROTECTED]> Date: Sep 11, 2006 9:07 PM Subject: Re: Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment To: [EMAIL PROTECT

Re: Re: Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment

2006-09-11 Thread xin.ye
I'm using CodeWarrior for compiling. In setting-->Debugger-->OPT tag, I have selected the least optimization(best debug), and I select optimize for time instead of for space. I have not found anywhere to thoroughly turn off the opt in CodeWarrior. Did I make some stupid mistake? ---

Re: Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment

2006-09-11 Thread xin.ye
I don't think NULL callback and error pointer will be the reason. Because I've seen this kind of usage in the list for several times. Anyway, I'll try later and report the result to the list. If it is a misaligned-pointer problem, what can I do? I don't make any change to the sqlite source cod

Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment

2006-09-11 Thread Nuno Lucas
On 9/11/06, Sarah <[EMAIL PROTECTED]> wrote: During the execution of a test program in an embedded environment, after it goes into sqlite3_exec()-->sqlite3_prepare()-->sqlite3RunParser(&sParse, zSql, &zErrMsg), the debugger pops "the ARM7TDMI raised an exception,data abort" when the following s