<<< Date Index >>>     <<< Thread Index >>>

Re: mutt/2274: mutt crashes on startup



The following reply was made to PR mutt/2274; it has been noted by GNATS.

From: Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>
To: bug-any@xxxxxxxxxxxxx
Cc: 
Subject: Re: mutt/2274: mutt crashes on startup
Date: Thu, 8 Jun 2006 20:27:58 +0200

 It makes me slightly suspicious if the thing suddenly crashes
 into a file where you applied a "trivial" fix.  May I ask what
 change you made to keymap.[ch]?
 
 On 2006-06-08 20:18:47 +0200, hajek@xxxxxxxx wrote:
 > From: hajek@xxxxxxxx
 > To: Mutt Developers <mutt-dev@xxxxxxxx>
 > Date: Thu, 08 Jun 2006 20:18:47 +0200
 > Subject: mutt/2274: mutt crashes on startup
 > Reply-To: bug-any@xxxxxxxxxxxxx
 > X-Spam-Level: 
 > 
 > >Number:         2274
 > >Notify-List:    
 > >Category:       mutt
 > >Synopsis:       mutt crashes on startup
 > >Confidential:   no
 > >Severity:       critical
 > >Priority:       medium
 > >Responsible:    mutt-dev
 > >State:          open
 > >Keywords:       
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Thu Jun 08 20:18:47 +0200 2006
 > >Originator:     Michal Hajek
 > >Release:        
 > >Organization:
 > >Environment:
 > Mutt 1.4.2.1i (2004-02-12)
 > Copyright (C) 1996-2002 Michael R. Elkins and others.
 > System: HP-UX B.11.23 (9000/800) [using ncurses 5.5]
 > Compile options:
 > -DOMAIN
 > +DEBUG
 > -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
 > +USE_FCNTL  -USE_FLOCK
 > +USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL
 > +HAVE_REGCOMP  -USE_GNU_REGEX
 > +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
 > +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
 > +HAVE_PGP  -BUFFY_SIZE +EXACT_ADDRESS  -SUN_ATTACHMENT
 > +ENABLE_NLS  +LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
 > +HAVE_LANGIN
 > FO_YESEXPR
 > +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO
 > -ISPELL
 > SENDMAIL="/usr/sbin/sendmail"
 > MAILPATH="/var/mail"
 > PKGDATADIR="/opt/mutt/share/mutt"
 > SYSCONFDIR="/opt/mutt/etc"
 > EXECSHELL="/bin/sh"
 > -MIXMASTER
 > >Description:
 > mutt crashes on every startup.
 > >How-To-Repeat:
 > - untar from source
 > - correct keymap.c/.h (one line in each file) for gcc 4.x
 > - configure
 > - make
 > and then:
 > hpuh:/docas/depots/mutt/mutt-1.4.2.1 # ./mutt
 > Memory fault(coredump)
 > 
 > hpuh:/docas/depots/mutt/mutt-1.4.2.1 # gdb ./mutt core
 > GNU gdb 5.3
 > Copyright 2002 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 "hppa2.0n-hp-hpux11.00"...
 > Core was generated by `mutt'.
 > Program terminated with signal 11, Segmentation fault.
 > 
 > warning: The shared libraries were not privately mapped; setting a
 > breakpoint in a shared library will not work until you rerun the program.
 > 
 > Reading symbols from ./mutt...done.
 > Reading symbols from /usr/local/lib/libncurses.sl...done.
 > Reading symbols from /usr/local/lib/libintl.sl...done.
 > Reading symbols from /usr/local/lib/libiconv.sl...done.
 > Reading symbols from /usr/lib/libc.2...done.
 > Reading symbols from /usr/lib/libdld.2...done.
 > #0  ascii_strcasecmp (a=0x616c6961 <Address 0x616c6961 out of bounds>,
 >     b=0x4001db48 "index") at ascii.c:70
 > 70        for (; *a || *b; a++, b++)
 > (gdb) bt
 > #0  ascii_strcasecmp (a=0x616c6961 <Address 0x616c6961 out of bounds>,
 >     b=0x4001db48 "index") at ascii.c:70
 > #1  0x00020ac4 in mutt_getvaluebyname (name=0x4001db48 "index", map=0x7fdbc)
 >     at init.c:1655
 > #2  0x0002dc64 in parse_keymap (menu=0x7f7f2df8, s=0x7f7f2d78, 
 > err=0x7f7f124c)
 >     at keymap.c:678
 > #3  0x0002eae4 in mutt_parse_macro (buf=0x7f7f2cc8, s=0x7f7f2d78, data=0,
 >     err=0x7f7f124c) at keymap.c:804
 > #4  0x00022710 in mutt_parse_rc_line (
 >     line=0x616c6961 <Address 0x616c6961 out of bounds>, token=0x7f7f2cc8,
 >     err=0x7f7f124c) at init.c:1335
 > #5  0x0002286c in source_rc (rcfile=0x4001db48 "index", err=0x7f7f124c)
 >     at init.c:1253
 > #6  0x00024348 in mutt_init (skip_sys_rc=0, commands=0x0) at init.c:1927
 > #7  0x0002f998 in main (argc=1, argv=0x7f7f0804) at main.c:607
 > #8  0xc0145940 in _start () from /usr/lib/libc.2
 > (gdb)
 > >Fix:
 > Unknown
 > >Add-To-Audit-Trail:
 > 
 > >Unformatted:
 > 
 > 
 
 -- 
 Thomas Roessler                              <roessler@xxxxxxxxxxxxxxxxxx>