Re: [sqlite] TCL Test failures on ARM

2013-03-14 Thread bkk
Does it have anything to do with platform ? i am not sure though , because i am new to ARM and sqlite. Thanks Brijesh -- View this message in context: http://sqlite.1065341.n5.nabble.com/TCL-Test-failures-on-ARM-tp67612p67709.html Sent from the SQLite mailing list archive at Nabble.com.

Re: [sqlite] TCL Test failures on ARM

2013-03-14 Thread bkk
Appreciate if someone can point out what’s going wrong with these tests -- View this message in context: http://sqlite.1065341.n5.nabble.com/TCL-Test-failures-on-ARM-tp67612p67707.html Sent from the SQLite mailing list archive at Nabble.com. ___

Re: [sqlite] TCL Test failures on ARM

2013-03-13 Thread bkk
below is the backtrace after first hit at robust_ftruncate() (first hit after ts_ftruncate()) Breakpoint 1, ts_ftruncate (fd=5, n=297136) at ./src/test_syscall.c:273 273 if( tsIsFailErrno("ftruncate") ){ (gdb) break robust_ftruncate Breakpoint 2 at 0x66b14: file sqlite3.c, line 23589.

Re: [sqlite] TCL Test failures on ARM

2013-03-13 Thread bkk
Details provided helps to understand the problem ? while executing below line the failures are created. "faultsim_test_result {0 {abc def ghi truncate abc def ghi jkl mno pqr 2}}" i tried debugging this issue but could not really succeed. Thank you Brijesh -- View this message in context:

Re: [sqlite] TCL Test failures on ARM

2013-03-13 Thread bkk
Above code / details helps to understand the problem ??? -- View this message in context: http://sqlite.1065341.n5.nabble.com/TCL-Test-failures-on-ARM-tp67612p67699.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users

Re: [sqlite] TCL Test failures on ARM

2013-03-13 Thread bkk
Hi, Below is the code sequence after making a breakpoint at robust_ftruncate() i could see that "robust_ftruncate" and "ts_ftruncate" is called couple of times before the error is given to the user Breakpoint 2, ts_ftruncate (fd=5, n=297136) at ./src/test_syscall.c:273 273 if(

Re: [sqlite] TCL Test failures on ARM

2013-03-12 Thread bkk
i tried putting break point at robust_ftruncate() but it was not successful (gdb) break robust_ftruncate Function "robust_ftruncate" not defined. the symbol table of testfixture was not having "robust_ftruncate" when i read the testfixture(attached)". does it have anything to do with

Re: [sqlite] TCL Test failures on ARM

2013-03-12 Thread bkk
i tried putting break point at robust_ftruncate() but it was not successful (gdb) break robust_ftruncate Function "robust_ftruncate" not defined. the symbol table of testfixture was not having this i believe. does it have anything to do with crosscompiling ? below are the commands i used for

Re: [sqlite] TCL Test failures on ARM

2013-03-12 Thread bkk
Below is the code path just before the error below is given out / getting printed " Expected: [0 ok] Got: [1 {nfail=1 rc=1 result=disk I/O error}] " Breakpoint 1, ts_ftruncate (fd=5, n=206456) at ./src/test_syscall.c:272 272 static int ts_ftruncate(int fd, off_t n){ (gdb) step 273

Re: [sqlite] TCL Test failures on ARM

2013-03-12 Thread bkk
below is the stack trace at the begining of second hit at the break point Breakpoint 1, ts_ftruncate (fd=6, n=206456) at ./src/test_syscall.c:272 272 static int ts_ftruncate(int fd, off_t n){ (gdb) backtrace #0 ts_ftruncate (fd=6, n=206456) at ./src/test_syscall.c:272 #1 0x000627f0 in

Re: [sqlite] TCL Test failures on ARM

2013-03-12 Thread bkk
Below are the code path which is getting executed from the first hit of breakpoint at "ts_ftruncate" to the next i was wondering it was working fine with my ubuntu PC and now giving issue in linux target. Breakpoint 1, ts_ftruncate (fd=5, n=206456) at ./src/test_syscall.c:272 272 static int

Re: [sqlite] TCL Test failures on ARM

2013-03-12 Thread bkk
Below is the backtrace from the gdb when the failure happened. #0 tsIsFail () at ./src/test_syscall.c:163 #1 0x000324b4 in tsIsFailErrno (zFunc=0xc8920 "ftruncate") at ./src/test_syscall.c:196 #2 0x0003268c in ts_ftruncate (fd=5, n=206456) at ./src/test_syscall.c:273 #3 0x000627f0 in

Re: [sqlite] TCL Test failures on ARM

2013-03-11 Thread bkk
Has anyone came across same problem ? Appreciate if someone can point out what’s going wrong with these tests -- View this message in context: http://sqlite.1065341.n5.nabble.com/TCL-Test-failures-on-ARM-tp67612p67637.html Sent from the SQLite mailing list archive at Nabble.com.

Re: [sqlite] TCL Test failures on ARM

2013-03-11 Thread bkk
Any one knows how to fix it ? -- View this message in context: http://sqlite.1065341.n5.nabble.com/TCL-Test-failures-on-ARM-tp67612p67621.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users mailing list

Re: [sqlite] cross compiling sqlite

2013-03-10 Thread bkk
HI, Thank you for the reply. i have cross-compiled tcl and sqlite for ARM , but i am facing some "result=disk I/O error" issue which i have posted as a new thread . Thank you Brijesh -- View this message in context:

Re: [sqlite] TCL Test failures on ARM

2013-03-10 Thread bkk
yes there were 142 in each of those tests, that is, transient.1... to transient.142... in each of the sets i mentioned above -- View this message in context: http://sqlite.1065341.n5.nabble.com/TCL-Test-failures-on-ARM-tp67612p67614.html Sent from the SQLite mailing list archive at

[sqlite] TCL Test failures on ARM

2013-03-10 Thread bkk
Hi, When i executed the TCL: tests on my ARM board (nitrogen 6X) the below tests are failing with the message Expected: [0 ok] Got: [1 {nfail=1 rc=1 result=disk I/O error}] sysfault-2.1-vfsfault-transient memsubsys1.sysfault-2.1-vfsfault-transient

Re: [sqlite] cross compiling sqlite

2013-03-07 Thread bkk
How to create testfixture that could run on arm ? -- View this message in context: http://sqlite.1065341.n5.nabble.com/cross-compiling-sqlite-tp67478p67515.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users mailing list

Re: [sqlite] cross compiling sqlite

2013-03-07 Thread bkk
any one tried to run sqlite test suite on arm target ? -- View this message in context: http://sqlite.1065341.n5.nabble.com/cross-compiling-sqlite-tp67478p67513.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users mailing

[sqlite] cross compiling sqlite

2013-03-06 Thread bkk
Hi i have crosscompiled selite for arm board by below command from my ubuntu machine 1. "./configure --host=arm CC=armv7l-timesys-linux-gnueabi-gcc --disable-tcl" 2. make 3. make install DESTDIR=/usr/bk and later put the contents from bk to the target also i copied the source tree to target.

Re: [sqlite] malloc failures on ubuntu

2012-12-15 Thread bkk
but i have got 142 errors out of 2083931 tests (result of alltest excution) but you told its 119415 , so is it doing any thing more ? Brijesh -- View this message in context: http://sqlite.1065341.n5.nabble.com/malloc-failures-on-ubuntu-tp65936p66149.html Sent from the SQLite mailing list

Re: [sqlite] malloc failures on ubuntu

2012-12-15 Thread bkk
but i have got 142 errors out of 2083931 tests (result of alltest excution) but you told its 119415 , so is it doing any thing more ? Brijesh -- View this message in context: http://sqlite.1065341.n5.nabble.com/malloc-failures-on-ubuntu-tp65936p66148.html Sent from the SQLite mailing list

Re: [sqlite] malloc failures on ubuntu

2012-12-14 Thread bkk
Below are the steps i followed in my Ubuntu PC: 1. From the site : http://www.sqlite.org/download.html 2. connected to http://www.sqlite.org/cgi/src (Dallas) 3. clicked [52e755943f] Leaf ( which was on the top) 4. clicked ZIP archive 5. saved the file 6. copied the zip

Re: [sqlite] malloc failures on ubuntu

2012-12-13 Thread bkk
Really appritiate if any one can help me on this, I didnot get a solution for this Thanks Brijesh -- View this message in context: http://sqlite.1065341.n5.nabble.com/malloc-failures-on-ubuntu-tp65936p66126.html Sent from the SQLite mailing list archive at Nabble.com.