Hi,
Thank you all for the reply.
i am still wondering why setting DSQLITE_DISABLE_LFS=1 had no effect on the
code when we have a clear #ifndef ? ,
1) if my application does not need LFS , how do i really make it here
(system uses : Linux nitrogen6x 3.0.15-ts-armv7l) ?
i was getting sizeof(off_
On 2 Apr 2013, at 8:33am, Bk wrote:
> 1) i am using Linux 32bit on the embedded device, is it okey to give
> "-D_FILE_OFFSET_BITS=64 " ?
Yep. Theoretically it may be a little slower or lack backward compatibility,
but if it compiles at all, it should be fine. The other way around would be
Hi,
i have noticed that the tests pass if built with below command
TCC = armv7l-timesys-linux-gnueabi-gcc -D_FILE_OFFSET_BITS=64
-DSQLITE_OS_UNIX=1 -I. -I${TOP}/src -I${TOP}/ext/rtree
Where i have added "-D_FILE_OFFSET_BITS=64" .
1) i am using Linux 32bit on the embedded device, is it okey
On 04/01/2013 01:15 PM, Bk wrote:
I have updated make file with "TCC = armv7l-timesys-linux-gnueabi-gcc -g
-DSQLITE_OS_UNIX=1 -DSQLITE_DISABLE_LFS=1 -I. -I${TOP}/src
-I${TOP}/ext/rtree"
The test still fails with DSQLITE_DISABLE_LFS=1 with same error
sysfault-2.setup... Ok
ftruncate: : File t
What's the ulimit for file sizes on your system? You might be hitting that.
-Original Message-
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Bk
Sent: Monday, April 01, 2013 1:16 AM
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] TCL
I have updated make file with "TCC = armv7l-timesys-linux-gnueabi-gcc -g
-DSQLITE_OS_UNIX=1 -DSQLITE_DISABLE_LFS=1 -I. -I${TOP}/src
-I${TOP}/ext/rtree"
The test still fails with DSQLITE_DISABLE_LFS=1 with same error
sysfault-2.setup... Ok
ftruncate: : File too large
ftruncate: : File too large
On 03/29/2013 04:35 PM, Bk wrote:
The perror("ftruncate") is printing ftruncate: : File too large . i have a
2GB card in the embedded device with 50% mem free.
Seems like EFBIG. What value is actually being passed
as the second argument to the system ftruncate() call?
Does the test pass if you
The perror("ftruncate") is printing ftruncate: : File too large . i have a
2GB card in the embedded device with 50% mem free.
Below is the output window shows when the test executed.
sysfault-2.setup... Ok
ftruncate: : File too large
ftruncate: : File too large
ftruncate: : File too large
ftrun
On 03/28/2013 02:18 PM, Bk wrote:
Hi,
The osFtruncate is not returning zero value.
And what is it setting errno to? At line 23440, when rc is non-zero,
what does perror("ftruncate") print?
Dan.
i have put breakpoint at
ts_ftruncate abd robust_ftruncate
(gdb) break robust_ftruncate
Br
Hi,
The osFtruncate is not returning zero value. i have put breakpoint at
ts_ftruncate abd robust_ftruncate
(gdb) break robust_ftruncate
Breakpoint 2 at 0x636ec: file sqlite3.c, line 23439.
(gdb) continue
Continuing.
Breakpoint 2, robust_ftruncate (h=7, sz=0) at sqlite3.c:23439
23439 do
Hi,
The osFtruncate is not returning non zero value. i have put breakpoint at
ts_ftruncate abd robust_ftruncate
(gdb) break robust_ftruncate
Breakpoint 2 at 0x636ec: file sqlite3.c, line 23439.
(gdb) continue
Continuing.
Breakpoint 2, robust_ftruncate (h=7, sz=0) at sqlite3.c:23439
23439 d
Quoth Bk , on 2013-03-17 21:25:21 -0700:
> can some one point out what went wrong here ?
Community lists do not provide guaranteed responses, and repeatedly
hassling the list with requests for one is unlikely to make you any
friends. Certainly I haven't responded because I don't have easy
access
can some one point out what went wrong here ?
--
View this message in context:
http://sqlite.1065341.n5.nabble.com/TCL-Test-failures-on-ARM-tp67612p67741.html
Sent from the SQLite mailing list archive at Nabble.com.
___
sqlite-users mailing list
sqlit
Hi,
can any one tel me how can i fix this issue ?
Thank you
Brijesh
--
View this message in context:
http://sqlite.1065341.n5.nabble.com/TCL-Test-failures-on-ARM-tp67612p67727.html
Sent from the SQLite mailing list archive at Nabble.com.
___
sql
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.
_
On 03/13/2013 01:03 PM, bkk wrote:
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_sy
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.
___
sqli
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.
(g
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:
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 mailing
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( tsIsFailErr
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
crosscomp
On 03/13/2013 11:52 AM, bkk wrote:
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 ?
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 cr
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 i
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
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 robust
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 t
On 03/12/2013 06:45 PM, bkk wrote:
Below is the backtrace from the gdb when the failure happened.
Seems odd to me. Assuming this is happening within the sysfault-2.1
test case, then the first stack should be setting errno to EINTR.
Causing the robust_ftruncate() function to retry ts_ftruncate()
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 robus
On 03/12/2013 10:48 AM, bkk wrote:
Has anyone came across same problem ? Appreciate if someone can point out
what’s going wrong with these tests
Is there something odd about trying to write to errno on this
platform? These tests depend on function tsIsFailErrno() in
file test_syscall.c being ab
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.
__
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
sqlite-users@sqlite.
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 Nabble.com.
On 03/11/2013 10:52 AM, bkk wrote:
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-vfsfaul
35 matches
Mail list logo