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

Re: Mutt 1.5.19 segfault on FreeBSD (mutt-devel port)



On Fri, Mar 27, 2009 at 11:27:13PM +0100, Lagrange Marc wrote:
> Hi all,
> 
> I've just compiled mutt 1.5.19 on my freebsd (7.1) laptop and mutt
> 1.5.19 is unable to start.
> 
> I've a working config from another freebsd..

This sounds similar to the experience I have been having with the same
FreeBSD 7.1 (I have 7.1-R) and mutt-devel. The problem might have
something to do with the sidebar patch. Try rebuilding without the
sidebar and see if you get the same crash. I'll have to check, but I
believe someone from this list submitted a patch for this issue.

- jt


> All infos i can provides :
> 
> #### mutt -v ####
> Mutt 1.5.19 (2009-01-05)
> Copyright (C) 1996-2009 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: FreeBSD 7.1-STABLE (i386)
> ncurses: ncurses 5.7.20081102 (compiled with 5.6)
> libiconv: 1.11
> libidn: 1.13 (compiled with 1.13)
> hcache backend: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
> Compile options:
> -DOMAIN
> +DEBUG
> -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  -USE_FCNTL  +USE_FLOCK
> +USE_POP  +USE_IMAP  +USE_SMTP
> +USE_SSL_OPENSSL  -USE_SSL_GNUTLS  +USE_SASL  +USE_GSS  +HAVE_GETADDRINFO
> +HAVE_REGCOMP  -USE_GNU_REGEX  +COMPRESSED
> +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
> +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
> +CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME
> -EXACT_ADDRESS  -SUN_ATTACHMENT
> -ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET
> +HAVE_LANGINFO_YESEXPR
> +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE
> -ISPELL
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/local/share/mutt"
> SYSCONFDIR="/usr/local/etc"
> EXECSHELL="/bin/sh"
> -MIXMASTER
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please visit http://bugs.mutt.org/.
> 
> patch-1.5.17.sidebar.20080412
> vvv.quote
> patch-1.5.0.ats.date_conditional.1
> dgc.deepif.1
> vvv.initials
> rr.compressed
> 
> ############
> 
> #### gdb mutt ####
> Program received signal SIGSEGV, Segmentation fault.
> 0x28693c12 in memcpy () from /lib/libc.so.7
> (gdb) bt
> #0  0x28693c12 in memcpy () from /lib/libc.so.7
> #1  0x282db449 in c2i_ASN1_BIT_STRING () from /lib/libcrypto.so.5
> #2  0x282d8eb9 in asn1_ex_c2i () from /lib/libcrypto.so.5
> #3  0x282d97a1 in asn1_ex_c2i () from /lib/libcrypto.so.5
> #4  0x282da12c in ASN1_item_ex_d2i () from /lib/libcrypto.so.5
> #5  0x282d9bde in asn1_ex_c2i () from /lib/libcrypto.so.5
> #6  0x282d9ee7 in asn1_ex_c2i () from /lib/libcrypto.so.5
> #7  0x282da688 in ASN1_item_ex_d2i () from /lib/libcrypto.so.5
> #8  0x282d9bde in asn1_ex_c2i () from /lib/libcrypto.so.5
> #9  0x282d9ee7 in asn1_ex_c2i () from /lib/libcrypto.so.5
> #10 0x282da688 in ASN1_item_ex_d2i () from /lib/libcrypto.so.5
> #11 0x282d9bde in asn1_ex_c2i () from /lib/libcrypto.so.5
> #12 0x282d9ee7 in asn1_ex_c2i () from /lib/libcrypto.so.5
> #13 0x282da688 in ASN1_item_ex_d2i () from /lib/libcrypto.so.5
> #14 0x282daab1 in ASN1_item_d2i () from /lib/libcrypto.so.5
> #15 0x282ae405 in d2i_X509 () from /lib/libcrypto.so.5
> #16 0x2838127a in ssl3_get_server_certificate () from /usr/lib/libssl.so.5
> #17 0x28382812 in ssl3_connect () from /usr/lib/libssl.so.5
> #18 0x2838a7ea in SSL_connect () from /usr/lib/libssl.so.5
> #19 0x2837333b in ssl23_connect () from /usr/lib/libssl.so.5
> #20 0x2838a7ea in SSL_connect () from /usr/lib/libssl.so.5
> #21 0x080e509f in ?? ()
> #22 0x288b3040 in ?? ()
> #23 0x00000021 in ?? ()
> #24 0x00000004 in ?? ()
> #25 0x00000000 in ?? ()
> #26 0x288b3040 in ?? ()
> #27 0x28886bc0 in ?? ()
> #28 0x28886bc0 in ?? ()
> #29 0x00000009 in ?? ()
> #30 0x00000088 in ?? ()
> #31 0x288aebc0 in ?? ()
> #32 0x00000009 in ?? ()
> #33 0x2838c5fa in SSL_set_fd () from /usr/lib/libssl.so.5
> #34 0x080e5015 in ?? ()
> #35 0x288a2000 in ?? ()
> #36 0x288aeaf0 in ?? ()
> #37 0xbfbfd388 in ?? ()
> #38 0x080c6fc8 in ?? ()
> #39 0x00000001 in ?? ()
> #40 0x00000000 in ?? ()
> #41 0xbfbfd478 in ?? ()
> #42 0xbfbfd38c in ?? ()
> #43 0x28709400 in ?? ()
> #44 0x288aeaf0 in ?? ()
> #45 0xbfbfd3b8 in ?? ()
> #46 0x080e3626 in ?? ()
> #47 0x288a2000 in ?? ()
> #48 0x288a2000 in ?? ()
> #49 0xbfbfd3a8 in ?? ()
> ---Type <return> to continue, or q <return> to quit---
> #50 0x080e4033 in ?? ()
> #51 0x00000001 in ?? ()
> #52 0x00000574 in ?? ()
> #53 0xbfbfd3a8 in ?? ()
> #54 0x080e4e00 in ?? ()
> #55 0x00000000 in ?? ()
> #56 0x00000000 in ?? ()
> #57 0xbfbfd7e8 in ?? ()
> #58 0x080e3da7 in ?? ()
> #59 0x288a2000 in ?? ()
> #60 0x28709400 in ?? ()
> #61 0xbfbfd7e8 in ?? ()
> #62 0x080efd42 in ?? ()
> #63 0x288a2000 in ?? ()
> #64 0x288a2000 in ?? ()
> #65 0x00000000 in ?? ()
> #66 0x70616d69 in ?? ()
> #67 0x2f2f3a73 in ?? ()
> #68 0x70616d69 in ?? ()
> #69 0x6c69702e in ?? ()
> #70 0x7973746f in ?? ()
> #71 0x6d657473 in ?? ()
> #72 0x656e2e73 in ?? ()
> #73 0x39393a74 in ?? ()
> #74 0x00002f33 in ?? ()
> #75 0x00000000 in ?? ()
> #76 0x00000000 in ?? ()
> #77 0x00000000 in ?? ()
> #78 0x00000000 in ?? ()
> #79 0x00000000 in ?? ()
> #80 0x00000000 in ?? ()
> #81 0x00000000 in ?? ()
> #82 0x00000000 in ?? ()
> #83 0x00000000 in ?? ()
> #84 0x00000000 in ?? ()
> #85 0x287140b4 in ?? ()
> #86 0x28140e00 in ?? ()
> #87 0x7ffffffd in ?? ()
> #88 0xffff0208 in ?? ()
> #89 0x287140b2 in ?? ()
> #90 0x7fffffff in ?? ()
> #91 0x281db800 in ?? ()
> #92 0x281dba00 in ?? ()
> #93 0x281dbc00 in ?? ()
> #94 0x281dbe00 in ?? ()
> #95 0x281dc000 in ?? ()
> #96 0x00000000 in ?? ()
> #97 0x00000070 in ?? ()
> #98 0x08117470 in optarg ()
> #99 0xbfbfd384 in ?? ()
> ---Type <return> to continue, or q <return> to quit---
> #100 0x0000000a in ?? ()
> #101 0x281156d4 in _rtld_error () from /libexec/ld-elf.so.1
> Previous frame inner to this frame (corrupt stack?)
> (gdb)
> 
> ################
> 
> #### options in make.conf ####
> #WITH_MUTT_SLANG=yes
> #WITH_MUTT_GPGME=yes
> WITH_MUTT_IMAP_HEADER_CACHE=yes
> WITH_MUTT_CYRUS_SASL2=yes
> WITH_MUTT_SIDEBAR_PATCH=yes
> WITH_MUTT_SMTP=yes
> MUTT_CONFIGURE_ARGS=--enable-imap --enable-hcache
> WITH_MUTT_DEBUG=yes
> #############
> resulting in :
> ./configure --disable-fcntl --with-ssl=/usr
> --with-sharedir=/usr/local/share/mutt
> --with-docdir=/usr/local/share/doc/mutt --sysconfdir=/usr/local/etc
> --enable-external-dotlock --enable-pop --enable-imap
> --disable-warnings --enable-debug --enable-imap --enable-hcache
> --enable-flock --with-sasl=/usr/local --disable-nls
> --with-libiconv-prefix=/usr/local --with-idn --disable-gpgme
> --with-gss --enable-smtp --enable-debug --enable-compressed
> --enable-hcache --without-gdbm --with-bdb --prefix=/usr/local
> --mandir=/usr/local/man --infodir=/usr/local/info/
> --build=i386-portbld-freebsd7.1
> 
> I can provide the config.log ..
> 
> Thanks in advance.