bug#1399: marked as done (mutt-1.4i: segfault when opening imap folder)
Your message dated Mon, 7 Jun 2004 19:32:06 +0100
with message-id <20040607183206.GC11833@xxxxxxxxxxxxxxxxxxxxx>
and subject line [arijort@xxxxxxxxxxxxx: Re: mutt bug 1399, "segfault when
opening imap folder"]
has caused the attached bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Herr der Kaefer
(administrator, GUUG bugs database)
--------------------------------------
Received: (at submit) by bugs.guug.de; 27 Nov 2002 18:13:13 +0000
>From arijort@xxxxxxxx Wed Nov 27 19:13:13 2002
Received: from dior.amnh.org ([209.2.164.10])
by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
id 18H6gS-0005VR-00
for <submit@xxxxxxxxxxxx>; Wed, 27 Nov 2002 19:13:13 +0100
Received: from localhost (amnhhost111.amnh.org [209.2.165.111])
by dior.amnh.org (Postfix) with ESMTP
id B8FBCB34C8; Wed, 27 Nov 2002 13:14:02 -0500 (EST)
Received: from arijort by localhost with local (Exim 3.12 #1 (Debian))
id 18H6he-0004bs-00; Wed, 27 Nov 2002 13:14:26 -0500
Subject: mutt-1.4i: segfault when opening imap folder
To: submit@xxxxxxxxxxxx, submit@xxxxxxxxxxxxxxx
Message-Id: <E18H6he-0004bs-00@localhost>
From: Ari Jort <arijort@xxxxxxxx>
Date: Wed, 27 Nov 2002 13:14:26 -0500
Package: mutt
Version: 1.4.0-4
Severity: important
-- Please type your report below this line
The segfault happens when I try entering a folder on an imap server.
I hit 'c' to change folder and enter "imap://my.imap.server/INBOX"
and immediately get a segfault.
I have verified that I can get talk to the imap server from
this workstation simply by telnetting to port 143.
I also once tried getting to imaps:// from within mutt
and got an immediate segfault in the same fashion.
-- Build environment information
(Note: This is the build environment installed on the system
muttbug is run on. Information may or may not match the environment
used to build mutt.)
- gcc version information
cc
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
- CFLAGS
-Wall -pedantic -g -O2
-- Mutt Version Information
Mutt 1.4i (2002-05-29)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Linux 2.4.18 (i686) [using ncurses 5.2]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
+USE_FCNTL -USE_FLOCK
+USE_POP +USE_IMAP -USE_GSS -USE_SSL +USE_GNUTLS +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 +COMPRESSED +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.
patch-1.3.28.cvs.indexsegfault
patch-1.3.27.bse.xtitles.1
patch-1.3.26.appoct.3
patch-1.3.15.sw.pgp-outlook.1
patch-1.4.admcd.gnutlsbuild.53d
patch-1.4.admcd.gnutlsdlopen.53d
patch-1.4.admcd.gnutls.55d
Md.use_editor
Md.paths_mutt.man
Md.muttbug_no_list
Md.use_etc_mailname
Md.muttbug_warning
Md.gpg_status_fd
patch-1.4.0.cd.edit_threads.9.2
patch-1.3.24.rr.compressed.1
patch-1.3.23.1.ametzler.pgp_good_sign
-- Core Dump Analysis Output
GNU gdb 2002-04-01-cvs
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 "i386-linux"...(no debugging symbols found)...
Core was generated by `mutt'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libncurses.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /usr/lib/libsasl.so.7...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libsasl.so.7
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdb2.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdb2.so.2
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libpam.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_db.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_db.so.2
Reading symbols from /lib/libdb.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libdb.so.3
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_files.so.2
#0 0x00000000 in ?? ()
#0 0x00000000 in ?? ()
#1 0x40242682 in __db_err () from /lib/libdb.so.3
#2 0x4023be1d in db_open () from /lib/libdb.so.3
#3 0x40016d0a in _nss_db_getprotobynumber_r () from /lib/libnss_db.so.2
#4 0x40016efa in _nss_db_endservent () from /lib/libnss_db.so.2
#5 0x40017181 in _nss_db_getservbyname_r () from /lib/libnss_db.so.2
#6 0x4014c583 in getservbyname_r () from /lib/libc.so.6
#7 0x4014c431 in getservbyname () from /lib/libc.so.6
#8 0x080b1a6e in imap_parse_path ()
#9 0x080b19ef in imap_expand_path ()
#10 0x0809eaed in _mutt_expand_path ()
#11 0x0809e6e6 in mutt_expand_path ()
#12 0x0806546e in mutt_index_menu ()
#13 0x08077f53 in main ()
#14 0x400860bf in __libc_start_main () from /lib/libc.so.6
--- Begin /home/arijort/.muttrc
mailboxes =nylug-talk =evals =openldap-software =postfix-users =php-general
=php-db =horde =imp =nyc-wireless =php-general =exim-users =php-db
=linux-elitists =hangout =sent-mail
bind pager j next-line
bind pager k previous-line
bind pager G bottom
source ~/.mutt/aliases
source ~/.mutt/mutt.color
source ~/.mutt/gpg.rc
source ~/.mutt/ignore_headers
set alias_file=~/.mutt/aliases
set
alternates="arijort@xxxxxxxxxxxxxx|arijort@xxxxxxxxx|arijort@xxxxxxxxxxxxx|arijort@xxxxxxxx|^a@xxxxxxxx"
set attribution="On %d, %n wrote:"
set auto_tag=yes
set confirmappend=no
set copy=yes
set delete=yes
set edit_headers=yes
set editor="vi '+/^$'" # use vim as editor and start after first empty line
set envelope_from=yes
set folder_format="%2C %t %N %8s %d %f"
set hdr_format="%4C %Z %{%b %d} %-17.17F (%3l) %s"
set include=yes
set mark_old=no
set mbox=/var/spool/mail/arijort
set mime_forward=ask-yes
set pager_index_lines=8
set read_inc=100
set record="=sent-mail"
set write_inc=50
macro compose \CP "Fgpg --clearsign\ny"
macro compose \CS "Fgpg --clearsign\ny^T^Uapplication/pgp; \
format=text; x-action=sign\n"
my_hdr X-Fingerprint: B96D F190 7661 764E F454 2F23 9D78 1C2D A11D 4B36
save-hook ~A =%u
send-hook '!~C amnh.org' 'set signature=~/.sig.speakeasy; my_hdr From: Ari Jort
<arijort@xxxxxxxxxxxxx>'
send-hook '~C amnh.org' 'set signature=~/.sig.amnh; my_hdr From: Ari Jort
<arijort@xxxxxxxx>'
send-hook '~C storageengine.com' 'set signature=~/.sig.amnh; my_hdr From: Ari
Jort <arijort@xxxxxxxx>'
send-hook '~C derivetech.com' 'set signature=~/.sig.amnh; my_hdr From: Ari Jort
<arijort@xxxxxxxx>'
macro index s "<enter-command>unset wait_key\n<pipe-entry>bogofilter -n
-l\n<enter-command>set wait_key\n<save-message>" "save msg as non-spam"
macro index d "<enter-command>unset wait_key\n<pipe-entry>bogofilter -n
-l\n<enter-command>set wait_key\n<delete-message>" "delete msg as non-spam"
macro index \es "<enter-command>unset wait_key\n<pipe-entry>bogofilter -s
-l\n<enter-command>set wait_key\n<save-message>" "save msg as spam"
macro index \ed "<enter-command>unset wait_key\n<pipe-entry>bogofilter -s
-l\n<enter-command>set wait_key\n<delete-message>" "delete msg as spam"
macro index \eq "<enter-command>unset wait_key\n<pipe-entry>bogofilter -n
-l\n<enter-command>set wait_key\n" "mark message as non-spam"
macro index \ew "<enter-command>unset wait_key\n<pipe-entry>bogofilter -s
-l\n<enter-command>set wait_key\n" "mark message as spam"
set imap_user="arijort"
--- End /home/arijort/.muttrc
--- Begin /etc/Muttrc
ignore "from " received content- mime-version status x-status message-id
ignore sender references return-path lines
bind editor "\e<delete>" kill-word
bind editor "\e<backspace>" kill-word
bind editor <delete> delete-char
unset use_domain
unset use_from
set sort=threads
unset write_bcc
unset bounce_delivered
macro compose S "Fgpg --sign --armor --textmode
--clearsign\ny^T^Uapplication/pgp; format=text; x-action=sign\n" 'clearsign the
message'
macro index \eb '/~b ' 'search in message bodies'
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
macro generic <f1> "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt
documentation"
macro index <f1> "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt
documentation"
macro pager <f1> "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt
documentation"
color hdrdefault cyan default
color quoted green default
color signature cyan default
color attachment brightyellow default
color indicator black cyan
color status brightgreen blue
color tree red default
color markers brightred default
color tilde blue default
color header brightgreen default ^From:
color header brightcyan default ^To:
color header brightcyan default ^Reply-To:
color header brightcyan default ^Cc:
color header brightblue default ^Subject:
color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
color body brightblue default (http|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+
charset-hook US-ASCII ISO-8859-1
charset-hook x-unknown ISO-8859-1
charset-hook windows-1250 CP1250
charset-hook windows-1251 CP1251
charset-hook windows-1252 CP1252
charset-hook windows-1253 CP1253
charset-hook windows-1254 CP1254
charset-hook windows-1255 CP1255
charset-hook windows-1256 CP1256
charset-hook windows-1257 CP1257
charset-hook windows-1258 CP1258
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch -o - %f"
set pgp_verify_command="gpg --no-verbose --batch -o - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch -o - %f"
set pgp_sign_command="gpg --no-verbose --batch -o - --passphrase-fd 0 --armor
--detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch -o - --passphrase-fd 0
--armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg -v --batch -o -
--encrypt --textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg --passphrase-fd 0 -v
--batch -o - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs
%r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons
--list-keys %r"
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons
--list-secret-keys %r"
set pgp_getkeys_command=""
set alias_file=~/.mutt.aliases # file to use for saving new aliases
set allow_8bit # unset: convert 8bit data to 7bit
set arrow_cursor # set: "->" unset: inverse bar
unset ascii_chars # set: use ASCII characters to build the thread tree
set auto_tag # always operate on tagged messages
set beep
set beep_new
unset confirmappend # prompt for confirmation on appending mail to folder
set confirmcreate # set: prompt for confirmation on creation of folders
set copy # Always keep a copy of my mails!
set delete=yes
set edit_headers
set editor="vim '+/^$'" # use vim as editor and start after first empty line
set fast_reply
set fcc_attach
set folder=~/Mail # directory with all mail folders
set forward_decode
set history=100
set include=yes
unset mark_old
unset markers
set mime_forward=ask-no
set mime_forward_decode
set move=no
set pager_context=2
set pager_index_lines=`expr ${LINES:-20} / 3`
set pager_stop # next-undeleted when the end of the mail is shown
set pop_delete
set postpone=ask-yes
set postponed="~/Mail/postponed"
set print_cmd="a2ps -nn -ns -H -p -1 -B -F10 -nL | lpr"
unset prompt_after # set: gives you a prompt when pager exits
set read_inc=1 # '1': show count number with *every* mail.
set record=~/Mail/snd
set reply_to=ask-yes # "reply": set: Use address in Reply-To?
set reverse_alias # show the name of sender as set with my alias for him
unset reverse_name
set save_address
unset save_empty
set save_name # set: save outbound mail to =username if it exists
set sendmail="/usr/lib/sendmail"
set sendmail_wait=3
set sort=threads
unset suspend
set tilde # show non-existant lines of text with a tilde at begin-of-line
set timeout=10 # time in seconds until mutt checks folder for new mail
set tmpdir="/tmp" # directory where temporary files are to be placed
unset use_8bitmime
set use_domain
set write_inc=1 # number - display increment count for every n-th mail
save-hook ~A =%u
set forward_format="%s"
set index_format="%4C %Z %[!%y%m%d] %-17.17F (%3l) %s"
set pager_format="%S [%C/%T] %n (%l) %s"
set status_format="%v: %f (%s) [%M/%m] [N=%n,*=%t,post=%p,new=%b]"
ignore Received: X-UIDL: Content-Length: Lines: X-Sender: Resent-Message-Id:
ignore In-Reply-To: Resent-Date: Errors-To: X-Authentication-Warning:
bind attach ' ' select-entry
bind attach \Cg exit
bind index P recall-message # 'R'ecall-message move to 'P' [0.46]
bind index R list-reply # 'L'ist-reply moved to 'R'
bind editor \C? backspace
bind index V show-version
bind index zt current-top
bind index zz current-middle
bind index zb current-bottom
macro index \cb "|urlview\n"
bind index <pagedown> next-page
bind index <pageup> previous-page
bind index \Cb previous-page
bind index \Cf next-page # \Cf was 'f'orget-passphrase
bind index \Cv forget-passphrase # \Cv --> 'f'orget-passphrase
bind index \Cx sync-mailbox # \Cx ->"sync-mailbox"
bind index + next-page
bind index - previous-page
bind index > save-message # Just like elm
macro index "+so" ":source "
bind pager \Cd half-down
bind pager \Cu half-up
bind pager - previous-line
bind pager \Cy previous-line
bind pager backspace previous-line
bind pager k previous-line
bind pager \Cm next-line
bind pager \Ce next-line
bind pager + next-line
bind pager j next-line
bind pager b previous-page
bind pager ' ' next-page
bind pager PageUp previous-entry
bind pager PageDn next-entry
bind pager B bounce-message # replace the original 'b'
bind pager \Cp half-up
bind pager \Cn half-down
bind pager "ESC G" top
bind pager G bottom
bind pager H exit
bind pager / search
bind pager n next-undeleted
bind pager > save-message # Just like elm
bind pager p previous-undeleted
bind pager P print-message
bind pager : enter-command
color attachment brightmagenta black
color body brightmagenta black "(ftp|http)://[^ ]+" # URLs
color body brightyellow black [-a-z_0-9.]+@[-a-z_0-9.]+ # Emails
color bold brightgreen black
color error brightred black
color header brightyellow black ^From:
color header brightred black ^To:
color header brightgreen black ^Subject:
color hdrdefault brightcyan black
color indicator brightyellow blue
color markers brightred black
color message brightcyan blue
color quoted brightcyan black
color quoted1 brightgreen black
color quoted2 brightcyan black
color quoted2 brightyellow black
color quoted3 brightgreen black
color quoted3 brightred black
color search black green # how to hilite search patterns
color signature brightred black
color status brightyellow blue
color tilde brightblue black
color tree brightred black
color underline brightyellow black
mono quoted bold
--- End /etc/Muttrc
---------------------------------------
Received: (at 1399-done) by bugs.guug.de; 7 Jun 2004 18:29:31 +0000
>From paul@xxxxxxxxxxxxxxxxxxxxx Mon Jun 07 20:29:29 2004
Received: from anchor-post-31.mail.demon.net ([194.217.242.89])
by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
id 1BXOsD-00056F-00
for <1399-done@xxxxxxxxxxxx>; Mon, 07 Jun 2004 20:29:29 +0200
Received: from black-sun.demon.co.uk ([212.228.147.62] helo=nova)
by anchor-post-31.mail.demon.net with esmtp (Exim 3.35 #1)
id 1BXOv9-0001Tg-0V
for 1399-done@xxxxxxxxxxxx; Mon, 07 Jun 2004 19:32:36 +0100
Received: from paul
by nova with local id 1BXOun-00036p-Is
for <1399-done@xxxxxxxxxxxx>; Mon, 07 Jun 2004 19:32:09 +0100
Date: Mon, 7 Jun 2004 19:32:06 +0100
From: Paul Walker <paul@xxxxxxxxxxxxxxxxxxxxx>
To: 1399-done@xxxxxxxxxxxx
Subject: [arijort@xxxxxxxxxxxxx: Re: mutt bug 1399, "segfault when opening imap
folder"]
Message-ID: <20040607183206.GC11833@xxxxxxxxxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9"
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
X-Spam-Status: No, hits=-107.4 required=4.0
tests=AWL,BAYES_20,EMAIL_ATTRIBUTION,PGP_SIGNATURE_2,
QUOTED_EMAIL_TEXT,USER_AGENT_MUTT,USER_IN_WHITELIST
autolearn=ham version=2.55
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
----- Forwarded message from Ari Jort <arijort@xxxxxxxxxxxxx> -----
Date: Mon, 7 Jun 2004 13:12:16 -0400
=46rom: Ari Jort <arijort@xxxxxxxxxxxxx>
To: Paul Walker <paul@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: mutt bug 1399, "segfault when opening imap folder"
User-Agent: Mutt/1.4i
Paul,
On Thu, Jun 03, 2004 at 07:31:55PM +0100, Paul Walker wrote:
=20
> Just checking whether you can still reproduce this problem or not? If you=
're
> still seeing it, could you try with a clean copy of the source from
> ftp.mutt.org, since the Debian one has lots of patches applied which
> sometimes conflict.
Yes, I'm using a later version of mutt now talking
to an imap server, so it definitely works. I identified
what was wrong.
> To be honest, looking at the backtrace you supplied, it seems like the
> problem actually originated in the Berkeley DB library.
Could be. I've moved off of that platform now, so I couldn't
quickly reproduce the situation now anyway.
Thanks,=20
ari
--=20
Ari Jort
arijort@xxxxxxxxxxxxx
----- End forwarded message -----
--=20
Paul
50. My main computers will have their own special operating system
that will be completely incompatible with standard IBM and
Macintosh powerbooks.
--PEIAKu/WMn1b1Hv9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAxLSmP9fOqdxRstoRAkEgAJ9lQDNAgyw5VAJ2hHg8ehPql4jySwCgg5fD
h0wLzbWBOVnFD1MWdYq/W00=
=EhPx
-----END PGP SIGNATURE-----
--PEIAKu/WMn1b1Hv9--