Wolfgang Jährling <[EMAIL PROTECTED]> wrote:
> Grant Bowman <[EMAIL PROTECTED]> wrote:
> > [machine freeze-up]
> 
> Funny, I tried it and got a segmentation fault instead of a freeze. I'll
> look into it in more detail later.

It seems I did something wrong last time. But this time, I got the
expected behaviour: The program just hung. "ps" told me that it's
sleeping, so obviously memset() got tired, see this full backtrace:

----- snip! -----
(gdb) bt full
#0  0x010c67a1 in memset () from /lib/libc.so.0.3
No symbol table info available.
#1  0x011a108b in __bam_read_root () from /lib/libdb2.so.2
No symbol table info available.
#2  0x011a0e61 in __bam_open () from /lib/libdb2.so.2
No symbol table info available.
#3  0x011ab484 in db_open () from /lib/libdb2.so.2
No symbol table info available.
#4  0x011d1b80 in dbopen () from /lib/libdb2.so.2
No symbol table info available.
#5  0x08052eab in btree_flopen (filename=0x80621e0 
"/var/cache/man/fsstnd/1022", flags=1, mode=420)
    at db_btree.c:193
        dbf = (DB *) 0x118fdc4
        b = {flags = 0, cachesize = 0, maxkeypage = 0, minkeypage = 0, psize = 
0, compare = 0, 
  prefix = 0, lorder = 0}
        lock_op = 5
        lock_failed = 37
#6  0x0804e6ab in update_db (manpath=0x8061f08 "/usr/man") at 
check_mandirs.c:737
        key = {dptr = 0x227e8 "", dsize = 16923632}
        content = {dptr = 0xe <Address 0xe out of bounds>, dsize = 18415044}
        new = 0
#7  0x0804a2fd in update_db_wrapper (manpath=0x8061f08 "/usr/man") at 
mandb.c:267
        amount = 280
#8  0x08049bc6 in mandb (catpath=0x8061f80 "/var/cache/man/fsstnd", 
manpath=0x8061f08 "/usr/man")
    at mandb.c:336
        pid = "1022\0\005\006\b8;\002\001è4\005\b\b\0\0\0\240I"
        amount = 2053
        dbname = 0x8061fa0 "/var/cache/man/fsstnd/index.bt"
#9  0x08049fe4 in main (argc=1, argv=0x1023bf0) at mandb.c:504
        global_manpath = 1
        catpath = 0x8061f80 "/var/cache/man/fsstnd"
        c = -1
        sys_manp = 0x8061e58 
"/usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man:/usr/X11R6/man:/opt/man"
        amount = 0
        strays = 0
        purged = 0
        quiet_temp = 0
        mp = (char **) 0x8060620
        locale = 0x8060a50 "C"
        option_index = 44272
        man_owner = (struct passwd *) 0x11927c8
#10 0x01068d16 in __libc_start_main () from /lib/libc.so.0.3
No symbol table info available.
(gdb) 
----- snap! -----

Doesn't look like mandb is doing anything wrong here.

Cheers,
GNU/Wolfgang

-- 
Wolfgang Jährling  <[EMAIL PROTECTED]>  \\  http://stdio.cjb.net/
Debian GNU/Hurd user && Debian GNU/Linux user \\  http://www.gnu.org/
The Hurd Hacking Guide: http://www.gnu.org/software/hurd/hacking-guide/
["We're way ahead of you here. The Hurd has always been on the    ]
[ cutting edge of not being good for anything." -- Roland McGrath ]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Reply via email to