[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Porting man-db to Hurd



On Tue, May 07, 2002 at 10:39:40PM +0200, Wolfgang Jährling wrote:
> Thanks. Here's the result. But I have no idea how to go on.
> 
> (gdb) bt full
> #0  0x010c6851 in memset (dstpp=0x1000, c=0, len=68) at
> ../sysdeps/i386/memset.c:65
>         len = 68
>         d0 = 17
>         dstp = 4096
>         x = 0
> #1  0x011a108b in __bam_read_root (dbp=0x8062250) at
> ../btree/bt_open.c:251
>         meta = (BTMETA *) 0x1000
                            ^^^^^^

That's not a valid-looking pointer, for a start. Could you look at
dbp->mpf in frame #1 and check that that is a valid pointer? If not,
then memp_fget() is apparently failing to retrieve/create the metadata
page.

        if ((ret =
            memp_fget(dbp->mpf, &pgno, DB_MPOOL_CREATE, (PAGE **)&meta)) != 0) {
                (void)__BT_LPUT(dbc, metalock);
                goto err;
        }

(db-2.7.7/btree/bt_open.c:230)

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: