Hello, I'm running 4c7504ea753f15bde2abc80e0e74dfc0951735e4 and i can't "db init" with it: i get "sqlite error: database or disk is full".
Of course disk is not full at all. Debian Sid mtn-0.35 runs fine. There is obviously an overflow somewhere. Please have a look at the attached strace output: pwrite64(5, "\331\325\5\371 \241c\327\0\0\0\0[C\236\300\0\0\0\'\0\0"..., 24, 18446744073069200889) = -1 EINVAL (Invalid argument) Thanks. -- Benoît Dejean GNOME http://www.gnomefr.org/ LibGTop http://directory.fsf.org/libgtop.html
mtn: started up on Linux 2.6.22.1 #2 Fri Jul 20 11:08:07 CEST 2007 ppc mtn: command line: './mtn', '--debug', '-d', '/tmp2/test.db', 'db', 'init' mtn: set locale: LC_ALL=C mtn: initial abs path is: /home/benoit/net.venge.monotone mtn: searching for '_MTN' directory with root '/' mtn: working root is '/home/benoit/net.venge.monotone' mtn: initial relative path is '' mtn: local dump path is _MTN/debug mtn: setting dump path to /home/benoit/net.venge.monotone/_MTN/debug mtn: opening rcfile '/home/benoit/.monotone/monotonerc' mtn: '/home/benoit/.monotone/monotonerc' is ok mtn: skipping nonexistent rcfile '_MTN/monotonerc' mtn: started up on Linux 2.6.22.1 #2 Fri Jul 20 11:08:07 CEST 2007 ppc mtn: command line: './mtn', '--debug', '-d', '/tmp2/test.db', 'db', 'init' mtn: set locale: LC_ALL=C mtn: initial abs path is: /home/benoit/net.venge.monotone mtn: searching for '_MTN' directory with root '/' mtn: working root is '/home/benoit/net.venge.monotone' mtn: initial relative path is '' mtn: local dump path is _MTN/debug mtn: setting dump path to /home/benoit/net.venge.monotone/_MTN/debug mtn: opening rcfile '/home/benoit/.monotone/monotonerc' mtn: '/home/benoit/.monotone/monotonerc' is ok mtn: skipping nonexistent rcfile '_MTN/monotonerc' mtn: loading lua hook note_mtn_startup mtn: lua failure: isfunction() in get_fn; stack = nil mtn: Lua::ok(): failed mtn: executing command 'db init' mtn: options path is _MTN/options mtn: converting 8 bytes from UTF-8 to IDNA ACE mtn: converting 3 bytes from UTF-8 to IDNA ACE mtn: branch name is 'net.venge.monotone' mtn: sqlite error: 13: database or disk is full mtn: schema_migration.cc:101: detected error 'E(false)' violated mtn: saving current work set: 4 items mtn: finished saving work set mtn: contents of work set: mtn: Current work set: 4 items mtn: ----- begin 'system_flavour' (in virtual void sanity::initialize(int, char**, const char*), at sanity.cc:75) mtn: Linux 2.6.22.1 #2 Fri Jul 20 11:08:07 CEST 2007 ppc mtn: ----- end 'system_flavour' (in virtual void sanity::initialize(int, char**, const char*), at sanity.cc:75) mtn: ----- begin 'cmdline_string' (in virtual void sanity::initialize(int, char**, const char*), at sanity.cc:89) mtn: './mtn', '--debug', '-d', '/tmp2/test.db', 'db', 'init' mtn: ----- end 'cmdline_string' (in virtual void sanity::initialize(int, char**, const char*), at sanity.cc:89) mtn: ----- begin 'string(lc_all)' (in virtual void sanity::initialize(int, char**, const char*), at sanity.cc:94) mtn: C mtn: ----- end 'string(lc_all)' (in virtual void sanity::initialize(int, char**, const char*), at sanity.cc:94) mtn: ----- begin 'full_version_string' (in virtual void mtn_sanity::initialize(int, char**, const char*), at mtn-sanity.cc:23) mtn: monotone 0.36 (base revision: 4c7504ea753f15bde2abc80e0e74dfc0951735e4) mtn: Running on : Linux 2.6.22.1 #2 Fri Jul 20 11:08:07 CEST 2007 ppc mtn: C++ compiler : GNU C++ version 4.2.1 (Debian 4.2.1-5) mtn: C++ standard library: GNU libstdc++ version 20070901 mtn: Boost version : 1_34_1 mtn: Changes since base revision: mtn: format_version "1" mtn: mtn: new_manifest [7897ebf5bf51e4b1463e547a534861a530f6e8e2] mtn: mtn: old_revision [4c7504ea753f15bde2abc80e0e74dfc0951735e4] mtn: mtn: patch "cert.cc" mtn: from [2e88ff620a6c09e14461f3d0e9d67ef0e1b8411d] mtn: to [12203d62e7111e30f8cd45d2edd293abfb68b96d] mtn: ----- end 'full_version_string' (in virtual void mtn_sanity::initialize(int, char**, const char*), at mtn-sanity.cc:23) mtn: statement cache statistics mtn: prepared 0 statements mtn: error: sqlite error: database or disk is full
execve("./mtn", ["./mtn", "--debug", "-d", "/tmp2/test.db", "db", "init"], [/* 54 vars */]) = 0
[...]
stat64("/tmp2/test.db", 0x7fabda98) = -1 ENOENT (No such file or directory)
stat64("/tmp2/test.db-journal", 0x7fabda98) = -1 ENOENT (No such file or directory)
open("/tmp2/test.db", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 4
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
pread64(4, "", 100, 0) = 0
fcntl64(4, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, len=1}, 0x7fabd718) = 0
fcntl64(4, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}, 0x7fabd718) = 0
fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=1}, 0x7fabd718) = 0
access("/tmp2/test.db-journal", F_OK) = -1 ENOENT (No such file or directory)
fstat64(4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
fcntl64(4, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=1073741825, len=1}, 0x7fabd798) = 0
fcntl64(4, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=1073741824, len=1}, 0x7fabd778) = 0
fcntl64(4, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=1073741826, len=510}, 0x7fabd778) = 0
open("/tmp2/test.db-journal", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = 5
fcntl64(5, F_GETFD) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
fstat64(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
open("/tmp2", O_RDONLY|O_LARGEFILE) = 6
fcntl64(6, F_GETFD) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 7
read(7, "\211\3724\223\360\234\301\225\273(<\250a\207\246\363K["..., 256) = 256
close(7) = 0
pwrite64(5, "\331\325\5\371 \241c\327\0\0\0\0008\366~i\0\0\0\0\0\0\4"..., 24, 275228168) = 24
pwrite64(5, "\0", 1, 1023) = 1
brk(0x10748000) = 0x10748000
brk(0x10746000) = 0x10746000
brk(0x10768000) = 0x10768000
brk(0x10766000) = 0x10766000
fsync(5) = 0
fsync(6) = 0
close(6) = 0
pwrite64(5, "\0\0\0\0", 4, 8) = 4
fsync(5) = 0
pwrite64(4, "SQLite format 3\0 \0\1\1\0@ \0\0\0\1\0\0\0\0"..., 8192, 0) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 8192) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 16384) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 24576) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 32768) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 40960) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 49152) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 57344) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 65536) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 73728) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 81920) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 90112) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 98304) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 106496) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 114688) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 122880) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 131072) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 139264) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 147456) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 155648) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 163840) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 172032) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 180224) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 188416) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 196608) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 204800) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 212992) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 221184) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 229376) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 237568) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 245760) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 253952) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 262144) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 270336) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 278528) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 286720) = 8192
pwrite64(4, "\r\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 294912) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 303104) = 8192
pwrite64(4, "\n\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192, 311296) = 8192
fsync(4) = 0
close(5) = 0
unlink("/tmp2/test.db-journal") = 0
fcntl64(4, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}, 0x7fabd788) = 0
fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=2}, 0x7fabd788) = 0
fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0x7fabd788) = 0
fcntl64(4, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, len=1}, 0x7fabd718) = 0
fcntl64(4, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}, 0x7fabd718) = 0
fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=1}, 0x7fabd718) = 0
access("/tmp2/test.db-journal", F_OK) = -1 ENOENT (No such file or directory)
fstat64(4, {st_mode=S_IFREG|0600, st_size=319488, ...}) = 0
pread64(4, "\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0", 16, 24) = 16
fcntl64(4, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=1073741825, len=1}, 0x7fabd798) = 0
open("/tmp2/test.db-journal", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = 5
fcntl64(5, F_GETFD) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
fstat64(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
open("/tmp2", O_RDONLY|O_LARGEFILE) = 6
fcntl64(6, F_GETFD) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
pwrite64(5, "\331\325\5\371 \241c\327\0\0\0\0[C\236\300\0\0\0\'\0\0"..., 24, 18446744073069200889) = -1 EINVAL (Invalid argument)
close(6) = 0
close(5) = 0
unlink("/tmp2/test.db-journal") = 0
fcntl64(4, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}, 0x7fabd798) = 0
fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=2}, 0x7fabd798) = 0
fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0x7fabd788) = 0
write(2, "mtn: sqlite error: 13: database "..., 48) = 48
signature.asc
Description: Ceci est une partie de message numériquement signée
_______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
