[42090] in SIPB bug reports

home help back first fref pref prev next nref lref last post

'th' broken on 64-bit systems

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sun Apr 10 23:58:11 2011

From geofft@MIT.EDU Mon Apr 11 03:58:11 2011
Return-Path: <geofft@MIT.EDU>
Delivered-To: bug-sipb-mtg@CHARON.mit.edu
Received: (qmail 28867 invoked from network); 11 Apr 2011 03:58:10 -0000
Received: from mailhub-auth-2.mit.edu (18.7.62.36)
  by charon.mit.edu with SMTP; 11 Apr 2011 03:58:10 -0000
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
	by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id p3B3wAN2005893
	for <bug-sipb@mit.edu>; Sun, 10 Apr 2011 23:58:10 -0400
Received: from localhost (LUNATIQUE.MIT.EDU [18.208.0.153])
	(authenticated bits=0)
        (User authenticated as geofft@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id p3B3w9M2005145
	for <bug-sipb@mit.edu>; Sun, 10 Apr 2011 23:58:10 -0400 (EDT)
Date: Sun, 10 Apr 2011 23:58:09 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: bug-sipb@mit.edu
Subject: 'th' broken on 64-bit systems
Message-ID: <alpine.DEB.2.00.1104102350030.28093@lunatique.mit.edu>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII

I'm getting the error message
buzzword-bingo:~ geofft$ th bird
Can't open "/mit/sipb/lib/Roget/offsets": Read-only file system

I'm pretty sure that's irrelevant (and reporting an old error), and what's 
really going on is that the 32-bit process calls
lseek(5, 4096, SEEK_SET)
while the 64-bit one calls
lseek(5, 17592186048512, SEEK_SET)
(It also seems to read the first 52 vs. 72 bytes of the file in the read() 
call on the two platforms.)

Are DBM files architecture-dependent?

-- 
Geoffrey Thomas
geofft@mit.edu

home help back first fref pref prev next nref lref last post