From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout.scc.kit.edu (mailout.scc.kit.edu [129.13.185.202]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s7GK2svJ015359 for ; Sat, 16 Aug 2014 16:02:54 -0400 (EDT) Received: from hekate.usta.de (asta-nat.asta.uni-karlsruhe.de [172.22.63.82]) by scc-mailout-02.scc.kit.edu with esmtp (Exim 4.72 #1) id 1XIkBh-0006lg-Ny; Sat, 16 Aug 2014 22:02:53 +0200 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.77) (envelope-from ) id 1XIkBb-0007Zr-Rf; Sat, 16 Aug 2014 22:02:47 +0200 Received: from iris.usta.de ([172.24.96.5] helo=usta.de) by donnerwolke.usta.de with esmtp (Exim 4.72) (envelope-from ) id 1XIkBb-000560-Q4; Sat, 16 Aug 2014 22:02:47 +0200 Received: from schwarze by usta.de with local (Exim 4.77) (envelope-from ) id 1XIkAr-0008UA-DS; Sat, 16 Aug 2014 22:02:01 +0200 Date: Sat, 16 Aug 2014 22:02:01 +0200 From: Ingo Schwarze To: Ulrich =?iso-8859-1?Q?Sp=F6rlein?= Cc: discuss@mdocml.bsd.lv Subject: Re: Crash in makewhatis on FreeBSD's man9 manuals Message-ID: <20140816200201.GB12335@iris.usta.de> References: <20140816175602.GA17988@elmar.spoerlein.net> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20140816175602.GA17988@elmar.spoerlein.net> User-Agent: Mutt/1.5.21 (2010-09-15) Hi Ulrich, Ulrich Spörlein wrote on Sat, Aug 16, 2014 at 07:56:03PM +0200: > 0x0000000000410ba6 in post_it (mdoc=0x801819200) at mdoc_validate.c:1209 > 1209 lt = nbl->norm->Bl.type; Ouch. Thanks for the precise report. Having that snippet and the manual, i didn't even need to fire up my debugger. It's a weird thing. These manuals use .It as the first macro *after* lists - as opposed to *inside* lists. Now the code thought, "great, the last thing i saw was a list, so the list item is probably at about the right place here." Well, not quite... You probably saw the fix i just committed, a three-line diff to mdoc_macro.c. Yours, Ingo -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv