From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: david@adboyd.com (J. David Boyd) Newsgroups: gmane.emacs.help Subject: Re: corrupt bbdb database, & what to do abouti t? Date: Wed, 28 Apr 2010 08:07:11 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1272456488 10773 80.91.229.12 (28 Apr 2010 12:08:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Apr 2010 12:08:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 28 14:08:07 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O763f-0007zu-RC for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Apr 2010 14:08:04 +0200 Original-Received: from localhost ([127.0.0.1]:35067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O763f-0000M5-Ey for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Apr 2010 08:08:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O763F-0000M0-Mi for help-gnu-emacs@gnu.org; Wed, 28 Apr 2010 08:07:37 -0400 Original-Received: from [140.186.70.92] (port=40508 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O763E-0000Le-9w for help-gnu-emacs@gnu.org; Wed, 28 Apr 2010 08:07:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O763D-0002wX-17 for help-gnu-emacs@gnu.org; Wed, 28 Apr 2010 08:07:36 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:48895) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O763C-0002vy-Nu for help-gnu-emacs@gnu.org; Wed, 28 Apr 2010 08:07:34 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O7639-0007ZQ-Sd for help-gnu-emacs@gnu.org; Wed, 28 Apr 2010 14:07:31 +0200 Original-Received: from 198.204.74.254 ([198.204.74.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Apr 2010 14:07:21 +0200 Original-Received: from david by 198.204.74.254 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Apr 2010 14:07:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 60 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 198.204.74.254 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (cygwin) Cancel-Lock: sha1:Hxn4RNEyx/TxU2tKwVIHdtcGCVY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72855 Archived-At: Matt Price writes: > On Tue, Apr 27, 2010 at 3:23 PM, J. David Boyd wrote: >> Matt Price writes: >> >>> after two events in rapid succession -- a hard hang on emacs that >>> required me to kill the process, and a minor upgrade of my system >>> (running snapshot packages on ubuntu lucid), my bbdb database appears >>> to be corrupt.  i'm just wondering what i ought to do about that, as i >>> spent quite a while harvesting these addresses & don't want to lose >>> them entirely.  here's my error message: >>> >>> ---------- >>> Debugger entered--Lisp error: (error "catastrophic: bbdb-records >>> recursed") >>>   signal(error ("catastrophic: bbdb-records recursed")) >>>   error("catastrophic: bbdb-records recursed") >>>   bbdb-records(nil t) >>>   byte-code(" \203 !\210\303\304\305\"\210      \207" [w bbdb-hashtable >>> select-window bbdb-records nil t] 3) >>>   bbdb-complete-name() >>>   call-interactively(bbdb-complete-name nil nil) >>>   recursive-edit() >>>   byte-code("\306       @\307=\203! >>> debug(error (error "catastrophic: bbdb-records recursed")) >>>   signal(error ("catastrophic: bbdb-records recursed")) >>>   error("catastrophic: bbdb-records recursed") >>>   bbdb-records(t) >>>   bbdb-search-simple(nil "jasonbrown591@rogers.com") >>> -------- >>> has anyone ever seen this before?  i'm guessing my bbdb db is corrupt >>> but i'd rather not build it back from scratch, so if anyone has any >>> advice it'd be really helpful.  thanks much, >>> matt >> >> >> It's just text...  Peruse it, and see if anything looks funny.  If it >> does, fix it.  (Save a backup first, of course!) >> > well, that worked. in fact i just looked at the old backup, saw there > was only one line different, and deleted it. it's still not obvious > to me why there should be a problem, though. here's the diff: > > ~$ diff .backup/\!home\!matt\!.emacs.d\!bbdb.~16~ .emacs.d/bbdb > 225a226 >> ["OLPC Community" "Support" nil nil nil nil ("community-support@lists.laptop.org") ((creation-date . "2010-04-26") (timestamp . "2010-04-26")) nil] > > I guess there must be something wrong with that reford but I can't > tell just looking at it. anyway thanks for the help! > > matt > I couldn't tell you either, but I've done the same thing in the past. Look for what is weirdly different, and change it to match the rest. Glad it all worked out for you! Dave