NetBSD Problem Report #46178

From tron@zhadum.org.uk  Mon Mar 12 08:14:04 2012
Return-Path: <tron@zhadum.org.uk>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 33BDC63E0EE
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 12 Mar 2012 08:14:04 +0000 (UTC)
Message-Id: <20120312081403.AD04FA3C089@mail.zhadum.org.uk>
Date: Mon, 12 Mar 2012 08:14:03 +0000 (GMT)
From: tron@zhadum.org.uk
Reply-To: tron@zhadum.org.uk
To: gnats-bugs@gnats.NetBSD.org
Subject: makemandb(8) crashes while indexing manual pages
X-Send-Pr-Version: 3.95

>Number:         46178
>Category:       bin
>Synopsis:       makemandb(8) crashes while indexing manual pages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 12 08:15:06 +0000 2012
>Last-Modified:  Fri Aug 07 18:00:01 +0000 2015
>Originator:     Matthias Scheler
>Release:        NetBSD 6.0_BETA 2012-03-05 sources
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 6.0_BETA NetBSD 6.0_BETA (COLWYN.64) #0: Sat Mar 3 14:27:52 GMT 2012 tron@colwyn.zhadum.org.uk:/src/sys/compile/COLWYN.64 amd64
Architecture: x86_64
Machine: amd64
>Description:
"makemandb" crashes on my machine every night. Here is the message
from the daily(5) output:

assertion "MAN_BLOCK == p->parent->type" failed: file "/src/NetBSD-6/src/external/bsd/mdocml/lib/libmandoc/../../dist/man.c", line 212, function "man_node_append"
Building temporary file cache
[1]   Abort trap (core dumped) (umask 022; nice...

The crash is triggered by the file "/usr/pkg/man/man5/dictionary.5" (or
"/usr/pkg/man/man5/dictionary.5.gz" in my case) which belongs to the
"freeradius2" package.

>How-To-Repeat:
Install the "freeradius2" package and check the daily(5) e-mail on the
next morning.

>Fix:
None provided.

>Audit-Trail:
From: Matthias Scheler <tron@zhadum.org.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/46178: makemandb(8) crashes while indexing manual pages
Date: Wed, 14 Mar 2012 21:20:03 +0000

 On Mon, Mar 12, 2012 at 08:15:06AM +0000, gnats-admin@netbsd.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `bin/46178'.
 > The individual assigned to look at your
 > report is: bin-bug-people. 
 > 
 > >Category:       bin
 > >Responsible:    bin-bug-people
 > >Synopsis:       makemandb(8) crashes while indexing manual pages
 > >Arrival-Date:   Mon Mar 12 08:15:06 +0000 2012

 Joerg Sonnenberger has fixed the bogus manual page:

 http://mail-index.netbsd.org/pkgsrc-changes/2012/03/12/msg069220.html

 To reproduce the problem one needs to remove that patch file.

 	Kind regards

 -- 
 Matthias Scheler                                  http://zhadum.org.uk/

From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: bin/46178: makemandb(8) crashes while indexing manual pages
Date: Sat, 14 Mar 2015 18:09:02 -0400

 This seems to have been fixed in the interim. I can't duplicate it in
 current (7.99.6) sources using the sample (unpatched) man page. I
 don't have any 6.x installations to test with, so I don't know if
 this is still relevant for that branch.

 Dave

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/46178: makemandb(8) crashes while indexing manual pages
Date: Fri, 7 Aug 2015 17:59:20 +0000

 On Sat, Mar 14, 2015 at 11:15:00PM +0000, David H. Gutteridge wrote:
  >  This seems to have been fixed in the interim. I can't duplicate it in
  >  current (7.99.6) sources using the sample (unpatched) man page. I
  >  don't have any 6.x installations to test with, so I don't know if
  >  this is still relevant for that branch.

 For the record, it is: see 50121. (closed as a duplicate)

 -- 
 David A. Holland
 dholland@netbsd.org

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.