Great Circle Associates Majordomo-Workers
(September 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Correct database ... any way to fix?
From: Jason L Tibbitts III <tibbs @ math . uh . edu>
Date: 13 Sep 2000 17:13:45 -0500
To: The Hermit Hacker <scrappy @ hub . org>
Cc: majordomo-workers @ GreatCircle . COM, mj2-dev @ csf . colorado . edu
In-reply-to: The Hermit Hacker's message of "Wed, 13 Sep 2000 18:24:41 -0300 (ADT)"
References: <Pine.BSF.4.21.0009131823370.1305-100000@thelab.hub.org>
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

>>>>> "THH" == The Hermit Hacker <scrappy@hub.org> writes:

THH> Segmentation fault(core dumped)

Obviously that's bad.  It would be nice to see just where it crashed
(i.e. get a backtrace from that core file) but Perl code doesn't really
have the capacity to segfault.  (Perl does, in which case it's a Perl bug,
and of course any of the libraries that Perl calls can die as well.)

Make sure the registry is OK (who-enhanced GLOBAL) and then locate the
database file itself (should be named _pgsql-general.D) and dump it:

XYX:morpheus:~> db_dump -d mj/2.0-lists/morpheus.math.uh.edu/test/_subscribers.D  
btree  (local mpool, read-only)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
On-page metadata:
magic 0x53162
version 0x6
pagesize 4096
maxkey: 0 minkey: 2
free 0
flags 0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
DB_INFO:
bt_maxkey: 0 bt_minkey: 2
bt_compare: 0x4001c020 bt_prefix: 0x4001c080
stack:
ovflsize: 1007
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
page    1: (btree leaf)
    lsn.file: 0 lsn.offset: 0
    prev:    0 next:    0 level:  1 entries:    4 offset: 3732
    [000] 4072 len:  18 data: nobody@example.com
    [001] 3996 len:  72 data: nobody@example.com0x01n...
    [002] 3976 len:  17 data: tibbs@math.uh.edu
    [003] 3732 len: 238 data: tibbs@morpheus.math....

XYX:morpheus:~> db_dump -p mj/2.0-lists/morpheus.math.uh.edu/test/_subscribers.D  
format=print
type=btree
bt_minkey=2
db_pagesize=4096
HEADER=END
nobody@example.com
nobody@example.com\01nobody@example.com\01953881633\01953881633\01each\01\01\01SPR\01\01\01\01
tibbs@math.uh.edu
tibbs@morpheus.math.uh.edu\01tibbs@morpheus.math.uh.edu\01966718972\01966806438\01each\01\01\01SPR\01\01\01\01\01966719064M1 966719684M2 9668011113 9668011133 9668011143 9668012513 9668013473 9668016393 966804093M3 966806438M4\01The user's email name is not found.

 - J<



Follow-Ups:
References:
Indexed By Date Previous: database corruption in majordomo2 ...
From: The Hermit Hacker <scrappy@hub.org>
Next: Re: Correct database ... any way to fix?
From: The Hermit Hacker <scrappy@hub.org>
Indexed By Thread Previous: Correct database ... any way to fix?
From: The Hermit Hacker <scrappy@hub.org>
Next: Re: Correct database ... any way to fix?
From: The Hermit Hacker <scrappy@hub.org>

Google
 
Search Internet Search www.greatcircle.com