Debian bug report logs - #1735
apropos(1) segfaults

Package: man; Reported by: Bill Mitchell <mitchell@mdd.comm.mot.com>; 9 days old.

Message received at debian-bugs:


From chiark.chu.cam.ac.uk!ian Sun Oct 22 19:47:20 1995
Return-Path: <ian@chiark.chu.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t7Cv2-000BVvC; Sun, 22 Oct 95 19:47 PDT
Received: from artemis.chu.cam.ac.uk by pixar.com with SMTP id AA26104
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 22 Oct 1995 19:46:54 -0700
Received: from chiark.chu.cam.ac.uk by artemis.chu.cam.ac.uk with smtp
	(Smail3.1.29.1 #33) id m0t7Cup-0007uaC; Mon, 23 Oct 95 02:47 GMT
Received: by chiark.chu.cam.ac.uk
	id m0t7Cuj-0002aNC
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Mon, 23 Oct 95 02:47 GMT
Message-Id: <m0t7Cuj-0002aNC@chiark.chu.cam.ac.uk>
Date: Mon, 23 Oct 95 02:47 GMT
From: Ian Jackson <ian@chiark.chu.cam.ac.uk>
To: debian-bugs@Pixar.com
Subject: Re: Bug#1735: apropos(1) segfaults

Andrew Howell writes ("Bug#1735: apropos(1) segfaults"):
> Bill Mitchell writes:
> > root:/root# apropos crap
> > Segmentation fault (core dumped)
> > root:/root#
> > Script done on Sun Oct 22 18:55:58 1995
> 
> I've had this problem before as well, but I discovered that the man database
> was screwed up and forcing it to rebuild it with mandb fixed it. Still it
> shouldn't really core dump even if the database is corrupt.

Then there are at least two or three bugs:

1a. The database got corrupted.
1b. The database didn't get fixed because the corruption wasn't
    detected, or because no appropriate action was taken.  If
    corruption is made sufficiently rare then having it automatically
    un-corrupt it on demand is less necessary.  This is obviously
    better than having it get corrupted and then be fixed.

2. `apropos' dumps core when fed a corrupted database.

Ian.

Acknowledgement sent to Ian Jackson <ian@chiark.chu.cam.ac.uk>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1735; Package man. Full text available.

Message received at debian-bugs:


From kryten.it.com.au!andrew Sun Oct 22 19:21:37 1995
Return-Path: <andrew@kryten.it.com.au>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t7CW9-0006FhC; Sun, 22 Oct 95 19:21 PDT
Received: from kryten.it.com.au by pixar.com with SMTP id AA25371
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 22 Oct 1995 19:14:48 -0700
Received: by kryten.it.com.au
	id <m0t7CQl-000AZYC@kryten.it.com.au>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Mon, 23 Oct 95 10:16 WST
Message-Id: <m0t7CQl-000AZYC@kryten.it.com.au>
From: andrew@kryten.it.com.au (Andrew Howell)
Subject: Re: Bug#1735: apropos(1) segfaults
To: mitchell@mdd.comm.mot.com, debian-bugs@pixar.com
Date: Mon, 23 Oct 1995 10:16:03 +0800 (WST)
In-Reply-To: <Pine.SUN.3.91.951022185738.12098A-100000@bb29c> from "Bill Mitchell" at Oct 22, 95 06:58:46 pm
X-Mailer: ELM [version 2.4 PL24 PGP2]
Content-Type: text
Content-Length: 1055      

Bill Mitchell writes:
> PACKAGE: man
> VERSION: 2.3.10-2
> 
> Script started on Sun Oct 22 18:55:28 1995
> root:/root# apropos inode
> utime (2)            - change access and/or modification times of an inode
> Segmentation fault (core dumped)
> root:/root# apropos cat
> Segmentation fault (core dumped)
> root:/root# apropos crap
> Segmentation fault (core dumped)
> root:/root#
> Script done on Sun Oct 22 18:55:58 1995
> 
> mitchell@mdd.comm.mot.com (Bill Mitchell)

I've had this problem before as well, but I discovered that the man database
was screwed up and forcing it to rebuild it with mandb fixed it. Still it
shouldn't really core dump even if the database is corrupt.

Andrew

-- 
Dehydration - 34%, Recollection of previous evening - 2%, embarrassment
factor - 91%.  Advise repair schedule:- off line for 36 hours, re-boot
startup disk, and replace head - wow, what a night!
                -- Kryten in Red Dwarf `The Last Day'

Andrew Howell				               andrew@it.com.au 
Perth, Western Australia		      howellaa@cs.curtin.edu.au 

Acknowledgement sent to andrew@kryten.it.com.au (Andrew Howell):
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1735; Package man. Full text available.

Message received at debian-bugs:


From bb29c.mdd.comm.mot.com!mitchell Sun Oct 22 18:59:45 1995
Return-Path: <mitchell@bb29c.mdd.comm.mot.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t7CAy-000B0bC; Sun, 22 Oct 95 18:59 PDT
Received: from motgate.mot.com by pixar.com with SMTP id AA23367
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 22 Oct 1995 18:59:01 -0700
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (8.7.1/8.6.10/MOT-3.8) with ESMTP id UAA00282 for <debian-bugs@pixar.com>; Sun, 22 Oct 1995 20:59:22 -0500 (CDT)
Received: from mdisea.mdd.comm.mot.com (mdisea.mdd.comm.mot.com [138.242.64.201]) by pobox.mot.com (8.7.1/8.6.10/MOT-3.8) with ESMTP id UAA00376 for <debian-bugs@pixar.com>; Sun, 22 Oct 1995 20:58:51 -0500 (CDT)
Received: from bb29c.mdd.comm.mot.com (bb29c.mdd.comm.mot.com [138.242.72.29]) by mdisea.mdd.comm.mot.com (8.7.1/8.7.1) with ESMTP id SAA16544 for <debian-bugs@pixar.com>; Sun, 22 Oct 1995 18:58:49 -0700 (PDT)
Received: (from mitchell@localhost) by bb29c.mdd.comm.mot.com (8.7.1/8.7.1) id SAA12102; Sun, 22 Oct 1995 18:58:47 -0700 (PDT)
Date: Sun, 22 Oct 1995 18:58:46 -0700 (PDT)
From: Bill Mitchell <mitchell@mdd.comm.mot.com>
X-Sender: mitchell@bb29c
To: debian-bugs@pixar.com
Subject: apropos(1) segfaults
Message-Id: <Pine.SUN.3.91.951022185738.12098A-100000@bb29c>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


PACKAGE:  man
VERSION:  2.3.10-2

Script started on Sun Oct 22 18:55:28 1995
root:/root# apropos inode
utime (2)            - change access and/or modification times of an inode
Segmentation fault (core dumped)
root:/root# apropos cat
Segmentation fault (core dumped)
root:/root# apropos crap
Segmentation fault (core dumped)
root:/root# 
Script done on Sun Oct 22 18:55:58 1995

mitchell@mdd.comm.mot.com (Bill Mitchell)



Acknowledgement sent to Bill Mitchell <mitchell@mdd.comm.mot.com>:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1735; Package man. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov