Received: from mail-pz0-f61.google.com ([209.85.210.61]:56237) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1R9jZH-0003YS-Bt; Fri, 30 Sep 2011 13:20:29 -0700 Received: by pzk32 with SMTP id 32sf2553776pzk.16 for ; Fri, 30 Sep 2011 13:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:date:from:to:subject:message-id:references :mime-version:in-reply-to:user-agent:sender:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe:content-type:content-disposition; bh=DN+c8EWxQijemaScA8nl68yWcKgf0fRlbucYpDWYBwA=; b=Jn664yoix973RbNhW9Fu2ONfQD6twvY9RmbZSKy4P6wvAPt9PsFiZ33kwrFrXCty8B BpHI8tDEtnHxab4gq764G498rrUGyJeSLKpf5zApuI3aCAyY7pSk7cXbh34D1yu5IT5v gy75YiQbMv0ppLM9c1fbk8IL+mSKKAipwFEh4= Received: by 10.68.32.34 with SMTP id f2mr6358291pbi.12.1317414014865; Fri, 30 Sep 2011 13:20:14 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.68.33.200 with SMTP id t8ls12832975pbi.4.gmail; Fri, 30 Sep 2011 13:20:14 -0700 (PDT) Received: by 10.68.33.71 with SMTP id p7mr18321737pbi.1.1317414014265; Fri, 30 Sep 2011 13:20:14 -0700 (PDT) Received: by 10.68.33.71 with SMTP id p7mr18321732pbi.1.1317414014250; Fri, 30 Sep 2011 13:20:14 -0700 (PDT) Received: from stodi.digitalkingdom.org (173-13-139-236-sfba.hfc.comcastbusiness.net. [173.13.139.236]) by gmr-mx.google.com with ESMTPS id j4si7842413pbi.2.2011.09.30.13.20.13 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 30 Sep 2011 13:20:13 -0700 (PDT) Received-SPF: neutral (google.com: 173.13.139.236 is neither permitted nor denied by best guess record for domain of rlpowell@stodi.digitalkingdom.org) client-ip=173.13.139.236; Received: from rlpowell by stodi.digitalkingdom.org with local (Exim 4.76) (envelope-from ) id 1R9jZ6-0003YP-Lk for lojban@googlegroups.com; Fri, 30 Sep 2011 13:20:12 -0700 Date: Fri, 30 Sep 2011 13:20:12 -0700 From: Robin Lee Powell To: lojban@googlegroups.com Subject: [lojban] Someone wanna debug our jbofihe problems? Message-ID: <20110930202012.GE20043@stodi.digitalkingdom.org> References: <20110928182404.GA11528@stodi.digitalkingdom.org> <20110929044617.GL11528@stodi.digitalkingdom.org> <20110929125138.GS29295@sunflowerriver.org> <32514220.68.1317357919910.JavaMail.geo-discussion-forums@yqlb4> <20110930155727.GK29295@sunflowerriver.org> <20110930162540.GM29295@sunflowerriver.org> MIME-Version: 1.0 In-Reply-To: <20110930162540.GM29295@sunflowerriver.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: lojban@googlegroups.com X-Original-Sender: rlpowell@digitalkingdom.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 173.13.139.236 is neither permitted nor denied by best guess record for domain of rlpowell@stodi.digitalkingdom.org) smtp.mail=rlpowell@stodi.digitalkingdom.org Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline X-Spam-Score: -0.7 (/) X-Spam_score: -0.7 X-Spam_score_int: -6 X-Spam_bar: / Yes, but unfortunately I have no idea what's causing it or how to fix it. I'm told a reload usually clears it up. Oh, huh, I can replicate on the command line. Hmmm... It happens about one time in five. There is no memory pressure on the host. There are no SELinux errors (in fact, turning SELinux off doesn't fix it). I seriously have no idea what's up here at all. Anyone who wants an account to investigate it is welcome to it. An strace of a fail and then a good run are below (both are short). Interestingly, it's not actually on the mmap that it fails. *shrug* -Robin - ----------------------------------------------------------- rlpowell@jukni> echo "mi klama" | strace -ff /usr/local/bin/jbofihe -x 2>&1 execve("/usr/local/bin/jbofihe", ["/usr/local/bin/jbofihe", "-x"], [/* 45 vars */]) = 0 brk(0) = 0xb84000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b77a4ead000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=35848, ...}) = 0 mmap(NULL, 35848, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b77a4eae000 close(3) = 0 open("/lib64/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\24\2k6\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1951736, ...}) = 0 mmap(0x366b000000, 3773688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x366b000000 mprotect(0x366b18f000, 2097152, PROT_NONE) = 0 mmap(0x366b38f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18f000) = 0x366b38f000 mmap(0x366b394000, 21752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x366b394000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b77a4eb7000 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b77a4eb8000 arch_prctl(ARCH_SET_FS, 0x2b77a4eb7b40) = 0 mprotect(0x366b38f000, 16384, PROT_READ) = 0 mprotect(0x366ae1e000, 4096, PROT_READ) = 0 munmap(0x2b77a4eae000, 35848) = 0 rt_sigaction(SIGABRT, {0x401920, [ABRT], SA_RESTORER|SA_RESTART, 0x366b035350}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGBUS, {0x401920, [BUS], SA_RESTORER|SA_RESTART, 0x366b035350}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGSEGV, {0x401920, [SEGV], SA_RESTORER|SA_RESTART, 0x366b035350}, {SIG_DFL, [], 0}, 8) = 0 fstat(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b77a4eae000 read(0, "mi klama\n", 4096) = 9 brk(0) = 0xb84000 brk(0xba5000) = 0xba5000 brk(0) = 0xba5000 read(0, "", 4096) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b77a4eaf000 open("/usr/local/lib/jbofihe/smujmaji.dat", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=241214, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b77a4eb0000 read(3, "\0\0006B\5\4\5\5\5\5\5\4\5\5\4\4\4\6\5\5\4\6\5\6\5\3\4\6\4\4\4\5"..., 4096) = 4096 mmap(NULL, 225280, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b77a4eba000 read(3, "\4\4\4\5\5\5\4\5\4\7\4\6\4\4\4\10\5\4\5\10\4\6\5\6\4\10\4\4\5\7\4\5"..., 4096) = 4096 read(3, "\3\3\5\5\5\5\5\5\5\5\5\5\4\3\7\3\6\4\5\3\7\3\3\2\5\5\5\3\10\4\5\4"..., 4096) = 4096 read(3, "\5\5\4\5\5\5\5\5\4\5\4\5\4\5\5\5\4\5\4\5\5\5\5\5\5\5\5\5\5\5\4\5"..., 4096) = 4096 read(3, "\6\24\5\5\6\t\6\10\6\32\7\f\5\5\6\7\6\20\5\7\6\t\6\6\6\r\5\4\6\6\6\16"..., 4096) = 4096 read(3, "\6\37\7\r\6\"\7\17\5\f\6\v\6\16\5\6\6\10\6\25\7\v\5\5\6\16\6\10\5\5\6\7"..., 4096) = 4096 read(3, "\6\21\5\5\6\17\6\5\6\22\6\23\5\10\6\n\6\v\6\32\6\r\5\3\6\7\6\r\6\24\5\6"..., 4096) = 4096 fstat(3, {st_mode=S_IFREG|0644, st_size=241214, ...}) = 0 lseek(3, 0, SEEK_CUR) = 28672 mmap(NULL, 241214, PROT_READ, MAP_SHARED, 3, 0) = 0x2b77a4ef1000 dup(2) = 4 fcntl(4, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(4, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b77a4f2c000 lseek(4, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(4, "Could not mmap the dictionary da"..., 35Could not mmap the dictionary data ) = 35 write(4, ": Success\n", 10: Success ) = 10 close(4) = 0 munmap(0x2b77a4f2c000, 4096) = 0 write(1, "[([", 3[([) = 3 exit_group(1) = ? - ----------------------------------------------------------- rlpowell@jukni> echo "mi klama" | strace -ff /usr/local/bin/jbofihe -x 2>&1 execve("/usr/local/bin/jbofihe", ["/usr/local/bin/jbofihe", "-x"], [/* 45 vars */]) = 0 brk(0) = 0x10a5000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b9034160000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=35848, ...}) = 0 mmap(NULL, 35848, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b9034161000 close(3) = 0 open("/lib64/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\24\2k6\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1951736, ...}) = 0 mmap(0x366b000000, 3773688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x366b000000 mprotect(0x366b18f000, 2097152, PROT_NONE) = 0 mmap(0x366b38f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18f000) = 0x366b38f000 mmap(0x366b394000, 21752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x366b394000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b903416a000 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b903416b000 arch_prctl(ARCH_SET_FS, 0x2b903416ab40) = 0 mprotect(0x366b38f000, 16384, PROT_READ) = 0 mprotect(0x366ae1e000, 4096, PROT_READ) = 0 munmap(0x2b9034161000, 35848) = 0 rt_sigaction(SIGABRT, {0x401920, [ABRT], SA_RESTORER|SA_RESTART, 0x366b035350}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGBUS, {0x401920, [BUS], SA_RESTORER|SA_RESTART, 0x366b035350}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGSEGV, {0x401920, [SEGV], SA_RESTORER|SA_RESTART, 0x366b035350}, {SIG_DFL, [], 0}, 8) = 0 fstat(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b9034161000 read(0, "mi klama\n", 4096) = 9 brk(0) = 0x10a5000 brk(0x10c6000) = 0x10c6000 brk(0) = 0x10c6000 read(0, "", 4096) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b9034162000 open("/usr/local/lib/jbofihe/smujmaji.dat", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=241214, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b9034163000 read(3, "\0\0006B\5\4\5\5\5\5\5\4\5\5\4\4\4\6\5\5\4\6\5\6\5\3\4\6\4\4\4\5"..., 4096) = 4096 mmap(NULL, 225280, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b903416d000 read(3, "\4\4\4\5\5\5\4\5\4\7\4\6\4\4\4\10\5\4\5\10\4\6\5\6\4\10\4\4\5\7\4\5"..., 4096) = 4096 read(3, "\3\3\5\5\5\5\5\5\5\5\5\5\4\3\7\3\6\4\5\3\7\3\3\2\5\5\5\3\10\4\5\4"..., 4096) = 4096 read(3, "\5\5\4\5\5\5\5\5\4\5\4\5\4\5\5\5\4\5\4\5\5\5\5\5\5\5\5\5\5\5\4\5"..., 4096) = 4096 read(3, "\6\24\5\5\6\t\6\10\6\32\7\f\5\5\6\7\6\20\5\7\6\t\6\6\6\r\5\4\6\6\6\16"..., 4096) = 4096 read(3, "\6\37\7\r\6\"\7\17\5\f\6\v\6\16\5\6\6\10\6\25\7\v\5\5\6\16\6\10\5\5\6\7"..., 4096) = 4096 read(3, "\6\21\5\5\6\17\6\5\6\22\6\23\5\10\6\n\6\v\6\32\6\r\5\3\6\7\6\r\6\24\5\6"..., 4096) = 4096 fstat(3, {st_mode=S_IFREG|0644, st_size=241214, ...}) = 0 lseek(3, 0, SEEK_CUR) = 28672 mmap(NULL, 241214, PROT_READ, MAP_SHARED, 3, 0) = 0x2b90341a4000 lseek(3, 27784, SEEK_SET) = 27784 close(3) = 0 munmap(0x2b9034163000, 4096) = 0 write(1, "[([klama1 (go-er(s)):] mi", 25[([klama1 (go-er(s)):] mi) = 25 write(1, " /I, me/) /[is, does]/ <>]\n", 13 /go-ing/>>] ) = 13 exit_group(0) = ? - ----------------------------------------------------------- -- You received this message because you are subscribed to the Google Groups "lojban" group. To post to this group, send email to lojban@googlegroups.com. To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/lojban?hl=en.