From vshah@rstcorp.com  Wed Dec  8 13:04:51 1999
Return-Path: <vshah@rstcorp.com>
Received: from assurance.rstcorp.com (assurance.rstcorp.com [216.112.242.2])
	by hub.freebsd.org (Postfix) with ESMTP id BFD5514A01
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  8 Dec 1999 13:04:48 -0800 (PST)
	(envelope-from vshah@rstcorp.com)
Received: (from uucp@localhost)
	by assurance.rstcorp.com (8.8.8/8.8.8) id QAA12113
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 8 Dec 1999 16:06:21 -0500
Received: from proxy.rstcorp.com(216.112.242.5) by assurance.rstcorp.com via smap (V2.0)
	id xma012090; Wed, 8 Dec 99 21:05:47 GMT
Received: from jabberwock.rstcorp.com (jabberwock.rstcorp.com [192.168.2.98])
	by sandbox.rstcorp.com (8.8.8+Sun/8.8.8) with ESMTP id QAA28313
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 8 Dec 1999 16:01:37 -0500 (EST)
Received: by jabberwock.rstcorp.com (Postfix, from userid 93)
	id ACCF25B15; Wed,  8 Dec 1999 16:04:11 -0500 (EST)
Message-Id: <19991208210411.ACCF25B15@jabberwock.rstcorp.com>
Date: Wed,  8 Dec 1999 16:04:11 -0500 (EST)
From: vshah@rstcorp.com
Reply-To: vshah@rstcorp.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Mutt built from ports (on -current dated 11/30/1999) core dumps
X-Send-Pr-Version: 3.2

>Number:         15362
>Category:       ports
>Synopsis:       mutt core dumps as soon as a key is pressed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec  8 13:10:01 PST 1999
>Closed-Date:    Mon Jan 17 11:42:55 PST 2000
>Last-Modified:  Mon Jan 17 11:44:24 PST 2000
>Originator:     Viren R. Shah
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Klique of the Incorrigible Stupified Snarks
>Environment:

-current system from 11/30/1999

mutt was build with SLang

[vshah@jabberwock] /home/jabberwock/mutt/mutt-1.0> ldd mutt
mutt:
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0x280be000)
        libslang.so.1 => /usr/local/lib/libslang.so.1 (0x280fc000)
        libm.so.2 => /usr/lib/libm.so.2 (0x28140000)
        libintl.so.1 => /usr/local/lib/libintl.so.1 (0x2815b000)
        libc.so.4 => /usr/lib/libc.so.4 (0x2815f000)

libslang version 1.2.2
mutt version 1.0i

>Description:

As soon as a key is pressed, mutt core dumps:

[vshah@jabberwock] /home/jabberwock/mutt/mutt-1.0> gdb ./mutt mutt.core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
Core was generated by `mutt'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libncurses.so.5...done.
Reading symbols from /usr/local/lib/libslang.so.1...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/local/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x2811379d in SLang_do_key () from /usr/local/lib/libslang.so.1
(gdb) bt
#0  0x2811379d in SLang_do_key () from /usr/local/lib/libslang.so.1
#1  0x28124d91 in SLkp_getkey () from /usr/local/lib/libslang.so.1
#2  0x28123056 in SLcurses_wgetch () from /usr/local/lib/libslang.so.1
#3  0x28123089 in SLcurses_getch () from /usr/local/lib/libslang.so.1
#4  0x805579f in mutt_getch () at curs_lib.c:63
#5  0x8065f75 in km_dokey (menu=6) at keymap.c:361
#6  0x8057045 in mutt_index_menu () at curs_main.c:511
#7  0x8067cfd in main (argc=1, argv=0xbfbfd904) at main.c:684
#8  0x804abc5 in _start ()


>How-To-Repeat:

execute the mutt binary and press a key (even 'q')

>Fix:
   



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obrien  
Responsible-Changed-By: cpiazza 
Responsible-Changed-When: Wed Dec 8 15:33:04 PST 1999 
Responsible-Changed-Why:  
Over to maintainer 

From: Chris Piazza <cpiazza@jaxon.net>
To: vshah@rstcorp.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/15362: Mutt built from ports (on -current dated 11/30/1999) core dumps
Date: Wed, 8 Dec 1999 15:33:35 -0800

 On Wed, Dec 08, 1999 at 04:04:11PM -0500, vshah@rstcorp.com wrote:
 > 
 > -current system from 11/30/1999
 > 
 > mutt was build with SLang
 > 
 > [vshah@jabberwock] /home/jabberwock/mutt/mutt-1.0> ldd mutt
 > mutt:
 >         libncurses.so.5 => /usr/lib/libncurses.so.5 (0x280be000)
 >         libslang.so.1 => /usr/local/lib/libslang.so.1 (0x280fc000)
 >         libm.so.2 => /usr/lib/libm.so.2 (0x28140000)
 >         libintl.so.1 => /usr/local/lib/libintl.so.1 (0x2815b000)
 >         libc.so.4 => /usr/lib/libc.so.4 (0x2815f000)
 > 
 > libslang version 1.2.2
 > mutt version 1.0i
 
 For the record, this only happens when mutt is built with SLang.
 
 -Chris
 -- 
 cpiazza@jaxon.net   cpiazza@FreeBSD.org
         Abbotsford, BC, Canada
 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Mon Jan 17 11:42:55 PST 2000 
State-Changed-Why:  
I cannot reproduce this.  If this is still a problem, please build a fresh 
4.0-CURRENT world, fresh libslang build, and fresh Mutt build. 
>Unformatted:
