Hi all, very strange. Today I tried to open a database I created about half a year ago (version 3.?) and I get a segmentation fault. I run a current debian unstable with sqlite3.5.7 and have absolutely no clue what the problem might be! It works with other databases and it worked with that one as well... I would be very glad for some help. At the bottom you find the strace output.
Thanks a lot Hubertus execve("/usr/bin/sqlite3", ["sqlite3", "data.db", "1"], [/* 34 vars */]) = 0 brk(0) = 0x8050000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fdf000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/i686/sse2/cmov/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/i686/sse2/cmov", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/i686/sse2/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/i686/sse2", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/i686/cmov/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/i686/cmov", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/i686/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/i686", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/sse2/cmov/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/sse2/cmov", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/sse2/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/sse2", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/cmov/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/cmov", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/sse2/cmov/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/i686/sse2/cmov", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/sse2/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/i686/sse2", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/cmov/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/i686/cmov", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/usr/lib/i686/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/usr/lib/sse2/cmov/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/sse2/cmov", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/sse2/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/sse2", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/cmov/libsqlite3.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/cmov", 0xbf80e510) = -1 ENOENT (No such file or directory) open("/usr/lib/libsqlite3.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p>\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=356132, ...}) = 0 mmap2(NULL, 355428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f88000 mmap2(0xb7fde000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x56) = 0xb7fde000 close(3) = 0 open("/usr/lib/i686/cmov/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=79936, ...}) = 0 mmap2(NULL, 79936, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f74000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libreadline.so.5", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\316"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=196484, ...}) = 0 mmap2(NULL, 199764, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f43000 mmap2(0xb7f6f000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2c) = 0xb7f6f000 mmap2(0xb7f73000, 3156, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f73000 close(3) = 0 open("/usr/lib/i686/cmov/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20H\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=112354, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f42000 mmap2(NULL, 94688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f2a000 mmap2(0xb7f3e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb7f3e000 mmap2(0xb7f40000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f40000 close(3) = 0 open("/usr/lib/i686/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260e\1"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1360292, ...}) = 0 mmap2(NULL, 1365616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ddc000 mmap2(0xb7f24000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x148) = 0xb7f24000 mmap2(0xb7f27000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f27000 close(3) = 0 open("/usr/lib/i686/cmov/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libncurses.so.5", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\242\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=195628, ...}) = 0 mmap2(NULL, 199540, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dab000 mmap2(0xb7dd9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2d) = 0xb7dd9000 close(3) = 0 open("/usr/lib/i686/cmov/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=9684, ...}) = 0 mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7da7000 mmap2(0xb7da9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7da9000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7da6000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7da6a80, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7f24000, 4096, PROT_READ) = 0 munmap(0xb7f74000, 79936) = 0 set_tid_address(0xb7da6ac8) = 14348 set_robust_list(0xb7da6ad0, 0xc) = 0 futex(0xbf80edc0, 0x81 /* FUTEX_??? */, 1) = 0 rt_sigaction(SIGRTMIN, {0xb7f2e2c0, [], SA_SIGINFO}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0xb7f2e340, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 uname({sys="Linux", node="corax", ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 rt_sigaction(SIGINT, {0x804d8a0, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0 access("data.db", F_OK) = 0 brk(0) = 0x8050000 brk(0x8071000) = 0x8071000 getcwd("~/daten/database", 512) = 28 stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 access("/var/tmp", R_OK|W_OK|X_OK) = 0 open("/dev/urandom", O_RDONLY) = 3 read(3, "\236h\2S\265\262\26\307}\'yc\307\24\1d\245\251\377Rb\266"..., 256) = 256 close(3) = 0 access("/var/tmp/etilqs_EJbDPddfPXC2omQ", F_OK) = -1 ENOENT (No such file or directory) open("~/daten/database/data.db", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 3 fcntl64(3, F_GETFD) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=2288947200, ...}) = 0 close(3) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 14348 detached _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users